; LLVM IR from VastoLorde95/Competitive-Programming :: CodeChef/LTIME/LTIME 19 (b)

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

@adj_list = external dso_local global [100100 x %"class.std::vector"], align 16
@lengths = external dso_local global [100100 x %"class.std::vector"], align 16
@indexx = external dso_local global [100100 x %"class.std::vector"], align 16
@q = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@a = external dso_local global i32, align 4
@b = external dso_local global i32, align 4
@c = external dso_local global i32, align 4
@chain_no = external dso_local global i32, align 4
@chain_head = external dso_local global [100100 x i32], align 16
@ptr = external dso_local global i32, align 4
@pa = external dso_local global [17 x [100100 x i32]], align 16
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

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

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

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

; 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 i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %44, %0
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = load i32, ptr @n, align 4, !tbaa !5
  %14 = icmp slt i32 %12, %13
  br i1 %14, label %16, label %15

15:                                               ; preds = %11
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %47

16:                                               ; preds = %11
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %18
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %21
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %24
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [100100 x i32], ptr @chain_head, i64 0, i64 %27
  store i32 -1, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %40, %16
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = icmp slt i32 %30, 17
  br i1 %31, label %33, label %32

32:                                               ; preds = %29
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %43

33:                                               ; preds = %29
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 %35
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [100100 x i32], ptr %36, i64 0, i64 %38
  store i32 -1, ptr %39, align 4, !tbaa !5
  br label %40

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

43:                                               ; preds = %32
  br label %44

44:                                               ; preds = %43
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !11

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

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

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

53:                                               ; preds = %48
  %54 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.7, ptr noundef @a, ptr noundef @b, ptr noundef @c)
  %55 = load i32, ptr @a, align 4, !tbaa !5
  %56 = add nsw i32 %55, -1
  store i32 %56, ptr @a, align 4, !tbaa !5
  %57 = load i32, ptr @b, align 4, !tbaa !5
  %58 = add nsw i32 %57, -1
  store i32 %58, ptr @b, align 4, !tbaa !5
  %59 = load i32, ptr @a, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %60
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %61, ptr noundef nonnull align 4 dereferenceable(4) @b)
  %62 = load i32, ptr @b, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %63
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(4) @a)
  %65 = load i32, ptr @a, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %66
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 4 dereferenceable(4) @c)
  %68 = load i32, ptr @b, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %69
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 4 dereferenceable(4) @c)
  %71 = load i32, ptr @a, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %74 = load i32, ptr %5, align 4, !tbaa !5
  %75 = sub nsw i32 %74, 1
  store i32 %75, ptr %6, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %76 = load i32, ptr @b, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = sub nsw i32 %79, 1
  store i32 %80, ptr %7, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %81

81:                                               ; preds = %53
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %5, align 4, !tbaa !5
  br label %48, !llvm.loop !12

84:                                               ; preds = %52
  store i32 0, ptr @chain_no, align 4, !tbaa !5
  store i32 0, ptr @ptr, align 4, !tbaa !5
  call void @_Z3dfsiii(i32 noundef 0, i32 noundef -1, i32 noundef 0)
  call void @_Z3hldiii(i32 noundef 0, i32 noundef 0, i32 noundef -1)
  %85 = load i32, ptr @ptr, align 4, !tbaa !5
  call void @_Z4initiii(i32 noundef 1, i32 noundef 0, i32 noundef %85)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %133, %84
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = icmp slt i32 %87, 17
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %136

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %91

91:                                               ; preds = %129, %90
  %92 = load i32, ptr %9, align 4, !tbaa !5
  %93 = load i32, ptr @n, align 4, !tbaa !5
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %91
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %132

96:                                               ; preds = %91
  %97 = load i32, ptr %8, align 4, !tbaa !5
  %98 = sub nsw i32 %97, 1
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 %99
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [100100 x i32], ptr %100, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp ne i32 %104, -1
  br i1 %105, label %106, label %128

106:                                              ; preds = %96
  %107 = load i32, ptr %8, align 4, !tbaa !5
  %108 = sub nsw i32 %107, 1
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 %109
  %111 = load i32, ptr %8, align 4, !tbaa !5
  %112 = sub nsw i32 %111, 1
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 %113
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [100100 x i32], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [100100 x i32], ptr %110, i64 0, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 %123
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [100100 x i32], ptr %124, i64 0, i64 %126
  store i32 %121, ptr %127, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %106, %96
  br label %129

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

132:                                              ; preds = %95
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %8, align 4, !tbaa !5
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %8, align 4, !tbaa !5
  br label %86, !llvm.loop !14

136:                                              ; preds = %89
  %137 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef @q)
  br label %138

138:                                              ; preds = %155, %136
  %139 = load i32, ptr @q, align 4, !tbaa !5
  %140 = add nsw i32 %139, -1
  store i32 %140, ptr @q, align 4, !tbaa !5
  %141 = icmp ne i32 %139, 0
  br i1 %141, label %142, label %156

142:                                              ; preds = %138
  %143 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.7, ptr noundef @a, ptr noundef @b, ptr noundef @c)
  %144 = load i32, ptr @a, align 4, !tbaa !5
  %145 = icmp eq i32 %144, 2
  br i1 %145, label %146, label %151

146:                                              ; preds = %142
  %147 = load i32, ptr @b, align 4, !tbaa !5
  %148 = sub nsw i32 %147, 1
  %149 = load i32, ptr @c, align 4, !tbaa !5
  %150 = sub nsw i32 %149, 1
  call void @_Z5queryii(i32 noundef %148, i32 noundef %150)
  br label %155

151:                                              ; preds = %142
  %152 = load i32, ptr @b, align 4, !tbaa !5
  %153 = sub nsw i32 %152, 1
  %154 = load i32, ptr @c, align 4, !tbaa !5
  call void @_Z6changeii(i32 noundef %153, i32 noundef %154)
  br label %155

155:                                              ; preds = %151, %146
  br label %138, !llvm.loop !15

156:                                              ; preds = %138
  ret i32 0
}

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

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

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

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

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

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

@adj_list = external dso_local global [100100 x %"class.std::vector"], align 16
@lengths = external dso_local global [100100 x %"class.std::vector"], align 16
@indexx = external dso_local global [100100 x %"class.std::vector"], align 16
@q = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@a = external dso_local global i32, align 4
@b = external dso_local global i32, align 4
@c = external dso_local global i32, align 4
@chain_no = external dso_local local_unnamed_addr global i32, align 4
@chain_head = external dso_local local_unnamed_addr global [100100 x i32], align 16
@ptr = external dso_local local_unnamed_addr global i32, align 4
@pa = external dso_local local_unnamed_addr global [17 x [100100 x i32]], align 16
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

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

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

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

; 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 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @n)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph, label %._crit_edge

.preheader31:                                     ; preds = %.lr.ph
  %6 = icmp sgt i32 %28, 1
  br i1 %6, label %.lr.ph35, label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %7 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %indvars.iv
  tail call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %8 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %indvars.iv
  tail call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  %9 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %indvars.iv
  tail call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %10 = getelementptr inbounds [100100 x i32], ptr @chain_head, i64 0, i64 %indvars.iv
  store i32 -1, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %indvars.iv
  store i32 -1, ptr %11, align 4, !tbaa !5
  %12 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv
  store i32 -1, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv
  store i32 -1, ptr %13, align 4, !tbaa !5
  %14 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv
  store i32 -1, ptr %14, align 4, !tbaa !5
  %15 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv
  store i32 -1, ptr %15, align 4, !tbaa !5
  %16 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv
  store i32 -1, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv
  store i32 -1, ptr %17, align 4, !tbaa !5
  %18 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv
  store i32 -1, ptr %18, align 4, !tbaa !5
  %19 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv
  store i32 -1, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv
  store i32 -1, ptr %20, align 4, !tbaa !5
  %21 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv
  store i32 -1, ptr %21, align 4, !tbaa !5
  %22 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv
  store i32 -1, ptr %22, align 4, !tbaa !5
  %23 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv
  store i32 -1, ptr %23, align 4, !tbaa !5
  %24 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv
  store i32 -1, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv
  store i32 -1, ptr %25, align 4, !tbaa !5
  %26 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv
  store i32 -1, ptr %26, align 4, !tbaa !5
  %27 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 16, i64 %indvars.iv
  store i32 -1, ptr %27, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = load i32, ptr @n, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = icmp slt i64 %indvars.iv.next, %29
  br i1 %30, label %.lr.ph, label %.preheader31, !llvm.loop !9

._crit_edge:                                      ; preds = %.lr.ph35, %0, %.preheader31
  store i32 0, ptr @chain_no, align 4, !tbaa !5
  store i32 0, ptr @ptr, align 4, !tbaa !5
  call void @_Z3dfsiii(i32 noundef 0, i32 noundef -1, i32 noundef 0)
  call void @_Z3hldiii(i32 noundef 0, i32 noundef 0, i32 noundef -1)
  %31 = load i32, ptr @ptr, align 4, !tbaa !5
  call void @_Z4initiii(i32 noundef 1, i32 noundef 0, i32 noundef %31)
  %32 = load i32, ptr @n, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.preheader.us.preheader, label %.split41.us

.preheader.us.preheader:                          ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %32 to i64
  %34 = add nsw i64 %wide.trip.count, -1
  %xtraiter = and i64 %wide.trip.count, 1
  %35 = icmp eq i64 %34, 0
  br i1 %35, label %._crit_edge38.us.preheader.unr-lcssa, label %.preheader.us.preheader.new

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

36:                                               ; preds = %52, %.preheader.us.preheader.new
  %indvars.iv49 = phi i64 [ 0, %.preheader.us.preheader.new ], [ %indvars.iv.next50.158, %52 ]
  %niter = phi i64 [ 0, %.preheader.us.preheader.new ], [ %niter.next.1, %52 ]
  %37 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %indvars.iv49
  %38 = load i32, ptr %37, align 8, !tbaa !5
  %.not30.us = icmp eq i32 %38, -1
  br i1 %.not30.us, label %44, label %39

39:                                               ; preds = %36
  %40 = sext i32 %38 to i64
  %41 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv49
  store i32 %42, ptr %43, align 8, !tbaa !5
  br label %44

44:                                               ; preds = %39, %36
  %indvars.iv.next50 = or disjoint i64 %indvars.iv49, 1
  %45 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %indvars.iv.next50
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %.not30.us.157 = icmp eq i32 %46, -1
  br i1 %.not30.us.157, label %52, label %47

47:                                               ; preds = %44
  %48 = sext i32 %46 to i64
  %49 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv.next50
  store i32 %50, ptr %51, align 4, !tbaa !5
  br label %52

52:                                               ; preds = %47, %44
  %indvars.iv.next50.158 = add nuw nsw i64 %indvars.iv49, 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_edge38.us.preheader.unr-lcssa, label %36, !llvm.loop !11

._crit_edge38.us.preheader.unr-lcssa:             ; preds = %52, %.preheader.us.preheader
  %indvars.iv49.unr = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next50.158, %52 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge38.us.preheader, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge38.us.preheader.unr-lcssa
  %53 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %indvars.iv49.unr
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %.not30.us.epil = icmp eq i32 %54, -1
  br i1 %.not30.us.epil, label %._crit_edge38.us.preheader, label %55

55:                                               ; preds = %.epil.preheader
  %56 = sext i32 %54 to i64
  %57 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv49.unr
  store i32 %58, ptr %59, align 4, !tbaa !5
  br label %._crit_edge38.us.preheader

._crit_edge38.us.preheader:                       ; preds = %.epil.preheader, %55, %._crit_edge38.us.preheader.unr-lcssa
  %xtraiter59 = and i64 %wide.trip.count, 1
  %60 = icmp eq i64 %34, 0
  br i1 %60, label %._crit_edge38.us.1.preheader.unr-lcssa, label %._crit_edge38.us.preheader.new

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

._crit_edge38.us:                                 ; preds = %75, %._crit_edge38.us.preheader.new
  %indvars.iv49.1 = phi i64 [ 0, %._crit_edge38.us.preheader.new ], [ %indvars.iv.next50.1.1, %75 ]
  %niter62 = phi i64 [ 0, %._crit_edge38.us.preheader.new ], [ %niter62.next.1, %75 ]
  %61 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv49.1
  %62 = load i32, ptr %61, align 8, !tbaa !5
  %.not30.us.1 = icmp eq i32 %62, -1
  br i1 %.not30.us.1, label %._crit_edge38.us.163, label %63

63:                                               ; preds = %._crit_edge38.us
  %64 = sext i32 %62 to i64
  %65 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv49.1
  store i32 %66, ptr %67, align 8, !tbaa !5
  br label %._crit_edge38.us.163

._crit_edge38.us.163:                             ; preds = %63, %._crit_edge38.us
  %indvars.iv.next50.1 = or disjoint i64 %indvars.iv49.1, 1
  %68 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv.next50.1
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %.not30.us.1.1 = icmp eq i32 %69, -1
  br i1 %.not30.us.1.1, label %75, label %70

70:                                               ; preds = %._crit_edge38.us.163
  %71 = sext i32 %69 to i64
  %72 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !5
  %74 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv.next50.1
  store i32 %73, ptr %74, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %70, %._crit_edge38.us.163
  %indvars.iv.next50.1.1 = add nuw nsw i64 %indvars.iv49.1, 2
  %niter62.next.1 = add i64 %niter62, 2
  %niter62.ncmp.1 = icmp eq i64 %niter62.next.1, %unroll_iter61
  br i1 %niter62.ncmp.1, label %._crit_edge38.us.1.preheader.unr-lcssa, label %._crit_edge38.us, !llvm.loop !11

._crit_edge38.us.1.preheader.unr-lcssa:           ; preds = %75, %._crit_edge38.us.preheader
  %indvars.iv49.1.unr = phi i64 [ 0, %._crit_edge38.us.preheader ], [ %indvars.iv.next50.1.1, %75 ]
  %lcmp.mod60.not = icmp eq i64 %xtraiter59, 0
  br i1 %lcmp.mod60.not, label %._crit_edge38.us.1.preheader, label %._crit_edge38.us.epil

._crit_edge38.us.epil:                            ; preds = %._crit_edge38.us.1.preheader.unr-lcssa
  %76 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %indvars.iv49.1.unr
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %.not30.us.1.epil = icmp eq i32 %77, -1
  br i1 %.not30.us.1.epil, label %._crit_edge38.us.1.preheader, label %78

78:                                               ; preds = %._crit_edge38.us.epil
  %79 = sext i32 %77 to i64
  %80 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 1, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv49.1.unr
  store i32 %81, ptr %82, align 4, !tbaa !5
  br label %._crit_edge38.us.1.preheader

._crit_edge38.us.1.preheader:                     ; preds = %._crit_edge38.us.epil, %78, %._crit_edge38.us.1.preheader.unr-lcssa
  %xtraiter64 = and i64 %wide.trip.count, 1
  %83 = icmp eq i64 %34, 0
  br i1 %83, label %._crit_edge38.us.2.preheader.unr-lcssa, label %._crit_edge38.us.1.preheader.new

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

._crit_edge38.us.1:                               ; preds = %98, %._crit_edge38.us.1.preheader.new
  %indvars.iv49.2 = phi i64 [ 0, %._crit_edge38.us.1.preheader.new ], [ %indvars.iv.next50.2.1, %98 ]
  %niter67 = phi i64 [ 0, %._crit_edge38.us.1.preheader.new ], [ %niter67.next.1, %98 ]
  %84 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv49.2
  %85 = load i32, ptr %84, align 8, !tbaa !5
  %.not30.us.2 = icmp eq i32 %85, -1
  br i1 %.not30.us.2, label %._crit_edge38.us.1.1, label %86

86:                                               ; preds = %._crit_edge38.us.1
  %87 = sext i32 %85 to i64
  %88 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv49.2
  store i32 %89, ptr %90, align 8, !tbaa !5
  br label %._crit_edge38.us.1.1

._crit_edge38.us.1.1:                             ; preds = %86, %._crit_edge38.us.1
  %indvars.iv.next50.2 = or disjoint i64 %indvars.iv49.2, 1
  %91 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv.next50.2
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %.not30.us.2.1 = icmp eq i32 %92, -1
  br i1 %.not30.us.2.1, label %98, label %93

93:                                               ; preds = %._crit_edge38.us.1.1
  %94 = sext i32 %92 to i64
  %95 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %94
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv.next50.2
  store i32 %96, ptr %97, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %93, %._crit_edge38.us.1.1
  %indvars.iv.next50.2.1 = add nuw nsw i64 %indvars.iv49.2, 2
  %niter67.next.1 = add i64 %niter67, 2
  %niter67.ncmp.1 = icmp eq i64 %niter67.next.1, %unroll_iter66
  br i1 %niter67.ncmp.1, label %._crit_edge38.us.2.preheader.unr-lcssa, label %._crit_edge38.us.1, !llvm.loop !11

._crit_edge38.us.2.preheader.unr-lcssa:           ; preds = %98, %._crit_edge38.us.1.preheader
  %indvars.iv49.2.unr = phi i64 [ 0, %._crit_edge38.us.1.preheader ], [ %indvars.iv.next50.2.1, %98 ]
  %lcmp.mod65.not = icmp eq i64 %xtraiter64, 0
  br i1 %lcmp.mod65.not, label %._crit_edge38.us.2.preheader, label %._crit_edge38.us.1.epil

._crit_edge38.us.1.epil:                          ; preds = %._crit_edge38.us.2.preheader.unr-lcssa
  %99 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %indvars.iv49.2.unr
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %.not30.us.2.epil = icmp eq i32 %100, -1
  br i1 %.not30.us.2.epil, label %._crit_edge38.us.2.preheader, label %101

101:                                              ; preds = %._crit_edge38.us.1.epil
  %102 = sext i32 %100 to i64
  %103 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 2, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv49.2.unr
  store i32 %104, ptr %105, align 4, !tbaa !5
  br label %._crit_edge38.us.2.preheader

._crit_edge38.us.2.preheader:                     ; preds = %._crit_edge38.us.1.epil, %101, %._crit_edge38.us.2.preheader.unr-lcssa
  %xtraiter68 = and i64 %wide.trip.count, 1
  %106 = icmp eq i64 %34, 0
  br i1 %106, label %._crit_edge38.us.3.preheader.unr-lcssa, label %._crit_edge38.us.2.preheader.new

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

._crit_edge38.us.2:                               ; preds = %121, %._crit_edge38.us.2.preheader.new
  %indvars.iv49.3 = phi i64 [ 0, %._crit_edge38.us.2.preheader.new ], [ %indvars.iv.next50.3.1, %121 ]
  %niter71 = phi i64 [ 0, %._crit_edge38.us.2.preheader.new ], [ %niter71.next.1, %121 ]
  %107 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv49.3
  %108 = load i32, ptr %107, align 8, !tbaa !5
  %.not30.us.3 = icmp eq i32 %108, -1
  br i1 %.not30.us.3, label %._crit_edge38.us.2.1, label %109

109:                                              ; preds = %._crit_edge38.us.2
  %110 = sext i32 %108 to i64
  %111 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %110
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv49.3
  store i32 %112, ptr %113, align 8, !tbaa !5
  br label %._crit_edge38.us.2.1

._crit_edge38.us.2.1:                             ; preds = %109, %._crit_edge38.us.2
  %indvars.iv.next50.3 = or disjoint i64 %indvars.iv49.3, 1
  %114 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv.next50.3
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %.not30.us.3.1 = icmp eq i32 %115, -1
  br i1 %.not30.us.3.1, label %121, label %116

116:                                              ; preds = %._crit_edge38.us.2.1
  %117 = sext i32 %115 to i64
  %118 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv.next50.3
  store i32 %119, ptr %120, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %116, %._crit_edge38.us.2.1
  %indvars.iv.next50.3.1 = add nuw nsw i64 %indvars.iv49.3, 2
  %niter71.next.1 = add i64 %niter71, 2
  %niter71.ncmp.1 = icmp eq i64 %niter71.next.1, %unroll_iter70
  br i1 %niter71.ncmp.1, label %._crit_edge38.us.3.preheader.unr-lcssa, label %._crit_edge38.us.2, !llvm.loop !11

._crit_edge38.us.3.preheader.unr-lcssa:           ; preds = %121, %._crit_edge38.us.2.preheader
  %indvars.iv49.3.unr = phi i64 [ 0, %._crit_edge38.us.2.preheader ], [ %indvars.iv.next50.3.1, %121 ]
  %lcmp.mod69.not = icmp eq i64 %xtraiter68, 0
  br i1 %lcmp.mod69.not, label %._crit_edge38.us.3.preheader, label %._crit_edge38.us.2.epil

._crit_edge38.us.2.epil:                          ; preds = %._crit_edge38.us.3.preheader.unr-lcssa
  %122 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %indvars.iv49.3.unr
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %.not30.us.3.epil = icmp eq i32 %123, -1
  br i1 %.not30.us.3.epil, label %._crit_edge38.us.3.preheader, label %124

124:                                              ; preds = %._crit_edge38.us.2.epil
  %125 = sext i32 %123 to i64
  %126 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 3, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv49.3.unr
  store i32 %127, ptr %128, align 4, !tbaa !5
  br label %._crit_edge38.us.3.preheader

._crit_edge38.us.3.preheader:                     ; preds = %._crit_edge38.us.2.epil, %124, %._crit_edge38.us.3.preheader.unr-lcssa
  %xtraiter72 = and i64 %wide.trip.count, 1
  %129 = icmp eq i64 %34, 0
  br i1 %129, label %._crit_edge38.us.4.preheader.unr-lcssa, label %._crit_edge38.us.3.preheader.new

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

._crit_edge38.us.3:                               ; preds = %144, %._crit_edge38.us.3.preheader.new
  %indvars.iv49.4 = phi i64 [ 0, %._crit_edge38.us.3.preheader.new ], [ %indvars.iv.next50.4.1, %144 ]
  %niter75 = phi i64 [ 0, %._crit_edge38.us.3.preheader.new ], [ %niter75.next.1, %144 ]
  %130 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv49.4
  %131 = load i32, ptr %130, align 8, !tbaa !5
  %.not30.us.4 = icmp eq i32 %131, -1
  br i1 %.not30.us.4, label %._crit_edge38.us.3.1, label %132

132:                                              ; preds = %._crit_edge38.us.3
  %133 = sext i32 %131 to i64
  %134 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %133
  %135 = load i32, ptr %134, align 4, !tbaa !5
  %136 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv49.4
  store i32 %135, ptr %136, align 8, !tbaa !5
  br label %._crit_edge38.us.3.1

._crit_edge38.us.3.1:                             ; preds = %132, %._crit_edge38.us.3
  %indvars.iv.next50.4 = or disjoint i64 %indvars.iv49.4, 1
  %137 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv.next50.4
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %.not30.us.4.1 = icmp eq i32 %138, -1
  br i1 %.not30.us.4.1, label %144, label %139

139:                                              ; preds = %._crit_edge38.us.3.1
  %140 = sext i32 %138 to i64
  %141 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %140
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv.next50.4
  store i32 %142, ptr %143, align 4, !tbaa !5
  br label %144

144:                                              ; preds = %139, %._crit_edge38.us.3.1
  %indvars.iv.next50.4.1 = add nuw nsw i64 %indvars.iv49.4, 2
  %niter75.next.1 = add i64 %niter75, 2
  %niter75.ncmp.1 = icmp eq i64 %niter75.next.1, %unroll_iter74
  br i1 %niter75.ncmp.1, label %._crit_edge38.us.4.preheader.unr-lcssa, label %._crit_edge38.us.3, !llvm.loop !11

._crit_edge38.us.4.preheader.unr-lcssa:           ; preds = %144, %._crit_edge38.us.3.preheader
  %indvars.iv49.4.unr = phi i64 [ 0, %._crit_edge38.us.3.preheader ], [ %indvars.iv.next50.4.1, %144 ]
  %lcmp.mod73.not = icmp eq i64 %xtraiter72, 0
  br i1 %lcmp.mod73.not, label %._crit_edge38.us.4.preheader, label %._crit_edge38.us.3.epil

._crit_edge38.us.3.epil:                          ; preds = %._crit_edge38.us.4.preheader.unr-lcssa
  %145 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %indvars.iv49.4.unr
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %.not30.us.4.epil = icmp eq i32 %146, -1
  br i1 %.not30.us.4.epil, label %._crit_edge38.us.4.preheader, label %147

147:                                              ; preds = %._crit_edge38.us.3.epil
  %148 = sext i32 %146 to i64
  %149 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 4, i64 %148
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv49.4.unr
  store i32 %150, ptr %151, align 4, !tbaa !5
  br label %._crit_edge38.us.4.preheader

._crit_edge38.us.4.preheader:                     ; preds = %._crit_edge38.us.3.epil, %147, %._crit_edge38.us.4.preheader.unr-lcssa
  %xtraiter76 = and i64 %wide.trip.count, 1
  %152 = icmp eq i64 %34, 0
  br i1 %152, label %._crit_edge38.us.5.preheader.unr-lcssa, label %._crit_edge38.us.4.preheader.new

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

._crit_edge38.us.4:                               ; preds = %167, %._crit_edge38.us.4.preheader.new
  %indvars.iv49.5 = phi i64 [ 0, %._crit_edge38.us.4.preheader.new ], [ %indvars.iv.next50.5.1, %167 ]
  %niter79 = phi i64 [ 0, %._crit_edge38.us.4.preheader.new ], [ %niter79.next.1, %167 ]
  %153 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv49.5
  %154 = load i32, ptr %153, align 8, !tbaa !5
  %.not30.us.5 = icmp eq i32 %154, -1
  br i1 %.not30.us.5, label %._crit_edge38.us.4.1, label %155

155:                                              ; preds = %._crit_edge38.us.4
  %156 = sext i32 %154 to i64
  %157 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv49.5
  store i32 %158, ptr %159, align 8, !tbaa !5
  br label %._crit_edge38.us.4.1

._crit_edge38.us.4.1:                             ; preds = %155, %._crit_edge38.us.4
  %indvars.iv.next50.5 = or disjoint i64 %indvars.iv49.5, 1
  %160 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv.next50.5
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %.not30.us.5.1 = icmp eq i32 %161, -1
  br i1 %.not30.us.5.1, label %167, label %162

162:                                              ; preds = %._crit_edge38.us.4.1
  %163 = sext i32 %161 to i64
  %164 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv.next50.5
  store i32 %165, ptr %166, align 4, !tbaa !5
  br label %167

167:                                              ; preds = %162, %._crit_edge38.us.4.1
  %indvars.iv.next50.5.1 = add nuw nsw i64 %indvars.iv49.5, 2
  %niter79.next.1 = add i64 %niter79, 2
  %niter79.ncmp.1 = icmp eq i64 %niter79.next.1, %unroll_iter78
  br i1 %niter79.ncmp.1, label %._crit_edge38.us.5.preheader.unr-lcssa, label %._crit_edge38.us.4, !llvm.loop !11

._crit_edge38.us.5.preheader.unr-lcssa:           ; preds = %167, %._crit_edge38.us.4.preheader
  %indvars.iv49.5.unr = phi i64 [ 0, %._crit_edge38.us.4.preheader ], [ %indvars.iv.next50.5.1, %167 ]
  %lcmp.mod77.not = icmp eq i64 %xtraiter76, 0
  br i1 %lcmp.mod77.not, label %._crit_edge38.us.5.preheader, label %._crit_edge38.us.4.epil

._crit_edge38.us.4.epil:                          ; preds = %._crit_edge38.us.5.preheader.unr-lcssa
  %168 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %indvars.iv49.5.unr
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %.not30.us.5.epil = icmp eq i32 %169, -1
  br i1 %.not30.us.5.epil, label %._crit_edge38.us.5.preheader, label %170

170:                                              ; preds = %._crit_edge38.us.4.epil
  %171 = sext i32 %169 to i64
  %172 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 5, i64 %171
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv49.5.unr
  store i32 %173, ptr %174, align 4, !tbaa !5
  br label %._crit_edge38.us.5.preheader

._crit_edge38.us.5.preheader:                     ; preds = %._crit_edge38.us.4.epil, %170, %._crit_edge38.us.5.preheader.unr-lcssa
  %xtraiter80 = and i64 %wide.trip.count, 1
  %175 = icmp eq i64 %34, 0
  br i1 %175, label %._crit_edge38.us.6.preheader.unr-lcssa, label %._crit_edge38.us.5.preheader.new

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

._crit_edge38.us.5:                               ; preds = %190, %._crit_edge38.us.5.preheader.new
  %indvars.iv49.6 = phi i64 [ 0, %._crit_edge38.us.5.preheader.new ], [ %indvars.iv.next50.6.1, %190 ]
  %niter83 = phi i64 [ 0, %._crit_edge38.us.5.preheader.new ], [ %niter83.next.1, %190 ]
  %176 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv49.6
  %177 = load i32, ptr %176, align 8, !tbaa !5
  %.not30.us.6 = icmp eq i32 %177, -1
  br i1 %.not30.us.6, label %._crit_edge38.us.5.1, label %178

178:                                              ; preds = %._crit_edge38.us.5
  %179 = sext i32 %177 to i64
  %180 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %179
  %181 = load i32, ptr %180, align 4, !tbaa !5
  %182 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv49.6
  store i32 %181, ptr %182, align 8, !tbaa !5
  br label %._crit_edge38.us.5.1

._crit_edge38.us.5.1:                             ; preds = %178, %._crit_edge38.us.5
  %indvars.iv.next50.6 = or disjoint i64 %indvars.iv49.6, 1
  %183 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv.next50.6
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %.not30.us.6.1 = icmp eq i32 %184, -1
  br i1 %.not30.us.6.1, label %190, label %185

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

190:                                              ; preds = %185, %._crit_edge38.us.5.1
  %indvars.iv.next50.6.1 = add nuw nsw i64 %indvars.iv49.6, 2
  %niter83.next.1 = add i64 %niter83, 2
  %niter83.ncmp.1 = icmp eq i64 %niter83.next.1, %unroll_iter82
  br i1 %niter83.ncmp.1, label %._crit_edge38.us.6.preheader.unr-lcssa, label %._crit_edge38.us.5, !llvm.loop !11

._crit_edge38.us.6.preheader.unr-lcssa:           ; preds = %190, %._crit_edge38.us.5.preheader
  %indvars.iv49.6.unr = phi i64 [ 0, %._crit_edge38.us.5.preheader ], [ %indvars.iv.next50.6.1, %190 ]
  %lcmp.mod81.not = icmp eq i64 %xtraiter80, 0
  br i1 %lcmp.mod81.not, label %._crit_edge38.us.6.preheader, label %._crit_edge38.us.5.epil

._crit_edge38.us.5.epil:                          ; preds = %._crit_edge38.us.6.preheader.unr-lcssa
  %191 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %indvars.iv49.6.unr
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %.not30.us.6.epil = icmp eq i32 %192, -1
  br i1 %.not30.us.6.epil, label %._crit_edge38.us.6.preheader, label %193

193:                                              ; preds = %._crit_edge38.us.5.epil
  %194 = sext i32 %192 to i64
  %195 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 6, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv49.6.unr
  store i32 %196, ptr %197, align 4, !tbaa !5
  br label %._crit_edge38.us.6.preheader

._crit_edge38.us.6.preheader:                     ; preds = %._crit_edge38.us.5.epil, %193, %._crit_edge38.us.6.preheader.unr-lcssa
  %xtraiter84 = and i64 %wide.trip.count, 1
  %198 = icmp eq i64 %34, 0
  br i1 %198, label %._crit_edge38.us.7.preheader.unr-lcssa, label %._crit_edge38.us.6.preheader.new

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

._crit_edge38.us.6:                               ; preds = %213, %._crit_edge38.us.6.preheader.new
  %indvars.iv49.7 = phi i64 [ 0, %._crit_edge38.us.6.preheader.new ], [ %indvars.iv.next50.7.1, %213 ]
  %niter87 = phi i64 [ 0, %._crit_edge38.us.6.preheader.new ], [ %niter87.next.1, %213 ]
  %199 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv49.7
  %200 = load i32, ptr %199, align 8, !tbaa !5
  %.not30.us.7 = icmp eq i32 %200, -1
  br i1 %.not30.us.7, label %._crit_edge38.us.6.1, label %201

201:                                              ; preds = %._crit_edge38.us.6
  %202 = sext i32 %200 to i64
  %203 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv49.7
  store i32 %204, ptr %205, align 8, !tbaa !5
  br label %._crit_edge38.us.6.1

._crit_edge38.us.6.1:                             ; preds = %201, %._crit_edge38.us.6
  %indvars.iv.next50.7 = or disjoint i64 %indvars.iv49.7, 1
  %206 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv.next50.7
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %.not30.us.7.1 = icmp eq i32 %207, -1
  br i1 %.not30.us.7.1, label %213, label %208

208:                                              ; preds = %._crit_edge38.us.6.1
  %209 = sext i32 %207 to i64
  %210 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %209
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv.next50.7
  store i32 %211, ptr %212, align 4, !tbaa !5
  br label %213

213:                                              ; preds = %208, %._crit_edge38.us.6.1
  %indvars.iv.next50.7.1 = add nuw nsw i64 %indvars.iv49.7, 2
  %niter87.next.1 = add i64 %niter87, 2
  %niter87.ncmp.1 = icmp eq i64 %niter87.next.1, %unroll_iter86
  br i1 %niter87.ncmp.1, label %._crit_edge38.us.7.preheader.unr-lcssa, label %._crit_edge38.us.6, !llvm.loop !11

._crit_edge38.us.7.preheader.unr-lcssa:           ; preds = %213, %._crit_edge38.us.6.preheader
  %indvars.iv49.7.unr = phi i64 [ 0, %._crit_edge38.us.6.preheader ], [ %indvars.iv.next50.7.1, %213 ]
  %lcmp.mod85.not = icmp eq i64 %xtraiter84, 0
  br i1 %lcmp.mod85.not, label %._crit_edge38.us.7.preheader, label %._crit_edge38.us.6.epil

._crit_edge38.us.6.epil:                          ; preds = %._crit_edge38.us.7.preheader.unr-lcssa
  %214 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %indvars.iv49.7.unr
  %215 = load i32, ptr %214, align 4, !tbaa !5
  %.not30.us.7.epil = icmp eq i32 %215, -1
  br i1 %.not30.us.7.epil, label %._crit_edge38.us.7.preheader, label %216

216:                                              ; preds = %._crit_edge38.us.6.epil
  %217 = sext i32 %215 to i64
  %218 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 7, i64 %217
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv49.7.unr
  store i32 %219, ptr %220, align 4, !tbaa !5
  br label %._crit_edge38.us.7.preheader

._crit_edge38.us.7.preheader:                     ; preds = %._crit_edge38.us.6.epil, %216, %._crit_edge38.us.7.preheader.unr-lcssa
  %xtraiter88 = and i64 %wide.trip.count, 1
  %221 = icmp eq i64 %34, 0
  br i1 %221, label %._crit_edge38.us.8.preheader.unr-lcssa, label %._crit_edge38.us.7.preheader.new

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

._crit_edge38.us.7:                               ; preds = %236, %._crit_edge38.us.7.preheader.new
  %indvars.iv49.8 = phi i64 [ 0, %._crit_edge38.us.7.preheader.new ], [ %indvars.iv.next50.8.1, %236 ]
  %niter91 = phi i64 [ 0, %._crit_edge38.us.7.preheader.new ], [ %niter91.next.1, %236 ]
  %222 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv49.8
  %223 = load i32, ptr %222, align 8, !tbaa !5
  %.not30.us.8 = icmp eq i32 %223, -1
  br i1 %.not30.us.8, label %._crit_edge38.us.7.1, label %224

224:                                              ; preds = %._crit_edge38.us.7
  %225 = sext i32 %223 to i64
  %226 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %225
  %227 = load i32, ptr %226, align 4, !tbaa !5
  %228 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv49.8
  store i32 %227, ptr %228, align 8, !tbaa !5
  br label %._crit_edge38.us.7.1

._crit_edge38.us.7.1:                             ; preds = %224, %._crit_edge38.us.7
  %indvars.iv.next50.8 = or disjoint i64 %indvars.iv49.8, 1
  %229 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv.next50.8
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %.not30.us.8.1 = icmp eq i32 %230, -1
  br i1 %.not30.us.8.1, label %236, label %231

231:                                              ; preds = %._crit_edge38.us.7.1
  %232 = sext i32 %230 to i64
  %233 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %232
  %234 = load i32, ptr %233, align 4, !tbaa !5
  %235 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv.next50.8
  store i32 %234, ptr %235, align 4, !tbaa !5
  br label %236

236:                                              ; preds = %231, %._crit_edge38.us.7.1
  %indvars.iv.next50.8.1 = add nuw nsw i64 %indvars.iv49.8, 2
  %niter91.next.1 = add i64 %niter91, 2
  %niter91.ncmp.1 = icmp eq i64 %niter91.next.1, %unroll_iter90
  br i1 %niter91.ncmp.1, label %._crit_edge38.us.8.preheader.unr-lcssa, label %._crit_edge38.us.7, !llvm.loop !11

._crit_edge38.us.8.preheader.unr-lcssa:           ; preds = %236, %._crit_edge38.us.7.preheader
  %indvars.iv49.8.unr = phi i64 [ 0, %._crit_edge38.us.7.preheader ], [ %indvars.iv.next50.8.1, %236 ]
  %lcmp.mod89.not = icmp eq i64 %xtraiter88, 0
  br i1 %lcmp.mod89.not, label %._crit_edge38.us.8.preheader, label %._crit_edge38.us.7.epil

._crit_edge38.us.7.epil:                          ; preds = %._crit_edge38.us.8.preheader.unr-lcssa
  %237 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %indvars.iv49.8.unr
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %.not30.us.8.epil = icmp eq i32 %238, -1
  br i1 %.not30.us.8.epil, label %._crit_edge38.us.8.preheader, label %239

239:                                              ; preds = %._crit_edge38.us.7.epil
  %240 = sext i32 %238 to i64
  %241 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 8, i64 %240
  %242 = load i32, ptr %241, align 4, !tbaa !5
  %243 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv49.8.unr
  store i32 %242, ptr %243, align 4, !tbaa !5
  br label %._crit_edge38.us.8.preheader

._crit_edge38.us.8.preheader:                     ; preds = %._crit_edge38.us.7.epil, %239, %._crit_edge38.us.8.preheader.unr-lcssa
  %xtraiter92 = and i64 %wide.trip.count, 1
  %244 = icmp eq i64 %34, 0
  br i1 %244, label %._crit_edge38.us.9.preheader.unr-lcssa, label %._crit_edge38.us.8.preheader.new

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

._crit_edge38.us.8:                               ; preds = %259, %._crit_edge38.us.8.preheader.new
  %indvars.iv49.9 = phi i64 [ 0, %._crit_edge38.us.8.preheader.new ], [ %indvars.iv.next50.9.1, %259 ]
  %niter95 = phi i64 [ 0, %._crit_edge38.us.8.preheader.new ], [ %niter95.next.1, %259 ]
  %245 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv49.9
  %246 = load i32, ptr %245, align 8, !tbaa !5
  %.not30.us.9 = icmp eq i32 %246, -1
  br i1 %.not30.us.9, label %._crit_edge38.us.8.1, label %247

247:                                              ; preds = %._crit_edge38.us.8
  %248 = sext i32 %246 to i64
  %249 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %248
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv49.9
  store i32 %250, ptr %251, align 8, !tbaa !5
  br label %._crit_edge38.us.8.1

._crit_edge38.us.8.1:                             ; preds = %247, %._crit_edge38.us.8
  %indvars.iv.next50.9 = or disjoint i64 %indvars.iv49.9, 1
  %252 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv.next50.9
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %.not30.us.9.1 = icmp eq i32 %253, -1
  br i1 %.not30.us.9.1, label %259, label %254

254:                                              ; preds = %._crit_edge38.us.8.1
  %255 = sext i32 %253 to i64
  %256 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %255
  %257 = load i32, ptr %256, align 4, !tbaa !5
  %258 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv.next50.9
  store i32 %257, ptr %258, align 4, !tbaa !5
  br label %259

259:                                              ; preds = %254, %._crit_edge38.us.8.1
  %indvars.iv.next50.9.1 = add nuw nsw i64 %indvars.iv49.9, 2
  %niter95.next.1 = add i64 %niter95, 2
  %niter95.ncmp.1 = icmp eq i64 %niter95.next.1, %unroll_iter94
  br i1 %niter95.ncmp.1, label %._crit_edge38.us.9.preheader.unr-lcssa, label %._crit_edge38.us.8, !llvm.loop !11

._crit_edge38.us.9.preheader.unr-lcssa:           ; preds = %259, %._crit_edge38.us.8.preheader
  %indvars.iv49.9.unr = phi i64 [ 0, %._crit_edge38.us.8.preheader ], [ %indvars.iv.next50.9.1, %259 ]
  %lcmp.mod93.not = icmp eq i64 %xtraiter92, 0
  br i1 %lcmp.mod93.not, label %._crit_edge38.us.9.preheader, label %._crit_edge38.us.8.epil

._crit_edge38.us.8.epil:                          ; preds = %._crit_edge38.us.9.preheader.unr-lcssa
  %260 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %indvars.iv49.9.unr
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %.not30.us.9.epil = icmp eq i32 %261, -1
  br i1 %.not30.us.9.epil, label %._crit_edge38.us.9.preheader, label %262

262:                                              ; preds = %._crit_edge38.us.8.epil
  %263 = sext i32 %261 to i64
  %264 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 9, i64 %263
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv49.9.unr
  store i32 %265, ptr %266, align 4, !tbaa !5
  br label %._crit_edge38.us.9.preheader

._crit_edge38.us.9.preheader:                     ; preds = %._crit_edge38.us.8.epil, %262, %._crit_edge38.us.9.preheader.unr-lcssa
  %xtraiter96 = and i64 %wide.trip.count, 1
  %267 = icmp eq i64 %34, 0
  br i1 %267, label %._crit_edge38.us.10.preheader.unr-lcssa, label %._crit_edge38.us.9.preheader.new

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

._crit_edge38.us.9:                               ; preds = %282, %._crit_edge38.us.9.preheader.new
  %indvars.iv49.10 = phi i64 [ 0, %._crit_edge38.us.9.preheader.new ], [ %indvars.iv.next50.10.1, %282 ]
  %niter99 = phi i64 [ 0, %._crit_edge38.us.9.preheader.new ], [ %niter99.next.1, %282 ]
  %268 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv49.10
  %269 = load i32, ptr %268, align 8, !tbaa !5
  %.not30.us.10 = icmp eq i32 %269, -1
  br i1 %.not30.us.10, label %._crit_edge38.us.9.1, label %270

270:                                              ; preds = %._crit_edge38.us.9
  %271 = sext i32 %269 to i64
  %272 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %271
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv49.10
  store i32 %273, ptr %274, align 8, !tbaa !5
  br label %._crit_edge38.us.9.1

._crit_edge38.us.9.1:                             ; preds = %270, %._crit_edge38.us.9
  %indvars.iv.next50.10 = or disjoint i64 %indvars.iv49.10, 1
  %275 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv.next50.10
  %276 = load i32, ptr %275, align 4, !tbaa !5
  %.not30.us.10.1 = icmp eq i32 %276, -1
  br i1 %.not30.us.10.1, label %282, label %277

277:                                              ; preds = %._crit_edge38.us.9.1
  %278 = sext i32 %276 to i64
  %279 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %278
  %280 = load i32, ptr %279, align 4, !tbaa !5
  %281 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv.next50.10
  store i32 %280, ptr %281, align 4, !tbaa !5
  br label %282

282:                                              ; preds = %277, %._crit_edge38.us.9.1
  %indvars.iv.next50.10.1 = add nuw nsw i64 %indvars.iv49.10, 2
  %niter99.next.1 = add i64 %niter99, 2
  %niter99.ncmp.1 = icmp eq i64 %niter99.next.1, %unroll_iter98
  br i1 %niter99.ncmp.1, label %._crit_edge38.us.10.preheader.unr-lcssa, label %._crit_edge38.us.9, !llvm.loop !11

._crit_edge38.us.10.preheader.unr-lcssa:          ; preds = %282, %._crit_edge38.us.9.preheader
  %indvars.iv49.10.unr = phi i64 [ 0, %._crit_edge38.us.9.preheader ], [ %indvars.iv.next50.10.1, %282 ]
  %lcmp.mod97.not = icmp eq i64 %xtraiter96, 0
  br i1 %lcmp.mod97.not, label %._crit_edge38.us.10.preheader, label %._crit_edge38.us.9.epil

._crit_edge38.us.9.epil:                          ; preds = %._crit_edge38.us.10.preheader.unr-lcssa
  %283 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %indvars.iv49.10.unr
  %284 = load i32, ptr %283, align 4, !tbaa !5
  %.not30.us.10.epil = icmp eq i32 %284, -1
  br i1 %.not30.us.10.epil, label %._crit_edge38.us.10.preheader, label %285

285:                                              ; preds = %._crit_edge38.us.9.epil
  %286 = sext i32 %284 to i64
  %287 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 10, i64 %286
  %288 = load i32, ptr %287, align 4, !tbaa !5
  %289 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv49.10.unr
  store i32 %288, ptr %289, align 4, !tbaa !5
  br label %._crit_edge38.us.10.preheader

._crit_edge38.us.10.preheader:                    ; preds = %._crit_edge38.us.9.epil, %285, %._crit_edge38.us.10.preheader.unr-lcssa
  %xtraiter100 = and i64 %wide.trip.count, 1
  %290 = icmp eq i64 %34, 0
  br i1 %290, label %._crit_edge38.us.11.preheader.unr-lcssa, label %._crit_edge38.us.10.preheader.new

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

._crit_edge38.us.10:                              ; preds = %305, %._crit_edge38.us.10.preheader.new
  %indvars.iv49.11 = phi i64 [ 0, %._crit_edge38.us.10.preheader.new ], [ %indvars.iv.next50.11.1, %305 ]
  %niter103 = phi i64 [ 0, %._crit_edge38.us.10.preheader.new ], [ %niter103.next.1, %305 ]
  %291 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv49.11
  %292 = load i32, ptr %291, align 8, !tbaa !5
  %.not30.us.11 = icmp eq i32 %292, -1
  br i1 %.not30.us.11, label %._crit_edge38.us.10.1, label %293

293:                                              ; preds = %._crit_edge38.us.10
  %294 = sext i32 %292 to i64
  %295 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %294
  %296 = load i32, ptr %295, align 4, !tbaa !5
  %297 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv49.11
  store i32 %296, ptr %297, align 8, !tbaa !5
  br label %._crit_edge38.us.10.1

._crit_edge38.us.10.1:                            ; preds = %293, %._crit_edge38.us.10
  %indvars.iv.next50.11 = or disjoint i64 %indvars.iv49.11, 1
  %298 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv.next50.11
  %299 = load i32, ptr %298, align 4, !tbaa !5
  %.not30.us.11.1 = icmp eq i32 %299, -1
  br i1 %.not30.us.11.1, label %305, label %300

300:                                              ; preds = %._crit_edge38.us.10.1
  %301 = sext i32 %299 to i64
  %302 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %301
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv.next50.11
  store i32 %303, ptr %304, align 4, !tbaa !5
  br label %305

305:                                              ; preds = %300, %._crit_edge38.us.10.1
  %indvars.iv.next50.11.1 = add nuw nsw i64 %indvars.iv49.11, 2
  %niter103.next.1 = add i64 %niter103, 2
  %niter103.ncmp.1 = icmp eq i64 %niter103.next.1, %unroll_iter102
  br i1 %niter103.ncmp.1, label %._crit_edge38.us.11.preheader.unr-lcssa, label %._crit_edge38.us.10, !llvm.loop !11

._crit_edge38.us.11.preheader.unr-lcssa:          ; preds = %305, %._crit_edge38.us.10.preheader
  %indvars.iv49.11.unr = phi i64 [ 0, %._crit_edge38.us.10.preheader ], [ %indvars.iv.next50.11.1, %305 ]
  %lcmp.mod101.not = icmp eq i64 %xtraiter100, 0
  br i1 %lcmp.mod101.not, label %._crit_edge38.us.11.preheader, label %._crit_edge38.us.10.epil

._crit_edge38.us.10.epil:                         ; preds = %._crit_edge38.us.11.preheader.unr-lcssa
  %306 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %indvars.iv49.11.unr
  %307 = load i32, ptr %306, align 4, !tbaa !5
  %.not30.us.11.epil = icmp eq i32 %307, -1
  br i1 %.not30.us.11.epil, label %._crit_edge38.us.11.preheader, label %308

308:                                              ; preds = %._crit_edge38.us.10.epil
  %309 = sext i32 %307 to i64
  %310 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 11, i64 %309
  %311 = load i32, ptr %310, align 4, !tbaa !5
  %312 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv49.11.unr
  store i32 %311, ptr %312, align 4, !tbaa !5
  br label %._crit_edge38.us.11.preheader

._crit_edge38.us.11.preheader:                    ; preds = %._crit_edge38.us.10.epil, %308, %._crit_edge38.us.11.preheader.unr-lcssa
  %xtraiter104 = and i64 %wide.trip.count, 1
  %313 = icmp eq i64 %34, 0
  br i1 %313, label %._crit_edge38.us.12.preheader.unr-lcssa, label %._crit_edge38.us.11.preheader.new

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

._crit_edge38.us.11:                              ; preds = %328, %._crit_edge38.us.11.preheader.new
  %indvars.iv49.12 = phi i64 [ 0, %._crit_edge38.us.11.preheader.new ], [ %indvars.iv.next50.12.1, %328 ]
  %niter107 = phi i64 [ 0, %._crit_edge38.us.11.preheader.new ], [ %niter107.next.1, %328 ]
  %314 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv49.12
  %315 = load i32, ptr %314, align 8, !tbaa !5
  %.not30.us.12 = icmp eq i32 %315, -1
  br i1 %.not30.us.12, label %._crit_edge38.us.11.1, label %316

316:                                              ; preds = %._crit_edge38.us.11
  %317 = sext i32 %315 to i64
  %318 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %317
  %319 = load i32, ptr %318, align 4, !tbaa !5
  %320 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv49.12
  store i32 %319, ptr %320, align 8, !tbaa !5
  br label %._crit_edge38.us.11.1

._crit_edge38.us.11.1:                            ; preds = %316, %._crit_edge38.us.11
  %indvars.iv.next50.12 = or disjoint i64 %indvars.iv49.12, 1
  %321 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv.next50.12
  %322 = load i32, ptr %321, align 4, !tbaa !5
  %.not30.us.12.1 = icmp eq i32 %322, -1
  br i1 %.not30.us.12.1, label %328, label %323

323:                                              ; preds = %._crit_edge38.us.11.1
  %324 = sext i32 %322 to i64
  %325 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %324
  %326 = load i32, ptr %325, align 4, !tbaa !5
  %327 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv.next50.12
  store i32 %326, ptr %327, align 4, !tbaa !5
  br label %328

328:                                              ; preds = %323, %._crit_edge38.us.11.1
  %indvars.iv.next50.12.1 = add nuw nsw i64 %indvars.iv49.12, 2
  %niter107.next.1 = add i64 %niter107, 2
  %niter107.ncmp.1 = icmp eq i64 %niter107.next.1, %unroll_iter106
  br i1 %niter107.ncmp.1, label %._crit_edge38.us.12.preheader.unr-lcssa, label %._crit_edge38.us.11, !llvm.loop !11

._crit_edge38.us.12.preheader.unr-lcssa:          ; preds = %328, %._crit_edge38.us.11.preheader
  %indvars.iv49.12.unr = phi i64 [ 0, %._crit_edge38.us.11.preheader ], [ %indvars.iv.next50.12.1, %328 ]
  %lcmp.mod105.not = icmp eq i64 %xtraiter104, 0
  br i1 %lcmp.mod105.not, label %._crit_edge38.us.12.preheader, label %._crit_edge38.us.11.epil

._crit_edge38.us.11.epil:                         ; preds = %._crit_edge38.us.12.preheader.unr-lcssa
  %329 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %indvars.iv49.12.unr
  %330 = load i32, ptr %329, align 4, !tbaa !5
  %.not30.us.12.epil = icmp eq i32 %330, -1
  br i1 %.not30.us.12.epil, label %._crit_edge38.us.12.preheader, label %331

331:                                              ; preds = %._crit_edge38.us.11.epil
  %332 = sext i32 %330 to i64
  %333 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 12, i64 %332
  %334 = load i32, ptr %333, align 4, !tbaa !5
  %335 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv49.12.unr
  store i32 %334, ptr %335, align 4, !tbaa !5
  br label %._crit_edge38.us.12.preheader

._crit_edge38.us.12.preheader:                    ; preds = %._crit_edge38.us.11.epil, %331, %._crit_edge38.us.12.preheader.unr-lcssa
  %xtraiter108 = and i64 %wide.trip.count, 1
  %336 = icmp eq i64 %34, 0
  br i1 %336, label %._crit_edge38.us.13.preheader.unr-lcssa, label %._crit_edge38.us.12.preheader.new

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

._crit_edge38.us.12:                              ; preds = %351, %._crit_edge38.us.12.preheader.new
  %indvars.iv49.13 = phi i64 [ 0, %._crit_edge38.us.12.preheader.new ], [ %indvars.iv.next50.13.1, %351 ]
  %niter111 = phi i64 [ 0, %._crit_edge38.us.12.preheader.new ], [ %niter111.next.1, %351 ]
  %337 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv49.13
  %338 = load i32, ptr %337, align 8, !tbaa !5
  %.not30.us.13 = icmp eq i32 %338, -1
  br i1 %.not30.us.13, label %._crit_edge38.us.12.1, label %339

339:                                              ; preds = %._crit_edge38.us.12
  %340 = sext i32 %338 to i64
  %341 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %340
  %342 = load i32, ptr %341, align 4, !tbaa !5
  %343 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv49.13
  store i32 %342, ptr %343, align 8, !tbaa !5
  br label %._crit_edge38.us.12.1

._crit_edge38.us.12.1:                            ; preds = %339, %._crit_edge38.us.12
  %indvars.iv.next50.13 = or disjoint i64 %indvars.iv49.13, 1
  %344 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv.next50.13
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %.not30.us.13.1 = icmp eq i32 %345, -1
  br i1 %.not30.us.13.1, label %351, label %346

346:                                              ; preds = %._crit_edge38.us.12.1
  %347 = sext i32 %345 to i64
  %348 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %347
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv.next50.13
  store i32 %349, ptr %350, align 4, !tbaa !5
  br label %351

351:                                              ; preds = %346, %._crit_edge38.us.12.1
  %indvars.iv.next50.13.1 = add nuw nsw i64 %indvars.iv49.13, 2
  %niter111.next.1 = add i64 %niter111, 2
  %niter111.ncmp.1 = icmp eq i64 %niter111.next.1, %unroll_iter110
  br i1 %niter111.ncmp.1, label %._crit_edge38.us.13.preheader.unr-lcssa, label %._crit_edge38.us.12, !llvm.loop !11

._crit_edge38.us.13.preheader.unr-lcssa:          ; preds = %351, %._crit_edge38.us.12.preheader
  %indvars.iv49.13.unr = phi i64 [ 0, %._crit_edge38.us.12.preheader ], [ %indvars.iv.next50.13.1, %351 ]
  %lcmp.mod109.not = icmp eq i64 %xtraiter108, 0
  br i1 %lcmp.mod109.not, label %._crit_edge38.us.13.preheader, label %._crit_edge38.us.12.epil

._crit_edge38.us.12.epil:                         ; preds = %._crit_edge38.us.13.preheader.unr-lcssa
  %352 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %indvars.iv49.13.unr
  %353 = load i32, ptr %352, align 4, !tbaa !5
  %.not30.us.13.epil = icmp eq i32 %353, -1
  br i1 %.not30.us.13.epil, label %._crit_edge38.us.13.preheader, label %354

354:                                              ; preds = %._crit_edge38.us.12.epil
  %355 = sext i32 %353 to i64
  %356 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 13, i64 %355
  %357 = load i32, ptr %356, align 4, !tbaa !5
  %358 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv49.13.unr
  store i32 %357, ptr %358, align 4, !tbaa !5
  br label %._crit_edge38.us.13.preheader

._crit_edge38.us.13.preheader:                    ; preds = %._crit_edge38.us.12.epil, %354, %._crit_edge38.us.13.preheader.unr-lcssa
  %xtraiter112 = and i64 %wide.trip.count, 1
  %359 = icmp eq i64 %34, 0
  br i1 %359, label %._crit_edge38.us.14.preheader.unr-lcssa, label %._crit_edge38.us.13.preheader.new

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

._crit_edge38.us.13:                              ; preds = %374, %._crit_edge38.us.13.preheader.new
  %indvars.iv49.14 = phi i64 [ 0, %._crit_edge38.us.13.preheader.new ], [ %indvars.iv.next50.14.1, %374 ]
  %niter115 = phi i64 [ 0, %._crit_edge38.us.13.preheader.new ], [ %niter115.next.1, %374 ]
  %360 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv49.14
  %361 = load i32, ptr %360, align 8, !tbaa !5
  %.not30.us.14 = icmp eq i32 %361, -1
  br i1 %.not30.us.14, label %._crit_edge38.us.13.1, label %362

362:                                              ; preds = %._crit_edge38.us.13
  %363 = sext i32 %361 to i64
  %364 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %363
  %365 = load i32, ptr %364, align 4, !tbaa !5
  %366 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv49.14
  store i32 %365, ptr %366, align 8, !tbaa !5
  br label %._crit_edge38.us.13.1

._crit_edge38.us.13.1:                            ; preds = %362, %._crit_edge38.us.13
  %indvars.iv.next50.14 = or disjoint i64 %indvars.iv49.14, 1
  %367 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv.next50.14
  %368 = load i32, ptr %367, align 4, !tbaa !5
  %.not30.us.14.1 = icmp eq i32 %368, -1
  br i1 %.not30.us.14.1, label %374, label %369

369:                                              ; preds = %._crit_edge38.us.13.1
  %370 = sext i32 %368 to i64
  %371 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %370
  %372 = load i32, ptr %371, align 4, !tbaa !5
  %373 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv.next50.14
  store i32 %372, ptr %373, align 4, !tbaa !5
  br label %374

374:                                              ; preds = %369, %._crit_edge38.us.13.1
  %indvars.iv.next50.14.1 = add nuw nsw i64 %indvars.iv49.14, 2
  %niter115.next.1 = add i64 %niter115, 2
  %niter115.ncmp.1 = icmp eq i64 %niter115.next.1, %unroll_iter114
  br i1 %niter115.ncmp.1, label %._crit_edge38.us.14.preheader.unr-lcssa, label %._crit_edge38.us.13, !llvm.loop !11

._crit_edge38.us.14.preheader.unr-lcssa:          ; preds = %374, %._crit_edge38.us.13.preheader
  %indvars.iv49.14.unr = phi i64 [ 0, %._crit_edge38.us.13.preheader ], [ %indvars.iv.next50.14.1, %374 ]
  %lcmp.mod113.not = icmp eq i64 %xtraiter112, 0
  br i1 %lcmp.mod113.not, label %._crit_edge38.us.14.preheader, label %._crit_edge38.us.13.epil

._crit_edge38.us.13.epil:                         ; preds = %._crit_edge38.us.14.preheader.unr-lcssa
  %375 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %indvars.iv49.14.unr
  %376 = load i32, ptr %375, align 4, !tbaa !5
  %.not30.us.14.epil = icmp eq i32 %376, -1
  br i1 %.not30.us.14.epil, label %._crit_edge38.us.14.preheader, label %377

377:                                              ; preds = %._crit_edge38.us.13.epil
  %378 = sext i32 %376 to i64
  %379 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 14, i64 %378
  %380 = load i32, ptr %379, align 4, !tbaa !5
  %381 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv49.14.unr
  store i32 %380, ptr %381, align 4, !tbaa !5
  br label %._crit_edge38.us.14.preheader

._crit_edge38.us.14.preheader:                    ; preds = %._crit_edge38.us.13.epil, %377, %._crit_edge38.us.14.preheader.unr-lcssa
  %xtraiter116 = and i64 %wide.trip.count, 1
  %382 = icmp eq i64 %34, 0
  br i1 %382, label %.split41.us.loopexit.unr-lcssa, label %._crit_edge38.us.14.preheader.new

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

._crit_edge38.us.14:                              ; preds = %397, %._crit_edge38.us.14.preheader.new
  %indvars.iv49.15 = phi i64 [ 0, %._crit_edge38.us.14.preheader.new ], [ %indvars.iv.next50.15.1, %397 ]
  %niter119 = phi i64 [ 0, %._crit_edge38.us.14.preheader.new ], [ %niter119.next.1, %397 ]
  %383 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv49.15
  %384 = load i32, ptr %383, align 8, !tbaa !5
  %.not30.us.15 = icmp eq i32 %384, -1
  br i1 %.not30.us.15, label %._crit_edge38.us.14.1, label %385

385:                                              ; preds = %._crit_edge38.us.14
  %386 = sext i32 %384 to i64
  %387 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %386
  %388 = load i32, ptr %387, align 4, !tbaa !5
  %389 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 16, i64 %indvars.iv49.15
  store i32 %388, ptr %389, align 8, !tbaa !5
  br label %._crit_edge38.us.14.1

._crit_edge38.us.14.1:                            ; preds = %385, %._crit_edge38.us.14
  %indvars.iv.next50.15 = or disjoint i64 %indvars.iv49.15, 1
  %390 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv.next50.15
  %391 = load i32, ptr %390, align 4, !tbaa !5
  %.not30.us.15.1 = icmp eq i32 %391, -1
  br i1 %.not30.us.15.1, label %397, label %392

392:                                              ; preds = %._crit_edge38.us.14.1
  %393 = sext i32 %391 to i64
  %394 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %393
  %395 = load i32, ptr %394, align 4, !tbaa !5
  %396 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 16, i64 %indvars.iv.next50.15
  store i32 %395, ptr %396, align 4, !tbaa !5
  br label %397

397:                                              ; preds = %392, %._crit_edge38.us.14.1
  %indvars.iv.next50.15.1 = add nuw nsw i64 %indvars.iv49.15, 2
  %niter119.next.1 = add i64 %niter119, 2
  %niter119.ncmp.1 = icmp eq i64 %niter119.next.1, %unroll_iter118
  br i1 %niter119.ncmp.1, label %.split41.us.loopexit.unr-lcssa, label %._crit_edge38.us.14, !llvm.loop !11

.lr.ph35:                                         ; preds = %.preheader31, %.lr.ph35
  %.02634 = phi i32 [ %421, %.lr.ph35 ], [ 1, %.preheader31 ]
  %398 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.7, ptr noundef nonnull @a, ptr noundef nonnull @b, ptr noundef nonnull @c)
  %399 = load i32, ptr @a, align 4, !tbaa !5
  %400 = add nsw i32 %399, -1
  store i32 %400, ptr @a, align 4, !tbaa !5
  %401 = load i32, ptr @b, align 4, !tbaa !5
  %402 = add nsw i32 %401, -1
  store i32 %402, ptr @b, align 4, !tbaa !5
  %403 = sext i32 %400 to i64
  %404 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %403
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %404, ptr noundef nonnull align 4 dereferenceable(4) @b)
  %405 = load i32, ptr @b, align 4, !tbaa !5
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @adj_list, i64 0, i64 %406
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %407, ptr noundef nonnull align 4 dereferenceable(4) @a)
  %408 = load i32, ptr @a, align 4, !tbaa !5
  %409 = sext i32 %408 to i64
  %410 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %409
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %410, ptr noundef nonnull align 4 dereferenceable(4) @c)
  %411 = load i32, ptr @b, align 4, !tbaa !5
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @lengths, i64 0, i64 %412
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %413, ptr noundef nonnull align 4 dereferenceable(4) @c)
  %414 = load i32, ptr @a, align 4, !tbaa !5
  %415 = sext i32 %414 to i64
  %416 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %415
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %417 = add nsw i32 %.02634, -1
  store i32 %417, ptr %1, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %416, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %418 = load i32, ptr @b, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds [100100 x %"class.std::vector"], ptr @indexx, i64 0, i64 %419
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  store i32 %417, ptr %2, align 4, !tbaa !5
  call void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %420, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  %421 = add nuw nsw i32 %.02634, 1
  %422 = load i32, ptr @n, align 4, !tbaa !5
  %423 = icmp slt i32 %421, %422
  br i1 %423, label %.lr.ph35, label %._crit_edge, !llvm.loop !12

.split41.us.loopexit.unr-lcssa:                   ; preds = %397, %._crit_edge38.us.14.preheader
  %indvars.iv49.15.unr = phi i64 [ 0, %._crit_edge38.us.14.preheader ], [ %indvars.iv.next50.15.1, %397 ]
  %lcmp.mod117.not = icmp eq i64 %xtraiter116, 0
  br i1 %lcmp.mod117.not, label %.split41.us, label %._crit_edge38.us.14.epil

._crit_edge38.us.14.epil:                         ; preds = %.split41.us.loopexit.unr-lcssa
  %424 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %indvars.iv49.15.unr
  %425 = load i32, ptr %424, align 4, !tbaa !5
  %.not30.us.15.epil = icmp eq i32 %425, -1
  br i1 %.not30.us.15.epil, label %.split41.us, label %426

426:                                              ; preds = %._crit_edge38.us.14.epil
  %427 = sext i32 %425 to i64
  %428 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 15, i64 %427
  %429 = load i32, ptr %428, align 4, !tbaa !5
  %430 = getelementptr inbounds [17 x [100100 x i32]], ptr @pa, i64 0, i64 16, i64 %indvars.iv49.15.unr
  store i32 %429, ptr %430, align 4, !tbaa !5
  br label %.split41.us

.split41.us:                                      ; preds = %.split41.us.loopexit.unr-lcssa, %426, %._crit_edge38.us.14.epil, %._crit_edge
  %431 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @q)
  %432 = load i32, ptr @q, align 4, !tbaa !5
  %433 = add nsw i32 %432, -1
  store i32 %433, ptr @q, align 4, !tbaa !5
  %.not42 = icmp eq i32 %432, 0
  br i1 %.not42, label %._crit_edge45, label %.lr.ph44

.lr.ph44:                                         ; preds = %.split41.us, %443
  %434 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.7, ptr noundef nonnull @a, ptr noundef nonnull @b, ptr noundef nonnull @c)
  %435 = load i32, ptr @a, align 4, !tbaa !5
  %436 = icmp eq i32 %435, 2
  %437 = load i32, ptr @b, align 4, !tbaa !5
  %438 = add nsw i32 %437, -1
  %439 = load i32, ptr @c, align 4, !tbaa !5
  br i1 %436, label %440, label %442

440:                                              ; preds = %.lr.ph44
  %441 = add nsw i32 %439, -1
  call void @_Z5queryii(i32 noundef %438, i32 noundef %441)
  br label %443

442:                                              ; preds = %.lr.ph44
  call void @_Z6changeii(i32 noundef %438, i32 noundef %439)
  br label %443

443:                                              ; preds = %442, %440
  %444 = load i32, ptr @q, align 4, !tbaa !5
  %445 = add nsw i32 %444, -1
  store i32 %445, ptr @q, align 4, !tbaa !5
  %.not = icmp eq i32 %444, 0
  br i1 %.not, label %._crit_edge45, label %.lr.ph44, !llvm.loop !13

._crit_edge45:                                    ; preds = %443, %.split41.us
  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 void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) 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 #0 align 2

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

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

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

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


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