; LLVM IR from ShahjalalShohag/code-library :: Graph Theory (Cactus Graph)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"struct.std::array" = type { [2 x i32] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@g = external dso_local global [200009 x %"class.std::vector"], align 16
@ct = external dso_local global [200009 x %"class.std::vector.0"], align 16
@vis = external dso_local global [200009 x i32], align 16
@cyc = external dso_local global i32, align 4
@id = external dso_local global i32, align 4
@cycle_edge = external dso_local global [400018 x i8], align 16
@dep = external dso_local global [200009 x i32], align 16
@cnt = external dso_local global [200009 x i32], align 16
@c = external dso_local global i32, align 4
@comp = external dso_local global [200009 x i32], align 16
@dp = external dso_local global [200009 x i32], align 16
@up = external dso_local global [200009 x i32], align 16
@done = external dso_local global [200009 x i32], align 16
@pw = external dso_local global [200009 x i32], align 16
@f = external dso_local global [200009 x i32], align 16
@e = external dso_local global [200009 x %"class.std::vector"], align 16
@mp = external dso_local global [200009 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) #2 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #5 {
  %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
  %10 = alloca %"struct.std::array", align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"struct.std::array", align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca %"struct.std::array", align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::array", align 4
  %30 = alloca %"struct.std::array", align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca %"struct.std::array", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca ptr, align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %49 = alloca %"struct.std::array", align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %53 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %54 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %55 = getelementptr i8, ptr %54, i64 -24
  %56 = load i64, ptr %55, align 8
  %57 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %56
  %58 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %57, ptr noundef null)
  store i32 1, ptr @pw, align 16, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 1, ptr %2, align 4, !tbaa !8
  br label %59

59:                                               ; preds = %74, %0
  %60 = load i32, ptr %2, align 4, !tbaa !8
  %61 = icmp slt i32 %60, 200009
  br i1 %61, label %63, label %62

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

63:                                               ; preds = %59
  %64 = load i32, ptr %2, align 4, !tbaa !8
  %65 = sub nsw i32 %64, 1
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200009 x i32], ptr @pw, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !8
  %69 = mul nsw i32 %68, 2
  %70 = srem i32 %69, 998244353
  %71 = load i32, ptr %2, align 4, !tbaa !8
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [200009 x i32], ptr @pw, i64 0, i64 %72
  store i32 %70, ptr %73, align 4, !tbaa !8
  br label %74

74:                                               ; preds = %63
  %75 = load i32, ptr %2, align 4, !tbaa !8
  %76 = add nsw i32 %75, 1
  store i32 %76, ptr %2, align 4, !tbaa !8
  br label %59, !llvm.loop !11

77:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  br label %79

79:                                               ; preds = %486, %77
  %80 = load i32, ptr %3, align 4, !tbaa !8
  %81 = add nsw i32 %80, -1
  store i32 %81, ptr %3, align 4, !tbaa !8
  %82 = icmp ne i32 %80, 0
  br i1 %82, label %83, label %490

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %85, ptr noundef nonnull align 4 dereferenceable(4) %6)
  br label %87

87:                                               ; preds = %91, %83
  %88 = load i32, ptr %5, align 4, !tbaa !8
  %89 = add nsw i32 %88, -1
  store i32 %89, ptr %5, align 4, !tbaa !8
  %90 = icmp ne i32 %88, 0
  br i1 %90, label %91, label %102

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %92 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %93 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %93, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %95 = load i32, ptr %9, align 4, !tbaa !8
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %98 = getelementptr inbounds %"struct.std::array", ptr %10, i32 0, i32 0
  %99 = load i32, ptr %7, align 4, !tbaa !8
  store i32 %99, ptr %98, align 4, !tbaa !8
  %100 = getelementptr inbounds i32, ptr %98, i64 1
  %101 = load i32, ptr %8, align 4, !tbaa !8
  store i32 %101, ptr %100, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %97, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  br label %87, !llvm.loop !13

102:                                              ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %103 = load i32, ptr %6, align 4, !tbaa !8
  store i32 %103, ptr %12, align 4, !tbaa !8
  br label %104

104:                                              ; preds = %464, %102
  %105 = load i32, ptr %12, align 4, !tbaa !8
  %106 = icmp sge i32 %105, 1
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 9, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %467

108:                                              ; preds = %104
  store i32 0, ptr @id, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %109 = load i32, ptr %12, align 4, !tbaa !8
  store i32 %109, ptr %14, align 4, !tbaa !8
  br label %110

110:                                              ; preds = %161, %108
  %111 = load i32, ptr %14, align 4, !tbaa !8
  %112 = load i32, ptr %6, align 4, !tbaa !8
  %113 = icmp sle i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i32 12, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %165

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %116 = load i32, ptr %14, align 4, !tbaa !8
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %117
  store ptr %118, ptr %15, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %119 = load ptr, ptr %15, align 8, !tbaa !14
  %120 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %119) #8
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %122 = load ptr, ptr %15, align 8, !tbaa !14
  %123 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %122) #8
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  br label %125

125:                                              ; preds = %158, %115
  %126 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br i1 %126, label %128, label %127

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

128:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %129 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %129, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %130 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %18, i64 noundef 0) #8
  %131 = load i32, ptr %130, align 4, !tbaa !8
  store i32 %131, ptr %19, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %132 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %18, i64 noundef 1) #8
  %133 = load i32, ptr %132, align 4, !tbaa !8
  store i32 %133, ptr %20, align 4, !tbaa !8
  %134 = load i32, ptr %19, align 4, !tbaa !8
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !8
  %138 = icmp ne i32 %137, 0
  br i1 %138, label %145, label %139

139:                                              ; preds = %128
  %140 = load i32, ptr @id, align 4, !tbaa !8
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr @id, align 4, !tbaa !8
  %142 = load i32, ptr %19, align 4, !tbaa !8
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %143
  store i32 %141, ptr %144, align 4, !tbaa !8
  br label %145

145:                                              ; preds = %139, %128
  %146 = load i32, ptr %20, align 4, !tbaa !8
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !8
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %157, label %151

151:                                              ; preds = %145
  %152 = load i32, ptr @id, align 4, !tbaa !8
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr @id, align 4, !tbaa !8
  %154 = load i32, ptr %20, align 4, !tbaa !8
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %155
  store i32 %153, ptr %156, align 4, !tbaa !8
  br label %157

157:                                              ; preds = %151, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %158

158:                                              ; preds = %157
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %125

160:                                              ; preds = %127
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %12, align 4, !tbaa !8
  %163 = load i32, ptr %14, align 4, !tbaa !8
  %164 = add nsw i32 %163, %162
  store i32 %164, ptr %14, align 4, !tbaa !8
  br label %110, !llvm.loop !18

165:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  %166 = load i32, ptr %12, align 4, !tbaa !8
  store i32 %166, ptr %22, align 4, !tbaa !8
  br label %167

167:                                              ; preds = %221, %165
  %168 = load i32, ptr %22, align 4, !tbaa !8
  %169 = load i32, ptr %6, align 4, !tbaa !8
  %170 = icmp sle i32 %168, %169
  br i1 %170, label %172, label %171

171:                                              ; preds = %167
  store i32 17, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %225

172:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %173 = load i32, ptr %22, align 4, !tbaa !8
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %174
  store ptr %175, ptr %23, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %176 = load ptr, ptr %23, align 8, !tbaa !14
  %177 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #8
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %179 = load ptr, ptr %23, align 8, !tbaa !14
  %180 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %179) #8
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %180, ptr %181, align 8
  br label %182

182:                                              ; preds = %218, %172
  %183 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br i1 %183, label %185, label %184

184:                                              ; preds = %182
  store i32 20, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %220

185:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %186 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %186, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %187 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %26, i64 noundef 0) #8
  %188 = load i32, ptr %187, align 4, !tbaa !8
  store i32 %188, ptr %27, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %26, i64 noundef 1) #8
  %190 = load i32, ptr %189, align 4, !tbaa !8
  store i32 %190, ptr %28, align 4, !tbaa !8
  %191 = load i32, ptr %27, align 4, !tbaa !8
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %192
  %194 = load i32, ptr %193, align 4, !tbaa !8
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %197 = getelementptr inbounds %"struct.std::array", ptr %29, i32 0, i32 0
  %198 = load i32, ptr %28, align 4, !tbaa !8
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %199
  %201 = load i32, ptr %200, align 4, !tbaa !8
  store i32 %201, ptr %197, align 4, !tbaa !8
  %202 = getelementptr inbounds i32, ptr %197, i64 1
  %203 = load i32, ptr %21, align 4, !tbaa !8
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %21, align 4, !tbaa !8
  store i32 %204, ptr %202, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 4 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  %205 = load i32, ptr %28, align 4, !tbaa !8
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %206
  %208 = load i32, ptr %207, align 4, !tbaa !8
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %209
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %211 = getelementptr inbounds %"struct.std::array", ptr %30, i32 0, i32 0
  %212 = load i32, ptr %27, align 4, !tbaa !8
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %213
  %215 = load i32, ptr %214, align 4, !tbaa !8
  store i32 %215, ptr %211, align 4, !tbaa !8
  %216 = getelementptr inbounds i32, ptr %211, i64 1
  %217 = load i32, ptr %21, align 4, !tbaa !8
  store i32 %217, ptr %216, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %210, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %218

218:                                              ; preds = %185
  %219 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  br label %182

220:                                              ; preds = %184
  br label %221

221:                                              ; preds = %220
  %222 = load i32, ptr %12, align 4, !tbaa !8
  %223 = load i32, ptr %22, align 4, !tbaa !8
  %224 = add nsw i32 %223, %222
  store i32 %224, ptr %22, align 4, !tbaa !8
  br label %167, !llvm.loop !19

225:                                              ; preds = %171
  %226 = load i32, ptr @id, align 4, !tbaa !8
  store i32 %226, ptr @cyc, align 4, !tbaa !8
  store i32 0, ptr @c, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 1, ptr %31, align 4, !tbaa !8
  br label %227

227:                                              ; preds = %243, %225
  %228 = load i32, ptr %31, align 4, !tbaa !8
  %229 = load i32, ptr @id, align 4, !tbaa !8
  %230 = icmp sle i32 %228, %229
  br i1 %230, label %232, label %231

231:                                              ; preds = %227
  store i32 22, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %246

232:                                              ; preds = %227
  %233 = load i32, ptr %31, align 4, !tbaa !8
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [200009 x i32], ptr @vis, i64 0, i64 %234
  %236 = load i32, ptr %235, align 4, !tbaa !8
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %242, label %238

238:                                              ; preds = %232
  %239 = load i32, ptr @c, align 4, !tbaa !8
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr @c, align 4, !tbaa !8
  %241 = load i32, ptr %31, align 4, !tbaa !8
  call void @_Z3dfsii(i32 noundef %241, i32 noundef 0)
  br label %242

242:                                              ; preds = %238, %232
  br label %243

243:                                              ; preds = %242
  %244 = load i32, ptr %31, align 4, !tbaa !8
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %31, align 4, !tbaa !8
  br label %227, !llvm.loop !20

246:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 1, ptr %32, align 4, !tbaa !8
  br label %247

247:                                              ; preds = %284, %246
  %248 = load i32, ptr %32, align 4, !tbaa !8
  %249 = load i32, ptr @id, align 4, !tbaa !8
  %250 = icmp sle i32 %248, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %247
  store i32 25, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %287

252:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %253 = load i32, ptr %32, align 4, !tbaa !8
  %254 = sext i32 %253 to i64
  %255 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %254
  store ptr %255, ptr %33, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %256 = load ptr, ptr %33, align 8, !tbaa !14
  %257 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %256) #8
  %258 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %257, ptr %258, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %259 = load ptr, ptr %33, align 8, !tbaa !14
  %260 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %259) #8
  %261 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %260, ptr %261, align 8
  br label %262

262:                                              ; preds = %281, %252
  %263 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br i1 %263, label %265, label %264

264:                                              ; preds = %262
  store i32 28, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %283

265:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %266 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %266, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %36, i64 noundef 0) #8
  %268 = load i32, ptr %267, align 4, !tbaa !8
  store i32 %268, ptr %37, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  %269 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %36, i64 noundef 1) #8
  %270 = load i32, ptr %269, align 4, !tbaa !8
  store i32 %270, ptr %38, align 4, !tbaa !8
  %271 = load i32, ptr %38, align 4, !tbaa !8
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [400018 x i8], ptr @cycle_edge, i64 0, i64 %272
  %274 = load i8, ptr %273, align 1, !tbaa !21, !range !23, !noundef !24
  %275 = trunc i8 %274 to i1
  br i1 %275, label %280, label %276

276:                                              ; preds = %265
  %277 = load i32, ptr %32, align 4, !tbaa !8
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [200009 x %"class.std::vector.0"], ptr @ct, i64 0, i64 %278
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %279, ptr noundef nonnull align 4 dereferenceable(4) %37)
  br label %280

280:                                              ; preds = %276, %265
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %281

281:                                              ; preds = %280
  %282 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %262

283:                                              ; preds = %264
  br label %284

284:                                              ; preds = %283
  %285 = load i32, ptr %32, align 4, !tbaa !8
  %286 = add nsw i32 %285, 1
  store i32 %286, ptr %32, align 4, !tbaa !8
  br label %247, !llvm.loop !25

287:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  store i32 1, ptr %39, align 4, !tbaa !8
  br label %288

288:                                              ; preds = %303, %287
  %289 = load i32, ptr %39, align 4, !tbaa !8
  %290 = load i32, ptr @id, align 4, !tbaa !8
  %291 = icmp sle i32 %289, %290
  br i1 %291, label %293, label %292

292:                                              ; preds = %288
  store i32 30, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %306

293:                                              ; preds = %288
  %294 = load i32, ptr %39, align 4, !tbaa !8
  %295 = sext i32 %294 to i64
  %296 = getelementptr inbounds [200009 x i32], ptr @done, i64 0, i64 %295
  %297 = load i32, ptr %296, align 4, !tbaa !8
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %299, label %300

299:                                              ; preds = %293
  br label %303

300:                                              ; preds = %293
  %301 = load i32, ptr %39, align 4, !tbaa !8
  call void @_Z4dfs3ii(i32 noundef %301, i32 noundef 0)
  %302 = load i32, ptr %39, align 4, !tbaa !8
  call void @_Z4dfs4ii(i32 noundef %302, i32 noundef 0)
  br label %303

303:                                              ; preds = %300, %299
  %304 = load i32, ptr %39, align 4, !tbaa !8
  %305 = add nsw i32 %304, 1
  store i32 %305, ptr %39, align 4, !tbaa !8
  br label %288, !llvm.loop !26

306:                                              ; preds = %292
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 0, ptr %40, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 1, ptr %41, align 4, !tbaa !8
  br label %307

307:                                              ; preds = %327, %306
  %308 = load i32, ptr %41, align 4, !tbaa !8
  %309 = load i32, ptr @id, align 4, !tbaa !8
  %310 = icmp sle i32 %308, %309
  br i1 %310, label %312, label %311

311:                                              ; preds = %307
  store i32 33, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %330

312:                                              ; preds = %307
  %313 = load i32, ptr %41, align 4, !tbaa !8
  %314 = sext i32 %313 to i64
  %315 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %314
  %316 = load i32, ptr %315, align 4, !tbaa !8
  %317 = load i32, ptr %41, align 4, !tbaa !8
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %318
  %320 = load i32, ptr %319, align 4, !tbaa !8
  %321 = add nsw i32 %316, %320
  %322 = srem i32 %321, 998244353
  %323 = load i32, ptr %40, align 4, !tbaa !8
  %324 = add nsw i32 %323, %322
  store i32 %324, ptr %40, align 4, !tbaa !8
  %325 = load i32, ptr %40, align 4, !tbaa !8
  %326 = srem i32 %325, 998244353
  store i32 %326, ptr %40, align 4, !tbaa !8
  br label %327

327:                                              ; preds = %312
  %328 = load i32, ptr %41, align 4, !tbaa !8
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %41, align 4, !tbaa !8
  br label %307, !llvm.loop !27

330:                                              ; preds = %311
  %331 = load i32, ptr @id, align 4, !tbaa !8
  %332 = load i32, ptr %40, align 4, !tbaa !8
  %333 = sub nsw i32 %332, %331
  store i32 %333, ptr %40, align 4, !tbaa !8
  %334 = load i32, ptr %40, align 4, !tbaa !8
  %335 = add nsw i32 %334, 998244353
  %336 = srem i32 %335, 998244353
  store i32 %336, ptr %40, align 4, !tbaa !8
  %337 = load i32, ptr %40, align 4, !tbaa !8
  %338 = sext i32 %337 to i64
  %339 = mul nsw i64 1, %338
  %340 = mul nsw i64 %339, 499122177
  %341 = srem i64 %340, 998244353
  %342 = trunc i64 %341 to i32
  store i32 %342, ptr %40, align 4, !tbaa !8
  %343 = load i32, ptr %40, align 4, !tbaa !8
  %344 = load i32, ptr %12, align 4, !tbaa !8
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %345
  store i32 %343, ptr %346, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  %347 = load i32, ptr %12, align 4, !tbaa !8
  %348 = load i32, ptr %12, align 4, !tbaa !8
  %349 = add nsw i32 %347, %348
  store i32 %349, ptr %42, align 4, !tbaa !8
  br label %350

350:                                              ; preds = %370, %330
  %351 = load i32, ptr %42, align 4, !tbaa !8
  %352 = load i32, ptr %6, align 4, !tbaa !8
  %353 = icmp sle i32 %351, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %350
  store i32 36, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %374

355:                                              ; preds = %350
  %356 = load i32, ptr %12, align 4, !tbaa !8
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %357
  %359 = load i32, ptr %358, align 4, !tbaa !8
  %360 = load i32, ptr %42, align 4, !tbaa !8
  %361 = sext i32 %360 to i64
  %362 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %361
  %363 = load i32, ptr %362, align 4, !tbaa !8
  %364 = sub nsw i32 %359, %363
  %365 = add nsw i32 %364, 998244353
  %366 = srem i32 %365, 998244353
  %367 = load i32, ptr %12, align 4, !tbaa !8
  %368 = sext i32 %367 to i64
  %369 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %368
  store i32 %366, ptr %369, align 4, !tbaa !8
  br label %370

370:                                              ; preds = %355
  %371 = load i32, ptr %12, align 4, !tbaa !8
  %372 = load i32, ptr %42, align 4, !tbaa !8
  %373 = add nsw i32 %372, %371
  store i32 %373, ptr %42, align 4, !tbaa !8
  br label %350, !llvm.loop !28

374:                                              ; preds = %354
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  store i32 1, ptr %43, align 4, !tbaa !8
  br label %375

375:                                              ; preds = %408, %374
  %376 = load i32, ptr %43, align 4, !tbaa !8
  %377 = load i32, ptr @cyc, align 4, !tbaa !8
  %378 = icmp sle i32 %376, %377
  br i1 %378, label %380, label %379

379:                                              ; preds = %375
  store i32 39, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %411

380:                                              ; preds = %375
  %381 = load i32, ptr %43, align 4, !tbaa !8
  %382 = sext i32 %381 to i64
  %383 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %382
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %383) #8
  %384 = load i32, ptr %43, align 4, !tbaa !8
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [200009 x %"class.std::vector.0"], ptr @ct, i64 0, i64 %385
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %386) #8
  %387 = load i32, ptr %43, align 4, !tbaa !8
  %388 = sext i32 %387 to i64
  %389 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %388
  store i32 0, ptr %389, align 4, !tbaa !8
  %390 = load i32, ptr %43, align 4, !tbaa !8
  %391 = sext i32 %390 to i64
  %392 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %391
  store i32 0, ptr %392, align 4, !tbaa !8
  %393 = load i32, ptr %43, align 4, !tbaa !8
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds [200009 x i32], ptr @done, i64 0, i64 %394
  store i32 0, ptr %395, align 4, !tbaa !8
  %396 = load i32, ptr %43, align 4, !tbaa !8
  %397 = sext i32 %396 to i64
  %398 = getelementptr inbounds [200009 x i32], ptr @comp, i64 0, i64 %397
  store i32 0, ptr %398, align 4, !tbaa !8
  %399 = load i32, ptr %43, align 4, !tbaa !8
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds [200009 x i32], ptr @dep, i64 0, i64 %400
  store i32 0, ptr %401, align 4, !tbaa !8
  %402 = load i32, ptr %43, align 4, !tbaa !8
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds [200009 x i32], ptr @cnt, i64 0, i64 %403
  store i32 0, ptr %404, align 4, !tbaa !8
  %405 = load i32, ptr %43, align 4, !tbaa !8
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds [200009 x i32], ptr @vis, i64 0, i64 %406
  store i32 0, ptr %407, align 4, !tbaa !8
  br label %408

408:                                              ; preds = %380
  %409 = load i32, ptr %43, align 4, !tbaa !8
  %410 = add nsw i32 %409, 1
  store i32 %410, ptr %43, align 4, !tbaa !8
  br label %375, !llvm.loop !29

411:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 1, ptr %44, align 4, !tbaa !8
  br label %412

412:                                              ; preds = %421, %411
  %413 = load i32, ptr %44, align 4, !tbaa !8
  %414 = load i32, ptr %21, align 4, !tbaa !8
  %415 = icmp sle i32 %413, %414
  br i1 %415, label %417, label %416

416:                                              ; preds = %412
  store i32 42, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  br label %424

417:                                              ; preds = %412
  %418 = load i32, ptr %44, align 4, !tbaa !8
  %419 = sext i32 %418 to i64
  %420 = getelementptr inbounds [400018 x i8], ptr @cycle_edge, i64 0, i64 %419
  store i8 0, ptr %420, align 1, !tbaa !21
  br label %421

421:                                              ; preds = %417
  %422 = load i32, ptr %44, align 4, !tbaa !8
  %423 = add nsw i32 %422, 1
  store i32 %423, ptr %44, align 4, !tbaa !8
  br label %412, !llvm.loop !30

424:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %425 = load i32, ptr %12, align 4, !tbaa !8
  store i32 %425, ptr %45, align 4, !tbaa !8
  br label %426

426:                                              ; preds = %459, %424
  %427 = load i32, ptr %45, align 4, !tbaa !8
  %428 = load i32, ptr %6, align 4, !tbaa !8
  %429 = icmp sle i32 %427, %428
  br i1 %429, label %431, label %430

430:                                              ; preds = %426
  store i32 45, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %463

431:                                              ; preds = %426
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %432 = load i32, ptr %45, align 4, !tbaa !8
  %433 = sext i32 %432 to i64
  %434 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %433
  store ptr %434, ptr %46, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %435 = load ptr, ptr %46, align 8, !tbaa !14
  %436 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %435) #8
  %437 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %47, i32 0, i32 0
  store ptr %436, ptr %437, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %438 = load ptr, ptr %46, align 8, !tbaa !14
  %439 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %438) #8
  %440 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %48, i32 0, i32 0
  store ptr %439, ptr %440, align 8
  br label %441

441:                                              ; preds = %456, %431
  %442 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br i1 %442, label %444, label %443

443:                                              ; preds = %441
  store i32 48, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br label %458

444:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %445 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %445, i64 8, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %446 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %49, i64 noundef 0) #8
  %447 = load i32, ptr %446, align 4, !tbaa !8
  store i32 %447, ptr %50, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %448 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %49, i64 noundef 1) #8
  %449 = load i32, ptr %448, align 4, !tbaa !8
  store i32 %449, ptr %51, align 4, !tbaa !8
  %450 = load i32, ptr %51, align 4, !tbaa !8
  %451 = sext i32 %450 to i64
  %452 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %451
  store i32 0, ptr %452, align 4, !tbaa !8
  %453 = load i32, ptr %50, align 4, !tbaa !8
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %454
  store i32 0, ptr %455, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %456

456:                                              ; preds = %444
  %457 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br label %441

458:                                              ; preds = %443
  br label %459

459:                                              ; preds = %458
  %460 = load i32, ptr %12, align 4, !tbaa !8
  %461 = load i32, ptr %45, align 4, !tbaa !8
  %462 = add nsw i32 %461, %460
  store i32 %462, ptr %45, align 4, !tbaa !8
  br label %426, !llvm.loop !31

463:                                              ; preds = %430
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %464

464:                                              ; preds = %463
  %465 = load i32, ptr %12, align 4, !tbaa !8
  %466 = add nsw i32 %465, -1
  store i32 %466, ptr %12, align 4, !tbaa !8
  br label %104, !llvm.loop !32

467:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  store i32 1, ptr %52, align 4, !tbaa !8
  br label %468

468:                                              ; preds = %483, %467
  %469 = load i32, ptr %52, align 4, !tbaa !8
  %470 = load i32, ptr %6, align 4, !tbaa !8
  %471 = icmp sle i32 %469, %470
  br i1 %471, label %473, label %472

472:                                              ; preds = %468
  store i32 50, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  br label %486

473:                                              ; preds = %468
  %474 = load i32, ptr %52, align 4, !tbaa !8
  %475 = sext i32 %474 to i64
  %476 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %475
  %477 = load i32, ptr %476, align 4, !tbaa !8
  %478 = load i32, ptr %11, align 4, !tbaa !8
  %479 = xor i32 %478, %477
  store i32 %479, ptr %11, align 4, !tbaa !8
  %480 = load i32, ptr %52, align 4, !tbaa !8
  %481 = sext i32 %480 to i64
  %482 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %481
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %482) #8
  br label %483

483:                                              ; preds = %473
  %484 = load i32, ptr %52, align 4, !tbaa !8
  %485 = add nsw i32 %484, 1
  store i32 %485, ptr %52, align 4, !tbaa !8
  br label %468, !llvm.loop !33

486:                                              ; preds = %472
  %487 = load i32, ptr %11, align 4, !tbaa !8
  %488 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %487)
  %489 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %488, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %79, !llvm.loop !34

490:                                              ; preds = %79
  store i32 0, ptr %1, align 4
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  %491 = load i32, ptr %1, align 4
  ret i32 %491
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #6

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #7

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #6

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<int, 2>, std::allocator<std::array<int, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"struct.std::array" = type { [2 x i32] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@g = external dso_local global [200009 x %"class.std::vector"], align 16
@ct = external dso_local global [200009 x %"class.std::vector.0"], align 16
@vis = external dso_local local_unnamed_addr global [200009 x i32], align 16
@cyc = external dso_local local_unnamed_addr global i32, align 4
@id = external dso_local local_unnamed_addr global i32, align 4
@cycle_edge = external dso_local local_unnamed_addr global [400018 x i8], align 16
@dep = external dso_local local_unnamed_addr global [200009 x i32], align 16
@cnt = external dso_local local_unnamed_addr global [200009 x i32], align 16
@c = external dso_local local_unnamed_addr global i32, align 4
@comp = external dso_local local_unnamed_addr global [200009 x i32], align 16
@dp = external dso_local local_unnamed_addr global [200009 x i32], align 16
@up = external dso_local local_unnamed_addr global [200009 x i32], align 16
@done = external dso_local local_unnamed_addr global [200009 x i32], align 16
@pw = external dso_local local_unnamed_addr global [200009 x i32], align 16
@f = external dso_local local_unnamed_addr global [200009 x i32], align 16
@e = external dso_local global [200009 x %"class.std::vector"], align 16
@mp = external dso_local local_unnamed_addr global [200009 x i32], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8), i64 noundef) local_unnamed_addr #2 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::array", align 4
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"struct.std::array", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"struct.std::array", align 8
  %15 = alloca %"struct.std::array", align 4
  %16 = alloca %"struct.std::array", align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"struct.std::array", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"struct.std::array", align 8
  %24 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %25 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %26 = getelementptr i8, ptr %25, i64 -24
  %27 = load i64, ptr %26, align 8
  %28 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %27
  %29 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %28, ptr noundef null)
  store i32 1, ptr @pw, align 16, !tbaa !8
  br label %37

30:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %32 = load i32, ptr %1, align 4, !tbaa !8
  %33 = add nsw i32 %32, -1
  store i32 %33, ptr %1, align 4, !tbaa !8
  %.not200 = icmp eq i32 %32, 0
  br i1 %.not200, label %._crit_edge203, label %.lr.ph202

.lr.ph202:                                        ; preds = %30
  %34 = getelementptr inbounds i8, ptr %8, i64 4
  %35 = getelementptr inbounds i8, ptr %15, i64 4
  %36 = getelementptr inbounds i8, ptr %16, i64 4
  br label %45

37:                                               ; preds = %37, %0
  %38 = phi i32 [ 1, %0 ], [ %43, %37 ]
  %indvars.iv = phi i64 [ 1, %0 ], [ %indvars.iv.next.1, %37 ]
  %39 = shl nsw i32 %38, 1
  %40 = srem i32 %39, 998244353
  %41 = getelementptr inbounds [200009 x i32], ptr @pw, i64 0, i64 %indvars.iv
  store i32 %40, ptr %41, align 4, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %42 = shl nsw i32 %40, 1
  %43 = srem i32 %42, 998244353
  %44 = getelementptr inbounds [200009 x i32], ptr @pw, i64 0, i64 %indvars.iv.next
  store i32 %43, ptr %44, align 4, !tbaa !8
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, 200009
  br i1 %exitcond.not.1, label %30, label %37, !llvm.loop !11

45:                                               ; preds = %.lr.ph202, %._crit_edge198
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %49 = load i32, ptr %3, align 4, !tbaa !8
  %50 = add nsw i32 %49, -1
  store i32 %50, ptr %3, align 4, !tbaa !8
  %.not111136 = icmp eq i32 %49, 0
  br i1 %.not111136, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %45, %.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %54 = load i32, ptr %7, align 4, !tbaa !8
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %55
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %57 = load i32, ptr %5, align 4, !tbaa !8
  store i32 %57, ptr %8, align 4, !tbaa !8
  %58 = load i32, ptr %6, align 4, !tbaa !8
  store i32 %58, ptr %34, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %59 = load i32, ptr %3, align 4, !tbaa !8
  %60 = add nsw i32 %59, -1
  store i32 %60, ptr %3, align 4, !tbaa !8
  %.not111 = icmp eq i32 %59, 0
  br i1 %.not111, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %45
  %61 = load i32, ptr %4, align 4, !tbaa !8
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph193.preheader, label %._crit_edge198

.lr.ph193.preheader:                              ; preds = %._crit_edge
  %63 = zext nneg i32 %61 to i64
  %64 = shl nuw i32 %61, 1
  br label %.lr.ph193

.preheader134:                                    ; preds = %._crit_edge190
  %.not112194 = icmp slt i32 %221, 1
  br i1 %.not112194, label %._crit_edge198, label %.lr.ph197

.lr.ph193:                                        ; preds = %.lr.ph193.preheader, %._crit_edge190
  %65 = phi i32 [ %61, %.lr.ph193.preheader ], [ %221, %._crit_edge190 ]
  %indvars.iv230 = phi i32 [ %64, %.lr.ph193.preheader ], [ %indvars.iv.next231, %._crit_edge190 ]
  %indvars.iv209 = phi i64 [ %63, %.lr.ph193.preheader ], [ %indvars.iv.next210, %._crit_edge190 ]
  %66 = zext i32 %indvars.iv230 to i64
  store i32 0, ptr @id, align 4, !tbaa !8
  %67 = sext i32 %65 to i64
  %.not113140 = icmp sgt i64 %indvars.iv209, %67
  br i1 %.not113140, label %.preheader133, label %.lr.ph143

.preheader133.loopexit:                           ; preds = %._crit_edge139
  %.pre249 = sext i32 %72 to i64
  br label %.preheader133

.preheader133:                                    ; preds = %.preheader133.loopexit, %.lr.ph193
  %.pre-phi = phi i64 [ %.pre249, %.preheader133.loopexit ], [ %67, %.lr.ph193 ]
  %.not114148 = icmp sgt i64 %indvars.iv209, %.pre-phi
  br i1 %.not114148, label %._crit_edge152, label %.lr.ph151

.lr.ph143:                                        ; preds = %.lr.ph193, %._crit_edge139
  %indvars.iv211 = phi i64 [ %indvars.iv.next212, %._crit_edge139 ], [ %indvars.iv209, %.lr.ph193 ]
  %68 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %indvars.iv211
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %69 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  store ptr %69, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %70 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #8
  store ptr %70, ptr %10, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %71, label %.lr.ph138, label %._crit_edge139

._crit_edge139:                                   ; preds = %93, %.lr.ph143
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  %indvars.iv.next212 = add nuw nsw i64 %indvars.iv211, %indvars.iv209
  %72 = load i32, ptr %4, align 4, !tbaa !8
  %73 = trunc nuw i64 %indvars.iv.next212 to i32
  %.not113 = icmp slt i32 %72, %73
  br i1 %.not113, label %.preheader133.loopexit, label %.lr.ph143, !llvm.loop !14

.lr.ph138:                                        ; preds = %.lr.ph143, %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %74 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %75 = load i64, ptr %74, align 4, !tbaa !15
  store i64 %75, ptr %11, align 8, !tbaa !15
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %11, i64 noundef 0) #8
  %77 = load i32, ptr %76, align 4, !tbaa !8
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %11, i64 noundef 1) #8
  %79 = load i32, ptr %78, align 4, !tbaa !8
  %80 = sext i32 %77 to i64
  %81 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !8
  %.not125 = icmp eq i32 %82, 0
  br i1 %.not125, label %83, label %86

83:                                               ; preds = %.lr.ph138
  %84 = load i32, ptr @id, align 4, !tbaa !8
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr @id, align 4, !tbaa !8
  store i32 %85, ptr %81, align 4, !tbaa !8
  br label %86

86:                                               ; preds = %83, %.lr.ph138
  %87 = sext i32 %79 to i64
  %88 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !8
  %.not126 = icmp eq i32 %89, 0
  br i1 %.not126, label %90, label %93

90:                                               ; preds = %86
  %91 = load i32, ptr @id, align 4, !tbaa !8
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr @id, align 4, !tbaa !8
  store i32 %92, ptr %88, align 4, !tbaa !8
  br label %93

93:                                               ; preds = %90, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %95 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  br i1 %95, label %.lr.ph138, label %._crit_edge139

._crit_edge152:                                   ; preds = %._crit_edge147, %.preheader133
  %.0108.lcssa = phi i32 [ 0, %.preheader133 ], [ %.1.lcssa, %._crit_edge147 ]
  %96 = load i32, ptr @id, align 4, !tbaa !8
  store i32 %96, ptr @cyc, align 4, !tbaa !8
  store i32 0, ptr @c, align 4, !tbaa !8
  %.not115154 = icmp slt i32 %96, 1
  br i1 %.not115154, label %._crit_edge172, label %.lr.ph157

.lr.ph151:                                        ; preds = %.preheader133, %._crit_edge147
  %indvars.iv214 = phi i64 [ %indvars.iv.next215, %._crit_edge147 ], [ %indvars.iv209, %.preheader133 ]
  %.0108150 = phi i32 [ %.1.lcssa, %._crit_edge147 ], [ 0, %.preheader133 ]
  %97 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %indvars.iv214
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %98 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #8
  store ptr %98, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %99 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %97) #8
  store ptr %99, ptr %13, align 8
  %100 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %100, label %.lr.ph146, label %._crit_edge147

._crit_edge147:                                   ; preds = %.lr.ph146, %.lr.ph151
  %.1.lcssa = phi i32 [ %.0108150, %.lr.ph151 ], [ %117, %.lr.ph146 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  %indvars.iv.next215 = add nuw nsw i64 %indvars.iv214, %indvars.iv209
  %101 = load i32, ptr %4, align 4, !tbaa !8
  %102 = trunc nuw i64 %indvars.iv.next215 to i32
  %.not114 = icmp slt i32 %101, %102
  br i1 %.not114, label %._crit_edge152, label %.lr.ph151, !llvm.loop !16

.lr.ph146:                                        ; preds = %.lr.ph151, %.lr.ph146
  %.1144 = phi i32 [ %117, %.lr.ph146 ], [ %.0108150, %.lr.ph151 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %103 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %104 = load i64, ptr %103, align 4, !tbaa !15
  store i64 %104, ptr %14, align 8, !tbaa !15
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %14, i64 noundef 0) #8
  %106 = load i32, ptr %105, align 4, !tbaa !8
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %14, i64 noundef 1) #8
  %108 = load i32, ptr %107, align 4, !tbaa !8
  %109 = sext i32 %106 to i64
  %110 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !8
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %114 = sext i32 %108 to i64
  %115 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %114
  %116 = load i32, ptr %115, align 4, !tbaa !8
  store i32 %116, ptr %15, align 4, !tbaa !8
  %117 = add nsw i32 %.1144, 1
  store i32 %117, ptr %35, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %113, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  %118 = load i32, ptr %115, align 4, !tbaa !8
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %121 = load i32, ptr %110, align 4, !tbaa !8
  store i32 %121, ptr %16, align 4, !tbaa !8
  store i32 %117, ptr %36, align 4, !tbaa !8
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %120, ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %123 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %123, label %.lr.ph146, label %._crit_edge147

.preheader132:                                    ; preds = %131
  %.not116161 = icmp slt i32 %132, 1
  br i1 %.not116161, label %._crit_edge172, label %.lr.ph163

.lr.ph157:                                        ; preds = %._crit_edge152, %131
  %124 = phi i32 [ %132, %131 ], [ %96, %._crit_edge152 ]
  %indvars.iv217 = phi i64 [ %indvars.iv.next218, %131 ], [ 1, %._crit_edge152 ]
  %125 = getelementptr inbounds [200009 x i32], ptr @vis, i64 0, i64 %indvars.iv217
  %126 = load i32, ptr %125, align 4, !tbaa !8
  %.not124 = icmp eq i32 %126, 0
  br i1 %.not124, label %127, label %131

127:                                              ; preds = %.lr.ph157
  %128 = load i32, ptr @c, align 4, !tbaa !8
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr @c, align 4, !tbaa !8
  %130 = trunc nuw nsw i64 %indvars.iv217 to i32
  call void @_Z3dfsii(i32 noundef %130, i32 noundef 0)
  %.pre = load i32, ptr @id, align 4, !tbaa !8
  br label %131

131:                                              ; preds = %.lr.ph157, %127
  %132 = phi i32 [ %124, %.lr.ph157 ], [ %.pre, %127 ]
  %indvars.iv.next218 = add nuw nsw i64 %indvars.iv217, 1
  %133 = sext i32 %132 to i64
  %.not115.not = icmp slt i64 %indvars.iv217, %133
  br i1 %.not115.not, label %.lr.ph157, label %.preheader132, !llvm.loop !17

.preheader131:                                    ; preds = %._crit_edge160
  %.not117164 = icmp slt i32 %139, 1
  br i1 %.not117164, label %._crit_edge172, label %.lr.ph166

.lr.ph163:                                        ; preds = %.preheader132, %._crit_edge160
  %indvars.iv220 = phi i64 [ %indvars.iv.next221, %._crit_edge160 ], [ 1, %.preheader132 ]
  %134 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %indvars.iv220
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %135 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  store ptr %135, ptr %17, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %136 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  store ptr %136, ptr %18, align 8
  %137 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %137, label %.lr.ph159, label %._crit_edge160

.lr.ph159:                                        ; preds = %.lr.ph163
  %138 = getelementptr inbounds [200009 x %"class.std::vector.0"], ptr @ct, i64 0, i64 %indvars.iv220
  br label %141

._crit_edge160:                                   ; preds = %153, %.lr.ph163
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %indvars.iv.next221 = add nuw nsw i64 %indvars.iv220, 1
  %139 = load i32, ptr @id, align 4, !tbaa !8
  %140 = sext i32 %139 to i64
  %.not116.not = icmp slt i64 %indvars.iv220, %140
  br i1 %.not116.not, label %.lr.ph163, label %.preheader131, !llvm.loop !18

141:                                              ; preds = %.lr.ph159, %153
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %142 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %143 = load i64, ptr %142, align 4, !tbaa !15
  store i64 %143, ptr %19, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %19, i64 noundef 0) #8
  %145 = load i32, ptr %144, align 4, !tbaa !8
  store i32 %145, ptr %20, align 4, !tbaa !8
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %19, i64 noundef 1) #8
  %147 = load i32, ptr %146, align 4, !tbaa !8
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [400018 x i8], ptr @cycle_edge, i64 0, i64 %148
  %150 = load i8, ptr %149, align 1, !tbaa !19, !range !21, !noundef !22
  %151 = trunc nuw i8 %150 to i1
  br i1 %151, label %153, label %152

152:                                              ; preds = %141
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %138, ptr noundef nonnull align 4 dereferenceable(4) %20)
  br label %153

153:                                              ; preds = %152, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %155 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br i1 %155, label %141, label %._crit_edge160

.preheader130:                                    ; preds = %163
  %.not118168 = icmp slt i32 %164, 1
  br i1 %.not118168, label %._crit_edge172, label %.lr.ph171.preheader

.lr.ph171.preheader:                              ; preds = %.preheader130
  %156 = zext nneg i32 %164 to i64
  %xtraiter = and i64 %156, 1
  %157 = icmp eq i32 %164, 1
  br i1 %157, label %._crit_edge172.loopexit.unr-lcssa, label %.lr.ph171.preheader.new

.lr.ph171.preheader.new:                          ; preds = %.lr.ph171.preheader
  %unroll_iter = and i64 %156, 2147483646
  br label %.lr.ph171

.lr.ph166:                                        ; preds = %.preheader131, %163
  %158 = phi i32 [ %164, %163 ], [ %139, %.preheader131 ]
  %indvars.iv223 = phi i64 [ %indvars.iv.next224, %163 ], [ 1, %.preheader131 ]
  %159 = getelementptr inbounds [200009 x i32], ptr @done, i64 0, i64 %indvars.iv223
  %160 = load i32, ptr %159, align 4, !tbaa !8
  %.not123 = icmp eq i32 %160, 0
  br i1 %.not123, label %161, label %163

161:                                              ; preds = %.lr.ph166
  %162 = trunc nuw nsw i64 %indvars.iv223 to i32
  call void @_Z4dfs3ii(i32 noundef %162, i32 noundef 0)
  call void @_Z4dfs4ii(i32 noundef %162, i32 noundef 0)
  %.pre248 = load i32, ptr @id, align 4, !tbaa !8
  br label %163

163:                                              ; preds = %.lr.ph166, %161
  %164 = phi i32 [ %158, %.lr.ph166 ], [ %.pre248, %161 ]
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %165 = sext i32 %164 to i64
  %.not117.not = icmp slt i64 %indvars.iv223, %165
  br i1 %.not117.not, label %.lr.ph166, label %.preheader130, !llvm.loop !23

._crit_edge172.loopexit.unr-lcssa:                ; preds = %.lr.ph171, %.lr.ph171.preheader
  %.lcssa276.ph = phi i32 [ poison, %.lr.ph171.preheader ], [ %198, %.lr.ph171 ]
  %indvars.iv226.unr = phi i64 [ 1, %.lr.ph171.preheader ], [ %indvars.iv.next227.1, %.lr.ph171 ]
  %.0102169.unr = phi i32 [ 0, %.lr.ph171.preheader ], [ %198, %.lr.ph171 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge172, label %.lr.ph171.epil

.lr.ph171.epil:                                   ; preds = %._crit_edge172.loopexit.unr-lcssa
  %166 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %indvars.iv226.unr
  %167 = load i32, ptr %166, align 4, !tbaa !8
  %168 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %indvars.iv226.unr
  %169 = load i32, ptr %168, align 4, !tbaa !8
  %170 = add nsw i32 %169, %167
  %171 = srem i32 %170, 998244353
  %172 = add nsw i32 %171, %.0102169.unr
  %173 = srem i32 %172, 998244353
  br label %._crit_edge172

._crit_edge172:                                   ; preds = %.lr.ph171.epil, %._crit_edge172.loopexit.unr-lcssa, %._crit_edge152, %.preheader132, %.preheader131, %.preheader130
  %.lcssa255 = phi i32 [ %164, %.preheader130 ], [ %139, %.preheader131 ], [ %132, %.preheader132 ], [ %96, %._crit_edge152 ], [ %164, %._crit_edge172.loopexit.unr-lcssa ], [ %164, %.lr.ph171.epil ]
  %.0102.lcssa = phi i32 [ 0, %.preheader130 ], [ 0, %.preheader131 ], [ 0, %.preheader132 ], [ 0, %._crit_edge152 ], [ %.lcssa276.ph, %._crit_edge172.loopexit.unr-lcssa ], [ %173, %.lr.ph171.epil ]
  %reass.sub = sub i32 %.0102.lcssa, %.lcssa255
  %174 = add i32 %reass.sub, 998244353
  %175 = srem i32 %174, 998244353
  %176 = sext i32 %175 to i64
  %177 = mul nsw i64 %176, 499122177
  %178 = srem i64 %177, 998244353
  %179 = trunc nsw i64 %178 to i32
  %180 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %indvars.iv209
  store i32 %179, ptr %180, align 4, !tbaa !8
  %181 = load i32, ptr %4, align 4, !tbaa !8
  %indvars.iv209.tr = trunc i64 %indvars.iv209 to i32
  %182 = shl i32 %indvars.iv209.tr, 1
  %.not119174 = icmp sgt i32 %182, %181
  br i1 %.not119174, label %.preheader129, label %.lr.ph177

.lr.ph171:                                        ; preds = %.lr.ph171, %.lr.ph171.preheader.new
  %indvars.iv226 = phi i64 [ 1, %.lr.ph171.preheader.new ], [ %indvars.iv.next227.1, %.lr.ph171 ]
  %.0102169 = phi i32 [ 0, %.lr.ph171.preheader.new ], [ %198, %.lr.ph171 ]
  %niter = phi i64 [ 0, %.lr.ph171.preheader.new ], [ %niter.next.1, %.lr.ph171 ]
  %183 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %indvars.iv226
  %184 = load i32, ptr %183, align 4, !tbaa !8
  %185 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %indvars.iv226
  %186 = load i32, ptr %185, align 4, !tbaa !8
  %187 = add nsw i32 %186, %184
  %188 = srem i32 %187, 998244353
  %189 = add nsw i32 %188, %.0102169
  %190 = srem i32 %189, 998244353
  %indvars.iv.next227 = add nuw nsw i64 %indvars.iv226, 1
  %191 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %indvars.iv.next227
  %192 = load i32, ptr %191, align 4, !tbaa !8
  %193 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %indvars.iv.next227
  %194 = load i32, ptr %193, align 4, !tbaa !8
  %195 = add nsw i32 %194, %192
  %196 = srem i32 %195, 998244353
  %197 = add nsw i32 %196, %190
  %198 = srem i32 %197, 998244353
  %indvars.iv.next227.1 = add nuw nsw i64 %indvars.iv226, 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_edge172.loopexit.unr-lcssa, label %.lr.ph171, !llvm.loop !24

.preheader129:                                    ; preds = %.lr.ph177, %._crit_edge172
  %199 = load i32, ptr @cyc, align 4, !tbaa !8
  %.not120178 = icmp slt i32 %199, 1
  br i1 %.not120178, label %.preheader128, label %.lr.ph180

.lr.ph177:                                        ; preds = %._crit_edge172, %.lr.ph177
  %indvars.iv232 = phi i64 [ %indvars.iv.next233, %.lr.ph177 ], [ %66, %._crit_edge172 ]
  %200 = phi i32 [ %205, %.lr.ph177 ], [ %179, %._crit_edge172 ]
  %201 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %indvars.iv232
  %202 = load i32, ptr %201, align 4, !tbaa !8
  %203 = add nsw i32 %200, 998244353
  %204 = sub i32 %203, %202
  %205 = srem i32 %204, 998244353
  store i32 %205, ptr %180, align 4, !tbaa !8
  %indvars.iv.next233 = add nuw nsw i64 %indvars.iv232, %indvars.iv209
  %206 = trunc nuw i64 %indvars.iv.next233 to i32
  %.not119 = icmp slt i32 %181, %206
  br i1 %.not119, label %.preheader129, label %.lr.ph177, !llvm.loop !25

.preheader128:                                    ; preds = %.lr.ph180, %.preheader129
  %.not121181 = icmp slt i32 %.0108.lcssa, 1
  br i1 %.not121181, label %.preheader, label %.lr.ph183.preheader

.lr.ph183.preheader:                              ; preds = %.preheader128
  %207 = zext nneg i32 %.0108.lcssa to i64
  call void @llvm.memset.p0.i64(ptr nonnull align 1 getelementptr inbounds (i8, ptr @cycle_edge, i64 1), i8 0, i64 %207, i1 false), !tbaa !19
  br label %.preheader

.lr.ph180:                                        ; preds = %.preheader129, %.lr.ph180
  %indvars.iv235 = phi i64 [ %indvars.iv.next236, %.lr.ph180 ], [ 1, %.preheader129 ]
  %208 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @g, i64 0, i64 %indvars.iv235
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %208) #8
  %209 = getelementptr inbounds [200009 x %"class.std::vector.0"], ptr @ct, i64 0, i64 %indvars.iv235
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %209) #8
  %210 = getelementptr inbounds [200009 x i32], ptr @up, i64 0, i64 %indvars.iv235
  store i32 0, ptr %210, align 4, !tbaa !8
  %211 = getelementptr inbounds [200009 x i32], ptr @dp, i64 0, i64 %indvars.iv235
  store i32 0, ptr %211, align 4, !tbaa !8
  %212 = getelementptr inbounds [200009 x i32], ptr @done, i64 0, i64 %indvars.iv235
  store i32 0, ptr %212, align 4, !tbaa !8
  %213 = getelementptr inbounds [200009 x i32], ptr @comp, i64 0, i64 %indvars.iv235
  store i32 0, ptr %213, align 4, !tbaa !8
  %214 = getelementptr inbounds [200009 x i32], ptr @dep, i64 0, i64 %indvars.iv235
  store i32 0, ptr %214, align 4, !tbaa !8
  %215 = getelementptr inbounds [200009 x i32], ptr @cnt, i64 0, i64 %indvars.iv235
  store i32 0, ptr %215, align 4, !tbaa !8
  %216 = getelementptr inbounds [200009 x i32], ptr @vis, i64 0, i64 %indvars.iv235
  store i32 0, ptr %216, align 4, !tbaa !8
  %indvars.iv.next236 = add nuw nsw i64 %indvars.iv235, 1
  %217 = load i32, ptr @cyc, align 4, !tbaa !8
  %218 = sext i32 %217 to i64
  %.not120.not = icmp slt i64 %indvars.iv235, %218
  br i1 %.not120.not, label %.lr.ph180, label %.preheader128, !llvm.loop !26

.preheader:                                       ; preds = %.lr.ph183.preheader, %.preheader128
  %219 = load i32, ptr %4, align 4, !tbaa !8
  %220 = sext i32 %219 to i64
  %.not122187 = icmp sgt i64 %indvars.iv209, %220
  br i1 %.not122187, label %._crit_edge190, label %.lr.ph189

._crit_edge190:                                   ; preds = %._crit_edge186, %.preheader
  %221 = phi i32 [ %219, %.preheader ], [ %227, %._crit_edge186 ]
  %indvars.iv.next210 = add nsw i64 %indvars.iv209, -1
  %222 = icmp sgt i64 %indvars.iv209, 1
  %indvars.iv.next231 = add i32 %indvars.iv230, -2
  br i1 %222, label %.lr.ph193, label %.preheader134, !llvm.loop !27

.lr.ph189:                                        ; preds = %.preheader, %._crit_edge186
  %indvars.iv241 = phi i64 [ %indvars.iv.next242, %._crit_edge186 ], [ %indvars.iv209, %.preheader ]
  %223 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %indvars.iv241
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %224 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #8
  store ptr %224, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %225 = call ptr @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %223) #8
  store ptr %225, ptr %22, align 8
  %226 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br i1 %226, label %.lr.ph185, label %._crit_edge186

._crit_edge186:                                   ; preds = %.lr.ph185, %.lr.ph189
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  %indvars.iv.next242 = add nuw nsw i64 %indvars.iv241, %indvars.iv209
  %227 = load i32, ptr %4, align 4, !tbaa !8
  %228 = trunc nuw i64 %indvars.iv.next242 to i32
  %.not122 = icmp slt i32 %227, %228
  br i1 %.not122, label %._crit_edge190, label %.lr.ph189, !llvm.loop !28

.lr.ph185:                                        ; preds = %.lr.ph189, %.lr.ph185
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %229 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  %230 = load i64, ptr %229, align 4, !tbaa !15
  store i64 %230, ptr %23, align 8, !tbaa !15
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %23, i64 noundef 0) #8
  %232 = load i32, ptr %231, align 4, !tbaa !8
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIiLm2EEixEm(ptr noundef nonnull align 4 dereferenceable(8) %23, i64 noundef 1) #8
  %234 = load i32, ptr %233, align 4, !tbaa !8
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %235
  store i32 0, ptr %236, align 4, !tbaa !8
  %237 = sext i32 %232 to i64
  %238 = getelementptr inbounds [200009 x i32], ptr @mp, i64 0, i64 %237
  store i32 0, ptr %238, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  %239 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  %240 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5arrayIiLm2EESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br i1 %240, label %.lr.ph185, label %._crit_edge186

._crit_edge198:                                   ; preds = %.lr.ph197, %._crit_edge, %.preheader134
  %.096.lcssa = phi i32 [ 0, %.preheader134 ], [ 0, %._crit_edge ], [ %247, %.lr.ph197 ]
  %241 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.096.lcssa)
  %242 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %241, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  %243 = load i32, ptr %1, align 4, !tbaa !8
  %244 = add nsw i32 %243, -1
  store i32 %244, ptr %1, align 4, !tbaa !8
  %.not = icmp eq i32 %243, 0
  br i1 %.not, label %._crit_edge203, label %45, !llvm.loop !29

.lr.ph197:                                        ; preds = %.preheader134, %.lr.ph197
  %indvars.iv245 = phi i64 [ %indvars.iv.next246, %.lr.ph197 ], [ 1, %.preheader134 ]
  %.096195 = phi i32 [ %247, %.lr.ph197 ], [ 0, %.preheader134 ]
  %245 = getelementptr inbounds [200009 x i32], ptr @f, i64 0, i64 %indvars.iv245
  %246 = load i32, ptr %245, align 4, !tbaa !8
  %247 = xor i32 %246, %.096195
  %248 = getelementptr inbounds [200009 x %"class.std::vector"], ptr @e, i64 0, i64 %indvars.iv245
  call void @_ZNSt6vectorISt5arrayIiLm2EESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %248) #8
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %249 = load i32, ptr %4, align 4, !tbaa !8
  %250 = sext i32 %249 to i64
  %.not112.not = icmp slt i64 %indvars.iv245, %250
  br i1 %.not112.not, label %.lr.ph197, label %._crit_edge198, !llvm.loop !30

._crit_edge203:                                   ; preds = %._crit_edge198, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret i32 0
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #5

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) local_unnamed_addr #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

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

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


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