; LLVM IR from fritzsedlazeck/SURVIVOR :: src/vcfs (Detect_nested)

; 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::basic_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl" }
%"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl" = type { %"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl_data" }
%"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.3 }
%union.anon.3 = type { i32 }
%struct.nested_sv = type <{ %"class.std::__cxx11::basic_string", i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl" }
%"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl" = type { %"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13detect_nestedNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_(ptr noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::basic_ifstream", align 8
  %11 = alloca %struct.nested_sv, align 8
  %12 = alloca %"class.std::vector.4", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca i8, align 1
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #10
  call void @_ZNSt6vectorI8strsimulSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  store i64 2000000, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %24 = load i64, ptr %6, align 8, !tbaa !9
  %25 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %24) #11
          to label %26 unwind label %44

26:                                               ; preds = %2
  store ptr %25, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 520, ptr %10) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10)
          to label %27 unwind label %48

27:                                               ; preds = %26
  %28 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %10, ptr noundef %28, i32 noundef 8)
          to label %29 unwind label %52

29:                                               ; preds = %27
  %30 = load ptr, ptr %10, align 8, !tbaa !11
  %31 = getelementptr i8, ptr %30, i64 -24
  %32 = load i64, ptr %31, align 8
  %33 = getelementptr inbounds i8, ptr %10, i64 %32
  %34 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %33)
          to label %35 unwind label %52

35:                                               ; preds = %29
  br i1 %34, label %56, label %36

36:                                               ; preds = %35
  %37 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %38 unwind label %52

38:                                               ; preds = %36
  %39 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  %40 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef %39)
          to label %41 unwind label %52

41:                                               ; preds = %38
  %42 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %43 unwind label %52

43:                                               ; preds = %41
  call void @exit(i32 noundef 0) #12
  unreachable

44:                                               ; preds = %2
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %8, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %9, align 4
  br label %429

48:                                               ; preds = %26
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %8, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %9, align 4
  br label %428

52:                                               ; preds = %56, %41, %38, %36, %29, %27
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %8, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %9, align 4
  br label %427

56:                                               ; preds = %35
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i64, ptr %6, align 8, !tbaa !9
  %59 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %57, i64 noundef %58)
          to label %60 unwind label %52

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 56, ptr %11) #10
  call void @_ZN9nested_svC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %11) #10
  %61 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 2
  store i32 0, ptr %61, align 4, !tbaa !13
  %62 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 4
  store i32 0, ptr %62, align 4, !tbaa !18
  %63 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 1
  store i32 -1, ptr %63, align 8, !tbaa !19
  %64 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 3
  store i32 0, ptr %64, align 8, !tbaa !20
  %65 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 5
  store i32 0, ptr %65, align 8, !tbaa !21
  %66 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 0
  %67 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef @.str.1)
          to label %68 unwind label %105

68:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #10
  call void @_ZNSt6vectorI9nested_svSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store i32 0, ptr %13, align 4, !tbaa !22
  br label %69

69:                                               ; preds = %307, %68
  %70 = load ptr, ptr %10, align 8, !tbaa !11
  %71 = getelementptr i8, ptr %70, i64 -24
  %72 = load i64, ptr %71, align 8
  %73 = getelementptr inbounds i8, ptr %10, i64 %72
  %74 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %73)
          to label %75 unwind label %109

75:                                               ; preds = %69
  %76 = xor i1 %74, true
  br i1 %76, label %77, label %308

77:                                               ; preds = %75
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i64 0
  %80 = load i8, ptr %79, align 1, !tbaa !23
  %81 = sext i8 %80 to i32
  %82 = icmp ne i32 %81, 35
  br i1 %82, label %83, label %303

83:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  store i32 0, ptr %14, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  store i32 0, ptr %16, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  store i8 0, ptr %18, align 1, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %84

84:                                               ; preds = %197, %83
  %85 = load i64, ptr %19, align 8, !tbaa !9
  %86 = load i64, ptr %6, align 8, !tbaa !9
  %87 = icmp ult i64 %85, %86
  br i1 %87, label %88, label %102

88:                                               ; preds = %84
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = load i64, ptr %19, align 8, !tbaa !9
  %91 = getelementptr inbounds i8, ptr %89, i64 %90
  %92 = load i8, ptr %91, align 1, !tbaa !23
  %93 = sext i8 %92 to i32
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %102

95:                                               ; preds = %88
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = load i64, ptr %19, align 8, !tbaa !9
  %98 = getelementptr inbounds i8, ptr %96, i64 %97
  %99 = load i8, ptr %98, align 1, !tbaa !23
  %100 = sext i8 %99 to i32
  %101 = icmp ne i32 %100, 10
  br label %102

102:                                              ; preds = %95, %88, %84
  %103 = phi i1 [ false, %88 ], [ false, %84 ], [ %101, %95 ]
  br i1 %103, label %113, label %104

104:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %200

105:                                              ; preds = %60
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  br label %426

109:                                              ; preds = %308, %303, %69
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %425

113:                                              ; preds = %102
  %114 = load i32, ptr %14, align 4, !tbaa !22
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %134

116:                                              ; preds = %113
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = load i64, ptr %19, align 8, !tbaa !9
  %119 = getelementptr inbounds i8, ptr %117, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !23
  %121 = sext i8 %120 to i32
  %122 = icmp ne i32 %121, 9
  br i1 %122, label %123, label %134

123:                                              ; preds = %116
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = load i64, ptr %19, align 8, !tbaa !9
  %126 = getelementptr inbounds i8, ptr %124, i64 %125
  %127 = load i8, ptr %126, align 1, !tbaa !23
  %128 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %17, i8 noundef signext %127)
          to label %129 unwind label %130

129:                                              ; preds = %123
  br label %134

130:                                              ; preds = %179, %123
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %8, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %302

134:                                              ; preds = %129, %116, %113
  %135 = load i32, ptr %14, align 4, !tbaa !22
  %136 = icmp eq i32 %135, 2
  br i1 %136, label %137, label %150

137:                                              ; preds = %134
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = load i64, ptr %19, align 8, !tbaa !9
  %140 = sub i64 %139, 1
  %141 = getelementptr inbounds i8, ptr %138, i64 %140
  %142 = load i8, ptr %141, align 1, !tbaa !23
  %143 = sext i8 %142 to i32
  %144 = icmp eq i32 %143, 9
  br i1 %144, label %145, label %150

145:                                              ; preds = %137
  %146 = load ptr, ptr %7, align 8, !tbaa !5
  %147 = load i64, ptr %19, align 8, !tbaa !9
  %148 = getelementptr inbounds i8, ptr %146, i64 %147
  %149 = call i32 @atoi(ptr noundef %148) #13
  store i32 %149, ptr %16, align 4, !tbaa !22
  br label %150

150:                                              ; preds = %145, %137, %134
  %151 = load i32, ptr %14, align 4, !tbaa !22
  %152 = icmp eq i32 %151, 2
  br i1 %152, label %153, label %169

153:                                              ; preds = %150
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load i64, ptr %19, align 8, !tbaa !9
  %156 = getelementptr inbounds i8, ptr %154, i64 %155
  %157 = load i8, ptr %156, align 1, !tbaa !23
  %158 = sext i8 %157 to i32
  %159 = icmp ne i32 %158, 9
  br i1 %159, label %160, label %169

160:                                              ; preds = %153
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = load i64, ptr %19, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %161, i64 %162
  %164 = load i8, ptr %163, align 1, !tbaa !23
  %165 = sext i8 %164 to i32
  %166 = icmp eq i32 %165, 95
  br i1 %166, label %167, label %168

167:                                              ; preds = %160
  store i8 1, ptr %18, align 1, !tbaa !24
  br label %168

168:                                              ; preds = %167, %160
  br label %169

169:                                              ; preds = %168, %153, %150
  %170 = load i32, ptr %14, align 4, !tbaa !22
  %171 = icmp eq i32 %170, 4
  br i1 %171, label %172, label %186

172:                                              ; preds = %169
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = load i64, ptr %19, align 8, !tbaa !9
  %175 = getelementptr inbounds i8, ptr %173, i64 %174
  %176 = load i8, ptr %175, align 1, !tbaa !23
  %177 = sext i8 %176 to i32
  %178 = icmp ne i32 %177, 9
  br i1 %178, label %179, label %186

179:                                              ; preds = %172
  %180 = load ptr, ptr %7, align 8, !tbaa !5
  %181 = load i64, ptr %19, align 8, !tbaa !9
  %182 = getelementptr inbounds i8, ptr %180, i64 %181
  %183 = load i8, ptr %182, align 1, !tbaa !23
  %184 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %15, i8 noundef signext %183)
          to label %185 unwind label %130

185:                                              ; preds = %179
  br label %186

186:                                              ; preds = %185, %172, %169
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = load i64, ptr %19, align 8, !tbaa !9
  %189 = getelementptr inbounds i8, ptr %187, i64 %188
  %190 = load i8, ptr %189, align 1, !tbaa !23
  %191 = sext i8 %190 to i32
  %192 = icmp eq i32 %191, 9
  br i1 %192, label %193, label %196

193:                                              ; preds = %186
  %194 = load i32, ptr %14, align 4, !tbaa !22
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %14, align 4, !tbaa !22
  br label %196

196:                                              ; preds = %193, %186
  br label %197

197:                                              ; preds = %196
  %198 = load i64, ptr %19, align 8, !tbaa !9
  %199 = add i64 %198, 1
  store i64 %199, ptr %19, align 8, !tbaa !9
  br label %84, !llvm.loop !26

200:                                              ; preds = %104
  %201 = load i8, ptr %18, align 1, !tbaa !24, !range !28, !noundef !29
  %202 = trunc i8 %201 to i1
  br i1 %202, label %203, label %294

203:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #10
  store i64 0, ptr %20, align 8, !tbaa !9
  br label %204

204:                                              ; preds = %216, %203
  %205 = load i64, ptr %20, align 8, !tbaa !9
  %206 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  %207 = icmp ult i64 %205, %206
  br i1 %207, label %208, label %219

208:                                              ; preds = %204
  %209 = load i32, ptr %16, align 4, !tbaa !22
  %210 = load i64, ptr %20, align 8, !tbaa !9
  %211 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %210) #10
  %212 = getelementptr inbounds %struct.nested_sv, ptr %211, i32 0, i32 1
  %213 = load i32, ptr %212, align 8, !tbaa !19
  %214 = icmp eq i32 %209, %213
  br i1 %214, label %215, label %216

215:                                              ; preds = %208
  br label %219

216:                                              ; preds = %208
  %217 = load i64, ptr %20, align 8, !tbaa !9
  %218 = add i64 %217, 1
  store i64 %218, ptr %20, align 8, !tbaa !9
  br label %204, !llvm.loop !30

219:                                              ; preds = %215, %204
  %220 = load i64, ptr %20, align 8, !tbaa !9
  %221 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  %222 = icmp eq i64 %220, %221
  br i1 %222, label %223, label %231

223:                                              ; preds = %219
  %224 = load i32, ptr %16, align 4, !tbaa !22
  %225 = getelementptr inbounds %struct.nested_sv, ptr %11, i32 0, i32 1
  store i32 %224, ptr %225, align 8, !tbaa !19
  invoke void @_ZNSt6vectorI9nested_svSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(52) %11)
          to label %226 unwind label %227

226:                                              ; preds = %223
  br label %231

227:                                              ; preds = %274, %223
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %8, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %302

231:                                              ; preds = %226, %219
  %232 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  %233 = call i32 @strcmp(ptr noundef %232, ptr noundef @.str.2) #13
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %241

235:                                              ; preds = %231
  %236 = load i64, ptr %20, align 8, !tbaa !9
  %237 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %236) #10
  %238 = getelementptr inbounds %struct.nested_sv, ptr %237, i32 0, i32 2
  %239 = load i32, ptr %238, align 4, !tbaa !13
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %238, align 4, !tbaa !13
  br label %269

241:                                              ; preds = %231
  %242 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  %243 = call i32 @strcmp(ptr noundef %242, ptr noundef @.str.3) #13
  %244 = icmp eq i32 %243, 0
  br i1 %244, label %245, label %251

245:                                              ; preds = %241
  %246 = load i64, ptr %20, align 8, !tbaa !9
  %247 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %246) #10
  %248 = getelementptr inbounds %struct.nested_sv, ptr %247, i32 0, i32 3
  %249 = load i32, ptr %248, align 8, !tbaa !20
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %248, align 8, !tbaa !20
  br label %268

251:                                              ; preds = %241
  %252 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  %253 = call i32 @strcmp(ptr noundef %252, ptr noundef @.str.4) #13
  %254 = icmp eq i32 %253, 0
  br i1 %254, label %255, label %261

255:                                              ; preds = %251
  %256 = load i64, ptr %20, align 8, !tbaa !9
  %257 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %256) #10
  %258 = getelementptr inbounds %struct.nested_sv, ptr %257, i32 0, i32 4
  %259 = load i32, ptr %258, align 4, !tbaa !18
  %260 = add nsw i32 %259, 1
  store i32 %260, ptr %258, align 4, !tbaa !18
  br label %267

261:                                              ; preds = %251
  %262 = load i64, ptr %20, align 8, !tbaa !9
  %263 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %262) #10
  %264 = getelementptr inbounds %struct.nested_sv, ptr %263, i32 0, i32 5
  %265 = load i32, ptr %264, align 8, !tbaa !21
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %264, align 8, !tbaa !21
  br label %267

267:                                              ; preds = %261, %255
  br label %268

268:                                              ; preds = %267, %245
  br label %269

269:                                              ; preds = %268, %235
  %270 = load i64, ptr %20, align 8, !tbaa !9
  %271 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %270) #10
  %272 = getelementptr inbounds %struct.nested_sv, ptr %271, i32 0, i32 0
  %273 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %272) #10
  br i1 %273, label %274, label %280

274:                                              ; preds = %269
  %275 = load i64, ptr %20, align 8, !tbaa !9
  %276 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %275) #10
  %277 = getelementptr inbounds %struct.nested_sv, ptr %276, i32 0, i32 0
  %278 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %277, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %279 unwind label %227

279:                                              ; preds = %274
  br label %293

280:                                              ; preds = %269
  %281 = load i64, ptr %20, align 8, !tbaa !9
  %282 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %281) #10
  %283 = getelementptr inbounds %struct.nested_sv, ptr %282, i32 0, i32 0
  %284 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %283) #10
  %285 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  %286 = call i32 @strcmp(ptr noundef %284, ptr noundef %285) #13
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %292

288:                                              ; preds = %280
  %289 = load i64, ptr %20, align 8, !tbaa !9
  %290 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %289) #10
  %291 = getelementptr inbounds %struct.nested_sv, ptr %290, i32 0, i32 5
  store i32 100, ptr %291, align 8, !tbaa !21
  br label %292

292:                                              ; preds = %288, %280
  br label %293

293:                                              ; preds = %292, %279
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #10
  br label %294

294:                                              ; preds = %293, %200
  %295 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  %296 = call i32 @strcmp(ptr noundef %295, ptr noundef @.str.5) #13
  %297 = icmp eq i32 %296, 0
  br i1 %297, label %298, label %301

298:                                              ; preds = %294
  %299 = load i32, ptr %13, align 4, !tbaa !22
  %300 = add nsw i32 %299, 1
  store i32 %300, ptr %13, align 4, !tbaa !22
  br label %301

301:                                              ; preds = %298, %294
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %303

302:                                              ; preds = %227, %130
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  br label %425

303:                                              ; preds = %301, %77
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = load i64, ptr %6, align 8, !tbaa !9
  %306 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %304, i64 noundef %305)
          to label %307 unwind label %109

307:                                              ; preds = %303
  br label %69, !llvm.loop !31

308:                                              ; preds = %75
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %10)
          to label %309 unwind label %109

309:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  store i32 0, ptr %21, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  store i32 0, ptr %22, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %310

310:                                              ; preds = %395, %309
  %311 = load i64, ptr %23, align 8, !tbaa !9
  %312 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  %313 = icmp ult i64 %311, %312
  br i1 %313, label %315, label %314

314:                                              ; preds = %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %398

315:                                              ; preds = %310
  %316 = load i64, ptr %23, align 8, !tbaa !9
  %317 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %316) #10
  %318 = getelementptr inbounds %struct.nested_sv, ptr %317, i32 0, i32 5
  %319 = load i32, ptr %318, align 8, !tbaa !21
  %320 = icmp eq i32 %319, 0
  br i1 %320, label %321, label %356

321:                                              ; preds = %315
  %322 = load i64, ptr %23, align 8, !tbaa !9
  %323 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %322) #10
  %324 = getelementptr inbounds %struct.nested_sv, ptr %323, i32 0, i32 2
  %325 = load i32, ptr %324, align 4, !tbaa !13
  %326 = icmp sgt i32 %325, 1
  br i1 %326, label %327, label %356

327:                                              ; preds = %321
  %328 = load i64, ptr %23, align 8, !tbaa !9
  %329 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %328) #10
  %330 = getelementptr inbounds %struct.nested_sv, ptr %329, i32 0, i32 3
  %331 = load i32, ptr %330, align 8, !tbaa !20
  %332 = icmp sgt i32 %331, 0
  br i1 %332, label %333, label %356

333:                                              ; preds = %327
  %334 = load i64, ptr %23, align 8, !tbaa !9
  %335 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %334) #10
  %336 = getelementptr inbounds %struct.nested_sv, ptr %335, i32 0, i32 4
  %337 = load i32, ptr %336, align 4, !tbaa !18
  %338 = icmp eq i32 %337, 0
  br i1 %338, label %339, label %356

339:                                              ; preds = %333
  %340 = load i32, ptr %21, align 4, !tbaa !22
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %21, align 4, !tbaa !22
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %343 unwind label %352

343:                                              ; preds = %339
  %344 = load i64, ptr %23, align 8, !tbaa !9
  %345 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %344) #10
  %346 = getelementptr inbounds %struct.nested_sv, ptr %345, i32 0, i32 1
  %347 = load i32, ptr %346, align 8, !tbaa !19
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %342, i32 noundef %347)
          to label %349 unwind label %352

349:                                              ; preds = %343
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %351 unwind label %352

351:                                              ; preds = %349
  br label %394

352:                                              ; preds = %390, %384, %380, %349, %343, %339
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %8, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %424

356:                                              ; preds = %333, %327, %321, %315
  %357 = load i64, ptr %23, align 8, !tbaa !9
  %358 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %357) #10
  %359 = getelementptr inbounds %struct.nested_sv, ptr %358, i32 0, i32 5
  %360 = load i32, ptr %359, align 8, !tbaa !21
  %361 = icmp eq i32 %360, 0
  br i1 %361, label %362, label %393

362:                                              ; preds = %356
  %363 = load i64, ptr %23, align 8, !tbaa !9
  %364 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %363) #10
  %365 = getelementptr inbounds %struct.nested_sv, ptr %364, i32 0, i32 2
  %366 = load i32, ptr %365, align 4, !tbaa !13
  %367 = icmp eq i32 %366, 0
  br i1 %367, label %368, label %393

368:                                              ; preds = %362
  %369 = load i64, ptr %23, align 8, !tbaa !9
  %370 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %369) #10
  %371 = getelementptr inbounds %struct.nested_sv, ptr %370, i32 0, i32 3
  %372 = load i32, ptr %371, align 8, !tbaa !20
  %373 = icmp sgt i32 %372, 0
  br i1 %373, label %374, label %393

374:                                              ; preds = %368
  %375 = load i64, ptr %23, align 8, !tbaa !9
  %376 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %375) #10
  %377 = getelementptr inbounds %struct.nested_sv, ptr %376, i32 0, i32 4
  %378 = load i32, ptr %377, align 4, !tbaa !18
  %379 = icmp sgt i32 %378, 0
  br i1 %379, label %380, label %393

380:                                              ; preds = %374
  %381 = load i32, ptr %22, align 4, !tbaa !22
  %382 = add nsw i32 %381, 1
  store i32 %382, ptr %22, align 4, !tbaa !22
  %383 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %384 unwind label %352

384:                                              ; preds = %380
  %385 = load i64, ptr %23, align 8, !tbaa !9
  %386 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef %385) #10
  %387 = getelementptr inbounds %struct.nested_sv, ptr %386, i32 0, i32 1
  %388 = load i32, ptr %387, align 8, !tbaa !19
  %389 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %383, i32 noundef %388)
          to label %390 unwind label %352

390:                                              ; preds = %384
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %389, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %392 unwind label %352

392:                                              ; preds = %390
  br label %393

393:                                              ; preds = %392, %374, %368, %362, %356
  br label %394

394:                                              ; preds = %393, %351
  br label %395

395:                                              ; preds = %394
  %396 = load i64, ptr %23, align 8, !tbaa !9
  %397 = add i64 %396, 1
  store i64 %397, ptr %23, align 8, !tbaa !9
  br label %310, !llvm.loop !32

398:                                              ; preds = %314
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %400 unwind label %420

400:                                              ; preds = %398
  %401 = load i32, ptr %21, align 4, !tbaa !22
  %402 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %399, i32 noundef %401)
          to label %403 unwind label %420

403:                                              ; preds = %400
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %402, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %405 unwind label %420

405:                                              ; preds = %403
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %407 unwind label %420

407:                                              ; preds = %405
  %408 = load i32, ptr %22, align 4, !tbaa !22
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %406, i32 noundef %408)
          to label %410 unwind label %420

410:                                              ; preds = %407
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %409, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %412 unwind label %420

412:                                              ; preds = %410
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %414 unwind label %420

414:                                              ; preds = %412
  %415 = load i32, ptr %13, align 4, !tbaa !22
  %416 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %413, i32 noundef %415)
          to label %417 unwind label %420

417:                                              ; preds = %414
  %418 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %416, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %419 unwind label %420

419:                                              ; preds = %417
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @_ZNSt6vectorI9nested_svSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #10
  call void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %11) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @_ZNSt6vectorI8strsimulSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #10
  ret void

420:                                              ; preds = %417, %414, %412, %410, %407, %405, %403, %400, %398
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %8, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %9, align 4
  br label %424

424:                                              ; preds = %420, %352
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  br label %425

425:                                              ; preds = %424, %302, %109
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @_ZNSt6vectorI9nested_svSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #10
  br label %426

426:                                              ; preds = %425, %105
  call void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %11) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr %11) #10
  br label %427

427:                                              ; preds = %426, %52
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %10) #10
  br label %428

428:                                              ; preds = %427, %48
  call void @llvm.lifetime.end.p0(i64 520, ptr %10) #10
  br label %429

429:                                              ; preds = %428, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @_ZNSt6vectorI8strsimulSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #10
  br label %430

430:                                              ; preds = %429
  %431 = load ptr, ptr %8, align 8
  %432 = load i32, ptr %9, align 4
  %433 = insertvalue { ptr, i32 } poison, ptr %431, 0
  %434 = insertvalue { ptr, i32 } %433, i32 %432, 1
  resume { ptr, i32 } %434
}

; 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 void @_ZNSt6vectorI8strsimulSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9nested_svC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #7

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

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

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

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #8

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; 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 uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #6 align 2

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

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

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

!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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !17, i64 36}
!14 = !{!"_ZTS9nested_sv", !15, i64 0, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !10, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!14, !17, i64 44}
!19 = !{!14, !17, i64 32}
!20 = !{!14, !17, i64 40}
!21 = !{!14, !17, i64 48}
!22 = !{!17, !17, i64 0}
!23 = !{!7, !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{i8 0, i8 2}
!29 = !{}
!30 = distinct !{!30, !27}
!31 = distinct !{!31, !27}
!32 = distinct !{!32, !27}


; 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::basic_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl" }
%"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl" = type { %"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl_data" }
%"struct.std::_Vector_base<strsimul, std::allocator<strsimul>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.3 }
%union.anon.3 = type { i32 }
%struct.nested_sv = type <{ %"class.std::__cxx11::basic_string", i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl" }
%"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl" = type { %"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl_data" }
%"struct.std::_Vector_base<nested_sv, std::allocator<nested_sv>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [34 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13detect_nestedNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES4_(ptr noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::basic_ifstream", align 8
  %5 = alloca %struct.nested_sv, align 8
  %6 = alloca %"class.std::vector.4", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #10
  call void @_ZNSt6vectorI8strsimulSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  %9 = invoke noalias noundef nonnull dereferenceable(2000000) ptr @_Znam(i64 noundef 2000000) #11
          to label %10 unwind label %27

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %4) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4)
          to label %11 unwind label %29

11:                                               ; preds = %10
  %12 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %4, ptr noundef %12, i32 noundef 8)
          to label %13 unwind label %31

13:                                               ; preds = %11
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr i8, ptr %14, i64 -24
  %16 = load i64, ptr %15, align 8
  %17 = getelementptr inbounds i8, ptr %4, i64 %16
  %18 = call noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4goodEv(ptr noundef nonnull align 8 dereferenceable(264) %17)
  br i1 %18, label %33, label %19

19:                                               ; preds = %13
  %20 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %21 unwind label %31

21:                                               ; preds = %19
  %22 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef %22)
          to label %24 unwind label %31

24:                                               ; preds = %21
  %25 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %26 unwind label %31

26:                                               ; preds = %24
  call void @exit(i32 noundef 0) #12
  unreachable

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %231

29:                                               ; preds = %10
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %230

31:                                               ; preds = %33, %24, %21, %19, %11
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %229

33:                                               ; preds = %13
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %9, i64 noundef 2000000)
          to label %35 unwind label %31

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #10
  call void @_ZN9nested_svC2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #10
  %36 = getelementptr inbounds i8, ptr %5, i64 32
  store <4 x i32> <i32 -1, i32 0, i32 0, i32 0>, ptr %36, align 8, !tbaa !8
  %37 = getelementptr inbounds i8, ptr %5, i64 48
  store i32 0, ptr %37, align 8, !tbaa !11
  %38 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.1)
          to label %39 unwind label %54

39:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #10
  call void @_ZNSt6vectorI9nested_svSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  br label %40

40:                                               ; preds = %138, %39
  %.081 = phi i32 [ 0, %39 ], [ %.2, %138 ]
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr i8, ptr %41, i64 -24
  %43 = load i64, ptr %42, align 8
  %44 = getelementptr inbounds i8, ptr %4, i64 %43
  %45 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264) %44)
          to label %46 unwind label %.loopexit

46:                                               ; preds = %40
  br i1 %45, label %140, label %47

47:                                               ; preds = %46
  %48 = load i8, ptr %9, align 1, !tbaa !17
  %.not = icmp eq i8 %48, 35
  br i1 %.not, label %138, label %49

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  br label %50

50:                                               ; preds = %49, %.thread118
  %.074134 = phi i64 [ 0, %49 ], [ %74, %.thread118 ]
  %.075133 = phi i1 [ false, %49 ], [ %.176122, %.thread118 ]
  %.077132 = phi i32 [ 0, %49 ], [ %.178113121, %.thread118 ]
  %.079131 = phi i32 [ 0, %49 ], [ %spec.select, %.thread118 ]
  %51 = getelementptr inbounds i8, ptr %9, i64 %.074134
  %52 = load i8, ptr %51, align 1, !tbaa !17
  switch i8 %52, label %56 [
    i8 0, label %.critedge
    i8 10, label %.critedge
  ]

.critedge:                                        ; preds = %50, %50, %.thread118
  %.077.lcssa = phi i32 [ %.077132, %50 ], [ %.077132, %50 ], [ %.178113121, %.thread118 ]
  %.075.lcssa = phi i1 [ %.075133, %50 ], [ %.075133, %50 ], [ %.176122, %.thread118 ]
  br i1 %.075.lcssa, label %.preheader123, label %132

.preheader123:                                    ; preds = %.critedge
  %53 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %.not146 = icmp eq i64 %53, 0
  br i1 %.not146, label %._crit_edge, label %.lr.ph

54:                                               ; preds = %35
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %228

.loopexit:                                        ; preds = %40, %138
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %227

.loopexit.split-lp:                               ; preds = %140
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %227

56:                                               ; preds = %50
  %57 = icmp ne i32 %.079131, 0
  %.not99 = icmp eq i8 %52, 9
  %or.cond = or i1 %57, %.not99
  br i1 %or.cond, label %60, label %.invoke

58:                                               ; preds = %.invoke
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %137

60:                                               ; preds = %56
  switch i32 %.079131, label %.thread118 [
    i32 2, label %61
    i32 4, label %68
  ]

61:                                               ; preds = %60
  %62 = getelementptr i8, ptr %51, i64 -1
  %63 = load i8, ptr %62, align 1, !tbaa !17
  %64 = icmp eq i8 %63, 9
  br i1 %64, label %65, label %67

65:                                               ; preds = %61
  %66 = call i32 @atoi(ptr nocapture noundef %51) #13
  br label %67

67:                                               ; preds = %65, %61
  %.178.ph = phi i32 [ %.077132, %61 ], [ %66, %65 ]
  %cond = icmp eq i8 %52, 95
  %spec.select110 = select i1 %cond, i1 true, i1 %.075133
  br label %.thread118

68:                                               ; preds = %60
  br i1 %.not99, label %.thread118, label %.invoke

.invoke:                                          ; preds = %56, %68
  %69 = phi ptr [ %7, %68 ], [ %8, %56 ]
  %70 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32) %69, i8 noundef signext %52)
          to label %.thread118 unwind label %58

.thread118:                                       ; preds = %.invoke, %60, %67, %68
  %.176122 = phi i1 [ %.075133, %68 ], [ %spec.select110, %67 ], [ %.075133, %60 ], [ %.075133, %.invoke ]
  %.178113121 = phi i32 [ %.077132, %68 ], [ %.178.ph, %67 ], [ %.077132, %60 ], [ %.077132, %.invoke ]
  %71 = load i8, ptr %51, align 1, !tbaa !17
  %72 = icmp eq i8 %71, 9
  %73 = zext i1 %72 to i32
  %spec.select = add nuw nsw i32 %.079131, %73
  %74 = add nuw nsw i64 %.074134, 1
  %exitcond.not = icmp eq i64 %74, 2000000
  br i1 %exitcond.not, label %.critedge, label %50, !llvm.loop !18

.lr.ph:                                           ; preds = %.preheader123, %79
  %.073135 = phi i64 [ %80, %79 ], [ 0, %.preheader123 ]
  %75 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073135) #10
  %76 = getelementptr inbounds i8, ptr %75, i64 32
  %77 = load i32, ptr %76, align 8, !tbaa !20
  %78 = icmp eq i32 %.077.lcssa, %77
  br i1 %78, label %._crit_edge, label %79

79:                                               ; preds = %.lr.ph
  %80 = add nuw i64 %.073135, 1
  %81 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %82 = icmp ult i64 %80, %81
  br i1 %82, label %.lr.ph, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %79, %.lr.ph, %.preheader123
  %.073.lcssa = phi i64 [ 0, %.preheader123 ], [ %.073135, %.lr.ph ], [ %80, %79 ]
  %83 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %84 = icmp eq i64 %.073.lcssa, %83
  br i1 %84, label %85, label %88

85:                                               ; preds = %._crit_edge
  store i32 %.077.lcssa, ptr %36, align 8, !tbaa !20
  invoke void @_ZNSt6vectorI9nested_svSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(52) %5)
          to label %88 unwind label %86

86:                                               ; preds = %123, %85
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %137

88:                                               ; preds = %85, %._crit_edge
  %89 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %90 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %89, ptr noundef nonnull dereferenceable(1) @.str.2) #13
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %97

92:                                               ; preds = %88
  %93 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  %94 = getelementptr inbounds i8, ptr %93, i64 36
  %95 = load i32, ptr %94, align 4, !tbaa !22
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %94, align 4, !tbaa !22
  br label %119

97:                                               ; preds = %88
  %98 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %99 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %98, ptr noundef nonnull dereferenceable(1) @.str.3) #13
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %101, label %106

101:                                              ; preds = %97
  %102 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  %103 = getelementptr inbounds i8, ptr %102, i64 40
  %104 = load i32, ptr %103, align 8, !tbaa !23
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %103, align 8, !tbaa !23
  br label %119

106:                                              ; preds = %97
  %107 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %108 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %107, ptr noundef nonnull dereferenceable(1) @.str.4) #13
  %109 = icmp eq i32 %108, 0
  %110 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  br i1 %109, label %111, label %115

111:                                              ; preds = %106
  %112 = getelementptr inbounds i8, ptr %110, i64 44
  %113 = load i32, ptr %112, align 4, !tbaa !24
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %112, align 4, !tbaa !24
  br label %119

115:                                              ; preds = %106
  %116 = getelementptr inbounds i8, ptr %110, i64 48
  %117 = load i32, ptr %116, align 8, !tbaa !11
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %116, align 8, !tbaa !11
  br label %119

119:                                              ; preds = %101, %115, %111, %92
  %120 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  %121 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %120) #10
  %122 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  br i1 %121, label %123, label %125

123:                                              ; preds = %119
  %124 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %132 unwind label %86

125:                                              ; preds = %119
  %126 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %122) #10
  %127 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  %128 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %126, ptr noundef nonnull dereferenceable(1) %127) #13
  %.not98 = icmp eq i32 %128, 0
  br i1 %.not98, label %132, label %129

129:                                              ; preds = %125
  %130 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.073.lcssa) #10
  %131 = getelementptr inbounds i8, ptr %130, i64 48
  store i32 100, ptr %131, align 8, !tbaa !11
  br label %132

132:                                              ; preds = %123, %129, %125, %.critedge
  %133 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  %134 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %133, ptr noundef nonnull dereferenceable(1) @.str.5) #13
  %135 = icmp eq i32 %134, 0
  %136 = zext i1 %135 to i32
  %spec.select109 = add nsw i32 %.081, %136
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  br label %138

137:                                              ; preds = %86, %58
  %.pn102 = phi { ptr, i32 } [ %59, %58 ], [ %87, %86 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #10
  br label %227

138:                                              ; preds = %132, %47
  %.2 = phi i32 [ %spec.select109, %132 ], [ %.081, %47 ]
  %139 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %9, i64 noundef 2000000)
          to label %40 unwind label %.loopexit, !llvm.loop !25

140:                                              ; preds = %46
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256) %4)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %140
  %141 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %.not147 = icmp eq i64 %141, 0
  br i1 %.not147, label %._crit_edge143, label %.lr.ph142

._crit_edge143:                                   ; preds = %204, %.preheader
  %.071.lcssa = phi i32 [ 0, %.preheader ], [ %.172, %204 ]
  %.070.lcssa = phi i32 [ 0, %.preheader ], [ %.1, %204 ]
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %208 unwind label %225

.lr.ph142:                                        ; preds = %.preheader, %204
  %.0140 = phi i64 [ %205, %204 ], [ 0, %.preheader ]
  %.070139 = phi i32 [ %.1, %204 ], [ 0, %.preheader ]
  %.071138 = phi i32 [ %.172, %204 ], [ 0, %.preheader ]
  %143 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %144 = getelementptr inbounds i8, ptr %143, i64 48
  %145 = load i32, ptr %144, align 8, !tbaa !11
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %174

147:                                              ; preds = %.lr.ph142
  %148 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %149 = getelementptr inbounds i8, ptr %148, i64 36
  %150 = load i32, ptr %149, align 4, !tbaa !22
  %151 = icmp sgt i32 %150, 1
  br i1 %151, label %152, label %174

152:                                              ; preds = %147
  %153 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %154 = getelementptr inbounds i8, ptr %153, i64 40
  %155 = load i32, ptr %154, align 8, !tbaa !23
  %156 = icmp sgt i32 %155, 0
  br i1 %156, label %157, label %174

157:                                              ; preds = %152
  %158 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %159 = getelementptr inbounds i8, ptr %158, i64 44
  %160 = load i32, ptr %159, align 4, !tbaa !24
  %161 = icmp eq i32 %160, 0
  br i1 %161, label %162, label %174

162:                                              ; preds = %157
  %163 = add nsw i32 %.071138, 1
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
          to label %165 unwind label %172

165:                                              ; preds = %162
  %166 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %167 = getelementptr inbounds i8, ptr %166, i64 32
  %168 = load i32, ptr %167, align 8, !tbaa !20
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %164, i32 noundef %168)
          to label %170 unwind label %172

170:                                              ; preds = %165
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %204 unwind label %172

172:                                              ; preds = %202, %197, %194, %170, %165, %162
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %227

174:                                              ; preds = %157, %152, %147, %.lr.ph142
  %175 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %176 = getelementptr inbounds i8, ptr %175, i64 48
  %177 = load i32, ptr %176, align 8, !tbaa !11
  %178 = icmp eq i32 %177, 0
  br i1 %178, label %179, label %204

179:                                              ; preds = %174
  %180 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %181 = getelementptr inbounds i8, ptr %180, i64 36
  %182 = load i32, ptr %181, align 4, !tbaa !22
  %183 = icmp eq i32 %182, 0
  br i1 %183, label %184, label %204

184:                                              ; preds = %179
  %185 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %186 = getelementptr inbounds i8, ptr %185, i64 40
  %187 = load i32, ptr %186, align 8, !tbaa !23
  %188 = icmp sgt i32 %187, 0
  br i1 %188, label %189, label %204

189:                                              ; preds = %184
  %190 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %191 = getelementptr inbounds i8, ptr %190, i64 44
  %192 = load i32, ptr %191, align 4, !tbaa !24
  %193 = icmp sgt i32 %192, 0
  br i1 %193, label %194, label %204

194:                                              ; preds = %189
  %195 = add nsw i32 %.070139, 1
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
          to label %197 unwind label %172

197:                                              ; preds = %194
  %198 = call noundef nonnull align 8 dereferenceable(52) ptr @_ZNSt6vectorI9nested_svSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0140) #10
  %199 = getelementptr inbounds i8, ptr %198, i64 32
  %200 = load i32, ptr %199, align 8, !tbaa !20
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %196, i32 noundef %200)
          to label %202 unwind label %172

202:                                              ; preds = %197
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %204 unwind label %172

204:                                              ; preds = %170, %202, %189, %184, %179, %174
  %.172 = phi i32 [ %163, %170 ], [ %.071138, %202 ], [ %.071138, %189 ], [ %.071138, %184 ], [ %.071138, %179 ], [ %.071138, %174 ]
  %.1 = phi i32 [ %.070139, %170 ], [ %195, %202 ], [ %.070139, %189 ], [ %.070139, %184 ], [ %.070139, %179 ], [ %.070139, %174 ]
  %205 = add nuw i64 %.0140, 1
  %206 = call noundef i64 @_ZNKSt6vectorI9nested_svSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  %207 = icmp ult i64 %205, %206
  br i1 %207, label %.lr.ph142, label %._crit_edge143, !llvm.loop !26

208:                                              ; preds = %._crit_edge143
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %142, i32 noundef %.071.lcssa)
          to label %210 unwind label %225

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %209, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %212 unwind label %225

212:                                              ; preds = %210
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %214 unwind label %225

214:                                              ; preds = %212
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %213, i32 noundef %.070.lcssa)
          to label %216 unwind label %225

216:                                              ; preds = %214
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %218 unwind label %225

218:                                              ; preds = %216
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
          to label %220 unwind label %225

220:                                              ; preds = %218
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %219, i32 noundef %.081)
          to label %222 unwind label %225

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %221, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %224 unwind label %225

224:                                              ; preds = %222
  call void @_ZNSt6vectorI9nested_svSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  call void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #10
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #10
  call void @_ZNSt6vectorI8strsimulSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  ret void

225:                                              ; preds = %222, %220, %218, %216, %214, %212, %210, %208, %._crit_edge143
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %227

227:                                              ; preds = %.loopexit, %.loopexit.split-lp, %172, %225, %137
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %137 ], [ %173, %172 ], [ %226, %225 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorI9nested_svSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  br label %228

228:                                              ; preds = %227, %54
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %227 ], [ %55, %54 ]
  call void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %5) #10
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #10
  br label %229

229:                                              ; preds = %228, %31
  %.pn102.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn, %228 ], [ %32, %31 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %4) #10
  br label %230

230:                                              ; preds = %229, %29
  %.pn102.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn, %229 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %4) #10
  br label %231

231:                                              ; preds = %230, %27
  %.pn102.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn.pn.pn, %230 ], [ %28, %27 ]
  call void @_ZNSt6vectorI8strsimulSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn102.pn.pn.pn.pn.pn
}

; 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 void @_ZNSt6vectorI8strsimulSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSi7getlineEPcl(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9nested_svC2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE3eofEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #7

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

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

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

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; 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 uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN9nested_svD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #6 align 2

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

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

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

!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 = !{!12, !9, i64 48}
!12 = !{!"_ZTS9nested_sv", !13, i64 0, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44, !9, i64 48}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !16, i64 8, !10, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !10, i64 0}
!16 = !{!"long", !10, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!12, !9, i64 32}
!21 = distinct !{!21, !19}
!22 = !{!12, !9, i64 36}
!23 = !{!12, !9, i64 40}
!24 = !{!12, !9, i64 44}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass