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

; 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::collections::List.1099" = type { %"class.vl::collections::ListBase.base.1105", %"class.vl::collections::IEnumerable.1103" }
%"class.vl::collections::ListBase.base.1105" = type <{ %"class.vl::collections::ArrayBase.base.1104", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1104" = type { %"class.vl::collections::ListStore.1102", ptr, i64 }
%"class.vl::collections::ListStore.1102" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.1103" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List.1107" = type { %"class.vl::collections::ListBase.base.1113", %"class.vl::collections::IEnumerable.1111" }
%"class.vl::collections::ListBase.base.1113" = type <{ %"class.vl::collections::ArrayBase.base.1112", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1112" = type { %"class.vl::collections::ListStore.1110", ptr, i64 }
%"class.vl::collections::ListStore.1110" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1111" = type { %"class.vl::Interface" }
%"class.vl::regex_internal::StateSaver" = type { ptr, ptr, i64, i64, i64, i64, i64, i32 }
%"class.vl::regex_internal::CharRange" = type { i32, i32 }
%"class.vl::regex_internal::ExtensionSaver" = type { %"class.vl::regex_internal::SaverBase", i64, ptr, ptr }
%"class.vl::regex_internal::SaverBase" = type { i8, i64 }
%"class.vl::regex_internal::CaptureRecord" = type { i64, i64, i64 }
%"class.vl::regex_internal::RichInterpretor" = type { %"class.vl::Object", %"class.vl::Ptr.991", ptr }
%"class.vl::Ptr.991" = type { ptr, ptr, ptr, ptr }
%"class.vl::regex_internal::Automaton" = type { %"class.vl::collections::List.1054", %"class.vl::collections::List.1062", %"class.vl::collections::List", ptr }
%"class.vl::collections::List.1054" = type { %"class.vl::collections::ListBase.base.1060", %"class.vl::collections::IEnumerable.1058" }
%"class.vl::collections::ListBase.base.1060" = type <{ %"class.vl::collections::ArrayBase.base.1059", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1059" = type { %"class.vl::collections::ListStore.1057", ptr, i64 }
%"class.vl::collections::ListStore.1057" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1058" = type { %"class.vl::Interface" }
%"class.vl::collections::List.1062" = type { %"class.vl::collections::ListBase.base.1068", %"class.vl::collections::IEnumerable.1066" }
%"class.vl::collections::ListBase.base.1068" = type <{ %"class.vl::collections::ArrayBase.base.1067", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1067" = type { %"class.vl::collections::ListStore.1065", ptr, i64 }
%"class.vl::collections::ListStore.1065" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1066" = type { %"class.vl::Interface" }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base.3", i64, i8 }>
%"class.vl::collections::ArrayBase.base.3" = type { %"class.vl::collections::ListStore.1", ptr, i64 }
%"class.vl::collections::ListStore.1" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.2" = type { %"class.vl::Interface" }
%"class.vl::regex_internal::State" = type { %"class.vl::collections::List.1071", %"class.vl::collections::List.1071", i8, ptr }
%"class.vl::collections::List.1071" = type { %"class.vl::collections::ListBase.base.1077", %"class.vl::collections::IEnumerable.1075" }
%"class.vl::collections::ListBase.base.1077" = type <{ %"class.vl::collections::ArrayBase.base.1076", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1076" = type { %"class.vl::collections::ListStore.1074", ptr, i64 }
%"class.vl::collections::ListStore.1074" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1075" = type { %"class.vl::Interface" }
%"class.vl::regex_internal::Transition" = type { ptr, ptr, %"class.vl::regex_internal::CharRange", i32, i64, i64 }
%"class.vl::regex_internal::RichResult" = type { i64, i64, %"class.vl::collections::List.983" }
%"class.vl::collections::List.983" = type { %"class.vl::collections::ListBase.base.989", %"class.vl::collections::IEnumerable.987" }
%"class.vl::collections::ListBase.base.989" = type <{ %"class.vl::collections::ArrayBase.base.988", i64, i8 }>
%"class.vl::collections::ArrayBase.base.988" = type { %"class.vl::collections::ListStore.986", ptr, i64 }
%"class.vl::collections::ListStore.986" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.987" = type { %"class.vl::Interface" }
%"class.vl::regex_internal::RichInterpretor::UserData" = type { i8 }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind willreturn memory(read)
declare i32 @wcsncmp(ptr noundef, ptr noundef, i64 noundef) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor9MatchHeadEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %3) #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.vl::collections::List.1099", align 8
  %11 = alloca %"class.vl::collections::List.1107", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.vl::regex_internal::StateSaver", align 8
  %15 = alloca i8, align 1
  %16 = alloca %"class.vl::regex_internal::StateSaver", align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.vl::regex_internal::CharRange", align 4
  %21 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %22 = alloca %"class.vl::regex_internal::CaptureRecord", align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %27 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %28 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %29 = alloca ptr, align 8
  %30 = alloca i64, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i64, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"class.vl::regex_internal::StateSaver", align 8
  %36 = alloca i64, align 8
  %37 = alloca ptr, align 8
  %38 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %39 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %10) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %10)
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #6
  invoke void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11)
          to label %40 unwind label %74

40:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #6
  %41 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 3
  store i64 0, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds %"class.vl::regex_internal::RichInterpretor", ptr %39, i32 0, i32 1
  %43 = invoke noundef ptr @_ZNK2vl3PtrINS_14regex_internal9AutomatonEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %44 unwind label %78

44:                                               ; preds = %40
  %45 = getelementptr inbounds %"class.vl::regex_internal::Automaton", ptr %43, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !13
  %47 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  store ptr %46, ptr %47, align 8, !tbaa !29
  %48 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 5
  store i64 -1, ptr %48, align 8, !tbaa !30
  %49 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 6
  store i64 0, ptr %49, align 8, !tbaa !31
  %50 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  store i64 0, ptr %50, align 8, !tbaa !32
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  store ptr %51, ptr %52, align 8, !tbaa !33
  %53 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  store i64 0, ptr %53, align 8, !tbaa !34
  %54 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 7
  store i32 2, ptr %54, align 8, !tbaa !35
  br label %55

55:                                               ; preds = %535, %44
  %56 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !29
  %58 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %57, i32 0, i32 2
  %59 = load i8, ptr %58, align 8, !tbaa !36, !range !42, !noundef !43
  %60 = trunc i8 %59 to i1
  %61 = xor i1 %60, true
  br i1 %61, label %62, label %537

62:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 64, ptr %16) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %14, i64 64, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %63 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  %64 = load i64, ptr %63, align 8, !tbaa !32
  store i64 %64, ptr %17, align 8, !tbaa !46
  br label %65

65:                                               ; preds = %446, %62
  %66 = load i64, ptr %17, align 8, !tbaa !46
  %67 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !29
  %69 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %68, i32 0, i32 0
  %70 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %69)
          to label %71 unwind label %82

71:                                               ; preds = %65
  %72 = icmp slt i64 %66, %70
  br i1 %72, label %86, label %73

73:                                               ; preds = %71
  store i32 4, ptr %18, align 4
  br label %450

74:                                               ; preds = %4
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %12, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %13, align 4
  br label %598

78:                                               ; preds = %590, %40
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %12, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %13, align 4
  br label %597

82:                                               ; preds = %65
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %12, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %13, align 4
  br label %451

86:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %87 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %88 = load ptr, ptr %87, align 8, !tbaa !29
  %89 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %88, i32 0, i32 0
  %90 = load i64, ptr %17, align 8, !tbaa !46
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %89, i64 noundef %90)
          to label %92 unwind label %97

92:                                               ; preds = %86
  %93 = load ptr, ptr %91, align 8, !tbaa !5
  store ptr %93, ptr %19, align 8, !tbaa !5
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %94, i32 0, i32 3
  %96 = load i32, ptr %95, align 8, !tbaa !48
  switch i32 %96, label %413 [
    i32 0, label %101
    i32 2, label %127
    i32 3, label %133
    i32 4, label %139
    i32 5, label %140
    i32 6, label %178
    i32 7, label %264
    i32 8, label %279
    i32 9, label %294
    i32 10, label %295
  ]

97:                                               ; preds = %86
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %12, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %13, align 4
  br label %449

101:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %102 = load ptr, ptr %19, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %102, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 8 %103, i64 8, i1 false), !tbaa.struct !53
  %104 = getelementptr inbounds %"class.vl::regex_internal::CharRange", ptr %20, i32 0, i32 0
  %105 = load i32, ptr %104, align 4, !tbaa !55
  %106 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !33
  %108 = load i32, ptr %107, align 4, !tbaa !54
  %109 = icmp sle i32 %105, %108
  br i1 %109, label %110, label %117

110:                                              ; preds = %101
  %111 = getelementptr inbounds %"class.vl::regex_internal::CharRange", ptr %20, i32 0, i32 1
  %112 = load i32, ptr %111, align 4, !tbaa !56
  %113 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !33
  %115 = load i32, ptr %114, align 4, !tbaa !54
  %116 = icmp sge i32 %112, %115
  br label %117

117:                                              ; preds = %110, %101
  %118 = phi i1 [ false, %101 ], [ %116, %110 ]
  %119 = zext i1 %118 to i8
  store i8 %119, ptr %15, align 1, !tbaa !44
  %120 = load i8, ptr %15, align 1, !tbaa !44, !range !42, !noundef !43
  %121 = trunc i8 %120 to i1
  br i1 %121, label %122, label %126

122:                                              ; preds = %117
  %123 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %124 = load ptr, ptr %123, align 8, !tbaa !33
  %125 = getelementptr inbounds i32, ptr %124, i32 1
  store ptr %125, ptr %123, align 8, !tbaa !33
  br label %126

126:                                              ; preds = %122, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %414

127:                                              ; preds = %92
  %128 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8, !tbaa !33
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = icmp eq ptr %129, %130
  %132 = zext i1 %131 to i8
  store i8 %132, ptr %15, align 1, !tbaa !44
  br label %414

133:                                              ; preds = %92
  %134 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %135 = load ptr, ptr %134, align 8, !tbaa !33
  %136 = load i32, ptr %135, align 4, !tbaa !54
  %137 = icmp eq i32 %136, 0
  %138 = zext i1 %137 to i8
  store i8 %138, ptr %15, align 1, !tbaa !44
  br label %414

139:                                              ; preds = %92
  store i8 1, ptr %15, align 1, !tbaa !44
  br label %414

140:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #6
  %141 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 3
  %142 = load i64, ptr %141, align 8, !tbaa !9
  %143 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %21, i32 0, i32 1
  store i64 %142, ptr %143, align 8, !tbaa !57
  %144 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8, !tbaa !33
  %146 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %21, i32 0, i32 3
  store ptr %145, ptr %146, align 8, !tbaa !60
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %21, i32 0, i32 2
  store ptr %147, ptr %148, align 8, !tbaa !61
  %149 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 5
  %150 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 6
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %151 unwind label %169

151:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #6
  %152 = load ptr, ptr %19, align 8, !tbaa !5
  %153 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %152, i32 0, i32 4
  %154 = load i64, ptr %153, align 8, !tbaa !62
  %155 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %22, i32 0, i32 0
  store i64 %154, ptr %155, align 8, !tbaa !63
  %156 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %157 = load ptr, ptr %156, align 8, !tbaa !33
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = ptrtoint ptr %157 to i64
  %160 = ptrtoint ptr %158 to i64
  %161 = sub i64 %159, %160
  %162 = sdiv exact i64 %161, 4
  %163 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %22, i32 0, i32 1
  store i64 %162, ptr %163, align 8, !tbaa !65
  %164 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %22, i32 0, i32 2
  store i64 -1, ptr %164, align 8, !tbaa !66
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %165, i32 0, i32 2
  %167 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 3
  invoke void @_ZN2vl14regex_internal12PushNonSaverINS0_13CaptureRecordES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33) %166, ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %168 unwind label %173

168:                                              ; preds = %151
  store i8 1, ptr %15, align 1, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #6
  br label %414

169:                                              ; preds = %140
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %12, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %13, align 4
  br label %177

173:                                              ; preds = %151
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %12, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #6
  br label %177

177:                                              ; preds = %173, %169
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #6
  br label %449

178:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  store i64 0, ptr %23, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  store i64 0, ptr %24, align 8, !tbaa !46
  br label %179

179:                                              ; preds = %259, %178
  %180 = load i64, ptr %24, align 8, !tbaa !46
  %181 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 3
  %182 = load i64, ptr %181, align 8, !tbaa !9
  %183 = icmp slt i64 %180, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %179
  store i32 8, ptr %18, align 4
  br label %262

185:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %186, i32 0, i32 2
  %188 = load i64, ptr %24, align 8, !tbaa !46
  %189 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %187, i64 noundef %188)
          to label %190 unwind label %234

190:                                              ; preds = %185
  store ptr %189, ptr %25, align 8, !tbaa !5
  %191 = load ptr, ptr %25, align 8, !tbaa !5
  %192 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %191, i32 0, i32 0
  %193 = load i64, ptr %192, align 8, !tbaa !63
  %194 = load ptr, ptr %19, align 8, !tbaa !5
  %195 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %194, i32 0, i32 4
  %196 = load i64, ptr %195, align 8, !tbaa !62
  %197 = icmp eq i64 %193, %196
  br i1 %197, label %198, label %255

198:                                              ; preds = %190
  %199 = load ptr, ptr %25, align 8, !tbaa !5
  %200 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %199, i32 0, i32 2
  %201 = load i64, ptr %200, align 8, !tbaa !66
  %202 = icmp ne i64 %201, -1
  br i1 %202, label %203, label %239

203:                                              ; preds = %198
  %204 = load ptr, ptr %19, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %204, i32 0, i32 5
  %206 = load i64, ptr %205, align 8, !tbaa !67
  %207 = icmp eq i64 %206, -1
  br i1 %207, label %214, label %208

208:                                              ; preds = %203
  %209 = load ptr, ptr %19, align 8, !tbaa !5
  %210 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %209, i32 0, i32 5
  %211 = load i64, ptr %210, align 8, !tbaa !67
  %212 = load i64, ptr %23, align 8, !tbaa !46
  %213 = icmp eq i64 %211, %212
  br i1 %213, label %214, label %239

214:                                              ; preds = %208, %203
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = load ptr, ptr %25, align 8, !tbaa !5
  %217 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %216, i32 0, i32 1
  %218 = load i64, ptr %217, align 8, !tbaa !65
  %219 = getelementptr inbounds i32, ptr %215, i64 %218
  %220 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8, !tbaa !33
  %222 = load ptr, ptr %25, align 8, !tbaa !5
  %223 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %222, i32 0, i32 2
  %224 = load i64, ptr %223, align 8, !tbaa !66
  %225 = call i32 @wcsncmp(ptr noundef %219, ptr noundef %221, i64 noundef %224) #7
  %226 = icmp eq i32 %225, 0
  br i1 %226, label %227, label %238

227:                                              ; preds = %214
  %228 = load ptr, ptr %25, align 8, !tbaa !5
  %229 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %228, i32 0, i32 2
  %230 = load i64, ptr %229, align 8, !tbaa !66
  %231 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %232 = load ptr, ptr %231, align 8, !tbaa !33
  %233 = getelementptr inbounds i32, ptr %232, i64 %230
  store ptr %233, ptr %231, align 8, !tbaa !33
  store i8 1, ptr %15, align 1, !tbaa !44
  store i32 8, ptr %18, align 4
  br label %256

234:                                              ; preds = %185
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %12, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %449

238:                                              ; preds = %214
  br label %239

239:                                              ; preds = %238, %208, %198
  %240 = load ptr, ptr %19, align 8, !tbaa !5
  %241 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %240, i32 0, i32 5
  %242 = load i64, ptr %241, align 8, !tbaa !67
  %243 = icmp ne i64 %242, -1
  br i1 %243, label %244, label %251

244:                                              ; preds = %239
  %245 = load i64, ptr %23, align 8, !tbaa !46
  %246 = load ptr, ptr %19, align 8, !tbaa !5
  %247 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %246, i32 0, i32 5
  %248 = load i64, ptr %247, align 8, !tbaa !67
  %249 = icmp eq i64 %245, %248
  br i1 %249, label %250, label %251

250:                                              ; preds = %244
  store i32 8, ptr %18, align 4
  br label %256

251:                                              ; preds = %244, %239
  %252 = load i64, ptr %23, align 8, !tbaa !46
  %253 = add nsw i64 %252, 1
  store i64 %253, ptr %23, align 8, !tbaa !46
  br label %254

254:                                              ; preds = %251
  br label %255

255:                                              ; preds = %254, %190
  store i32 0, ptr %18, align 4
  br label %256

256:                                              ; preds = %255, %250, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %257 = load i32, ptr %18, align 4
  switch i32 %257, label %262 [
    i32 0, label %258
  ]

258:                                              ; preds = %256
  br label %259

259:                                              ; preds = %258
  %260 = load i64, ptr %24, align 8, !tbaa !46
  %261 = add nsw i64 %260, 1
  store i64 %261, ptr %24, align 8, !tbaa !46
  br label %179, !llvm.loop !68

262:                                              ; preds = %256, %184
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %263

263:                                              ; preds = %262
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %414

264:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #6
  %265 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %26, i32 0, i32 1
  store i64 -1, ptr %265, align 8, !tbaa !57
  %266 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %267 = load ptr, ptr %266, align 8, !tbaa !33
  %268 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %26, i32 0, i32 3
  store ptr %267, ptr %268, align 8, !tbaa !60
  %269 = load ptr, ptr %19, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %26, i32 0, i32 2
  store ptr %269, ptr %270, align 8, !tbaa !61
  %271 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 5
  %272 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 6
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %271, ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %273 unwind label %275

273:                                              ; preds = %264
  %274 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 7
  store i32 0, ptr %274, align 8, !tbaa !35
  store i8 1, ptr %15, align 1, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #6
  br label %414

275:                                              ; preds = %264
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %12, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #6
  br label %449

279:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #6
  %280 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %27, i32 0, i32 1
  store i64 -1, ptr %280, align 8, !tbaa !57
  %281 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %282 = load ptr, ptr %281, align 8, !tbaa !33
  %283 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %27, i32 0, i32 3
  store ptr %282, ptr %283, align 8, !tbaa !60
  %284 = load ptr, ptr %19, align 8, !tbaa !5
  %285 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %27, i32 0, i32 2
  store ptr %284, ptr %285, align 8, !tbaa !61
  %286 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 5
  %287 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 6
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %286, ptr noundef nonnull align 8 dereferenceable(8) %287, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %288 unwind label %290

288:                                              ; preds = %279
  %289 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 7
  store i32 1, ptr %289, align 8, !tbaa !35
  store i8 1, ptr %15, align 1, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #6
  br label %414

290:                                              ; preds = %279
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %12, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #6
  br label %449

294:                                              ; preds = %92
  br label %414

295:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #6
  %296 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 5
  %297 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 6
  invoke void @_ZN2vl14regex_internal3PopINS0_14ExtensionSaverES2_EET_RNS_11collections4ListIS3_T0_EERlS9_(ptr dead_on_unwind writable sret(%"class.vl::regex_internal::ExtensionSaver") align 8 %28, ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %296, ptr noundef nonnull align 8 dereferenceable(8) %297)
          to label %298 unwind label %303

298:                                              ; preds = %295
  %299 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %28, i32 0, i32 2
  %300 = load ptr, ptr %299, align 8, !tbaa !61
  %301 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %300, i32 0, i32 3
  %302 = load i32, ptr %301, align 8, !tbaa !48
  switch i32 %302, label %410 [
    i32 5, label %307
    i32 7, label %331
    i32 8, label %373
  ]

303:                                              ; preds = %295
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %12, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %13, align 4
  br label %412

307:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %308 = load ptr, ptr %9, align 8, !tbaa !5
  %309 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %308, i32 0, i32 2
  %310 = getelementptr inbounds %"class.vl::regex_internal::ExtensionSaver", ptr %28, i32 0, i32 1
  %311 = load i64, ptr %310, align 8, !tbaa !57
  %312 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %309, i64 noundef %311)
          to label %313 unwind label %327

313:                                              ; preds = %307
  store ptr %312, ptr %29, align 8, !tbaa !5
  %314 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %315 = load ptr, ptr %314, align 8, !tbaa !33
  %316 = load ptr, ptr %8, align 8, !tbaa !5
  %317 = ptrtoint ptr %315 to i64
  %318 = ptrtoint ptr %316 to i64
  %319 = sub i64 %317, %318
  %320 = sdiv exact i64 %319, 4
  %321 = load ptr, ptr %29, align 8, !tbaa !5
  %322 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %321, i32 0, i32 1
  %323 = load i64, ptr %322, align 8, !tbaa !65
  %324 = sub nsw i64 %320, %323
  %325 = load ptr, ptr %29, align 8, !tbaa !5
  %326 = getelementptr inbounds %"class.vl::regex_internal::CaptureRecord", ptr %325, i32 0, i32 2
  store i64 %324, ptr %326, align 8, !tbaa !66
  store i8 1, ptr %15, align 1, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %411

327:                                              ; preds = %307
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %12, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  br label %412

331:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %332 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  %333 = load i64, ptr %332, align 8, !tbaa !34
  %334 = sub nsw i64 %333, 1
  store i64 %334, ptr %30, align 8, !tbaa !46
  br label %335

335:                                              ; preds = %368, %331
  %336 = load i64, ptr %30, align 8, !tbaa !46
  %337 = icmp sge i64 %336, 0
  br i1 %337, label %339, label %338

338:                                              ; preds = %335
  store i32 12, ptr %18, align 4
  br label %371

339:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %340 = load i64, ptr %30, align 8, !tbaa !46
  %341 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %10, i64 noundef %340)
          to label %342 unwind label %360

342:                                              ; preds = %339
  store ptr %341, ptr %31, align 8, !tbaa !5
  %343 = load ptr, ptr %31, align 8, !tbaa !5
  %344 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %343, i32 0, i32 7
  %345 = load i32, ptr %344, align 8, !tbaa !35
  %346 = icmp eq i32 %345, 0
  br i1 %346, label %347, label %364

347:                                              ; preds = %342
  %348 = load ptr, ptr %31, align 8, !tbaa !5
  %349 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %348, i32 0, i32 0
  %350 = load ptr, ptr %349, align 8, !tbaa !33
  %351 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 0
  store ptr %350, ptr %351, align 8, !tbaa !33
  %352 = load i64, ptr %30, align 8, !tbaa !46
  %353 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 4
  store i64 %352, ptr %353, align 8, !tbaa !34
  %354 = load ptr, ptr %31, align 8, !tbaa !5
  %355 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %354, i32 0, i32 0
  %356 = load ptr, ptr %355, align 8, !tbaa !33
  %357 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  store ptr %356, ptr %357, align 8, !tbaa !33
  %358 = load i64, ptr %30, align 8, !tbaa !46
  %359 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  store i64 %358, ptr %359, align 8, !tbaa !34
  store i32 12, ptr %18, align 4
  br label %365

360:                                              ; preds = %339
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %12, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %412

364:                                              ; preds = %342
  store i32 0, ptr %18, align 4
  br label %365

365:                                              ; preds = %364, %347
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  %366 = load i32, ptr %18, align 4
  switch i32 %366, label %371 [
    i32 0, label %367
  ]

367:                                              ; preds = %365
  br label %368

368:                                              ; preds = %367
  %369 = load i64, ptr %30, align 8, !tbaa !46
  %370 = add nsw i64 %369, -1
  store i64 %370, ptr %30, align 8, !tbaa !46
  br label %335, !llvm.loop !70

371:                                              ; preds = %365, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  br label %372

372:                                              ; preds = %371
  store i8 1, ptr %15, align 1, !tbaa !44
  br label %411

373:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %374 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  %375 = load i64, ptr %374, align 8, !tbaa !34
  %376 = sub nsw i64 %375, 1
  store i64 %376, ptr %32, align 8, !tbaa !46
  br label %377

377:                                              ; preds = %405, %373
  %378 = load i64, ptr %32, align 8, !tbaa !46
  %379 = icmp sge i64 %378, 0
  br i1 %379, label %381, label %380

380:                                              ; preds = %377
  store i32 15, ptr %18, align 4
  br label %408

381:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %382 = load i64, ptr %32, align 8, !tbaa !46
  %383 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %10, i64 noundef %382)
          to label %384 unwind label %397

384:                                              ; preds = %381
  store ptr %383, ptr %33, align 8, !tbaa !5
  %385 = load ptr, ptr %33, align 8, !tbaa !5
  %386 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %385, i32 0, i32 7
  %387 = load i32, ptr %386, align 8, !tbaa !35
  %388 = icmp eq i32 %387, 1
  br i1 %388, label %389, label %401

389:                                              ; preds = %384
  %390 = load ptr, ptr %33, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %390, i64 64, i1 false), !tbaa.struct !45
  %391 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 7
  store i32 2, ptr %391, align 8, !tbaa !35
  %392 = load ptr, ptr %33, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %392, i64 64, i1 false), !tbaa.struct !45
  %393 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 7
  store i32 2, ptr %393, align 8, !tbaa !35
  %394 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  %395 = load i64, ptr %394, align 8, !tbaa !32
  %396 = sub nsw i64 %395, 1
  store i64 %396, ptr %17, align 8, !tbaa !46
  store i32 15, ptr %18, align 4
  br label %402

397:                                              ; preds = %381
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %12, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %412

401:                                              ; preds = %384
  store i32 0, ptr %18, align 4
  br label %402

402:                                              ; preds = %401, %389
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  %403 = load i32, ptr %18, align 4
  switch i32 %403, label %408 [
    i32 0, label %404
  ]

404:                                              ; preds = %402
  br label %405

405:                                              ; preds = %404
  %406 = load i64, ptr %32, align 8, !tbaa !46
  %407 = add nsw i64 %406, -1
  store i64 %407, ptr %32, align 8, !tbaa !46
  br label %377, !llvm.loop !71

408:                                              ; preds = %402, %380
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  br label %409

409:                                              ; preds = %408
  br label %411

410:                                              ; preds = %298
  br label %411

411:                                              ; preds = %410, %409, %372, %313
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  br label %414

412:                                              ; preds = %397, %360, %327, %303
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #6
  br label %449

413:                                              ; preds = %92
  br label %414

414:                                              ; preds = %413, %411, %294, %288, %273, %263, %168, %139, %133, %127, %126
  %415 = load i8, ptr %15, align 1, !tbaa !44, !range !42, !noundef !43
  %416 = trunc i8 %415 to i1
  br i1 %416, label %417, label %442

417:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %418 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %419 = load ptr, ptr %418, align 8, !tbaa !29
  %420 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %419, i32 0, i32 3
  %421 = load ptr, ptr %420, align 8, !tbaa !72
  store ptr %421, ptr %34, align 8, !tbaa !5
  %422 = load ptr, ptr %34, align 8, !tbaa !5
  %423 = getelementptr inbounds %"class.vl::regex_internal::RichInterpretor::UserData", ptr %422, i32 0, i32 0
  %424 = load i8, ptr %423, align 1, !tbaa !73, !range !42, !noundef !43
  %425 = trunc i8 %424 to i1
  br i1 %425, label %426, label %436

426:                                              ; preds = %417
  %427 = load i64, ptr %17, align 8, !tbaa !46
  %428 = add nsw i64 %427, 1
  %429 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %16, i32 0, i32 2
  store i64 %428, ptr %429, align 8, !tbaa !32
  %430 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  invoke void @_ZN2vl14regex_internal12PushNonSaverINS0_10StateSaverES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33) %10, ptr noundef nonnull align 8 dereferenceable(8) %430, ptr noundef nonnull align 8 dereferenceable(64) %16)
          to label %431 unwind label %432

431:                                              ; preds = %426
  br label %436

432:                                              ; preds = %426
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %12, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %449

436:                                              ; preds = %431, %417
  %437 = load ptr, ptr %19, align 8, !tbaa !5
  %438 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %437, i32 0, i32 1
  %439 = load ptr, ptr %438, align 8, !tbaa !75
  %440 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  store ptr %439, ptr %440, align 8, !tbaa !29
  %441 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  store i64 0, ptr %441, align 8, !tbaa !32
  store i32 4, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %443

442:                                              ; preds = %414
  store i32 0, ptr %18, align 4
  br label %443

443:                                              ; preds = %442, %436
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %444 = load i32, ptr %18, align 4
  switch i32 %444, label %450 [
    i32 0, label %445
  ]

445:                                              ; preds = %443
  br label %446

446:                                              ; preds = %445
  %447 = load i64, ptr %17, align 8, !tbaa !46
  %448 = add nsw i64 %447, 1
  store i64 %448, ptr %17, align 8, !tbaa !46
  br label %65, !llvm.loop !76

449:                                              ; preds = %432, %412, %290, %275, %234, %177, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %451

450:                                              ; preds = %443, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %452

451:                                              ; preds = %449, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %536

452:                                              ; preds = %450
  %453 = load i8, ptr %15, align 1, !tbaa !44, !range !42, !noundef !43
  %454 = trunc i8 %453 to i1
  br i1 %454, label %532, label %455

455:                                              ; preds = %452
  %456 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  %457 = load i64, ptr %456, align 8, !tbaa !34
  %458 = icmp ne i64 %457, 0
  br i1 %458, label %459, label %530

459:                                              ; preds = %455
  call void @llvm.lifetime.start.p0(i64 64, ptr %35) #6
  %460 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 4
  invoke void @_ZN2vl14regex_internal11PopNonSaverINS0_10StateSaverES2_EET_RNS_11collections4ListIS3_T0_EERl(ptr dead_on_unwind writable sret(%"class.vl::regex_internal::StateSaver") align 8 %35, ptr noundef nonnull align 8 dereferenceable(33) %10, ptr noundef nonnull align 8 dereferenceable(8) %460)
          to label %461 unwind label %484

461:                                              ; preds = %459
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %35, i64 64, i1 false), !tbaa.struct !45
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #6
  %462 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %463 = load ptr, ptr %462, align 8, !tbaa !29
  %464 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %463, i32 0, i32 0
  %465 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  %466 = load i64, ptr %465, align 8, !tbaa !32
  %467 = sub nsw i64 %466, 1
  %468 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %464, i64 noundef %467)
          to label %469 unwind label %488

469:                                              ; preds = %461
  %470 = load ptr, ptr %468, align 8, !tbaa !5
  %471 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %470, i32 0, i32 3
  %472 = load i32, ptr %471, align 8, !tbaa !48
  %473 = icmp eq i32 %472, 8
  br i1 %473, label %474, label %529

474:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  store i64 0, ptr %36, align 8, !tbaa !46
  br label %475

475:                                              ; preds = %523, %474
  %476 = load i64, ptr %36, align 8, !tbaa !46
  %477 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %478 = load ptr, ptr %477, align 8, !tbaa !29
  %479 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %478, i32 0, i32 0
  %480 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %479)
          to label %481 unwind label %492

481:                                              ; preds = %475
  %482 = icmp slt i64 %476, %480
  br i1 %482, label %496, label %483

483:                                              ; preds = %481
  store i32 18, ptr %18, align 4
  br label %526

484:                                              ; preds = %459
  %485 = landingpad { ptr, i32 }
          cleanup
  %486 = extractvalue { ptr, i32 } %485, 0
  store ptr %486, ptr %12, align 8
  %487 = extractvalue { ptr, i32 } %485, 1
  store i32 %487, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %35) #6
  br label %536

488:                                              ; preds = %461
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %12, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %13, align 4
  br label %536

492:                                              ; preds = %475
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %12, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %13, align 4
  br label %527

496:                                              ; preds = %481
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  %497 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %498 = load ptr, ptr %497, align 8, !tbaa !29
  %499 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %498, i32 0, i32 0
  %500 = load i64, ptr %36, align 8, !tbaa !46
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %499, i64 noundef %500)
          to label %502 unwind label %515

502:                                              ; preds = %496
  %503 = load ptr, ptr %501, align 8, !tbaa !5
  store ptr %503, ptr %37, align 8, !tbaa !5
  %504 = load ptr, ptr %37, align 8, !tbaa !5
  %505 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %504, i32 0, i32 3
  %506 = load i32, ptr %505, align 8, !tbaa !48
  %507 = icmp eq i32 %506, 9
  br i1 %507, label %508, label %519

508:                                              ; preds = %502
  %509 = load ptr, ptr %37, align 8, !tbaa !5
  %510 = getelementptr inbounds %"class.vl::regex_internal::Transition", ptr %509, i32 0, i32 1
  %511 = load ptr, ptr %510, align 8, !tbaa !75
  %512 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  store ptr %511, ptr %512, align 8, !tbaa !29
  %513 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 2
  store i64 0, ptr %513, align 8, !tbaa !32
  %514 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 7
  store i32 2, ptr %514, align 8, !tbaa !35
  store i32 18, ptr %18, align 4
  br label %520

515:                                              ; preds = %496
  %516 = landingpad { ptr, i32 }
          cleanup
  %517 = extractvalue { ptr, i32 } %516, 0
  store ptr %517, ptr %12, align 8
  %518 = extractvalue { ptr, i32 } %516, 1
  store i32 %518, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %527

519:                                              ; preds = %502
  store i32 0, ptr %18, align 4
  br label %520

520:                                              ; preds = %519, %508
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  %521 = load i32, ptr %18, align 4
  switch i32 %521, label %526 [
    i32 0, label %522
  ]

522:                                              ; preds = %520
  br label %523

523:                                              ; preds = %522
  %524 = load i64, ptr %36, align 8, !tbaa !46
  %525 = add nsw i64 %524, 1
  store i64 %525, ptr %36, align 8, !tbaa !46
  br label %475, !llvm.loop !77

526:                                              ; preds = %520, %483
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %528

527:                                              ; preds = %515, %492
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  br label %536

528:                                              ; preds = %526
  br label %529

529:                                              ; preds = %528, %469
  br label %531

530:                                              ; preds = %455
  store i32 3, ptr %18, align 4
  br label %533

531:                                              ; preds = %529
  br label %532

532:                                              ; preds = %531, %452
  store i32 0, ptr %18, align 4
  br label %533

533:                                              ; preds = %532, %530
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  %534 = load i32, ptr %18, align 4
  switch i32 %534, label %604 [
    i32 0, label %535
    i32 3, label %537
  ]

535:                                              ; preds = %533
  br label %55, !llvm.loop !78

536:                                              ; preds = %527, %488, %484, %451
  call void @llvm.lifetime.end.p0(i64 64, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %597

537:                                              ; preds = %533, %55
  %538 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 1
  %539 = load ptr, ptr %538, align 8, !tbaa !29
  %540 = getelementptr inbounds %"class.vl::regex_internal::State", ptr %539, i32 0, i32 2
  %541 = load i8, ptr %540, align 8, !tbaa !36, !range !42, !noundef !43
  %542 = trunc i8 %541 to i1
  br i1 %542, label %543, label %590

543:                                              ; preds = %537
  %544 = load ptr, ptr %7, align 8, !tbaa !5
  %545 = load ptr, ptr %8, align 8, !tbaa !5
  %546 = ptrtoint ptr %544 to i64
  %547 = ptrtoint ptr %545 to i64
  %548 = sub i64 %546, %547
  %549 = sdiv exact i64 %548, 4
  %550 = load ptr, ptr %9, align 8, !tbaa !5
  %551 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %550, i32 0, i32 0
  store i64 %549, ptr %551, align 8, !tbaa !79
  %552 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 0
  %553 = load ptr, ptr %552, align 8, !tbaa !33
  %554 = load ptr, ptr %8, align 8, !tbaa !5
  %555 = ptrtoint ptr %553 to i64
  %556 = ptrtoint ptr %554 to i64
  %557 = sub i64 %555, %556
  %558 = sdiv exact i64 %557, 4
  %559 = load ptr, ptr %9, align 8, !tbaa !5
  %560 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %559, i32 0, i32 0
  %561 = load i64, ptr %560, align 8, !tbaa !79
  %562 = sub nsw i64 %558, %561
  %563 = load ptr, ptr %9, align 8, !tbaa !5
  %564 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %563, i32 0, i32 1
  store i64 %562, ptr %564, align 8, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #6
  %565 = load ptr, ptr %9, align 8, !tbaa !5
  %566 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %565, i32 0, i32 2
  %567 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %566)
          to label %568 unwind label %576

568:                                              ; preds = %543
  %569 = sub nsw i64 %567, 1
  store i64 %569, ptr %38, align 8, !tbaa !46
  br label %570

570:                                              ; preds = %586, %568
  %571 = load i64, ptr %38, align 8, !tbaa !46
  %572 = getelementptr inbounds %"class.vl::regex_internal::StateSaver", ptr %14, i32 0, i32 3
  %573 = load i64, ptr %572, align 8, !tbaa !9
  %574 = icmp sge i64 %571, %573
  br i1 %574, label %580, label %575

575:                                              ; preds = %570
  store i32 21, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %589

576:                                              ; preds = %580, %543
  %577 = landingpad { ptr, i32 }
          cleanup
  %578 = extractvalue { ptr, i32 } %577, 0
  store ptr %578, ptr %12, align 8
  %579 = extractvalue { ptr, i32 } %577, 1
  store i32 %579, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #6
  br label %597

580:                                              ; preds = %570
  %581 = load ptr, ptr %9, align 8, !tbaa !5
  %582 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %581, i32 0, i32 2
  %583 = load i64, ptr %38, align 8, !tbaa !46
  %584 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33) %582, i64 noundef %583)
          to label %585 unwind label %576

585:                                              ; preds = %580
  br label %586

586:                                              ; preds = %585
  %587 = load i64, ptr %38, align 8, !tbaa !46
  %588 = add nsw i64 %587, -1
  store i64 %588, ptr %38, align 8, !tbaa !46
  br label %570, !llvm.loop !86

589:                                              ; preds = %575
  store i1 true, ptr %5, align 1
  store i32 1, ptr %18, align 4
  br label %595

590:                                              ; preds = %537
  %591 = load ptr, ptr %9, align 8, !tbaa !5
  %592 = getelementptr inbounds %"class.vl::regex_internal::RichResult", ptr %591, i32 0, i32 2
  %593 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %592)
          to label %594 unwind label %78

594:                                              ; preds = %590
  store i1 false, ptr %5, align 1
  store i32 1, ptr %18, align 4
  br label %595

595:                                              ; preds = %594, %589
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  %596 = load i1, ptr %5, align 1
  ret i1 %596

597:                                              ; preds = %576, %536, %78
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #6
  br label %598

598:                                              ; preds = %597, %74
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %10) #6
  br label %599

599:                                              ; preds = %598
  %600 = load ptr, ptr %12, align 8
  %601 = load i32, ptr %13, align 4
  %602 = insertvalue { ptr, i32 } poison, ptr %600, 0
  %603 = insertvalue { ptr, i32 } %602, i32 %601, 1
  resume { ptr, i32 } %603

604:                                              ; preds = %533
  unreachable
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal3PopINS0_14ExtensionSaverES2_EET_RNS_11collections4ListIS3_T0_EERlS9_(ptr dead_on_unwind noalias writable sret(%"class.vl::regex_internal::ExtensionSaver") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal12PushNonSaverINS0_10StateSaverES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal11PopNonSaverINS0_10StateSaverES2_EET_RNS_11collections4ListIS3_T0_EERl(ptr dead_on_unwind noalias writable sret(%"class.vl::regex_internal::StateSaver") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #4 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 24}
!10 = !{!"_ZTSN2vl14regex_internal10StateSaverE", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !12, i64 56}
!11 = !{!"long", !7, i64 0}
!12 = !{!"_ZTSN2vl14regex_internal10StateSaver14StateStoreTypeE", !7, i64 0}
!13 = !{!14, !6, i64 144}
!14 = !{!"_ZTSN2vl14regex_internal9AutomatonE", !15, i64 0, !21, i64 48, !25, i64 96, !6, i64 144}
!15 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_14regex_internal5StateEEEPS4_EE", !16, i64 0}
!16 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_14regex_internal5StateEEEPS4_EE", !17, i64 0, !11, i64 24, !20, i64 32}
!17 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_14regex_internal5StateEEEEE", !18, i64 0, !6, i64 8, !11, i64 16}
!18 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_14regex_internal5StateEEELb0EEE", !19, i64 0}
!19 = !{!"_ZTSN2vl6ObjectE"}
!20 = !{!"bool", !7, i64 0}
!21 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_14regex_internal10TransitionEEEPS4_EE", !22, i64 0}
!22 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_14regex_internal10TransitionEEEPS4_EE", !23, i64 0, !11, i64 24, !20, i64 32}
!23 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_14regex_internal10TransitionEEEEE", !24, i64 0, !6, i64 8, !11, i64 16}
!24 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_14regex_internal10TransitionEEELb0EEE", !19, i64 0}
!25 = !{!"_ZTSN2vl11collections4ListINS_12ObjectStringIwEES3_EE", !26, i64 0}
!26 = !{!"_ZTSN2vl11collections8ListBaseINS_12ObjectStringIwEES3_EE", !27, i64 0, !11, i64 24, !20, i64 32}
!27 = !{!"_ZTSN2vl11collections9ArrayBaseINS_12ObjectStringIwEEEE", !28, i64 0, !6, i64 8, !11, i64 16}
!28 = !{!"_ZTSN2vl11collections9ListStoreINS_12ObjectStringIwEELb0EEE", !19, i64 0}
!29 = !{!10, !6, i64 8}
!30 = !{!10, !11, i64 40}
!31 = !{!10, !11, i64 48}
!32 = !{!10, !11, i64 16}
!33 = !{!10, !6, i64 0}
!34 = !{!10, !11, i64 32}
!35 = !{!10, !12, i64 56}
!36 = !{!37, !20, i64 96}
!37 = !{!"_ZTSN2vl14regex_internal5StateE", !38, i64 0, !38, i64 48, !20, i64 96, !6, i64 104}
!38 = !{!"_ZTSN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EE", !39, i64 0}
!39 = !{!"_ZTSN2vl11collections8ListBaseIPNS_14regex_internal10TransitionES4_EE", !40, i64 0, !11, i64 24, !20, i64 32}
!40 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEEE", !41, i64 0, !6, i64 8, !11, i64 16}
!41 = !{!"_ZTSN2vl11collections9ListStoreIPNS_14regex_internal10TransitionELb1EEE", !19, i64 0}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!20, !20, i64 0}
!45 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !46, i64 24, i64 8, !46, i64 32, i64 8, !46, i64 40, i64 8, !46, i64 48, i64 8, !46, i64 56, i64 4, !47}
!46 = !{!11, !11, i64 0}
!47 = !{!12, !12, i64 0}
!48 = !{!49, !52, i64 24}
!49 = !{!"_ZTSN2vl14regex_internal10TransitionE", !6, i64 0, !6, i64 8, !50, i64 16, !52, i64 24, !11, i64 32, !11, i64 40}
!50 = !{!"_ZTSN2vl14regex_internal9CharRangeE", !51, i64 0, !51, i64 4}
!51 = !{!"wchar_t", !7, i64 0}
!52 = !{!"_ZTSN2vl14regex_internal10Transition4TypeE", !7, i64 0}
!53 = !{i64 0, i64 4, !54, i64 4, i64 4, !54}
!54 = !{!51, !51, i64 0}
!55 = !{!50, !51, i64 0}
!56 = !{!50, !51, i64 4}
!57 = !{!58, !11, i64 16}
!58 = !{!"_ZTSN2vl14regex_internal14ExtensionSaverE", !59, i64 0, !11, i64 16, !6, i64 24, !6, i64 32}
!59 = !{!"_ZTSN2vl14regex_internal9SaverBaseE", !20, i64 0, !11, i64 8}
!60 = !{!58, !6, i64 32}
!61 = !{!58, !6, i64 24}
!62 = !{!49, !11, i64 32}
!63 = !{!64, !11, i64 0}
!64 = !{!"_ZTSN2vl14regex_internal13CaptureRecordE", !11, i64 0, !11, i64 8, !11, i64 16}
!65 = !{!64, !11, i64 8}
!66 = !{!64, !11, i64 16}
!67 = !{!49, !11, i64 40}
!68 = distinct !{!68, !69}
!69 = !{!"llvm.loop.mustprogress"}
!70 = distinct !{!70, !69}
!71 = distinct !{!71, !69}
!72 = !{!37, !6, i64 104}
!73 = !{!74, !20, i64 0}
!74 = !{!"_ZTSN2vl14regex_internal15RichInterpretor8UserDataE", !20, i64 0}
!75 = !{!49, !6, i64 8}
!76 = distinct !{!76, !69}
!77 = distinct !{!77, !69}
!78 = distinct !{!78, !69}
!79 = !{!80, !11, i64 0}
!80 = !{!"_ZTSN2vl14regex_internal10RichResultE", !11, i64 0, !11, i64 8, !81, i64 16}
!81 = !{!"_ZTSN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EE", !82, i64 0}
!82 = !{!"_ZTSN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_EE", !83, i64 0, !11, i64 24, !20, i64 32}
!83 = !{!"_ZTSN2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEEE", !84, i64 0, !6, i64 8, !11, i64 16}
!84 = !{!"_ZTSN2vl11collections9ListStoreINS_14regex_internal13CaptureRecordELb1EEE", !19, i64 0}
!85 = !{!80, !11, i64 8}
!86 = distinct !{!86, !69}


; 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::collections::List.1099" = type { %"class.vl::collections::ListBase.base.1105", %"class.vl::collections::IEnumerable.1103" }
%"class.vl::collections::ListBase.base.1105" = type <{ %"class.vl::collections::ArrayBase.base.1104", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1104" = type { %"class.vl::collections::ListStore.1102", ptr, i64 }
%"class.vl::collections::ListStore.1102" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::collections::IEnumerable.1103" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List.1107" = type { %"class.vl::collections::ListBase.base.1113", %"class.vl::collections::IEnumerable.1111" }
%"class.vl::collections::ListBase.base.1113" = type <{ %"class.vl::collections::ArrayBase.base.1112", i64, i8 }>
%"class.vl::collections::ArrayBase.base.1112" = type { %"class.vl::collections::ListStore.1110", ptr, i64 }
%"class.vl::collections::ListStore.1110" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.1111" = type { %"class.vl::Interface" }
%"class.vl::regex_internal::StateSaver" = type { ptr, ptr, i64, i64, i64, i64, i64, i32 }
%"class.vl::regex_internal::ExtensionSaver" = type { %"class.vl::regex_internal::SaverBase", i64, ptr, ptr }
%"class.vl::regex_internal::SaverBase" = type { i8, i64 }
%"class.vl::regex_internal::CaptureRecord" = type { i64, i64, i64 }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare i32 @wcsncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl14regex_internal15RichInterpretor9MatchHeadEPKwS3_RNS0_10RichResultE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %3) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.vl::collections::List.1099", align 8
  %6 = alloca %"class.vl::collections::List.1107", align 8
  %7 = alloca %"class.vl::regex_internal::StateSaver", align 8
  %8 = alloca %"class.vl::regex_internal::StateSaver", align 8
  %9 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %10 = alloca %"class.vl::regex_internal::CaptureRecord", align 8
  %11 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %12 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %13 = alloca %"class.vl::regex_internal::ExtensionSaver", align 8
  %14 = alloca %"class.vl::regex_internal::StateSaver", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #6
  invoke void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6)
          to label %15 unwind label %53

15:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #6
  %16 = getelementptr inbounds i8, ptr %7, i64 24
  store i64 0, ptr %16, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = call noundef ptr @_ZNK2vl3PtrINS_14regex_internal9AutomatonEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
  %19 = getelementptr inbounds i8, ptr %18, i64 144
  %20 = load ptr, ptr %19, align 8, !tbaa !12
  %21 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %20, ptr %21, align 8, !tbaa !28
  %22 = getelementptr inbounds i8, ptr %7, i64 40
  store i64 -1, ptr %22, align 8, !tbaa !29
  %23 = getelementptr inbounds i8, ptr %7, i64 48
  store i64 0, ptr %23, align 8, !tbaa !30
  %24 = getelementptr inbounds i8, ptr %7, i64 16
  store i64 0, ptr %24, align 8, !tbaa !31
  store ptr %1, ptr %7, align 8, !tbaa !32
  %25 = getelementptr inbounds i8, ptr %7, i64 32
  store i64 0, ptr %25, align 8, !tbaa !33
  %26 = getelementptr inbounds i8, ptr %7, i64 56
  store i32 2, ptr %26, align 8, !tbaa !34
  %27 = getelementptr inbounds i8, ptr %20, i64 96
  %28 = load i8, ptr %27, align 8, !tbaa !35, !range !41, !noundef !42
  %29 = trunc nuw i8 %28 to i1
  br i1 %29, label %.loopexit179, label %.lr.ph230

.lr.ph230:                                        ; preds = %15
  %30 = getelementptr inbounds i8, ptr %13, i64 24
  %31 = getelementptr inbounds i8, ptr %8, i64 56
  %32 = getelementptr inbounds i8, ptr %8, i64 32
  %33 = getelementptr inbounds i8, ptr %3, i64 16
  %34 = getelementptr inbounds i8, ptr %13, i64 16
  %35 = ptrtoint ptr %2 to i64
  %36 = getelementptr inbounds i8, ptr %12, i64 16
  %37 = getelementptr inbounds i8, ptr %12, i64 32
  %38 = getelementptr inbounds i8, ptr %12, i64 24
  %39 = getelementptr inbounds i8, ptr %11, i64 16
  %40 = getelementptr inbounds i8, ptr %11, i64 32
  %41 = getelementptr inbounds i8, ptr %11, i64 24
  %42 = getelementptr inbounds i8, ptr %9, i64 16
  %43 = getelementptr inbounds i8, ptr %9, i64 32
  %44 = getelementptr inbounds i8, ptr %9, i64 24
  %45 = getelementptr inbounds i8, ptr %10, i64 8
  %46 = getelementptr inbounds i8, ptr %10, i64 16
  %47 = getelementptr inbounds i8, ptr %8, i64 16
  br label %48

48:                                               ; preds = %.lr.ph230, %.loopexit177
  %49 = phi ptr [ %20, %.lr.ph230 ], [ %238, %.loopexit177 ]
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %8) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 8 dereferenceable(64) %7, i64 64, i1 false), !tbaa.struct !43
  %50 = load i64, ptr %24, align 8, !tbaa !31
  %51 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %49)
  %52 = icmp slt i64 %50, %51
  br i1 %52, label %.lr.ph227, label %.loopexit178.thread

53:                                               ; preds = %4
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %268

55:                                               ; preds = %264
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %267

.lr.ph227:                                        ; preds = %48, %.critedge140
  %.095226 = phi i8 [ %.5100161, %.critedge140 ], [ 0, %48 ]
  %.0102225 = phi i64 [ %199, %.critedge140 ], [ %50, %48 ]
  %57 = load ptr, ptr %21, align 8, !tbaa !28
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %57, i64 noundef %.0102225)
          to label %59 unwind label %67

59:                                               ; preds = %.lr.ph227
  %60 = load ptr, ptr %58, align 8, !tbaa !44
  %61 = getelementptr inbounds i8, ptr %60, i64 24
  %62 = load i32, ptr %61, align 8, !tbaa !47
  switch i32 %62, label %.loopexit173 [
    i32 0, label %69
    i32 2, label %76
    i32 3, label %80
    i32 4, label %.thread156
    i32 5, label %85
    i32 6, label %.preheader
    i32 7, label %129
    i32 8, label %134
    i32 10, label %139
  ]

.preheader:                                       ; preds = %59
  %63 = load i64, ptr %16, align 8, !tbaa !5
  %64 = icmp sgt i64 %63, 0
  br i1 %64, label %.lr.ph, label %.loopexit173

.lr.ph:                                           ; preds = %.preheader
  %65 = getelementptr inbounds i8, ptr %60, i64 32
  %66 = getelementptr inbounds i8, ptr %60, i64 40
  br label %101

67:                                               ; preds = %.lr.ph227
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %242

69:                                               ; preds = %59
  %70 = getelementptr inbounds i8, ptr %60, i64 16
  %.sroa.0.0.copyload = load i32, ptr %70, align 8, !tbaa !52
  %71 = load ptr, ptr %7, align 8, !tbaa !32
  %72 = load i32, ptr %71, align 4, !tbaa !52
  %.not127 = icmp sgt i32 %.sroa.0.0.copyload, %72
  br i1 %.not127, label %.critedge140, label %73

73:                                               ; preds = %69
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %60, i64 20
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !52
  %.not172 = icmp slt i32 %.sroa.4.0.copyload, %72
  br i1 %.not172, label %.critedge140, label %74

74:                                               ; preds = %73
  %75 = getelementptr inbounds i8, ptr %71, i64 4
  store ptr %75, ptr %7, align 8, !tbaa !32
  br label %.thread156

76:                                               ; preds = %59
  %77 = load ptr, ptr %7, align 8, !tbaa !32
  %78 = icmp eq ptr %77, %2
  %79 = zext i1 %78 to i8
  br label %.loopexit173

80:                                               ; preds = %59
  %81 = load ptr, ptr %7, align 8, !tbaa !32
  %82 = load i32, ptr %81, align 4, !tbaa !52
  %83 = icmp eq i32 %82, 0
  %84 = zext i1 %83 to i8
  br label %.loopexit173

85:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #6
  %86 = load i64, ptr %16, align 8, !tbaa !5
  store i64 %86, ptr %42, align 8, !tbaa !53
  %87 = load ptr, ptr %7, align 8, !tbaa !32
  store ptr %87, ptr %43, align 8, !tbaa !56
  store ptr %60, ptr %44, align 8, !tbaa !57
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %88 unwind label %96

88:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  %89 = getelementptr inbounds i8, ptr %60, i64 32
  %90 = load i64, ptr %89, align 8, !tbaa !58
  store i64 %90, ptr %10, align 8, !tbaa !59
  %91 = load ptr, ptr %7, align 8, !tbaa !32
  %92 = ptrtoint ptr %91 to i64
  %93 = sub i64 %92, %35
  %94 = ashr exact i64 %93, 2
  store i64 %94, ptr %45, align 8, !tbaa !61
  store i64 -1, ptr %46, align 8, !tbaa !62
  invoke void @_ZN2vl14regex_internal12PushNonSaverINS0_13CaptureRecordES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33) %33, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %95 unwind label %98

95:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  br label %.thread156

96:                                               ; preds = %85
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %88
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %100

100:                                              ; preds = %98, %96
  %.pn125 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  br label %242

101:                                              ; preds = %.lr.ph, %.thread144
  %.0114223 = phi i64 [ 0, %.lr.ph ], [ %126, %.thread144 ]
  %.0115222 = phi i64 [ 0, %.lr.ph ], [ %.2117148, %.thread144 ]
  %102 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %33, i64 noundef %.0114223)
          to label %103 unwind label %121

103:                                              ; preds = %101
  %104 = load i64, ptr %102, align 8, !tbaa !59
  %105 = load i64, ptr %65, align 8, !tbaa !58
  %106 = icmp eq i64 %104, %105
  br i1 %106, label %107, label %.thread144

107:                                              ; preds = %103
  %108 = getelementptr inbounds i8, ptr %102, i64 16
  %109 = load i64, ptr %108, align 8, !tbaa !62
  %.not123 = icmp eq i64 %109, -1
  %.pre = load i64, ptr %66, align 8, !tbaa !63
  br i1 %.not123, label %123, label %110

110:                                              ; preds = %107
  %111 = icmp eq i64 %.pre, -1
  %112 = icmp eq i64 %.pre, %.0115222
  %or.cond = select i1 %111, i1 true, i1 %112
  br i1 %or.cond, label %113, label %123

113:                                              ; preds = %110
  %114 = getelementptr inbounds i8, ptr %102, i64 8
  %115 = load i64, ptr %114, align 8, !tbaa !61
  %116 = getelementptr inbounds i32, ptr %2, i64 %115
  %117 = load ptr, ptr %7, align 8, !tbaa !32
  %118 = call i32 @wcsncmp(ptr noundef %116, ptr noundef %117, i64 noundef %109) #7
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %.thread150, label %123

.thread150:                                       ; preds = %113
  %120 = getelementptr inbounds i32, ptr %117, i64 %109
  store ptr %120, ptr %7, align 8, !tbaa !32
  br label %.thread156

121:                                              ; preds = %101
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %242

123:                                              ; preds = %107, %113, %110
  %.not124 = icmp eq i64 %.pre, -1
  %124 = icmp ne i64 %.0115222, %.pre
  %or.cond138.not = select i1 %.not124, i1 true, i1 %124
  %125 = zext i1 %or.cond138.not to i64
  %spec.select = add nsw i64 %.0115222, %125
  br i1 %or.cond138.not, label %.thread144, label %.loopexit173

.thread144:                                       ; preds = %103, %123
  %.2117148 = phi i64 [ %spec.select, %123 ], [ %.0115222, %103 ]
  %126 = add nuw nsw i64 %.0114223, 1
  %127 = load i64, ptr %16, align 8, !tbaa !5
  %128 = icmp slt i64 %126, %127
  br i1 %128, label %101, label %.loopexit173, !llvm.loop !64

129:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #6
  store i64 -1, ptr %39, align 8, !tbaa !53
  %130 = load ptr, ptr %7, align 8, !tbaa !32
  store ptr %130, ptr %40, align 8, !tbaa !56
  store ptr %60, ptr %41, align 8, !tbaa !57
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %131 unwind label %132

131:                                              ; preds = %129
  store i32 0, ptr %31, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #6
  br label %.thread156

132:                                              ; preds = %129
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #6
  br label %242

134:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #6
  store i64 -1, ptr %36, align 8, !tbaa !53
  %135 = load ptr, ptr %7, align 8, !tbaa !32
  store ptr %135, ptr %37, align 8, !tbaa !56
  store ptr %60, ptr %38, align 8, !tbaa !57
  invoke void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(40) %12)
          to label %136 unwind label %137

136:                                              ; preds = %134
  store i32 1, ptr %31, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #6
  br label %.thread156

137:                                              ; preds = %134
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #6
  br label %242

139:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #6
  invoke void @_ZN2vl14regex_internal3PopINS0_14ExtensionSaverES2_EET_RNS_11collections4ListIS3_T0_EERlS9_(ptr dead_on_unwind nonnull writable sret(%"class.vl::regex_internal::ExtensionSaver") align 8 %13, ptr noundef nonnull align 8 dereferenceable(33) %6, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %140 unwind label %144

140:                                              ; preds = %139
  %141 = load ptr, ptr %30, align 8, !tbaa !57
  %142 = getelementptr inbounds i8, ptr %141, i64 24
  %143 = load i32, ptr %142, align 8, !tbaa !47
  switch i32 %143, label %.loopexit174 [
    i32 5, label %146
    i32 7, label %160
    i32 8, label %172
  ]

144:                                              ; preds = %139
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %185

146:                                              ; preds = %140
  %147 = load i64, ptr %34, align 8, !tbaa !53
  %148 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %33, i64 noundef %147)
          to label %149 unwind label %158

149:                                              ; preds = %146
  %150 = load ptr, ptr %7, align 8, !tbaa !32
  %151 = ptrtoint ptr %150 to i64
  %152 = sub i64 %151, %35
  %153 = ashr exact i64 %152, 2
  %154 = getelementptr inbounds i8, ptr %148, i64 8
  %155 = load i64, ptr %154, align 8, !tbaa !61
  %156 = sub nsw i64 %153, %155
  %157 = getelementptr inbounds i8, ptr %148, i64 16
  store i64 %156, ptr %157, align 8, !tbaa !62
  br label %.loopexit174

158:                                              ; preds = %146
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %185

160:                                              ; preds = %140
  %161 = load i64, ptr %25, align 8, !tbaa !33
  br label %.critedge

.critedge:                                        ; preds = %165, %160
  %.0101.in = phi i64 [ %161, %160 ], [ %.0101, %165 ]
  %.0101 = add nsw i64 %.0101.in, -1
  %162 = icmp sgt i64 %.0101.in, 0
  br i1 %162, label %163, label %.loopexit174

163:                                              ; preds = %.critedge
  %164 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %5, i64 noundef %.0101)
          to label %165 unwind label %170

165:                                              ; preds = %163
  %166 = getelementptr inbounds i8, ptr %164, i64 56
  %167 = load i32, ptr %166, align 8, !tbaa !34
  %.not121 = icmp eq i32 %167, 0
  br i1 %.not121, label %168, label %.critedge, !llvm.loop !66

168:                                              ; preds = %165
  %169 = load ptr, ptr %164, align 8, !tbaa !32
  store ptr %169, ptr %8, align 8, !tbaa !32
  store i64 %.0101, ptr %32, align 8, !tbaa !33
  store ptr %169, ptr %7, align 8, !tbaa !32
  store i64 %.0101, ptr %25, align 8, !tbaa !33
  br label %.loopexit174

170:                                              ; preds = %163
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %185

172:                                              ; preds = %140
  %173 = load i64, ptr %25, align 8, !tbaa !33
  br label %174

174:                                              ; preds = %178, %172
  %.094.in = phi i64 [ %173, %172 ], [ %.094, %178 ]
  %.094 = add nsw i64 %.094.in, -1
  %175 = icmp sgt i64 %.094.in, 0
  br i1 %175, label %176, label %.loopexit174

176:                                              ; preds = %174
  %177 = invoke noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %5, i64 noundef %.094)
          to label %178 unwind label %183

178:                                              ; preds = %176
  %179 = getelementptr inbounds i8, ptr %177, i64 56
  %180 = load i32, ptr %179, align 8, !tbaa !34
  %.not = icmp eq i32 %180, 1
  br i1 %.not, label %.thread154, label %174, !llvm.loop !67

.thread154:                                       ; preds = %178
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %8, ptr noundef nonnull align 8 dereferenceable(64) %177, i64 64, i1 false), !tbaa.struct !43
  store i32 2, ptr %31, align 8, !tbaa !34
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(64) %177, i64 64, i1 false), !tbaa.struct !43
  store i32 2, ptr %26, align 8, !tbaa !34
  %181 = load i64, ptr %24, align 8, !tbaa !31
  %182 = add nsw i64 %181, -1
  br label %.loopexit174

183:                                              ; preds = %176
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %185

.loopexit174:                                     ; preds = %174, %.critedge, %.thread154, %168, %140, %149
  %.4106 = phi i64 [ %.0102225, %140 ], [ %.0102225, %149 ], [ %.0102225, %168 ], [ %182, %.thread154 ], [ %.0102225, %.critedge ], [ %.0102225, %174 ]
  %.499 = phi i8 [ %.095226, %140 ], [ 1, %149 ], [ 1, %168 ], [ %.095226, %.thread154 ], [ 1, %.critedge ], [ %.095226, %174 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %.loopexit173

185:                                              ; preds = %183, %170, %158, %144
  %.pn = phi { ptr, i32 } [ %184, %183 ], [ %171, %170 ], [ %159, %158 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #6
  br label %242

.loopexit173:                                     ; preds = %.thread144, %123, %.preheader, %59, %.loopexit174, %80, %76
  %.5107 = phi i64 [ %.0102225, %59 ], [ %.4106, %.loopexit174 ], [ %.0102225, %80 ], [ %.0102225, %76 ], [ %.0102225, %.preheader ], [ %.0102225, %123 ], [ %.0102225, %.thread144 ]
  %.5100 = phi i8 [ %.095226, %59 ], [ %.499, %.loopexit174 ], [ %84, %80 ], [ %79, %76 ], [ %.095226, %.preheader ], [ %.095226, %123 ], [ %.095226, %.thread144 ]
  %186 = trunc nuw i8 %.5100 to i1
  br i1 %186, label %.thread156, label %.critedge140

.thread156:                                       ; preds = %59, %.loopexit173, %.thread150, %74, %95, %131, %136
  %.5100162 = phi i8 [ 1, %.thread150 ], [ 1, %74 ], [ 1, %95 ], [ 1, %131 ], [ 1, %136 ], [ 1, %59 ], [ %.5100, %.loopexit173 ]
  %.5107159 = phi i64 [ %.0102225, %.thread150 ], [ %.0102225, %74 ], [ %.0102225, %95 ], [ %.0102225, %131 ], [ %.0102225, %136 ], [ %.0102225, %59 ], [ %.5107, %.loopexit173 ]
  %187 = load ptr, ptr %21, align 8, !tbaa !28
  %188 = getelementptr inbounds i8, ptr %187, i64 104
  %189 = load ptr, ptr %188, align 8, !tbaa !68
  %190 = load i8, ptr %189, align 1, !tbaa !69, !range !41, !noundef !42
  %191 = trunc nuw i8 %190 to i1
  br i1 %191, label %192, label %196

192:                                              ; preds = %.thread156
  %193 = add nsw i64 %.5107159, 1
  store i64 %193, ptr %47, align 8, !tbaa !31
  invoke void @_ZN2vl14regex_internal12PushNonSaverINS0_10StateSaverES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(64) %8)
          to label %196 unwind label %194

194:                                              ; preds = %192
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %242

196:                                              ; preds = %192, %.thread156
  %197 = getelementptr inbounds i8, ptr %60, i64 8
  %198 = load ptr, ptr %197, align 8, !tbaa !71
  store ptr %198, ptr %21, align 8, !tbaa !28
  store i64 0, ptr %24, align 8, !tbaa !31
  br label %.loopexit178

.critedge140:                                     ; preds = %69, %73, %.loopexit173
  %.5100161 = phi i8 [ %.5100, %.loopexit173 ], [ 0, %73 ], [ 0, %69 ]
  %.5107160 = phi i64 [ %.5107, %.loopexit173 ], [ %.0102225, %73 ], [ %.0102225, %69 ]
  %199 = add nsw i64 %.5107160, 1
  %200 = load ptr, ptr %21, align 8, !tbaa !28
  %201 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %200)
  %202 = icmp slt i64 %199, %201
  br i1 %202, label %.lr.ph227, label %.loopexit178, !llvm.loop !72

.loopexit178:                                     ; preds = %.critedge140, %196
  %.6 = phi i8 [ %.5100162, %196 ], [ %.5100161, %.critedge140 ]
  %203 = trunc nuw i8 %.6 to i1
  br i1 %203, label %.loopexit177, label %.loopexit178.thread

.loopexit178.thread:                              ; preds = %48, %.loopexit178
  %204 = load i64, ptr %25, align 8, !tbaa !33
  %.not130 = icmp eq i64 %204, 0
  br i1 %.not130, label %.thread168, label %205

.thread168:                                       ; preds = %.loopexit178.thread
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  %.pre264 = load ptr, ptr %21, align 8, !tbaa !28
  %.phi.trans.insert = getelementptr inbounds i8, ptr %.pre264, i64 96
  %.pre265 = load i8, ptr %.phi.trans.insert, align 8, !tbaa !35, !range !41
  br label %.loopexit179

205:                                              ; preds = %.loopexit178.thread
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #6
  invoke void @_ZN2vl14regex_internal11PopNonSaverINS0_10StateSaverES2_EET_RNS_11collections4ListIS3_T0_EERl(ptr dead_on_unwind nonnull writable sret(%"class.vl::regex_internal::StateSaver") align 8 %14, ptr noundef nonnull align 8 dereferenceable(33) %5, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %206 unwind label %224

206:                                              ; preds = %205
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %7, ptr noundef nonnull align 8 dereferenceable(64) %14, i64 64, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #6
  %207 = load ptr, ptr %21, align 8, !tbaa !28
  %208 = load i64, ptr %24, align 8, !tbaa !31
  %209 = add nsw i64 %208, -1
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %207, i64 noundef %209)
          to label %211 unwind label %226

211:                                              ; preds = %206
  %212 = load ptr, ptr %210, align 8, !tbaa !44
  %213 = getelementptr inbounds i8, ptr %212, i64 24
  %214 = load i32, ptr %213, align 8, !tbaa !47
  %215 = icmp eq i32 %214, 8
  br i1 %215, label %.preheader176, label %.loopexit177

.preheader176:                                    ; preds = %211
  %216 = load ptr, ptr %21, align 8, !tbaa !28
  %217 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %216)
  %218 = icmp sgt i64 %217, 0
  br i1 %218, label %.lr.ph229, label %.loopexit177

219:                                              ; preds = %.critedge142
  %220 = add nuw nsw i64 %.086228, 1
  %221 = load ptr, ptr %21, align 8, !tbaa !28
  %222 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %221)
  %223 = icmp slt i64 %220, %222
  br i1 %223, label %.lr.ph229, label %.loopexit177, !llvm.loop !73

224:                                              ; preds = %205
  %225 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #6
  br label %242

226:                                              ; preds = %206
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %242

.lr.ph229:                                        ; preds = %.preheader176, %219
  %.086228 = phi i64 [ %220, %219 ], [ 0, %.preheader176 ]
  %228 = load ptr, ptr %21, align 8, !tbaa !28
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33) %228, i64 noundef %.086228)
          to label %.critedge142 unwind label %236

.critedge142:                                     ; preds = %.lr.ph229
  %230 = load ptr, ptr %229, align 8, !tbaa !44
  %231 = getelementptr inbounds i8, ptr %230, i64 24
  %232 = load i32, ptr %231, align 8, !tbaa !47
  %.not133 = icmp eq i32 %232, 9
  br i1 %.not133, label %233, label %219

233:                                              ; preds = %.critedge142
  %234 = getelementptr inbounds i8, ptr %230, i64 8
  %235 = load ptr, ptr %234, align 8, !tbaa !71
  store ptr %235, ptr %21, align 8, !tbaa !28
  store i64 0, ptr %24, align 8, !tbaa !31
  store i32 2, ptr %26, align 8, !tbaa !34
  br label %.loopexit177

236:                                              ; preds = %.lr.ph229
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %242

.loopexit177:                                     ; preds = %219, %.preheader176, %233, %.loopexit178, %211
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  %238 = load ptr, ptr %21, align 8, !tbaa !28
  %239 = getelementptr inbounds i8, ptr %238, i64 96
  %240 = load i8, ptr %239, align 8, !tbaa !35, !range !41, !noundef !42
  %241 = trunc nuw i8 %240 to i1
  br i1 %241, label %.loopexit179, label %48

242:                                              ; preds = %67, %100, %121, %132, %137, %185, %194, %236, %226, %224
  %.pn131 = phi { ptr, i32 } [ %237, %236 ], [ %227, %226 ], [ %225, %224 ], [ %195, %194 ], [ %.pn, %185 ], [ %138, %137 ], [ %133, %132 ], [ %122, %121 ], [ %.pn125, %100 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %8) #6
  br label %267

.loopexit179:                                     ; preds = %.loopexit177, %15, %.thread168
  %243 = phi i8 [ %28, %15 ], [ %.pre265, %.thread168 ], [ %240, %.loopexit177 ]
  %244 = trunc nuw i8 %243 to i1
  br i1 %244, label %245, label %264

245:                                              ; preds = %.loopexit179
  %246 = ptrtoint ptr %1 to i64
  %247 = ptrtoint ptr %2 to i64
  %248 = sub i64 %246, %247
  %249 = ashr exact i64 %248, 2
  store i64 %249, ptr %3, align 8, !tbaa !74
  %250 = load ptr, ptr %7, align 8, !tbaa !32
  %251 = ptrtoint ptr %250 to i64
  %252 = sub i64 %251, %247
  %253 = ashr exact i64 %252, 2
  %254 = sub nsw i64 %253, %249
  %255 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %254, ptr %255, align 8, !tbaa !80
  %256 = getelementptr inbounds i8, ptr %3, i64 16
  %257 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %256)
  br label %258

258:                                              ; preds = %262, %245
  %.0.in = phi i64 [ %257, %245 ], [ %.0, %262 ]
  %259 = load i64, ptr %16, align 8, !tbaa !5
  %.not134.not = icmp sgt i64 %.0.in, %259
  br i1 %.not134.not, label %262, label %.loopexit

260:                                              ; preds = %262
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %267

262:                                              ; preds = %258
  %.0 = add nsw i64 %.0.in, -1
  %263 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33) %256, i64 noundef %.0)
          to label %258 unwind label %260, !llvm.loop !81

264:                                              ; preds = %.loopexit179
  %265 = getelementptr inbounds i8, ptr %3, i64 16
  %266 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E5ClearEv(ptr noundef nonnull align 8 dereferenceable(33) %265)
          to label %.loopexit unwind label %55

.loopexit:                                        ; preds = %258, %264
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  ret i1 %244

267:                                              ; preds = %260, %242, %55
  %.pn135 = phi { ptr, i32 } [ %261, %260 ], [ %56, %55 ], [ %.pn131, %242 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal14ExtensionSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %6) #6
  br label %268

268:                                              ; preds = %267, %53
  %.pn135.pn = phi { ptr, i32 } [ %.pn135, %267 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #6
  call void @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_ED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %5) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn135.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal4PushINS0_14ExtensionSaverES2_EEvRNS_11collections4ListIT_T0_EERlS9_RKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal3PopINS0_14ExtensionSaverES2_EET_RNS_11collections4ListIS3_T0_EERlS9_(ptr dead_on_unwind noalias writable sret(%"class.vl::regex_internal::ExtensionSaver") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZN2vl11collections4ListINS_14regex_internal10StateSaverES3_EixEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal12PushNonSaverINS0_10StateSaverES2_EEvRNS_11collections4ListIT_T0_EERlRKS5_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl14regex_internal11PopNonSaverINS0_10StateSaverES2_EET_RNS_11collections4ListIS3_T0_EERl(ptr dead_on_unwind noalias writable sret(%"class.vl::regex_internal::StateSaver") align 8, ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 24}
!6 = !{!"_ZTSN2vl14regex_internal10StateSaverE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN2vl14regex_internal10StateSaver14StateStoreTypeE", !8, i64 0}
!12 = !{!13, !7, i64 144}
!13 = !{!"_ZTSN2vl14regex_internal9AutomatonE", !14, i64 0, !20, i64 48, !24, i64 96, !7, i64 144}
!14 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_14regex_internal5StateEEEPS4_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_14regex_internal5StateEEEPS4_EE", !16, i64 0, !10, i64 24, !19, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_14regex_internal5StateEEEEE", !17, i64 0, !7, i64 8, !10, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_14regex_internal5StateEEELb0EEE", !18, i64 0}
!18 = !{!"_ZTSN2vl6ObjectE"}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_14regex_internal10TransitionEEEPS4_EE", !21, i64 0}
!21 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_14regex_internal10TransitionEEEPS4_EE", !22, i64 0, !10, i64 24, !19, i64 32}
!22 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_14regex_internal10TransitionEEEEE", !23, i64 0, !7, i64 8, !10, i64 16}
!23 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_14regex_internal10TransitionEEELb0EEE", !18, i64 0}
!24 = !{!"_ZTSN2vl11collections4ListINS_12ObjectStringIwEES3_EE", !25, i64 0}
!25 = !{!"_ZTSN2vl11collections8ListBaseINS_12ObjectStringIwEES3_EE", !26, i64 0, !10, i64 24, !19, i64 32}
!26 = !{!"_ZTSN2vl11collections9ArrayBaseINS_12ObjectStringIwEEEE", !27, i64 0, !7, i64 8, !10, i64 16}
!27 = !{!"_ZTSN2vl11collections9ListStoreINS_12ObjectStringIwEELb0EEE", !18, i64 0}
!28 = !{!6, !7, i64 8}
!29 = !{!6, !10, i64 40}
!30 = !{!6, !10, i64 48}
!31 = !{!6, !10, i64 16}
!32 = !{!6, !7, i64 0}
!33 = !{!6, !10, i64 32}
!34 = !{!6, !11, i64 56}
!35 = !{!36, !19, i64 96}
!36 = !{!"_ZTSN2vl14regex_internal5StateE", !37, i64 0, !37, i64 48, !19, i64 96, !7, i64 104}
!37 = !{!"_ZTSN2vl11collections4ListIPNS_14regex_internal10TransitionES4_EE", !38, i64 0}
!38 = !{!"_ZTSN2vl11collections8ListBaseIPNS_14regex_internal10TransitionES4_EE", !39, i64 0, !10, i64 24, !19, i64 32}
!39 = !{!"_ZTSN2vl11collections9ArrayBaseIPNS_14regex_internal10TransitionEEE", !40, i64 0, !7, i64 8, !10, i64 16}
!40 = !{!"_ZTSN2vl11collections9ListStoreIPNS_14regex_internal10TransitionELb1EEE", !18, i64 0}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{i64 0, i64 8, !44, i64 8, i64 8, !44, i64 16, i64 8, !45, i64 24, i64 8, !45, i64 32, i64 8, !45, i64 40, i64 8, !45, i64 48, i64 8, !45, i64 56, i64 4, !46}
!44 = !{!7, !7, i64 0}
!45 = !{!10, !10, i64 0}
!46 = !{!11, !11, i64 0}
!47 = !{!48, !51, i64 24}
!48 = !{!"_ZTSN2vl14regex_internal10TransitionE", !7, i64 0, !7, i64 8, !49, i64 16, !51, i64 24, !10, i64 32, !10, i64 40}
!49 = !{!"_ZTSN2vl14regex_internal9CharRangeE", !50, i64 0, !50, i64 4}
!50 = !{!"wchar_t", !8, i64 0}
!51 = !{!"_ZTSN2vl14regex_internal10Transition4TypeE", !8, i64 0}
!52 = !{!50, !50, i64 0}
!53 = !{!54, !10, i64 16}
!54 = !{!"_ZTSN2vl14regex_internal14ExtensionSaverE", !55, i64 0, !10, i64 16, !7, i64 24, !7, i64 32}
!55 = !{!"_ZTSN2vl14regex_internal9SaverBaseE", !19, i64 0, !10, i64 8}
!56 = !{!54, !7, i64 32}
!57 = !{!54, !7, i64 24}
!58 = !{!48, !10, i64 32}
!59 = !{!60, !10, i64 0}
!60 = !{!"_ZTSN2vl14regex_internal13CaptureRecordE", !10, i64 0, !10, i64 8, !10, i64 16}
!61 = !{!60, !10, i64 8}
!62 = !{!60, !10, i64 16}
!63 = !{!48, !10, i64 40}
!64 = distinct !{!64, !65}
!65 = !{!"llvm.loop.mustprogress"}
!66 = distinct !{!66, !65}
!67 = distinct !{!67, !65}
!68 = !{!36, !7, i64 104}
!69 = !{!70, !19, i64 0}
!70 = !{!"_ZTSN2vl14regex_internal15RichInterpretor8UserDataE", !19, i64 0}
!71 = !{!48, !7, i64 8}
!72 = distinct !{!72, !65}
!73 = distinct !{!73, !65}
!74 = !{!75, !10, i64 0}
!75 = !{!"_ZTSN2vl14regex_internal10RichResultE", !10, i64 0, !10, i64 8, !76, i64 16}
!76 = !{!"_ZTSN2vl11collections4ListINS_14regex_internal13CaptureRecordES3_EE", !77, i64 0}
!77 = !{!"_ZTSN2vl11collections8ListBaseINS_14regex_internal13CaptureRecordES3_EE", !78, i64 0, !10, i64 24, !19, i64 32}
!78 = !{!"_ZTSN2vl11collections9ArrayBaseINS_14regex_internal13CaptureRecordEEE", !79, i64 0, !7, i64 8, !10, i64 16}
!79 = !{!"_ZTSN2vl11collections9ListStoreINS_14regex_internal13CaptureRecordELb1EEE", !18, i64 0}
!80 = !{!75, !10, i64 8}
!81 = distinct !{!81, !65}


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