; LLVM IR from fetlang/fetlang :: src/Tokenizer.ll (ZN9Tokenizer17removePossessionsERKSt6vectorI5TokenSaIS1_EE)

; 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::__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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl" }
%"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator.5" = type { i8 }

@_ZTI16FetlangException = external constant ptr
@_ZTISt9exception = external constant ptr
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZTI14TokenException = external constant ptr
@.str.14 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

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

declare void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(44)) #4

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

declare noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44)) #4

declare noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Tokenizer17removePossessionsERKSt6vectorI5TokenSaIS1_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i1, align 1
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %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 %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.5", align 1
  %25 = alloca i1, align 1
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.5", align 1
  %31 = alloca i1, align 1
  %32 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8
  store i1 false, ptr %7, align 1
  call void @_ZNSt6vectorI5TokenSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #9
  %36 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %35, ptr %36, align 8
  br label %37

37:                                               ; preds = %178, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #9
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  %41 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  br label %204

43:                                               ; preds = %37
  %44 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZNSt6vectorI5TokenSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(44) %44)
          to label %45 unwind label %64

45:                                               ; preds = %43
  %46 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  %47 = invoke noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44) %46)
          to label %48 unwind label %64

48:                                               ; preds = %45
  %49 = icmp eq i32 %47, 4
  br i1 %49, label %50, label %92

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #9
  %51 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(44) %51)
          to label %52 unwind label %68

52:                                               ; preds = %50
  %53 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.11, i64 noundef 0) #9
  %54 = icmp ne i64 %53, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  br i1 %54, label %55, label %91

55:                                               ; preds = %52
  %56 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNSt6vectorI5TokenSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #9
  %57 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(44) %57)
          to label %58 unwind label %72

58:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  %59 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(44) %59)
          to label %60 unwind label %76

60:                                               ; preds = %58
  %61 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.11, i64 noundef 0) #9
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(32) %14, i64 noundef 0, i64 noundef %61)
          to label %62 unwind label %80

62:                                               ; preds = %60
  invoke void @_ZN5Token8setValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %56, ptr noundef %13)
          to label %63 unwind label %84

63:                                               ; preds = %62
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  br label %91

64:                                               ; preds = %92, %45, %43
  %65 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %10, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %11, align 4
  br label %181

68:                                               ; preds = %50
  %69 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %10, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #9
  br label %181

72:                                               ; preds = %55
  %73 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %10, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %11, align 4
  br label %90

76:                                               ; preds = %58
  %77 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %10, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %11, align 4
  br label %89

80:                                               ; preds = %60
  %81 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %10, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %11, align 4
  br label %88

84:                                               ; preds = %62
  %85 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %10, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %88

88:                                               ; preds = %84, %80
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %89

89:                                               ; preds = %88, %76
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %90

90:                                               ; preds = %89, %72
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #9
  br label %181

91:                                               ; preds = %63, %52
  br label %177

92:                                               ; preds = %48
  %93 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  %94 = invoke noundef zeroext i1 @_ZL24tokenIsPossessivePronounRK5Token(ptr noundef nonnull align 8 dereferenceable(44) %93)
          to label %95 unwind label %64

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

96:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  %97 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(44) %97)
          to label %98 unwind label %102

98:                                               ; preds = %96
  %99 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.12)
          to label %100 unwind label %106

100:                                              ; preds = %98
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  br i1 %99, label %101, label %111

101:                                              ; preds = %100
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %111

102:                                              ; preds = %96
  %103 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %10, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %11, align 4
  br label %110

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %10, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %110

110:                                              ; preds = %106, %102
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  br label %175

111:                                              ; preds = %101, %100
  br label %112

112:                                              ; preds = %151, %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %113 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #9
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  %115 = load ptr, ptr %6, align 8, !tbaa !5
  %116 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #9
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  br i1 %118, label %119, label %126

119:                                              ; preds = %112
  %120 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #9
  %121 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %20, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  %122 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  %123 = invoke noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44) %122)
          to label %124 unwind label %139

124:                                              ; preds = %119
  %125 = icmp eq i32 %123, 4
  br label %126

126:                                              ; preds = %124, %112
  %127 = phi i1 [ false, %112 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br i1 %127, label %128, label %154

128:                                              ; preds = %126
  %129 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  %130 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %129)
          to label %131 unwind label %143

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %132 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #9
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  %134 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  %135 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %134)
          to label %136 unwind label %147

136:                                              ; preds = %131
  %137 = icmp ne i32 %130, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br i1 %137, label %138, label %151

138:                                              ; preds = %136
  br label %154

139:                                              ; preds = %119
  %140 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %10, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  br label %175

143:                                              ; preds = %128
  %144 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %10, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %11, align 4
  br label %175

147:                                              ; preds = %131
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %10, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  br label %175

151:                                              ; preds = %136
  %152 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #9
  %153 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %152, ptr %153, align 8
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %112, !llvm.loop !11

154:                                              ; preds = %138, %126
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %174, label %157

157:                                              ; preds = %154
  store i1 true, ptr %25, align 1
  %158 = call ptr @__cxa_allocate_exception(i64 72) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %159 unwind label %162

159:                                              ; preds = %157
  %160 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  invoke void @_ZN14TokenExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK5Token(ptr noundef nonnull align 8 dereferenceable(72) %158, ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(44) %160)
          to label %161 unwind label %166

161:                                              ; preds = %159
  store i1 false, ptr %25, align 1
  invoke void @__cxa_throw(ptr %158, ptr @_ZTI14TokenException, ptr @_ZN14TokenExceptionD2Ev) #10
          to label %240 unwind label %166

162:                                              ; preds = %157
  %163 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %10, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %11, align 4
  br label %170

166:                                              ; preds = %161, %159
  %167 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %10, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %170

170:                                              ; preds = %166, %162
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  %171 = load i1, ptr %25, align 1
  br i1 %171, label %172, label %173

172:                                              ; preds = %170
  call void @__cxa_free_exception(ptr %158) #9
  br label %173

173:                                              ; preds = %172, %170
  br label %175

174:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %176

175:                                              ; preds = %173, %147, %143, %139, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %181

176:                                              ; preds = %174, %95
  br label %177

177:                                              ; preds = %176, %91
  br label %178

178:                                              ; preds = %177
  %179 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #9
  %180 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %179, ptr %180, align 8
  br label %37, !llvm.loop !13

181:                                              ; preds = %175, %90, %68, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @_ZNSt6vectorI5TokenSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  br label %182

182:                                              ; preds = %181
  %183 = load i32, ptr %11, align 4
  %184 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTI16FetlangException) #9
  %185 = icmp eq i32 %183, %184
  br i1 %185, label %186, label %189

186:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %187 = load ptr, ptr %10, align 8
  %188 = call ptr @__cxa_begin_catch(ptr %187) #9
  store ptr %188, ptr %32, align 8
  invoke void @__cxa_rethrow() #10
          to label %240 unwind label %226

189:                                              ; preds = %182
  %190 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #9
  %191 = icmp eq i32 %183, %190
  br i1 %191, label %192, label %232

192:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %193 = load ptr, ptr %10, align 8
  %194 = call ptr @__cxa_begin_catch(ptr %193) #9
  store ptr %194, ptr %27, align 8
  store i1 true, ptr %31, align 1
  %195 = call ptr @__cxa_allocate_exception(i64 16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %196 unwind label %208

196:                                              ; preds = %192
  %197 = load ptr, ptr %27, align 8, !tbaa !5
  %198 = load ptr, ptr %197, align 8, !tbaa !14
  %199 = getelementptr inbounds ptr, ptr %198, i64 2
  %200 = load ptr, ptr %199, align 8
  %201 = call noundef ptr %200(ptr noundef nonnull align 8 dereferenceable(8) %197) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %28, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %201)
          to label %202 unwind label %212

202:                                              ; preds = %196
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %195, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %203 unwind label %216

203:                                              ; preds = %202
  store i1 false, ptr %31, align 1
  invoke void @__cxa_throw(ptr %195, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %240 unwind label %216

204:                                              ; preds = %42
  store i1 true, ptr %7, align 1
  %205 = load i1, ptr %7, align 1
  br i1 %205, label %207, label %206

206:                                              ; preds = %204
  call void @_ZNSt6vectorI5TokenSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  br label %207

207:                                              ; preds = %206, %204
  ret void

208:                                              ; preds = %192
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %10, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %11, align 4
  br label %221

212:                                              ; preds = %196
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %10, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %11, align 4
  br label %220

216:                                              ; preds = %203, %202
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %10, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %220

220:                                              ; preds = %216, %212
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %221

221:                                              ; preds = %220, %208
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  %222 = load i1, ptr %31, align 1
  br i1 %222, label %223, label %224

223:                                              ; preds = %221
  call void @__cxa_free_exception(ptr %195) #9
  br label %224

224:                                              ; preds = %223, %221
  invoke void @__cxa_end_catch()
          to label %225 unwind label %237

225:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  br label %232

226:                                              ; preds = %186
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %10, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %11, align 4
  invoke void @__cxa_end_catch()
          to label %230 unwind label %237

230:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %232

231:                                              ; No predecessors!
  unreachable

232:                                              ; preds = %230, %225, %189
  %233 = load ptr, ptr %10, align 8
  %234 = load i32, ptr %11, align 4
  %235 = insertvalue { ptr, i32 } poison, ptr %233, 0
  %236 = insertvalue { ptr, i32 } %235, i32 %234, 1
  resume { ptr, i32 } %236

237:                                              ; preds = %226, %224
  %238 = landingpad { ptr, i32 }
          catch ptr null
  %239 = extractvalue { ptr, i32 } %238, 0
  call void @__clang_call_terminate(ptr %239) #11
  unreachable

240:                                              ; preds = %203, %186, %161
  unreachable
}

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

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

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

declare void @_ZN5Token8setValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL24tokenIsPossessivePronounRK5Token(ptr noundef nonnull align 8 dereferenceable(44)) #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14TokenExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK5Token(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14TokenExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #3 align 2

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr)

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

declare void @__cxa_rethrow()

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

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

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


; 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::__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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl" }
%"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl" = type { %"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Token, std::allocator<Token>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.std::allocator.5" = type { i8 }

@_ZTI16FetlangException = external constant ptr
@_ZTISt9exception = external constant ptr
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZTI14TokenException = external constant ptr
@.str.14 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

; 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

declare void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #4

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

declare noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #4

declare noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9Tokenizer17removePossessionsERKSt6vectorI5TokenSaIS1_EE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::vector") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.5", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.5", align 1
  tail call void @_ZNSt6vectorI5TokenSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  %20 = tail call ptr @_ZNKSt6vectorI5TokenSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %20, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %21 = tail call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %21, ptr %5, align 8
  %22 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br i1 %22, label %.lr.ph56, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit.thread, %3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  ret void

.lr.ph56:                                         ; preds = %3, %.loopexit.thread
  %23 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZNSt6vectorI5TokenSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(44) %23)
          to label %24 unwind label %42

24:                                               ; preds = %.lr.ph56
  %25 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  %26 = invoke noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44) %25)
          to label %27 unwind label %42

27:                                               ; preds = %24
  %28 = icmp eq i32 %26, 4
  br i1 %28, label %29, label %57

29:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  %30 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull align 8 dereferenceable(44) %30)
          to label %31 unwind label %44

31:                                               ; preds = %29
  %32 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.11, i64 noundef 0) #9
  %.not33 = icmp eq i64 %32, -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br i1 %.not33, label %.loopexit.thread, label %33

33:                                               ; preds = %31
  %34 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNSt6vectorI5TokenSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  %35 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(44) %35)
          to label %36 unwind label %46

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  %37 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(44) %37)
          to label %38 unwind label %48

38:                                               ; preds = %36
  %39 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEPKcm(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.11, i64 noundef 0) #9
  invoke void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %7, ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef 0, i64 noundef %39)
          to label %40 unwind label %50

40:                                               ; preds = %38
  invoke void @_ZN5Token8setValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44) %34, ptr noundef nonnull %7)
          to label %41 unwind label %52

41:                                               ; preds = %40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %.loopexit.thread

42:                                               ; preds = %57, %24, %.lr.ph56
  %43 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %120

44:                                               ; preds = %29
  %45 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  br label %120

46:                                               ; preds = %33
  %47 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %56

48:                                               ; preds = %36
  %49 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %55

50:                                               ; preds = %38
  %51 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %54

52:                                               ; preds = %40
  %53 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  br label %54

54:                                               ; preds = %52, %50
  %.pn34 = phi { ptr, i32 } [ %53, %52 ], [ %51, %50 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %55

55:                                               ; preds = %54, %48
  %.pn34.pn = phi { ptr, i32 } [ %.pn34, %54 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %56

56:                                               ; preds = %55, %46
  %.pn34.pn.pn = phi { ptr, i32 } [ %.pn34.pn, %55 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %120

57:                                               ; preds = %27
  %58 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  %59 = invoke noundef zeroext i1 @_ZL24tokenIsPossessivePronounRK5Token(ptr noundef nonnull align 8 dereferenceable(44) %58)
          to label %60 unwind label %42

60:                                               ; preds = %57
  br i1 %59, label %61, label %.loopexit.thread

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  %62 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZNK5Token8getValueB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(44) %62)
          to label %63 unwind label %86

63:                                               ; preds = %61
  %64 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.12)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  %spec.select = zext i1 %64 to i32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %65 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %65, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %66 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %66, ptr %12, align 8
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  br i1 %67, label %.lr.ph.preheader, label %.critedge

.lr.ph.preheader:                                 ; preds = %63
  %68 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %68, ptr %13, align 8
  %69 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %70 = invoke noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44) %69)
          to label %71 unwind label %.loopexit.split-lp

71:                                               ; preds = %.lr.ph.preheader
  %72 = icmp eq i32 %70, 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br i1 %72, label %73, label %.loopexit

73:                                               ; preds = %71
  %74 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  %75 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %74)
          to label %76 unwind label %.loopexit.split-lp64

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %77 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %77, ptr %14, align 8
  %78 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  %79 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %78)
          to label %80 unwind label %.loopexit.split-lp69

80:                                               ; preds = %76
  %.not.peel = icmp eq i32 %75, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br i1 %.not.peel, label %81, label %.loopexit

81:                                               ; preds = %80
  %82 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %83 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %83, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %84 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %84, ptr %12, align 8
  %85 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  br i1 %85, label %.lr.ph, label %.critedge

86:                                               ; preds = %61
  %87 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  br label %120

.lr.ph:                                           ; preds = %81, %103
  %88 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %88, ptr %13, align 8
  %89 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  %90 = invoke noundef i32 @_ZNK5Token11getCategoryEv(ptr noundef nonnull align 8 dereferenceable(44) %89)
          to label %91 unwind label %.loopexit62

91:                                               ; preds = %.lr.ph
  %92 = icmp eq i32 %90, 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br i1 %92, label %93, label %.loopexit.thread

93:                                               ; preds = %91
  %94 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  %95 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %94)
          to label %96 unwind label %.loopexit63

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %97 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %97, ptr %14, align 8
  %98 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  %99 = invoke noundef i32 @_ZNK5Token7getLineEv(ptr noundef nonnull align 8 dereferenceable(44) %98)
          to label %100 unwind label %.loopexit68

100:                                              ; preds = %96
  %.not = icmp eq i32 %95, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br i1 %.not, label %103, label %.loopexit.thread

.loopexit62:                                      ; preds = %.lr.ph
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %101

.loopexit.split-lp:                               ; preds = %.lr.ph.preheader
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %101

101:                                              ; preds = %.loopexit.split-lp, %.loopexit62
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit62 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %120

.loopexit63:                                      ; preds = %93
  %lpad.loopexit65 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %120

.loopexit.split-lp64:                             ; preds = %73
  %lpad.loopexit.split-lp66 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %120

.loopexit68:                                      ; preds = %96
  %lpad.loopexit70 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %102

.loopexit.split-lp69:                             ; preds = %76
  %lpad.loopexit.split-lp71 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  br label %102

102:                                              ; preds = %.loopexit.split-lp69, %.loopexit68
  %lpad.phi72 = phi { ptr, i32 } [ %lpad.loopexit70, %.loopexit68 ], [ %lpad.loopexit.split-lp71, %.loopexit.split-lp69 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %120

103:                                              ; preds = %100
  %104 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #9
  %105 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 1) #9
  store ptr %105, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %106 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %106, ptr %12, align 8
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  br i1 %107, label %.lr.ph, label %.critedge, !llvm.loop !5

.critedge:                                        ; preds = %103, %81, %63
  %.129.lcssa = phi i32 [ %spec.select, %63 ], [ 1, %81 ], [ 1, %103 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #9
  br label %.loopexit

.loopexit:                                        ; preds = %71, %80, %.critedge
  %.12954 = phi i32 [ %.129.lcssa, %.critedge ], [ %spec.select, %71 ], [ %spec.select, %80 ]
  %.not30 = icmp eq i32 %.12954, 0
  br i1 %.not30, label %108, label %.loopexit.thread

108:                                              ; preds = %.loopexit
  %109 = call ptr @__cxa_allocate_exception(i64 72) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %110 unwind label %.thread

110:                                              ; preds = %108
  %111 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #9
  invoke void @_ZN14TokenExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK5Token(ptr noundef nonnull align 8 dereferenceable(72) %109, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(44) %111)
          to label %112 unwind label %114

112:                                              ; preds = %110
  invoke void @__cxa_throw(ptr nonnull %109, ptr nonnull @_ZTI14TokenException, ptr nonnull @_ZN14TokenExceptionD2Ev) #10
          to label %152 unwind label %114

.thread:                                          ; preds = %108
  %113 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br label %116

114:                                              ; preds = %110, %112
  %.026 = phi i1 [ false, %112 ], [ true, %110 ]
  %115 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTI16FetlangException
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #9
  br i1 %.026, label %116, label %120

116:                                              ; preds = %.thread, %114
  %.pn44 = phi { ptr, i32 } [ %113, %.thread ], [ %115, %114 ]
  call void @__cxa_free_exception(ptr %109) #9
  br label %120

.loopexit.thread:                                 ; preds = %91, %100, %.loopexit, %41, %31, %60
  %117 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPK5TokenSt6vectorIS1_SaIS1_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  %118 = call ptr @_ZNKSt6vectorI5TokenSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  store ptr %118, ptr %5, align 8
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPK5TokenSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  br i1 %119, label %.lr.ph56, label %._crit_edge, !llvm.loop !8

120:                                              ; preds = %.loopexit63, %.loopexit.split-lp64, %86, %101, %102, %116, %114, %56, %44, %42
  %.pn34.pn.pn.pn = phi { ptr, i32 } [ %.pn34.pn.pn, %56 ], [ %45, %44 ], [ %43, %42 ], [ %.pn44, %116 ], [ %115, %114 ], [ %lpad.phi72, %102 ], [ %lpad.phi, %101 ], [ %87, %86 ], [ %lpad.loopexit65, %.loopexit63 ], [ %lpad.loopexit.split-lp66, %.loopexit.split-lp64 ]
  %.5 = extractvalue { ptr, i32 } %.pn34.pn.pn.pn, 0
  %.522 = extractvalue { ptr, i32 } %.pn34.pn.pn.pn, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @_ZNSt6vectorI5TokenSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %121 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTI16FetlangException) #9
  %122 = icmp eq i32 %.522, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %120
  %124 = call ptr @__cxa_begin_catch(ptr %.5) #9
  invoke void @__cxa_rethrow() #10
          to label %152 unwind label %146

125:                                              ; preds = %120
  %126 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #9
  %127 = icmp eq i32 %.522, %126
  br i1 %127, label %128, label %148

128:                                              ; preds = %125
  %129 = call ptr @__cxa_begin_catch(ptr %.5) #9
  %130 = call ptr @__cxa_allocate_exception(i64 16) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %131 unwind label %.thread45

131:                                              ; preds = %128
  %132 = load ptr, ptr %129, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %132, i64 16
  %134 = load ptr, ptr %133, align 8
  %135 = call noundef ptr %134(ptr noundef nonnull align 8 dereferenceable(8) %129) #9
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %135)
          to label %136 unwind label %139

136:                                              ; preds = %131
  invoke void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16) %130, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %137 unwind label %141

137:                                              ; preds = %136
  invoke void @__cxa_throw(ptr nonnull %130, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
          to label %152 unwind label %141

.thread45:                                        ; preds = %128
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br label %144

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %137, %136
  %.0 = phi i1 [ false, %137 ], [ true, %136 ]
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %143

143:                                              ; preds = %139, %141
  %.pn39 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  %.1 = phi i1 [ %.0, %141 ], [ true, %139 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #9
  br i1 %.1, label %144, label %145

144:                                              ; preds = %.thread45, %143
  %.pn39.pn49 = phi { ptr, i32 } [ %138, %.thread45 ], [ %.pn39, %143 ]
  call void @__cxa_free_exception(ptr %130) #9
  br label %145

145:                                              ; preds = %144, %143
  %.pn39.pn48 = phi { ptr, i32 } [ %.pn39.pn49, %144 ], [ %.pn39, %143 ]
  invoke void @__cxa_end_catch()
          to label %148 unwind label %149

146:                                              ; preds = %123
  %147 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %148 unwind label %149

148:                                              ; preds = %146, %145, %125
  %.merged = phi { ptr, i32 } [ %.pn34.pn.pn.pn, %125 ], [ %.pn39.pn48, %145 ], [ %147, %146 ]
  resume { ptr, i32 } %.merged

149:                                              ; preds = %146, %145
  %150 = landingpad { ptr, i32 }
          catch ptr null
  %151 = extractvalue { ptr, i32 } %150, 0
  call void @__clang_call_terminate(ptr %151) #11
  unreachable

152:                                              ; preds = %137, %123, %112
  unreachable
}

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

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

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

declare void @_ZN5Token8setValueENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6substrEmm(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL24tokenIsPossessivePronounRK5Token(ptr noundef nonnull align 8 dereferenceable(44)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN14TokenExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK5Token(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(44)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN14TokenExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #3 align 2

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #6

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #7

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

declare void @__cxa_rethrow() local_unnamed_addr

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopFullUnrollPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass