; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2012-13/Dec 2012/12 Dec G2.ll (Z3dfsi)

; 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::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.6 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.6 = type { i64, [8 x i8] }
%"class.std::bitset<26>::reference" = type { ptr, i64 }

@t = external dso_local global [300001 x [26 x i32]], align 16
@_Z1vB5cxx11 = external dso_local global [300001 x %"class.std::vector"], align 16
@_Z3ansB5cxx11 = external dso_local global %"class.std::vector", align 8
@fi = external dso_local global [300001 x [26 x %"class.std::bitset"]], align 16

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::bitset<26>::reference", align 8
  %14 = alloca i1, align 1
  %15 = alloca i1, align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::bitset<26>::reference", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::bitset<26>::reference", align 8
  store i32 %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [300001 x %"class.std::vector"], ptr @_Z1vB5cxx11, i64 0, i64 %23
  store ptr %24, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %25 = load ptr, ptr %3, align 8, !tbaa !9
  %26 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #5
  %27 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %4, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %28 = load ptr, ptr %3, align 8, !tbaa !9
  %29 = call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  %30 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.7", ptr %5, i32 0, i32 0
  store ptr %29, ptr %30, align 8
  br label %31

31:                                               ; preds = %37, %1
  %32 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %32, label %34, label %33

33:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %43

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #5
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %35)
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) @_Z3ansB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %36 unwind label %39

36:                                               ; preds = %34
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  br label %37

37:                                               ; preds = %36
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br label %31

39:                                               ; preds = %34
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %7, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %8, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %247

43:                                               ; preds = %33
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [300001 x %"class.std::vector"], ptr @_Z1vB5cxx11, i64 0, i64 %45
  %47 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #5
  %48 = icmp ne i64 %47, 0
  br i1 %48, label %49, label %50

49:                                               ; preds = %43
  br label %246

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

51:                                               ; preds = %243, %50
  %52 = load i32, ptr %9, align 4, !tbaa !5
  %53 = icmp slt i32 %52, 26
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 4, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %246

55:                                               ; preds = %51
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %57
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [26 x i32], ptr %58, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %242

64:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 0, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %98, %64
  %66 = load i32, ptr %12, align 4, !tbaa !5
  %67 = icmp slt i32 %66, 26
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  store i32 7, ptr %10, align 4
  br label %101

69:                                               ; preds = %65
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %71
  %73 = load i32, ptr %12, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [26 x i32], ptr %72, i64 0, i64 %74
  %76 = load i32, ptr %75, align 4, !tbaa !5
  %77 = icmp sgt i32 %76, 0
  store i1 false, ptr %14, align 1
  store i1 false, ptr %15, align 1
  br i1 %77, label %78, label %88

78:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  store i1 true, ptr %14, align 1
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %80
  %82 = load i32, ptr %12, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %81, i64 0, i64 %83
  %85 = load i32, ptr %9, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<26>::reference") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %84, i64 noundef %86)
  store i1 true, ptr %15, align 1
  %87 = call noundef zeroext i1 @_ZNKSt6bitsetILm26EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %88

88:                                               ; preds = %78, %69
  %89 = phi i1 [ false, %69 ], [ %87, %78 ]
  %90 = load i1, ptr %15, align 1
  br i1 %90, label %91, label %92

91:                                               ; preds = %88
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %92

92:                                               ; preds = %91, %88
  %93 = load i1, ptr %14, align 1
  br i1 %93, label %94, label %95

94:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  br label %95

95:                                               ; preds = %94, %92
  br i1 %89, label %96, label %97

96:                                               ; preds = %95
  store i8 1, ptr %11, align 1, !tbaa !11
  store i32 7, ptr %10, align 4
  br label %101

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %12, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %12, align 4, !tbaa !5
  br label %65, !llvm.loop !13

101:                                              ; preds = %96, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %102

102:                                              ; preds = %101
  %103 = load i8, ptr %11, align 1, !tbaa !11, !range !15, !noundef !16
  %104 = trunc i8 %103 to i1
  br i1 %104, label %105, label %106

105:                                              ; preds = %102
  store i32 6, ptr %10, align 4
  br label %239

106:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %130, %106
  %108 = load i32, ptr %16, align 4, !tbaa !5
  %109 = icmp slt i32 %108, 26
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 10, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %133

111:                                              ; preds = %107
  %112 = load i32, ptr %2, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %113
  %115 = load i32, ptr %16, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %114, i64 0, i64 %116
  %118 = load i32, ptr %2, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %119
  %121 = load i32, ptr %9, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [26 x i32], ptr %120, i64 0, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %125
  %127 = load i32, ptr %16, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %126, i64 0, i64 %128
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %129, ptr align 8 %117, i64 8, i1 false)
  br label %130

130:                                              ; preds = %111
  %131 = load i32, ptr %16, align 4, !tbaa !5
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %16, align 4, !tbaa !5
  br label %107, !llvm.loop !17

133:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %168, %133
  %135 = load i32, ptr %17, align 4, !tbaa !5
  %136 = icmp slt i32 %135, 26
  br i1 %136, label %138, label %137

137:                                              ; preds = %134
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %171

138:                                              ; preds = %134
  %139 = load i32, ptr %17, align 4, !tbaa !5
  %140 = load i32, ptr %9, align 4, !tbaa !5
  %141 = icmp ne i32 %139, %140
  br i1 %141, label %142, label %167

142:                                              ; preds = %138
  %143 = load i32, ptr %2, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %144
  %146 = load i32, ptr %17, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [26 x i32], ptr %145, i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = icmp sgt i32 %149, 0
  br i1 %150, label %151, label %167

151:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #5
  %152 = load i32, ptr %2, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %153
  %155 = load i32, ptr %9, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [26 x i32], ptr %154, i64 0, i64 %156
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %159
  %161 = load i32, ptr %9, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %160, i64 0, i64 %162
  %164 = load i32, ptr %17, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<26>::reference") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %163, i64 noundef %165)
  %166 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm26EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %18, i1 noundef zeroext true) #5
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #5
  br label %167

167:                                              ; preds = %151, %142, %138
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %17, align 4, !tbaa !5
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %17, align 4, !tbaa !5
  br label %134, !llvm.loop !18

171:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %172

172:                                              ; preds = %228, %171
  %173 = load i32, ptr %19, align 4, !tbaa !5
  %174 = icmp slt i32 %173, 26
  br i1 %174, label %176, label %175

175:                                              ; preds = %172
  store i32 16, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %231

176:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %177

177:                                              ; preds = %224, %176
  %178 = load i32, ptr %20, align 4, !tbaa !5
  %179 = icmp slt i32 %178, 26
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  store i32 19, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %227

181:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  %182 = load i32, ptr %2, align 4, !tbaa !5
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %183
  %185 = load i32, ptr %9, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds [26 x i32], ptr %184, i64 0, i64 %186
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %189
  %191 = load i32, ptr %20, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %190, i64 0, i64 %192
  %194 = load i32, ptr %19, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<26>::reference") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %193, i64 noundef %195)
  %196 = call noundef zeroext i1 @_ZNKSt6bitsetILm26EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  br i1 %196, label %197, label %223

197:                                              ; preds = %181
  %198 = load i32, ptr %2, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %199
  %201 = load i32, ptr %9, align 4, !tbaa !5
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds [26 x i32], ptr %200, i64 0, i64 %202
  %204 = load i32, ptr %203, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %205
  %207 = load i32, ptr %19, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %2, align 4, !tbaa !5
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %211
  %213 = load i32, ptr %9, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [26 x i32], ptr %212, i64 0, i64 %214
  %216 = load i32, ptr %215, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %217
  %219 = load i32, ptr %20, align 4, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [26 x %"class.std::bitset"], ptr %218, i64 0, i64 %220
  %222 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm26EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull align 8 dereferenceable(8) %209) #5
  br label %223

223:                                              ; preds = %197, %181
  br label %224

224:                                              ; preds = %223
  %225 = load i32, ptr %20, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %20, align 4, !tbaa !5
  br label %177, !llvm.loop !19

227:                                              ; preds = %180
  br label %228

228:                                              ; preds = %227
  %229 = load i32, ptr %19, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %19, align 4, !tbaa !5
  br label %172, !llvm.loop !20

231:                                              ; preds = %175
  %232 = load i32, ptr %2, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %233
  %235 = load i32, ptr %9, align 4, !tbaa !5
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [26 x i32], ptr %234, i64 0, i64 %236
  %238 = load i32, ptr %237, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %238)
  store i32 0, ptr %10, align 4
  br label %239

239:                                              ; preds = %231, %105
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  %240 = load i32, ptr %10, align 4
  switch i32 %240, label %252 [
    i32 0, label %241
    i32 6, label %243
  ]

241:                                              ; preds = %239
  br label %242

242:                                              ; preds = %241, %55
  br label %243

243:                                              ; preds = %242, %239
  %244 = load i32, ptr %9, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %9, align 4, !tbaa !5
  br label %51, !llvm.loop !21

246:                                              ; preds = %54, %49
  ret void

247:                                              ; preds = %39
  %248 = load ptr, ptr %7, align 8
  %249 = load i32, ptr %8, align 4
  %250 = insertvalue { ptr, i32 } poison, ptr %248, 0
  %251 = insertvalue { ptr, i32 } %250, i32 %249, 1
  resume { ptr, i32 } %251

252:                                              ; preds = %239
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(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 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<26>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #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 8 dereferenceable(16) ptr @_ZNSt6bitsetILm26EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #2 align 2

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

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

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

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


; 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::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { i64 }
%"class.__gnu_cxx::__normal_iterator.7" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.6 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.6 = type { i64, [8 x i8] }
%"class.std::bitset<26>::reference" = type { ptr, i64 }

@t = external dso_local local_unnamed_addr global [300001 x [26 x i32]], align 16
@_Z1vB5cxx11 = external dso_local global [300001 x %"class.std::vector"], align 16
@_Z3ansB5cxx11 = external dso_local global %"class.std::vector", align 8
@fi = external dso_local global [300001 x [26 x %"class.std::bitset"]], align 16

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dfsi(i32 noundef %0) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.7", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::bitset<26>::reference", align 8
  %6 = alloca %"class.std::bitset<26>::reference", align 8
  %7 = alloca %"class.std::bitset<26>::reference", align 8
  %8 = sext i32 %0 to i64
  %9 = getelementptr inbounds [300001 x %"class.std::vector"], ptr @_Z1vB5cxx11, i64 0, i64 %8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  %10 = tail call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  store ptr %10, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  %11 = tail call ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  store ptr %11, ptr %3, align 8
  %12 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %28, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  %13 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %.preheader67.preheader, label %.loopexit68

.preheader67.preheader:                           ; preds = %._crit_edge
  %14 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 0
  %15 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 2
  %16 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 4
  %17 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 6
  %18 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 8
  %19 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 10
  %20 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 12
  %21 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 14
  %22 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 16
  %23 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 18
  %24 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 20
  %25 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 22
  %26 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 24
  br label %.preheader67

.lr.ph:                                           ; preds = %1, %28
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  %27 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %27)
  invoke void @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE9push_backERKS5_(ptr noundef nonnull align 8 dereferenceable(24) @_Z3ansB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %28 unwind label %31

28:                                               ; preds = %.lr.ph
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %2) #4
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3) #4
  br i1 %30, label %.lr.ph, label %._crit_edge

31:                                               ; preds = %.lr.ph
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  resume { ptr, i32 } %32

.preheader67:                                     ; preds = %.preheader67.preheader, %.loopexit
  %indvars.iv93 = phi i64 [ 0, %.preheader67.preheader ], [ %indvars.iv.next94, %.loopexit ]
  %33 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %8, i64 %indvars.iv93
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %.not60 = icmp eq i32 %34, 0
  br i1 %.not60, label %.loopexit, label %.preheader66

.critedge63.preheader:                            ; preds = %.critedge.thread
  %35 = load i32, ptr %33, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 0
  %38 = load <2 x i64>, ptr %14, align 16
  store <2 x i64> %38, ptr %37, align 16
  %39 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 2
  %40 = load <2 x i64>, ptr %15, align 16
  store <2 x i64> %40, ptr %39, align 16
  %41 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 4
  %42 = load <2 x i64>, ptr %16, align 16
  store <2 x i64> %42, ptr %41, align 16
  %43 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 6
  %44 = load <2 x i64>, ptr %17, align 16
  store <2 x i64> %44, ptr %43, align 16
  %45 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 8
  %46 = load <2 x i64>, ptr %18, align 16
  store <2 x i64> %46, ptr %45, align 16
  %47 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 10
  %48 = load <2 x i64>, ptr %19, align 16
  store <2 x i64> %48, ptr %47, align 16
  %49 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 12
  %50 = load <2 x i64>, ptr %20, align 16
  store <2 x i64> %50, ptr %49, align 16
  %51 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 14
  %52 = load <2 x i64>, ptr %21, align 16
  store <2 x i64> %52, ptr %51, align 16
  %53 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 16
  %54 = load <2 x i64>, ptr %22, align 16
  store <2 x i64> %54, ptr %53, align 16
  %55 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 18
  %56 = load <2 x i64>, ptr %23, align 16
  store <2 x i64> %56, ptr %55, align 16
  %57 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 20
  %58 = load <2 x i64>, ptr %24, align 16
  store <2 x i64> %58, ptr %57, align 16
  %59 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 22
  %60 = load <2 x i64>, ptr %25, align 16
  store <2 x i64> %60, ptr %59, align 16
  %61 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %36, i64 24
  %62 = load <2 x i64>, ptr %26, align 16
  store <2 x i64> %62, ptr %61, align 16
  br label %.preheader65

.preheader66:                                     ; preds = %.preheader67, %.critedge.thread
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge.thread ], [ 0, %.preheader67 ]
  %63 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %8, i64 %indvars.iv
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = icmp sgt i32 %64, 0
  br i1 %65, label %.critedge, label %.critedge.thread

.critedge:                                        ; preds = %.preheader66
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #4
  %66 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %8, i64 %indvars.iv
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<26>::reference") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %66, i64 noundef %indvars.iv93)
  %67 = call noundef zeroext i1 @_ZNKSt6bitsetILm26EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #4
  br i1 %67, label %.loopexit, label %.critedge.thread

.critedge.thread:                                 ; preds = %.preheader66, %.critedge
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 26
  br i1 %exitcond.not, label %.critedge63.preheader, label %.preheader66, !llvm.loop !9

.preheader65:                                     ; preds = %.critedge63.preheader, %77
  %indvars.iv81 = phi i64 [ 0, %.critedge63.preheader ], [ %indvars.iv.next82, %77 ]
  %.not61 = icmp eq i64 %indvars.iv81, %indvars.iv93
  br i1 %.not61, label %77, label %68

68:                                               ; preds = %.preheader65
  %69 = getelementptr inbounds [300001 x [26 x i32]], ptr @t, i64 0, i64 %8, i64 %indvars.iv81
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = icmp sgt i32 %70, 0
  br i1 %71, label %72, label %77

72:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %73 = load i32, ptr %33, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %74, i64 %indvars.iv93
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<26>::reference") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %75, i64 noundef %indvars.iv81)
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm26EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %6, i1 noundef zeroext true) #4
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  br label %77

77:                                               ; preds = %.preheader65, %68, %72
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %exitcond84.not = icmp eq i64 %indvars.iv.next82, 26
  br i1 %exitcond84.not, label %.preheader, label %.preheader65, !llvm.loop !11

.preheader:                                       ; preds = %77, %80
  %indvars.iv89 = phi i64 [ %indvars.iv.next90, %80 ], [ 0, %77 ]
  br label %81

78:                                               ; preds = %80
  %79 = load i32, ptr %33, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %79)
  br label %.loopexit

80:                                               ; preds = %92
  %indvars.iv.next90 = add nuw nsw i64 %indvars.iv89, 1
  %exitcond92.not = icmp eq i64 %indvars.iv.next90, 26
  br i1 %exitcond92.not, label %78, label %.preheader, !llvm.loop !12

81:                                               ; preds = %.preheader, %92
  %indvars.iv85 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next86, %92 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  %82 = load i32, ptr %33, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %83, i64 %indvars.iv85
  call void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<26>::reference") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %84, i64 noundef %indvars.iv89)
  %85 = call noundef zeroext i1 @_ZNKSt6bitsetILm26EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @_ZNSt6bitsetILm26EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  br i1 %85, label %86, label %92

86:                                               ; preds = %81
  %87 = load i32, ptr %33, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %88, i64 %indvars.iv89
  %90 = getelementptr inbounds [300001 x [26 x %"class.std::bitset"]], ptr @fi, i64 0, i64 %88, i64 %indvars.iv85
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6bitsetILm26EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %89) #4
  br label %92

92:                                               ; preds = %81, %86
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %exitcond88.not = icmp eq i64 %indvars.iv.next86, 26
  br i1 %exitcond88.not, label %80, label %81, !llvm.loop !13

.loopexit:                                        ; preds = %.critedge, %78, %.preheader67
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %exitcond96.not = icmp eq i64 %indvars.iv.next94, 26
  br i1 %exitcond96.not, label %.loopexit68, label %.preheader67, !llvm.loop !14

.loopexit68:                                      ; preds = %.loopexit, %._crit_edge
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_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_cxxneIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(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 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm26EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<26>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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


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