; LLVM IR from vczh/herodb :: Kernel/Source/Vlpp.ll (ZN2vl5regex5RegexC2ERKNS_12ObjectStringIwEEb)

; 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.vl::Ptr.321" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::SortedList.1001" = type { %"class.vl::collections::ListBase.base.1007", %"class.vl::collections::IEnumerable.1005" }
%"class.vl::collections::ListBase.base.1007" = type <{ %"class.vl::collections::ArrayBase.base.1006", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1006" = type { %"class.vl::collections::ListStore.1004", ptr, i64 }
%"class.vl::collections::ListStore.1004" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.1005" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.1009" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::Dictionary.1021" = type { %"class.vl::Object", %"class.vl::collections::SortedList.1022", %"class.vl::collections::List.1030", %"class.vl::collections::IEnumerable.1032" }
%"class.vl::collections::SortedList.1022" = type { %"class.vl::collections::ListBase.base.1028", %"class.vl::collections::IEnumerable.1026" }
%"class.vl::collections::ListBase.base.1028" = type <{ %"class.vl::collections::ArrayBase.base.1027", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1027" = type { %"class.vl::collections::ListStore.1025", ptr, i64 }
%"class.vl::collections::ListStore.1025" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1026" = type { %"class.vl::Interface" }
%"class.vl::collections::List.1030" = type { %"class.vl::collections::ListBase.base.1028", %"class.vl::collections::IEnumerable.1026" }
%"class.vl::collections::IEnumerable.1032" = type { %"class.vl::Interface" }
%"class.vl::collections::Group.1034" = type { %"class.vl::Object", %"class.vl::collections::SortedList.1022", %"class.vl::collections::List.1035", %"class.vl::collections::IEnumerable.1032" }
%"class.vl::collections::List.1035" = type { %"class.vl::collections::ListBase.base.1041", %"class.vl::collections::IEnumerable.1039" }
%"class.vl::collections::ListBase.base.1041" = type <{ %"class.vl::collections::ArrayBase.base.1040", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1040" = type { %"class.vl::collections::ListStore.1038", ptr, i64 }
%"class.vl::collections::ListStore.1038" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1039" = type { %"class.vl::Interface" }
%"class.vl::Ptr.991" = type { ptr, ptr, ptr, ptr }
%"class.vl::regex::Regex" = type { %"class.vl::Object", ptr, ptr }

@_ZTVN2vl5regex5RegexE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal20ParseRegexExpressionERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.321") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #6

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

declare void @__cxa_end_catch()

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl5regex5RegexC2ERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.vl::collections::SortedList.1001", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.vl::Ptr.321", align 8
  %11 = alloca %"class.vl::Ptr.1009", align 8
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca %"class.vl::collections::Dictionary.1021", align 8
  %15 = alloca %"class.vl::collections::Group.1034", align 8
  %16 = alloca %"class.vl::Ptr.991", align 8
  %17 = alloca %"class.vl::Ptr.991", align 8
  %18 = alloca %"class.vl::Ptr.991", align 8
  %19 = alloca %"class.vl::Ptr.991", align 8
  %20 = alloca %"class.vl::Ptr.991", align 8
  %21 = alloca %"class.vl::Ptr.991", align 8
  %22 = alloca i1, align 1
  %23 = alloca %"class.vl::collections::Dictionary.1021", align 8
  %24 = alloca %"class.vl::collections::Group.1034", align 8
  %25 = alloca %"class.vl::Ptr.991", align 8
  %26 = alloca %"class.vl::Ptr.991", align 8
  %27 = alloca %"class.vl::Ptr.991", align 8
  %28 = alloca %"class.vl::Ptr.991", align 8
  %29 = alloca %"class.vl::Ptr.991", align 8
  %30 = alloca %"class.vl::Ptr.991", align 8
  %31 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %32 = zext i1 %2 to i8
  store i8 %32, ptr %6, align 1, !tbaa !9
  %33 = load ptr, ptr %4, align 8
  call void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  call void @_ZN2vl11NotCopyableC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33)
  store ptr getelementptr inbounds inrange(-16, 16) ({ [4 x ptr] }, ptr @_ZTVN2vl5regex5RegexE, i32 0, i32 0, i32 2), ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 1
  store ptr null, ptr %34, align 8, !tbaa !13
  %35 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 2
  store ptr null, ptr %35, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 48, ptr %7) #7
  invoke void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7)
          to label %36 unwind label %53

36:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #7
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN2vl14regex_internal20ParseRegexExpressionERKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.321") align 8 %10, ptr noundef nonnull align 8 dereferenceable(48) %37)
          to label %38 unwind label %57

38:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  %39 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal15RegexExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %40 unwind label %61

40:                                               ; preds = %38
  invoke void @_ZN2vl14regex_internal15RegexExpression5MergeEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.1009") align 8 %11, ptr noundef nonnull align 8 dereferenceable(152) %39)
          to label %41 unwind label %61

41:                                               ; preds = %40
  %42 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %43 unwind label %65

43:                                               ; preds = %41
  invoke void @_ZN2vl14regex_internal10Expression16NormalizeCharSetERNS_11collections10SortedListINS0_9CharRangeES4_EE(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(33) %7)
          to label %44 unwind label %65

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 0, ptr %12, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  store i8 0, ptr %13, align 1, !tbaa !9
  %45 = load i8, ptr %6, align 1, !tbaa !9, !range !17, !noundef !18
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %82

47:                                               ; preds = %44
  %48 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %49 unwind label %69

49:                                               ; preds = %47
  %50 = invoke noundef zeroext i1 @_ZN2vl14regex_internal10Expression14HasNoExtensionEv(ptr noundef nonnull align 8 dereferenceable(8) %48)
          to label %51 unwind label %69

51:                                               ; preds = %49
  br i1 %50, label %52, label %73

52:                                               ; preds = %51
  store i8 1, ptr %12, align 1, !tbaa !9
  br label %81

53:                                               ; preds = %3
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %8, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %9, align 4
  br label %259

57:                                               ; preds = %36
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %8, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %9, align 4
  br label %258

61:                                               ; preds = %40, %38
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %8, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %9, align 4
  br label %257

65:                                               ; preds = %43, %41
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %8, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %9, align 4
  br label %256

69:                                               ; preds = %75, %73, %49, %47
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %8, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %9, align 4
  br label %255

73:                                               ; preds = %51
  %74 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %75 unwind label %69

75:                                               ; preds = %73
  %76 = invoke noundef zeroext i1 @_ZN2vl14regex_internal10Expression14CanTreatAsPureEv(ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %77 unwind label %69

77:                                               ; preds = %75
  br i1 %76, label %78, label %79

78:                                               ; preds = %77
  store i8 1, ptr %12, align 1, !tbaa !9
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %80

79:                                               ; preds = %77
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %80

80:                                               ; preds = %79, %78
  br label %81

81:                                               ; preds = %80, %52
  br label %83

82:                                               ; preds = %44
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %83

83:                                               ; preds = %82, %81
  %84 = load i8, ptr %12, align 1, !tbaa !9, !range !17, !noundef !18
  %85 = trunc i8 %84 to i1
  br i1 %85, label %86, label %151

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 112, ptr %14) #7
  invoke void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %14)
          to label %87 unwind label %101

87:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 112, ptr %15) #7
  invoke void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15)
          to label %88 unwind label %105

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #7
  %89 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %90 unwind label %109

90:                                               ; preds = %88
  invoke void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %89)
          to label %91 unwind label %109

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %16)
          to label %92 unwind label %113

92:                                               ; preds = %91
  invoke void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %17, ptr noundef %18, ptr noundef @_ZN2vl14regex_internal18PureEpsilonCheckerEPNS0_10TransitionE, ptr noundef nonnull align 8 dereferenceable(104) %14)
          to label %93 unwind label %117

93:                                               ; preds = %92
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %94 unwind label %121

94:                                               ; preds = %93
  invoke void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %19, ptr noundef %20, ptr noundef nonnull align 8 dereferenceable(104) %15)
          to label %95 unwind label %125

95:                                               ; preds = %94
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  %96 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 8912952) #8
          to label %97 unwind label %129

97:                                               ; preds = %95
  store i1 true, ptr %22, align 1
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %98 unwind label %133

98:                                               ; preds = %97
  invoke void @_ZN2vl14regex_internal15PureInterpretorC1ENS_3PtrINS0_9AutomatonEEERNS_11collections10SortedListINS0_9CharRangeES7_EE(ptr noundef nonnull align 8 dereferenceable(8912952) %96, ptr noundef %21, ptr noundef nonnull align 8 dereferenceable(33) %7)
          to label %99 unwind label %137

99:                                               ; preds = %98
  store i1 false, ptr %22, align 1
  %100 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 1
  store ptr %96, ptr %100, align 8, !tbaa !13
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %15) #7
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %14) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %14) #7
  br label %151

101:                                              ; preds = %86
  %102 = landingpad { ptr, i32 }
          catch ptr null
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %8, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %9, align 4
  br label %150

105:                                              ; preds = %87
  %106 = landingpad { ptr, i32 }
          catch ptr null
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %8, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %9, align 4
  br label %149

109:                                              ; preds = %90, %88
  %110 = landingpad { ptr, i32 }
          catch ptr null
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %8, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %9, align 4
  br label %148

113:                                              ; preds = %91
  %114 = landingpad { ptr, i32 }
          catch ptr null
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %8, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %9, align 4
  br label %147

117:                                              ; preds = %92
  %118 = landingpad { ptr, i32 }
          catch ptr null
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %8, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %147

121:                                              ; preds = %93
  %122 = landingpad { ptr, i32 }
          catch ptr null
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %8, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %9, align 4
  br label %146

125:                                              ; preds = %94
  %126 = landingpad { ptr, i32 }
          catch ptr null
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %8, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %146

129:                                              ; preds = %95
  %130 = landingpad { ptr, i32 }
          catch ptr null
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %8, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %9, align 4
  br label %145

133:                                              ; preds = %97
  %134 = landingpad { ptr, i32 }
          catch ptr null
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %8, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %9, align 4
  br label %141

137:                                              ; preds = %98
  %138 = landingpad { ptr, i32 }
          catch ptr null
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %141

141:                                              ; preds = %137, %133
  %142 = load i1, ptr %22, align 1
  br i1 %142, label %143, label %144

143:                                              ; preds = %141
  call void @_ZdlPvm(ptr noundef %96, i64 noundef 8912952) #9
  br label %144

144:                                              ; preds = %143, %141
  br label %145

145:                                              ; preds = %144, %129
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  br label %146

146:                                              ; preds = %145, %125, %121
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %147

147:                                              ; preds = %146, %117, %113
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  br label %148

148:                                              ; preds = %147, %109
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15) #7
  br label %149

149:                                              ; preds = %148, %105
  call void @llvm.lifetime.end.p0(i64 112, ptr %15) #7
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %14) #7
  br label %150

150:                                              ; preds = %149, %101
  call void @llvm.lifetime.end.p0(i64 112, ptr %14) #7
  br label %219

151:                                              ; preds = %99, %83
  %152 = load i8, ptr %13, align 1, !tbaa !9, !range !17, !noundef !18
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %234

154:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 112, ptr %23) #7
  invoke void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %23)
          to label %155 unwind label %169

155:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 112, ptr %24) #7
  invoke void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %24)
          to label %156 unwind label %173

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #7
  %157 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %158 unwind label %177

158:                                              ; preds = %156
  invoke void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %157)
          to label %159 unwind label %177

159:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #7
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %160 unwind label %181

160:                                              ; preds = %159
  invoke void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %26, ptr noundef %27, ptr noundef @_ZN2vl14regex_internal18RichEpsilonCheckerEPNS0_10TransitionE, ptr noundef nonnull align 8 dereferenceable(104) %23)
          to label %161 unwind label %185

161:                                              ; preds = %160
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %162 unwind label %189

162:                                              ; preds = %161
  invoke void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.991") align 8 %28, ptr noundef %29, ptr noundef nonnull align 8 dereferenceable(104) %24)
          to label %163 unwind label %193

163:                                              ; preds = %162
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  %164 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #8
          to label %165 unwind label %197

165:                                              ; preds = %163
  store i1 true, ptr %31, align 1
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %166 unwind label %201

166:                                              ; preds = %165
  invoke void @_ZN2vl14regex_internal15RichInterpretorC1ENS_3PtrINS0_9AutomatonEEE(ptr noundef nonnull align 8 dereferenceable(48) %164, ptr noundef %30)
          to label %167 unwind label %205

167:                                              ; preds = %166
  store i1 false, ptr %31, align 1
  %168 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 2
  store ptr %164, ptr %168, align 8, !tbaa !16
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %24) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %24) #7
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %23) #7
  call void @llvm.lifetime.end.p0(i64 112, ptr %23) #7
  br label %234

169:                                              ; preds = %154
  %170 = landingpad { ptr, i32 }
          catch ptr null
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %8, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %9, align 4
  br label %218

173:                                              ; preds = %155
  %174 = landingpad { ptr, i32 }
          catch ptr null
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %8, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %9, align 4
  br label %217

177:                                              ; preds = %158, %156
  %178 = landingpad { ptr, i32 }
          catch ptr null
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %8, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %9, align 4
  br label %216

181:                                              ; preds = %159
  %182 = landingpad { ptr, i32 }
          catch ptr null
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %8, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %9, align 4
  br label %215

185:                                              ; preds = %160
  %186 = landingpad { ptr, i32 }
          catch ptr null
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %8, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %215

189:                                              ; preds = %161
  %190 = landingpad { ptr, i32 }
          catch ptr null
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %8, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %9, align 4
  br label %214

193:                                              ; preds = %162
  %194 = landingpad { ptr, i32 }
          catch ptr null
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %8, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  br label %214

197:                                              ; preds = %163
  %198 = landingpad { ptr, i32 }
          catch ptr null
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %8, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %9, align 4
  br label %213

201:                                              ; preds = %165
  %202 = landingpad { ptr, i32 }
          catch ptr null
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %8, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %9, align 4
  br label %209

205:                                              ; preds = %166
  %206 = landingpad { ptr, i32 }
          catch ptr null
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %8, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %9, align 4
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %209

209:                                              ; preds = %205, %201
  %210 = load i1, ptr %31, align 1
  br i1 %210, label %211, label %212

211:                                              ; preds = %209
  call void @_ZdlPvm(ptr noundef %164, i64 noundef 48) #9
  br label %212

212:                                              ; preds = %211, %209
  br label %213

213:                                              ; preds = %212, %197
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %214

214:                                              ; preds = %213, %193, %189
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #7
  br label %215

215:                                              ; preds = %214, %185, %181
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #7
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #7
  br label %216

216:                                              ; preds = %215, %177
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #7
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %24) #7
  br label %217

217:                                              ; preds = %216, %173
  call void @llvm.lifetime.end.p0(i64 112, ptr %24) #7
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %23) #7
  br label %218

218:                                              ; preds = %217, %169
  call void @llvm.lifetime.end.p0(i64 112, ptr %23) #7
  br label %219

219:                                              ; preds = %218, %150
  %220 = load ptr, ptr %8, align 8
  %221 = call ptr @__cxa_begin_catch(ptr %220) #7
  %222 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 1
  %223 = load ptr, ptr %222, align 8, !tbaa !13
  %224 = icmp ne ptr %223, null
  br i1 %224, label %225, label %235

225:                                              ; preds = %219
  %226 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 1
  %227 = load ptr, ptr %226, align 8, !tbaa !13
  %228 = icmp eq ptr %227, null
  br i1 %228, label %233, label %229

229:                                              ; preds = %225
  %230 = load ptr, ptr %227, align 8, !tbaa !11
  %231 = getelementptr inbounds ptr, ptr %230, i64 1
  %232 = load ptr, ptr %231, align 8
  call void %232(ptr noundef nonnull align 8 dereferenceable(8912952) %227) #7
  br label %233

233:                                              ; preds = %229, %225
  br label %235

234:                                              ; preds = %167, %151
  br label %254

235:                                              ; preds = %233, %219
  %236 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 2
  %237 = load ptr, ptr %236, align 8, !tbaa !16
  %238 = icmp ne ptr %237, null
  br i1 %238, label %239, label %248

239:                                              ; preds = %235
  %240 = getelementptr inbounds %"class.vl::regex::Regex", ptr %33, i32 0, i32 2
  %241 = load ptr, ptr %240, align 8, !tbaa !16
  %242 = icmp eq ptr %241, null
  br i1 %242, label %247, label %243

243:                                              ; preds = %239
  %244 = load ptr, ptr %241, align 8, !tbaa !11
  %245 = getelementptr inbounds ptr, ptr %244, i64 1
  %246 = load ptr, ptr %245, align 8
  call void %246(ptr noundef nonnull align 8 dereferenceable(48) %241) #7
  br label %247

247:                                              ; preds = %243, %239
  br label %248

248:                                              ; preds = %247, %235
  invoke void @__cxa_rethrow() #10
          to label %268 unwind label %249

249:                                              ; preds = %248
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %8, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %9, align 4
  invoke void @__cxa_end_catch()
          to label %253 unwind label %265

253:                                              ; preds = %249
  br label %255

254:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  call void @_ZN2vl3PtrINS_14regex_internal10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @_ZN2vl3PtrINS_14regex_internal15RegexExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  ret void

255:                                              ; preds = %253, %69
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %256

256:                                              ; preds = %255, %65
  call void @_ZN2vl3PtrINS_14regex_internal10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #7
  br label %257

257:                                              ; preds = %256, %61
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @_ZN2vl3PtrINS_14regex_internal15RegexExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %258

258:                                              ; preds = %257, %57
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #7
  call void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #7
  br label %259

259:                                              ; preds = %258, %53
  call void @llvm.lifetime.end.p0(i64 48, ptr %7) #7
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #7
  br label %260

260:                                              ; preds = %259
  %261 = load ptr, ptr %8, align 8
  %262 = load i32, ptr %9, align 4
  %263 = insertvalue { ptr, i32 } poison, ptr %261, 0
  %264 = insertvalue { ptr, i32 } %263, i32 %262, 1
  resume { ptr, i32 } %264

265:                                              ; preds = %249
  %266 = landingpad { ptr, i32 }
          catch ptr null
  %267 = extractvalue { ptr, i32 } %266, 0
  call void @__clang_call_terminate(ptr %267) #11
  unreachable

268:                                              ; preds = %248
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal15RegexExpression5MergeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.1009") align 8, ptr noundef nonnull align 8 dereferenceable(152)) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal10Expression16NormalizeCharSetERNS_11collections10SortedListINS0_9CharRangeES4_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(33)) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(104)) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal18PureEpsilonCheckerEPNS0_10TransitionE(ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(104)) #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal18RichEpsilonCheckerEPNS0_10TransitionE(ptr noundef) #0

declare void @__cxa_rethrow()

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

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

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

declare void @_ZN2vl14regex_internal15PureInterpretorC1ENS_3PtrINS0_9AutomatonEEERNS_11collections10SortedListINS0_9CharRangeES7_EE(ptr, ptr, ptr)

declare void @_ZN2vl14regex_internal15RichInterpretorC1ENS_3PtrINS0_9AutomatonEEE(ptr, ptr)

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 = { nobuiltin 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 8}
!14 = !{!"_ZTSN2vl5regex5RegexE", !15, i64 0, !6, i64 8, !6, i64 16}
!15 = !{!"_ZTSN2vl6ObjectE"}
!16 = !{!14, !6, i64 16}
!17 = !{i8 0, i8 2}
!18 = !{}


; 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.vl::Ptr.321" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::SortedList.1001" = type { %"class.vl::collections::ListBase.base.1007", %"class.vl::collections::IEnumerable.1005" }
%"class.vl::collections::ListBase.base.1007" = type <{ %"class.vl::collections::ArrayBase.base.1006", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1006" = type { %"class.vl::collections::ListStore.1004", ptr, i64 }
%"class.vl::collections::ListStore.1004" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.1005" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.1009" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::Dictionary.1021" = type { %"class.vl::Object", %"class.vl::collections::SortedList.1022", %"class.vl::collections::List.1030", %"class.vl::collections::IEnumerable.1032" }
%"class.vl::collections::SortedList.1022" = type { %"class.vl::collections::ListBase.base.1028", %"class.vl::collections::IEnumerable.1026" }
%"class.vl::collections::ListBase.base.1028" = type <{ %"class.vl::collections::ArrayBase.base.1027", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1027" = type { %"class.vl::collections::ListStore.1025", ptr, i64 }
%"class.vl::collections::ListStore.1025" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1026" = type { %"class.vl::Interface" }
%"class.vl::collections::List.1030" = type { %"class.vl::collections::ListBase.base.1028", %"class.vl::collections::IEnumerable.1026" }
%"class.vl::collections::IEnumerable.1032" = type { %"class.vl::Interface" }
%"class.vl::collections::Group.1034" = type { %"class.vl::Object", %"class.vl::collections::SortedList.1022", %"class.vl::collections::List.1035", %"class.vl::collections::IEnumerable.1032" }
%"class.vl::collections::List.1035" = type { %"class.vl::collections::ListBase.base.1041", %"class.vl::collections::IEnumerable.1039" }
%"class.vl::collections::ListBase.base.1041" = type <{ %"class.vl::collections::ArrayBase.base.1040", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1040" = type { %"class.vl::collections::ListStore.1038", ptr, i64 }
%"class.vl::collections::ListStore.1038" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1039" = type { %"class.vl::Interface" }
%"class.vl::Ptr.991" = type { ptr, ptr, ptr, ptr }

@_ZTVN2vl5regex5RegexE = external dso_local unnamed_addr constant { [4 x ptr] }, align 8

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal20ParseRegexExpressionERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.321") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl5regex5RegexC2ERKNS_12ObjectStringIwEEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i1 noundef zeroext %2) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::collections::SortedList.1001", align 8
  %5 = alloca %"class.vl::Ptr.321", align 8
  %6 = alloca %"class.vl::Ptr.1009", align 8
  %7 = alloca %"class.vl::collections::Dictionary.1021", align 8
  %8 = alloca %"class.vl::collections::Group.1034", align 8
  %9 = alloca %"class.vl::Ptr.991", align 8
  %10 = alloca %"class.vl::Ptr.991", align 8
  %11 = alloca %"class.vl::Ptr.991", align 8
  %12 = alloca %"class.vl::Ptr.991", align 8
  %13 = alloca %"class.vl::Ptr.991", align 8
  %14 = alloca %"class.vl::Ptr.991", align 8
  %15 = alloca %"class.vl::collections::Dictionary.1021", align 8
  %16 = alloca %"class.vl::collections::Group.1034", align 8
  %17 = alloca %"class.vl::Ptr.991", align 8
  %18 = alloca %"class.vl::Ptr.991", align 8
  %19 = alloca %"class.vl::Ptr.991", align 8
  %20 = alloca %"class.vl::Ptr.991", align 8
  %21 = alloca %"class.vl::Ptr.991", align 8
  %22 = alloca %"class.vl::Ptr.991", align 8
  tail call void @_ZN2vl6ObjectC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #8
  tail call void @_ZN2vl11NotCopyableC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %0)
  store ptr getelementptr inbounds inrange(-16, 16) (i8, ptr @_ZTVN2vl5regex5RegexE, i64 16), ptr %0, align 8, !tbaa !5
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  %24 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #8
  invoke void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %25 unwind label %35

25:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #8
  invoke void @_ZN2vl14regex_internal20ParseRegexExpressionERKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.321") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %26 unwind label %37

26:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  %27 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal15RegexExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
  invoke void @_ZN2vl14regex_internal15RegexExpression5MergeEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.1009") align 8 %6, ptr noundef nonnull align 8 dereferenceable(152) %27)
          to label %28 unwind label %39

28:                                               ; preds = %26
  %29 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  invoke void @_ZN2vl14regex_internal10Expression16NormalizeCharSetERNS_11collections10SortedListINS0_9CharRangeES4_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %30 unwind label %41

30:                                               ; preds = %28
  br i1 %2, label %31, label %.thread33

31:                                               ; preds = %30
  %32 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %33 = invoke noundef zeroext i1 @_ZN2vl14regex_internal10Expression14HasNoExtensionEv(ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %34 unwind label %43

34:                                               ; preds = %31
  br i1 %33, label %.thread, label %45

35:                                               ; preds = %3
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %147

37:                                               ; preds = %25
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %146

39:                                               ; preds = %26
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %145

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %144

43:                                               ; preds = %45, %31
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %144

45:                                               ; preds = %34
  %46 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %47 = invoke noundef zeroext i1 @_ZN2vl14regex_internal10Expression14CanTreatAsPureEv(ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %48 unwind label %43

48:                                               ; preds = %45
  br i1 %47, label %.thread, label %.thread33

.thread:                                          ; preds = %34, %48
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %7) #8
  invoke void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %7)
          to label %49 unwind label %60

49:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %8) #8
  invoke void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %8)
          to label %50 unwind label %62

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %51 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  invoke void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %52 unwind label %64

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %53 unwind label %66

53:                                               ; preds = %52
  invoke void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %10, ptr noundef nonnull %11, ptr noundef nonnull @_ZN2vl14regex_internal18PureEpsilonCheckerEPNS0_10TransitionE, ptr noundef nonnull align 8 dereferenceable(104) %7)
          to label %54 unwind label %68

54:                                               ; preds = %53
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %55 unwind label %70

55:                                               ; preds = %54
  invoke void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %12, ptr noundef nonnull %13, ptr noundef nonnull align 8 dereferenceable(104) %8)
          to label %56 unwind label %72

56:                                               ; preds = %55
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  %57 = invoke noalias noundef nonnull dereferenceable(8912952) ptr @_Znwm(i64 noundef 8912952) #9
          to label %58 unwind label %74

58:                                               ; preds = %56
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %59 unwind label %76

59:                                               ; preds = %58
  invoke void @_ZN2vl14regex_internal15PureInterpretorC1ENS_3PtrINS0_9AutomatonEEERNS_11collections10SortedListINS0_9CharRangeES7_EE(ptr noundef nonnull align 8 dereferenceable(8912952) %57, ptr noundef nonnull %14, ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %87 unwind label %78

60:                                               ; preds = %.thread
  %61 = landingpad { ptr, i32 }
          catch ptr null
  br label %86

62:                                               ; preds = %49
  %63 = landingpad { ptr, i32 }
          catch ptr null
  br label %85

64:                                               ; preds = %50
  %65 = landingpad { ptr, i32 }
          catch ptr null
  br label %84

66:                                               ; preds = %52
  %67 = landingpad { ptr, i32 }
          catch ptr null
  br label %83

68:                                               ; preds = %53
  %69 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %83

70:                                               ; preds = %54
  %71 = landingpad { ptr, i32 }
          catch ptr null
  br label %82

72:                                               ; preds = %55
  %73 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %82

74:                                               ; preds = %56
  %75 = landingpad { ptr, i32 }
          catch ptr null
  br label %81

76:                                               ; preds = %58
  %77 = landingpad { ptr, i32 }
          catch ptr null
  br label %80

78:                                               ; preds = %59
  %79 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %80

80:                                               ; preds = %76, %78
  %.pn = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZdlPvm(ptr noundef nonnull %57, i64 noundef 8912952) #10
  br label %81

81:                                               ; preds = %80, %74
  %.pn.pn = phi { ptr, i32 } [ %.pn, %80 ], [ %75, %74 ]
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %82

82:                                               ; preds = %81, %72, %70
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %81 ], [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %83

83:                                               ; preds = %82, %68, %66
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %82 ], [ %69, %68 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %84

84:                                               ; preds = %83, %64
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %83 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %8) #8
  br label %85

85:                                               ; preds = %84, %62
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %84 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %8) #8
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %7) #8
  br label %86

86:                                               ; preds = %85, %60
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %85 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #8
  br label %127

87:                                               ; preds = %59
  store ptr %57, ptr %23, align 8, !tbaa !8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %8) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %8) #8
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %7) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %7) #8
  br i1 %33, label %143, label %.thread33

.thread33:                                        ; preds = %30, %48, %87
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %15) #8
  invoke void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15)
          to label %88 unwind label %100

88:                                               ; preds = %.thread33
  call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %16) #8
  invoke void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104) %16)
          to label %89 unwind label %102

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  %90 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal10ExpressionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  invoke void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %90)
          to label %91 unwind label %104

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %92 unwind label %106

92:                                               ; preds = %91
  invoke void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %18, ptr noundef nonnull %19, ptr noundef nonnull @_ZN2vl14regex_internal18RichEpsilonCheckerEPNS0_10TransitionE, ptr noundef nonnull align 8 dereferenceable(104) %15)
          to label %93 unwind label %108

93:                                               ; preds = %92
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #8
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %94 unwind label %110

94:                                               ; preds = %93
  invoke void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.991") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull align 8 dereferenceable(104) %16)
          to label %95 unwind label %112

95:                                               ; preds = %94
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  %96 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #9
          to label %97 unwind label %114

97:                                               ; preds = %95
  invoke void @_ZN2vl3PtrINS_14regex_internal9AutomatonEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %98 unwind label %116

98:                                               ; preds = %97
  invoke void @_ZN2vl14regex_internal15RichInterpretorC1ENS_3PtrINS0_9AutomatonEEE(ptr noundef nonnull align 8 dereferenceable(48) %96, ptr noundef nonnull %22)
          to label %99 unwind label %118

99:                                               ; preds = %98
  store ptr %96, ptr %24, align 8, !tbaa !13
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %16) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #8
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15) #8
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  br label %143

100:                                              ; preds = %.thread33
  %101 = landingpad { ptr, i32 }
          catch ptr null
  br label %126

102:                                              ; preds = %88
  %103 = landingpad { ptr, i32 }
          catch ptr null
  br label %125

104:                                              ; preds = %89
  %105 = landingpad { ptr, i32 }
          catch ptr null
  br label %124

106:                                              ; preds = %91
  %107 = landingpad { ptr, i32 }
          catch ptr null
  br label %123

108:                                              ; preds = %92
  %109 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %123

110:                                              ; preds = %93
  %111 = landingpad { ptr, i32 }
          catch ptr null
  br label %122

112:                                              ; preds = %94
  %113 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %122

114:                                              ; preds = %95
  %115 = landingpad { ptr, i32 }
          catch ptr null
  br label %121

116:                                              ; preds = %97
  %117 = landingpad { ptr, i32 }
          catch ptr null
  br label %120

118:                                              ; preds = %98
  %119 = landingpad { ptr, i32 }
          catch ptr null
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %120

120:                                              ; preds = %116, %118
  %.pn18 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @_ZdlPvm(ptr noundef nonnull %96, i64 noundef 48) #10
  br label %121

121:                                              ; preds = %120, %114
  %.pn18.pn = phi { ptr, i32 } [ %.pn18, %120 ], [ %115, %114 ]
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  br label %122

122:                                              ; preds = %121, %112, %110
  %.pn18.pn.pn = phi { ptr, i32 } [ %.pn18.pn, %121 ], [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %123

123:                                              ; preds = %122, %108, %106
  %.pn18.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn, %122 ], [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  call void @_ZN2vl3PtrINS_14regex_internal9AutomatonEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %124

124:                                              ; preds = %123, %104
  %.pn18.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn.pn, %123 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %16) #8
  br label %125

125:                                              ; preds = %124, %102
  %.pn18.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn.pn.pn, %124 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %16) #8
  call void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_ED1Ev(ptr noundef nonnull align 8 dereferenceable(104) %15) #8
  br label %126

126:                                              ; preds = %125, %100
  %.pn18.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn.pn.pn.pn, %125 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 112, ptr nonnull %15) #8
  br label %127

127:                                              ; preds = %126, %86
  %.pn18.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn18.pn.pn.pn.pn.pn.pn, %126 ], [ %.pn.pn.pn.pn.pn.pn.pn, %86 ]
  %.14 = extractvalue { ptr, i32 } %.pn18.pn.pn.pn.pn.pn.pn.pn, 0
  %128 = call ptr @__cxa_begin_catch(ptr %.14) #8
  %129 = load ptr, ptr %23, align 8, !tbaa !8
  %.not = icmp eq ptr %129, null
  br i1 %.not, label %134, label %130

130:                                              ; preds = %127
  %131 = load ptr, ptr %129, align 8, !tbaa !5
  %132 = getelementptr inbounds i8, ptr %131, i64 8
  %133 = load ptr, ptr %132, align 8
  call void %133(ptr noundef nonnull align 8 dereferenceable(8912952) %129) #8
  br label %134

134:                                              ; preds = %130, %127
  %135 = load ptr, ptr %24, align 8, !tbaa !13
  %.not19 = icmp eq ptr %135, null
  br i1 %.not19, label %140, label %136

136:                                              ; preds = %134
  %137 = load ptr, ptr %135, align 8, !tbaa !5
  %138 = getelementptr inbounds i8, ptr %137, i64 8
  %139 = load ptr, ptr %138, align 8
  call void %139(ptr noundef nonnull align 8 dereferenceable(48) %135) #8
  br label %140

140:                                              ; preds = %136, %134
  invoke void @__cxa_rethrow() #11
          to label %151 unwind label %141

141:                                              ; preds = %140
  %142 = landingpad { ptr, i32 }
          cleanup
  invoke void @__cxa_end_catch()
          to label %144 unwind label %148

143:                                              ; preds = %87, %99
  call void @_ZN2vl3PtrINS_14regex_internal10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @_ZN2vl3PtrINS_14regex_internal15RegexExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  ret void

144:                                              ; preds = %43, %141, %41
  %.pn20.pn = phi { ptr, i32 } [ %42, %41 ], [ %142, %141 ], [ %44, %43 ]
  call void @_ZN2vl3PtrINS_14regex_internal10ExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %145

145:                                              ; preds = %144, %39
  %.pn20.pn.pn = phi { ptr, i32 } [ %.pn20.pn, %144 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  call void @_ZN2vl3PtrINS_14regex_internal15RegexExpressionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  br label %146

146:                                              ; preds = %145, %37
  %.pn20.pn.pn.pn = phi { ptr, i32 } [ %.pn20.pn.pn, %145 ], [ %38, %37 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #8
  call void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %4) #8
  br label %147

147:                                              ; preds = %146, %35
  %.pn20.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn20.pn.pn.pn, %146 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #8
  call void @_ZN2vl6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #8
  resume { ptr, i32 } %.pn20.pn.pn.pn.pn

148:                                              ; preds = %141
  %149 = landingpad { ptr, i32 }
          catch ptr null
  %150 = extractvalue { ptr, i32 } %149, 0
  call void @__clang_call_terminate(ptr %150) #12
  unreachable

151:                                              ; preds = %140
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections10SortedListINS_14regex_internal9CharRangeES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal15RegexExpression5MergeEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.1009") align 8, ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal10Expression16NormalizeCharSetERNS_11collections10SortedListINS0_9CharRangeES4_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections10DictionaryIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5GroupIPNS_14regex_internal5StateES4_S4_S4_EC1Ev(ptr noundef nonnull align 8 dereferenceable(104)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal10Expression18GenerateEpsilonNfaEv(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal15EpsilonNfaToNfaENS_3PtrINS0_9AutomatonEEEPFbPNS0_10TransitionEERNS_11collections10DictionaryIPNS0_5StateESB_SB_SB_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal18PureEpsilonCheckerEPNS0_10TransitionE(ptr noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal8NfaToDfaENS_3PtrINS0_9AutomatonEEERNS_11collections5GroupIPNS0_5StateES7_S7_S7_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.991") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN2vl14regex_internal18RichEpsilonCheckerEPNS0_10TransitionE(ptr noundef) #0

declare void @__cxa_rethrow() local_unnamed_addr

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

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

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

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

declare void @_ZN2vl14regex_internal15RichInterpretorC1ENS_3PtrINS0_9AutomatonEEE(ptr, ptr) local_unnamed_addr

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass