; LLVM IR from ASDAlexander77/TypeScriptCompiler :: tsc/tsc-new-parser/scanner.ll (ZN2ts7Scanner13scanHexDigitsB5cxx11Eibb)

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

%"struct.ts::DiagnosticMessageStore" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.144" = type { %"struct.std::_Vector_base.145" }
%"struct.std::_Vector_base.145" = type { %"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl" }
%"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ptr.100 = type { %"class.std::shared_ptr.101" }
%"class.std::shared_ptr.101" = type { %"class.std::__shared_ptr.102" }
%"class.std::__shared_ptr.102" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.ts::data::DiagnosticMessage" = type <{ i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.104", %"class.std::vector.104", i8, [7 x i8] }>
%"class.std::vector.104" = type { %"struct.std::_Vector_base.105" }
%"struct.std::_Vector_base.105" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.146" = type { ptr }
%"class.ts::Scanner" = type { i32, i32, i8, i32, %"struct.ts::safe_string", i32, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i32, %"class.std::vector.41", i32, i32, %"class.std::function" }
%"struct.ts::safe_string" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.41" = type { %"struct.std::_Vector_base.42" }
%"struct.std::_Vector_base.42" = type { %"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl" }
%"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl" = type { %"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<ptr<ts::data::CommentDirective>, std::allocator<ptr<ts::data::CommentDirective>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

@_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE = external hidden global %"struct.ts::DiagnosticMessageStore", align 8
@_ZN2ts11DiagnosticsL57Multiple_consecutive_numeric_separators_are_not_permittedE = external hidden global %"struct.ts::DiagnosticMessageStore", align 8
@.str.6452 = external hidden unnamed_addr constant [1 x i32], align 4

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_10TokenFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts7Scanner13scanHexDigitsB5cxx11Eibb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2, i1 noundef zeroext %3, i1 noundef zeroext %4) #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::vector.144", align 8
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %struct.ptr.100, align 8
  %18 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca %struct.ptr.100, align 8
  %22 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.0", align 1
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %struct.ptr.100, align 8
  %28 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.0", align 1
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.146", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.146", align 8
  %33 = alloca %"class.std::allocator.0", align 1
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  %34 = zext i1 %3 to i8
  store i8 %34, ptr %9, align 1, !tbaa !11
  %35 = zext i1 %4 to i8
  store i8 %35, ptr %10, align 1, !tbaa !11
  %36 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #4
  call void @_ZNSt6vectorIwSaIwEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  store i8 0, ptr %12, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  store i8 0, ptr %13, align 1, !tbaa !11
  br label %37

37:                                               ; preds = %163, %161, %5
  %38 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = icmp ult i64 %38, %40
  br i1 %41, label %45, label %42

42:                                               ; preds = %37
  %43 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %44 = trunc i8 %43 to i1
  br label %45

45:                                               ; preds = %42, %37
  %46 = phi i1 [ true, %37 ], [ %44, %42 ]
  br i1 %46, label %47, label %169

47:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %48 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 4
  %49 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %50 = load i32, ptr %49, align 8, !tbaa !15
  %51 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %48, i32 noundef %50)
          to label %52 unwind label %65

52:                                               ; preds = %47
  store i32 %51, ptr %14, align 4, !tbaa !33
  %53 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %129

55:                                               ; preds = %52
  %56 = load i32, ptr %14, align 4, !tbaa !33
  %57 = icmp eq i32 %56, 95
  br i1 %57, label %58, label %129

58:                                               ; preds = %55
  %59 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 11
  %60 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_10TokenFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %59, i32 noundef 512)
          to label %61 unwind label %65

61:                                               ; preds = %58
  %62 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %63 = trunc i8 %62 to i1
  br i1 %63, label %64, label %69

64:                                               ; preds = %61
  store i8 0, ptr %12, align 1, !tbaa !11
  store i8 1, ptr %13, align 1, !tbaa !11
  br label %125

65:                                               ; preds = %58, %47
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %15, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %16, align 4
  br label %168

69:                                               ; preds = %61
  %70 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %98

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 128, ptr %18) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %18, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL57Multiple_consecutive_numeric_separators_are_not_permittedE)
          to label %73 unwind label %79

73:                                               ; preds = %72
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(121) %18)
          to label %74 unwind label %83

74:                                               ; preds = %73
  %75 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %76 = load i32, ptr %75, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %77 unwind label %87

77:                                               ; preds = %74
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %36, ptr noundef %17, i32 noundef %76, i32 noundef 1, ptr noundef %19)
          to label %78 unwind label %91

78:                                               ; preds = %77
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %18) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %18) #4
  br label %124

79:                                               ; preds = %72
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %15, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %16, align 4
  br label %97

83:                                               ; preds = %73
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %15, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %16, align 4
  br label %96

87:                                               ; preds = %74
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %15, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %16, align 4
  br label %95

91:                                               ; preds = %77
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %15, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #4
  br label %95

95:                                               ; preds = %91, %87
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #4
  br label %96

96:                                               ; preds = %95, %83
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %18) #4
  br label %97

97:                                               ; preds = %96, %79
  call void @llvm.lifetime.end.p0(i64 128, ptr %18) #4
  br label %168

98:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 128, ptr %22) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %22, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE)
          to label %99 unwind label %105

99:                                               ; preds = %98
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(121) %22)
          to label %100 unwind label %109

100:                                              ; preds = %99
  %101 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %102 = load i32, ptr %101, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %103 unwind label %113

103:                                              ; preds = %100
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %36, ptr noundef %21, i32 noundef %102, i32 noundef 1, ptr noundef %23)
          to label %104 unwind label %117

104:                                              ; preds = %103
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %22) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %22) #4
  br label %124

105:                                              ; preds = %98
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %15, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %16, align 4
  br label %123

109:                                              ; preds = %99
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %15, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %16, align 4
  br label %122

113:                                              ; preds = %100
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %15, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %16, align 4
  br label %121

117:                                              ; preds = %103
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %15, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #4
  br label %121

121:                                              ; preds = %117, %113
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #4
  br label %122

122:                                              ; preds = %121, %109
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %22) #4
  br label %123

123:                                              ; preds = %122, %105
  call void @llvm.lifetime.end.p0(i64 128, ptr %22) #4
  br label %168

124:                                              ; preds = %104, %78
  br label %125

125:                                              ; preds = %124, %64
  %126 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %127 = load i32, ptr %126, align 8, !tbaa !15
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %126, align 8, !tbaa !15
  store i32 2, ptr %25, align 4
  br label %161, !llvm.loop !35

129:                                              ; preds = %55, %52
  %130 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %131 = trunc i8 %130 to i1
  %132 = zext i1 %131 to i8
  store i8 %132, ptr %12, align 1, !tbaa !11
  %133 = load i32, ptr %14, align 4, !tbaa !33
  %134 = icmp sge i32 %133, 65
  br i1 %134, label %135, label %141

135:                                              ; preds = %129
  %136 = load i32, ptr %14, align 4, !tbaa !33
  %137 = icmp sle i32 %136, 70
  br i1 %137, label %138, label %141

138:                                              ; preds = %135
  %139 = load i32, ptr %14, align 4, !tbaa !33
  %140 = add nsw i32 %139, 32
  store i32 %140, ptr %14, align 4, !tbaa !33
  br label %155

141:                                              ; preds = %135, %129
  %142 = load i32, ptr %14, align 4, !tbaa !33
  %143 = icmp sge i32 %142, 48
  br i1 %143, label %144, label %147

144:                                              ; preds = %141
  %145 = load i32, ptr %14, align 4, !tbaa !33
  %146 = icmp sle i32 %145, 57
  br i1 %146, label %154, label %147

147:                                              ; preds = %144, %141
  %148 = load i32, ptr %14, align 4, !tbaa !33
  %149 = icmp sge i32 %148, 97
  br i1 %149, label %150, label %153

150:                                              ; preds = %147
  %151 = load i32, ptr %14, align 4, !tbaa !33
  %152 = icmp sle i32 %151, 102
  br i1 %152, label %154, label %153

153:                                              ; preds = %150, %147
  store i32 3, ptr %25, align 4
  br label %161

154:                                              ; preds = %150, %144
  br label %155

155:                                              ; preds = %154, %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %156 = load i32, ptr %14, align 4, !tbaa !33
  store i32 %156, ptr %26, align 4, !tbaa !37
  invoke void @_ZNSt6vectorIwSaIwEE9push_backEOw(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %157 unwind label %164

157:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  %158 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %159 = load i32, ptr %158, align 8, !tbaa !15
  %160 = add nsw i32 %159, 1
  store i32 %160, ptr %158, align 8, !tbaa !15
  store i8 0, ptr %13, align 1, !tbaa !11
  store i32 0, ptr %25, align 4
  br label %161

161:                                              ; preds = %157, %153, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %162 = load i32, ptr %25, align 4
  switch i32 %162, label %234 [
    i32 0, label %163
    i32 2, label %37
    i32 3, label %169
  ]

163:                                              ; preds = %161
  br label %37, !llvm.loop !35

164:                                              ; preds = %155
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %15, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %168

168:                                              ; preds = %164, %123, %97, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %228

169:                                              ; preds = %161, %45
  %170 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %171 = load i32, ptr %8, align 4, !tbaa !9
  %172 = sext i32 %171 to i64
  %173 = icmp ult i64 %170, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %169
  call void @_ZNSt6vectorIwSaIwEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  br label %175

175:                                              ; preds = %174, %169
  %176 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 4
  %177 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %178 = load i32, ptr %177, align 8, !tbaa !15
  %179 = sub nsw i32 %178, 1
  %180 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %176, i32 noundef %179)
          to label %181 unwind label %191

181:                                              ; preds = %175
  %182 = icmp eq i32 %180, 95
  br i1 %182, label %183, label %214

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 128, ptr %28) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %28, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE)
          to label %184 unwind label %195

184:                                              ; preds = %183
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(121) %28)
          to label %185 unwind label %199

185:                                              ; preds = %184
  %186 = getelementptr inbounds %"class.ts::Scanner", ptr %36, i32 0, i32 5
  %187 = load i32, ptr %186, align 8, !tbaa !15
  %188 = sub nsw i32 %187, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %189 unwind label %203

189:                                              ; preds = %185
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %36, ptr noundef %27, i32 noundef %188, i32 noundef 1, ptr noundef %29)
          to label %190 unwind label %207

190:                                              ; preds = %189
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %28) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr %28) #4
  br label %214

191:                                              ; preds = %175
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %15, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %16, align 4
  br label %228

195:                                              ; preds = %183
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %15, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %16, align 4
  br label %213

199:                                              ; preds = %184
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %15, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %16, align 4
  br label %212

203:                                              ; preds = %185
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %15, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %16, align 4
  br label %211

207:                                              ; preds = %189
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %15, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #4
  br label %211

211:                                              ; preds = %207, %203
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #4
  br label %212

212:                                              ; preds = %211, %199
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %28) #4
  br label %213

213:                                              ; preds = %212, %195
  call void @llvm.lifetime.end.p0(i64 128, ptr %28) #4
  br label %228

214:                                              ; preds = %190, %181
  %215 = call ptr @_ZNSt6vectorIwSaIwEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.146", ptr %31, i32 0, i32 0
  store ptr %215, ptr %216, align 8
  %217 = call ptr @_ZNSt6vectorIwSaIwEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.146", ptr %32, i32 0, i32 0
  store ptr %217, ptr %218, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  %219 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.146", ptr %31, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8
  %221 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.146", ptr %32, i32 0, i32 0
  %222 = load ptr, ptr %221, align 8
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IN9__gnu_cxx17__normal_iteratorIPwSt6vectorIwS3_EEEvEET_SC_RKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %220, ptr %222, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %223 unwind label %224

223:                                              ; preds = %214
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @_ZNSt6vectorIwSaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  ret void

224:                                              ; preds = %214
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %15, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %16, align 4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #4
  br label %228

228:                                              ; preds = %224, %213, %191, %168
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @_ZNSt6vectorIwSaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #4
  br label %229

229:                                              ; preds = %228
  %230 = load ptr, ptr %15, align 8
  %231 = load i32, ptr %16, align 4
  %232 = insertvalue { ptr, i32 } poison, ptr %230, 0
  %233 = insertvalue { ptr, i32 } %232, i32 %231, 1
  resume { ptr, i32 } %233

234:                                              ; preds = %161
  unreachable
}

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !10, i64 48}
!16 = !{!"_ZTSN2ts7ScannerE", !17, i64 0, !18, i64 4, !12, i64 8, !19, i64 12, !20, i64 16, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !24, i64 64, !21, i64 72, !25, i64 104, !26, i64 112, !10, i64 136, !30, i64 140, !31, i64 144}
!17 = !{!"_ZTSN2ts10ScriptKindE", !7, i64 0}
!18 = !{!"_ZTSN2ts12ScriptTargetE", !7, i64 0}
!19 = !{!"_ZTSN2ts15LanguageVariantE", !7, i64 0}
!20 = !{!"_ZTSN2ts11safe_stringE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTS10SyntaxKind", !7, i64 0}
!25 = !{!"_ZTSN2ts10TokenFlagsE", !7, i64 0}
!26 = !{!"_ZTSSt6vectorI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!"_ZTSN2ts16JSDocParsingModeE", !7, i64 0}
!31 = !{!"_ZTSSt8functionIFv3ptrIN2ts4data17DiagnosticMessageEEiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEE", !32, i64 0, !6, i64 24}
!32 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!33 = !{!34, !34, i64 0}
!34 = !{!"_ZTS14CharacterCodes", !7, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!38, !38, i64 0}
!38 = !{!"wchar_t", !7, 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"

%"struct.ts::DiagnosticMessageStore" = type { i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<wchar_t>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.144" = type { %"struct.std::_Vector_base.145" }
%"struct.std::_Vector_base.145" = type { %"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl" }
%"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<wchar_t, std::allocator<wchar_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ptr.100 = type { %"class.std::shared_ptr.101" }
%"class.std::shared_ptr.101" = type { %"class.std::__shared_ptr.102" }
%"class.std::__shared_ptr.102" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.ts::data::DiagnosticMessage" = type <{ i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::vector.104", %"class.std::vector.104", i8, [7 x i8] }>
%"class.std::vector.104" = type { %"struct.std::_Vector_base.105" }
%"struct.std::_Vector_base.105" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<wchar_t>, std::allocator<std::__cxx11::basic_string<wchar_t>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }

@_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE = external hidden global %"struct.ts::DiagnosticMessageStore", align 8
@_ZN2ts11DiagnosticsL57Multiple_consecutive_numeric_separators_are_not_permittedE = external hidden global %"struct.ts::DiagnosticMessageStore", align 8
@.str.6452 = external hidden unnamed_addr constant [1 x i32], align 4

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_10TokenFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2ts7Scanner13scanHexDigitsB5cxx11Eibb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2, i1 noundef zeroext %3, i1 noundef zeroext %4) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector.144", align 8
  %7 = alloca %struct.ptr.100, align 8
  %8 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.0", align 1
  %11 = alloca %struct.ptr.100, align 8
  %12 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca i32, align 4
  %16 = alloca %struct.ptr.100, align 8
  %17 = alloca %"struct.ts::data::DiagnosticMessage", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.0", align 1
  %20 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #4
  call void @_ZNSt6vectorIwSaIwEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %21 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %22 = sext i32 %2 to i64
  %23 = icmp ult i64 %21, %22
  %24 = or i1 %23, %3
  br i1 %24, label %.lr.ph, label %.thread

.lr.ph:                                           ; preds = %5
  %25 = getelementptr inbounds i8, ptr %1, i64 16
  %26 = getelementptr inbounds i8, ptr %1, i64 48
  %27 = getelementptr inbounds i8, ptr %1, i64 104
  br i1 %4, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %3, label %.lr.ph.split.us.split.us, label %.lr.ph.split.us.split

.lr.ph.split.us.split.us:                         ; preds = %.lr.ph.split.us, %38
  %28 = load i32, ptr %26, align 8, !tbaa !5
  %29 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %28)
          to label %30 unwind label %.split.us.split.us

30:                                               ; preds = %.lr.ph.split.us.split.us
  %31 = add i32 %29, -65
  %or.cond3.us.us = icmp ult i32 %31, 6
  br i1 %or.cond3.us.us, label %35, label %32

32:                                               ; preds = %30
  %33 = add i32 %29, -48
  %or.cond5.us.us = icmp ult i32 %33, 10
  %34 = add i32 %29, -97
  %or.cond7.us.us = icmp ult i32 %34, 6
  %or.cond63.us.us = or i1 %or.cond5.us.us, %or.cond7.us.us
  br i1 %or.cond63.us.us, label %37, label %.thread

35:                                               ; preds = %30
  %36 = or disjoint i32 %29, 32
  br label %37

37:                                               ; preds = %35, %32
  %.045.us.us = phi i32 [ %36, %35 ], [ %29, %32 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  store i32 %.045.us.us, ptr %15, align 4, !tbaa !28
  invoke void @_ZNSt6vectorIwSaIwEE9push_backEOw(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %38 unwind label %.split85.us.split.us

38:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  %storemerge.in.us.us = load i32, ptr %26, align 8, !tbaa !5
  %storemerge.us.us = add nsw i32 %storemerge.in.us.us, 1
  store i32 %storemerge.us.us, ptr %26, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %.lr.ph.split.us.split.us

.split.us.split.us:                               ; preds = %.lr.ph.split.us.split.us
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split85.us.split.us:                             ; preds = %37
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %.split85.us

.lr.ph.split.us.split:                            ; preds = %.lr.ph.split.us, %52
  %42 = load i32, ptr %26, align 8, !tbaa !5
  %43 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %42)
          to label %44 unwind label %.split.us.split

44:                                               ; preds = %.lr.ph.split.us.split
  %45 = add i32 %43, -65
  %or.cond3.us = icmp ult i32 %45, 6
  br i1 %or.cond3.us, label %49, label %46

46:                                               ; preds = %44
  %47 = add i32 %43, -48
  %or.cond5.us = icmp ult i32 %47, 10
  %48 = add i32 %43, -97
  %or.cond7.us = icmp ult i32 %48, 6
  %or.cond63.us = or i1 %or.cond5.us, %or.cond7.us
  br i1 %or.cond63.us, label %51, label %.thread

49:                                               ; preds = %44
  %50 = or disjoint i32 %43, 32
  br label %51

51:                                               ; preds = %49, %46
  %.045.us = phi i32 [ %50, %49 ], [ %43, %46 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  store i32 %.045.us, ptr %15, align 4, !tbaa !28
  invoke void @_ZNSt6vectorIwSaIwEE9push_backEOw(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %52 unwind label %.split85.us.split

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  %storemerge.in.us = load i32, ptr %26, align 8, !tbaa !5
  %storemerge.us = add nsw i32 %storemerge.in.us, 1
  store i32 %storemerge.us, ptr %26, align 8, !tbaa !5
  %53 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %54 = icmp ult i64 %53, %22
  br i1 %54, label %.lr.ph.split.us.split, label %.thread

.split.us.split:                                  ; preds = %.lr.ph.split.us.split
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split85.us.split:                                ; preds = %51
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %.split85.us

.lr.ph.split:                                     ; preds = %.lr.ph, %108
  %.080 = phi i1 [ %60, %108 ], [ false, %.lr.ph ]
  %.02779 = phi i1 [ %.229, %108 ], [ false, %.lr.ph ]
  %57 = load i32, ptr %26, align 8, !tbaa !5
  %58 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %25, i32 noundef %57)
          to label %59 unwind label %.split

59:                                               ; preds = %.lr.ph.split
  %60 = icmp ne i32 %58, 95
  br i1 %60, label %99, label %61

61:                                               ; preds = %59
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN2tsoRERNS_10TokenFlagsES0_(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef 512)
  br i1 %.080, label %108, label %64, !llvm.loop !30

.split:                                           ; preds = %.lr.ph.split
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

64:                                               ; preds = %61
  br i1 %.02779, label %65, label %82

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %8) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %8, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL57Multiple_consecutive_numeric_separators_are_not_permittedE)
          to label %66 unwind label %71

66:                                               ; preds = %65
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(121) %8)
          to label %67 unwind label %73

67:                                               ; preds = %66
  %68 = load i32, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %69 unwind label %75

69:                                               ; preds = %67
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %7, i32 noundef %68, i32 noundef 1, ptr noundef nonnull %9)
          to label %70 unwind label %77

70:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %8) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %8) #4
  br label %108, !llvm.loop !30

71:                                               ; preds = %65
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %81

73:                                               ; preds = %66
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %80

75:                                               ; preds = %67
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %69
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %79

79:                                               ; preds = %77, %75
  %.pn52 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #4
  br label %80

80:                                               ; preds = %79, %73
  %.pn52.pn = phi { ptr, i32 } [ %.pn52, %79 ], [ %74, %73 ]
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %8) #4
  br label %81

81:                                               ; preds = %80, %71
  %.pn52.pn.pn = phi { ptr, i32 } [ %.pn52.pn, %80 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %8) #4
  br label %.split.us

82:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %12) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %12, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE)
          to label %83 unwind label %88

83:                                               ; preds = %82
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(121) %12)
          to label %84 unwind label %90

84:                                               ; preds = %83
  %85 = load i32, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %86 unwind label %92

86:                                               ; preds = %84
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %11, i32 noundef %85, i32 noundef 1, ptr noundef nonnull %13)
          to label %87 unwind label %94

87:                                               ; preds = %86
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %12) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %12) #4
  br label %108, !llvm.loop !30

88:                                               ; preds = %82
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %98

90:                                               ; preds = %83
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %97

92:                                               ; preds = %84
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %86
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #4
  br label %96

96:                                               ; preds = %94, %92
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  br label %97

97:                                               ; preds = %96, %90
  %.pn.pn = phi { ptr, i32 } [ %.pn, %96 ], [ %91, %90 ]
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %12) #4
  br label %98

98:                                               ; preds = %97, %88
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %97 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %12) #4
  br label %.split.us

99:                                               ; preds = %59
  %100 = add i32 %58, -65
  %or.cond3 = icmp ult i32 %100, 6
  br i1 %or.cond3, label %101, label %103

101:                                              ; preds = %99
  %102 = or disjoint i32 %58, 32
  br label %106

103:                                              ; preds = %99
  %104 = add i32 %58, -48
  %or.cond5 = icmp ult i32 %104, 10
  %105 = add i32 %58, -97
  %or.cond7 = icmp ult i32 %105, 6
  %or.cond63 = or i1 %or.cond5, %or.cond7
  br i1 %or.cond63, label %106, label %.thread

106:                                              ; preds = %103, %101
  %.045 = phi i32 [ %102, %101 ], [ %58, %103 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  store i32 %.045, ptr %15, align 4, !tbaa !28
  invoke void @_ZNSt6vectorIwSaIwEE9push_backEOw(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %107 unwind label %.split85

107:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  br label %108

108:                                              ; preds = %87, %70, %61, %107
  %.229 = phi i1 [ false, %107 ], [ true, %70 ], [ false, %87 ], [ true, %61 ]
  %storemerge.in = load i32, ptr %26, align 8, !tbaa !5
  %storemerge = add nsw i32 %storemerge.in, 1
  store i32 %storemerge, ptr %26, align 8, !tbaa !5
  %109 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %110 = icmp ult i64 %109, %22
  %111 = or i1 %110, %3
  br i1 %111, label %.lr.ph.split, label %.thread

.split85:                                         ; preds = %106
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %.split85.us

.split85.us:                                      ; preds = %.split85.us.split, %.split85.us.split.us, %.split85
  %.us-phi86 = phi { ptr, i32 } [ %112, %.split85 ], [ %56, %.split85.us.split ], [ %41, %.split85.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  br label %.split.us

.thread:                                          ; preds = %52, %46, %32, %108, %103, %5
  %113 = call noundef i64 @_ZNKSt6vectorIwSaIwEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %114 = icmp ult i64 %113, %22
  br i1 %114, label %115, label %116

115:                                              ; preds = %.thread
  call void @_ZNSt6vectorIwSaIwEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  br label %116

116:                                              ; preds = %115, %.thread
  %117 = getelementptr inbounds i8, ptr %1, i64 16
  %118 = getelementptr inbounds i8, ptr %1, i64 48
  %119 = load i32, ptr %118, align 8, !tbaa !5
  %120 = add nsw i32 %119, -1
  %121 = invoke noundef i32 @_ZN2ts11safe_stringixEi(ptr noundef nonnull align 8 dereferenceable(32) %117, i32 noundef %120)
          to label %122 unwind label %131

122:                                              ; preds = %116
  %123 = icmp eq i32 %121, 95
  br i1 %123, label %124, label %144

124:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %17) #4
  invoke void @_ZN2ts4data17DiagnosticMessageC2ERNS_22DiagnosticMessageStoreE(ptr noundef nonnull align 8 dereferenceable(121) %17, ptr noundef nonnull align 8 dereferenceable(72) @_ZN2ts11DiagnosticsL39Numeric_separators_are_not_allowed_hereE)
          to label %125 unwind label %133

125:                                              ; preds = %124
  invoke void @_ZN3ptrIN2ts4data17DiagnosticMessageEEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(121) %17)
          to label %126 unwind label %135

126:                                              ; preds = %125
  %127 = load i32, ptr %118, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IS3_EEPKwRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.6452, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %128 unwind label %137

128:                                              ; preds = %126
  %129 = add nsw i32 %127, -1
  invoke void @_ZN2ts7Scanner5errorE3ptrINS_4data17DiagnosticMessageEEiiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %16, i32 noundef %129, i32 noundef 1, ptr noundef nonnull %18)
          to label %130 unwind label %139

130:                                              ; preds = %128
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #4
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %17) #4
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %17) #4
  br label %144

131:                                              ; preds = %116
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

133:                                              ; preds = %124
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %143

135:                                              ; preds = %125
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %142

137:                                              ; preds = %126
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %128
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #4
  br label %141

141:                                              ; preds = %139, %137
  %.pn57 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #4
  call void @_ZN3ptrIN2ts4data17DiagnosticMessageEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #4
  br label %142

142:                                              ; preds = %141, %135
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %141 ], [ %136, %135 ]
  call void @_ZN2ts4data17DiagnosticMessageD2Ev(ptr noundef nonnull align 8 dereferenceable(121) %17) #4
  br label %143

143:                                              ; preds = %142, %133
  %.pn57.pn.pn = phi { ptr, i32 } [ %.pn57.pn, %142 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %17) #4
  br label %.split.us

144:                                              ; preds = %130, %122
  %145 = call ptr @_ZNSt6vectorIwSaIwEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  %146 = call ptr @_ZNSt6vectorIwSaIwEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #4
  call void @_ZNSaIwEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  invoke void @_ZNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEC2IN9__gnu_cxx17__normal_iteratorIPwSt6vectorIwS3_EEEvEET_SC_RKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr %145, ptr %146, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %147 unwind label %148

147:                                              ; preds = %144
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  call void @_ZNSt6vectorIwSaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  ret void

148:                                              ; preds = %144
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIwED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #4
  br label %.split.us

.split.us:                                        ; preds = %.split, %.split.us.split.us, %.split.us.split, %81, %98, %.split85.us, %148, %143, %131
  %.pn61 = phi { ptr, i32 } [ %149, %148 ], [ %.pn57.pn.pn, %143 ], [ %132, %131 ], [ %.pn52.pn.pn, %81 ], [ %.pn.pn.pn, %98 ], [ %.us-phi86, %.split85.us ], [ %63, %.split ], [ %55, %.split.us.split ], [ %40, %.split.us.split.us ]
  call void @_ZNSt6vectorIwSaIwEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #4
  resume { ptr, i32 } %.pn61
}

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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, !18, i64 48}
!6 = !{!"_ZTSN2ts7ScannerE", !7, i64 0, !10, i64 4, !11, i64 8, !12, i64 12, !13, i64 16, !18, i64 48, !18, i64 52, !18, i64 56, !18, i64 60, !19, i64 64, !14, i64 72, !20, i64 104, !21, i64 112, !18, i64 136, !25, i64 140, !26, i64 144}
!7 = !{!"_ZTSN2ts10ScriptKindE", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN2ts12ScriptTargetE", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSN2ts15LanguageVariantE", !8, i64 0}
!13 = !{!"_ZTSN2ts11safe_stringE", !14, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEE", !15, i64 0, !17, i64 8, !8, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEE12_Alloc_hiderE", !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"long", !8, i64 0}
!18 = !{!"int", !8, i64 0}
!19 = !{!"_ZTS10SyntaxKind", !8, i64 0}
!20 = !{!"_ZTSN2ts10TokenFlagsE", !8, i64 0}
!21 = !{!"_ZTSSt6vectorI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI3ptrIN2ts4data16CommentDirectiveEESaIS4_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!25 = !{!"_ZTSN2ts16JSDocParsingModeE", !8, i64 0}
!26 = !{!"_ZTSSt8functionIFv3ptrIN2ts4data17DiagnosticMessageEEiNSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEEEE", !27, i64 0, !16, i64 24}
!27 = !{!"_ZTSSt14_Function_base", !8, i64 0, !16, i64 16}
!28 = !{!29, !29, i64 0}
!29 = !{!"wchar_t", !8, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass