; LLVM IR from simbody/simbody :: SimTKcommon/src (NiceTypeName)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array" = type { [7 x %"struct.std::pair"] }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_regex", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_regex" = type { i32, %"class.std::locale", %"class.std::shared_ptr" }
%"class.std::locale" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@__dso_handle = external hidden global i8
@_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 = external hidden global %"struct.std::array", align 8
@_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_regex", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_regex", align 8
  %10 = alloca %"class.std::__cxx11::basic_regex", align 8
  %11 = alloca %"class.std::__cxx11::basic_regex", align 8
  %12 = alloca %"class.std::__cxx11::basic_regex", align 8
  %13 = alloca %"class.std::__cxx11::basic_regex", align 8
  %14 = alloca %"class.std::__cxx11::basic_regex", align 8
  %15 = alloca i1, align 1
  %16 = alloca i1, align 1
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %22 = load atomic i8, ptr @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 acquire, align 8
  %23 = icmp eq i8 %22, 0
  br i1 %23, label %24, label %43, !prof !9

24:                                               ; preds = %2
  %25 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #0
  %26 = icmp ne i32 %25, 0
  br i1 %26, label %27, label %43

27:                                               ; preds = %24
  store i1 true, ptr %15, align 1
  store ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str, i32 noundef 16)
          to label %28 unwind label %52

28:                                               ; preds = %27
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %29 unwind label %56

29:                                               ; preds = %28
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 1), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.2, i32 noundef 16)
          to label %30 unwind label %60

30:                                               ; preds = %29
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA12_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 1), ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(12) @.str.3)
          to label %31 unwind label %64

31:                                               ; preds = %30
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 2), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.4, i32 noundef 16)
          to label %32 unwind label %68

32:                                               ; preds = %31
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 2), ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 1 dereferenceable(9) @.str.5)
          to label %33 unwind label %72

33:                                               ; preds = %32
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 3), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef @.str.6, i32 noundef 16)
          to label %34 unwind label %76

34:                                               ; preds = %33
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 3), ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(6) @.str.7)
          to label %35 unwind label %80

35:                                               ; preds = %34
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 4), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef @.str.8, i32 noundef 16)
          to label %36 unwind label %84

36:                                               ; preds = %35
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 4), ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %37 unwind label %88

37:                                               ; preds = %36
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 5), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.9, i32 noundef 16)
          to label %38 unwind label %92

38:                                               ; preds = %37
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 5), ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %39 unwind label %96

39:                                               ; preds = %38
  store ptr getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 6), ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #0
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.10, i32 noundef 16)
          to label %40 unwind label %100

40:                                               ; preds = %39
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (%"struct.std::pair", ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 6), ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(2) @.str.8)
          to label %41 unwind label %104

41:                                               ; preds = %40
  store i1 false, ptr %15, align 1
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #0
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #0
  %42 = call i32 @__cxa_atexit(ptr @_ZNSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EED2Ev, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #0
  br label %43

43:                                               ; preds = %41, %24, %2
  store i1 false, ptr %16, align 1
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %44) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #0
  store ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #0
  %45 = call noundef ptr @_ZNKSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EE5beginEv(ptr noundef nonnull align 8 dereferenceable(448) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #0
  store ptr %45, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #0
  %46 = call noundef ptr @_ZNKSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EE3endEv(ptr noundef nonnull align 8 dereferenceable(448) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #0
  store ptr %46, ptr %19, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %139, %43
  %48 = load ptr, ptr %18, align 8, !tbaa !5
  %49 = load ptr, ptr %19, align 8, !tbaa !5
  %50 = icmp ne ptr %48, %49
  br i1 %50, label %131, label %51

51:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #0
  br label %146

52:                                               ; preds = %27
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  br label %120

56:                                               ; preds = %28
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %7, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %8, align 4
  br label %119

60:                                               ; preds = %29
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  br label %118

64:                                               ; preds = %30
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  br label %117

68:                                               ; preds = %31
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  br label %116

72:                                               ; preds = %32
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  br label %115

76:                                               ; preds = %33
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  br label %114

80:                                               ; preds = %34
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %7, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %8, align 4
  br label %113

84:                                               ; preds = %35
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %112

88:                                               ; preds = %36
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %111

92:                                               ; preds = %37
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  br label %110

96:                                               ; preds = %38
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %109

100:                                              ; preds = %39
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  br label %108

104:                                              ; preds = %40
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #0
  br label %108

108:                                              ; preds = %104, %100
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #0
  br label %109

109:                                              ; preds = %108, %96
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #0
  br label %110

110:                                              ; preds = %109, %92
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #0
  br label %111

111:                                              ; preds = %110, %88
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #0
  br label %112

112:                                              ; preds = %111, %84
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #0
  br label %113

113:                                              ; preds = %112, %80
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #0
  br label %114

114:                                              ; preds = %113, %76
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #0
  br label %115

115:                                              ; preds = %114, %72
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #0
  br label %116

116:                                              ; preds = %115, %68
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #0
  br label %117

117:                                              ; preds = %116, %64
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #0
  br label %118

118:                                              ; preds = %117, %60
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #0
  br label %119

119:                                              ; preds = %118, %56
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #0
  br label %120

120:                                              ; preds = %119, %52
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #0
  %121 = load i1, ptr %15, align 1
  br i1 %121, label %122, label %130

122:                                              ; preds = %120
  %123 = load ptr, ptr %5, align 8
  %124 = icmp eq ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, %123
  br i1 %124, label %129, label %125

125:                                              ; preds = %125, %122
  %126 = phi ptr [ %123, %122 ], [ %127, %125 ]
  %127 = getelementptr inbounds %"struct.std::pair", ptr %126, i64 -1
  call void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %127) #0
  %128 = icmp eq ptr %127, @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11
  br i1 %128, label %129, label %125

129:                                              ; preds = %125, %122
  br label %130

130:                                              ; preds = %129, %120
  call void @__cxa_guard_abort(ptr @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #0
  br label %150

131:                                              ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #0
  %132 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %132, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #0
  %133 = load ptr, ptr %20, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.std::pair", ptr %133, i32 0, i32 0
  %135 = load ptr, ptr %20, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.std::pair", ptr %135, i32 0, i32 1
  invoke void @_ZSt13regex_replaceINSt7__cxx1112regex_traitsIcEEcSt11char_traitsIcESaIcES4_S5_ENS0_12basic_stringIT0_T1_T2_EERKSA_RKNS0_11basic_regexIS7_T_EERKNS6_IS7_T3_T4_EENSt15regex_constants15match_flag_typeE(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %134, ptr noundef nonnull align 8 dereferenceable(32) %136, i32 noundef 0)
          to label %137 unwind label %142

137:                                              ; preds = %131
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %21) #0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #0
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #0
  br label %139

139:                                              ; preds = %137
  %140 = load ptr, ptr %18, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.std::pair", ptr %140, i32 1
  store ptr %141, ptr %18, align 8, !tbaa !5
  br label %47

142:                                              ; preds = %131
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #0
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #0
  br label %150

146:                                              ; preds = %51
  store i1 true, ptr %16, align 1
  %147 = load i1, ptr %16, align 1
  br i1 %147, label %149, label %148

148:                                              ; preds = %146
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #0
  br label %149

149:                                              ; preds = %148, %146
  ret void

150:                                              ; preds = %142, %130
  %151 = load ptr, ptr %7, align 8
  %152 = load i32, ptr %8, align 4
  %153 = insertvalue { ptr, i32 } poison, ptr %151, 0
  %154 = insertvalue { ptr, i32 } %153, i32 %152, 1
  resume { ptr, i32 } %154
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #0

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

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

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

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

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

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

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

!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 = !{!"branch_weights", i32 1, i32 1048575}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array" = type { [7 x %"struct.std::pair"] }
%"struct.std::pair" = type { %"class.std::__cxx11::basic_regex", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_regex" = type { i32, %"class.std::locale", %"class.std::shared_ptr" }
%"class.std::locale" = type { ptr }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@__dso_handle = external hidden global i8
@_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 = external hidden global %"struct.std::array", align 8
@_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 = external hidden global i64, align 8
@.str = external hidden unnamed_addr constant [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(32) %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_regex", align 8
  %4 = alloca %"class.std::__cxx11::basic_regex", align 8
  %5 = alloca %"class.std::__cxx11::basic_regex", align 8
  %6 = alloca %"class.std::__cxx11::basic_regex", align 8
  %7 = alloca %"class.std::__cxx11::basic_regex", align 8
  %8 = alloca %"class.std::__cxx11::basic_regex", align 8
  %9 = alloca %"class.std::__cxx11::basic_regex", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = load atomic i8, ptr @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11 acquire, align 8
  %12 = icmp eq i8 %11, 0
  br i1 %12, label %13, label %31, !prof !5

13:                                               ; preds = %2
  %14 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #6
  %.not = icmp eq i32 %14, 0
  br i1 %.not, label %31, label %15

15:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str, i32 noundef 16)
          to label %16 unwind label %.thread

16:                                               ; preds = %15
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %17 unwind label %.thread58

17:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.2, i32 noundef 16)
          to label %18 unwind label %.thread63

18:                                               ; preds = %17
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA12_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 64), ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 1 dereferenceable(12) @.str.3)
          to label %19 unwind label %37

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @.str.4, i32 noundef 16)
          to label %20 unwind label %39

20:                                               ; preds = %19
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA9_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 128), ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(9) @.str.5)
          to label %21 unwind label %41

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.6, i32 noundef 16)
          to label %22 unwind label %43

22:                                               ; preds = %21
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA6_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 192), ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 1 dereferenceable(6) @.str.7)
          to label %23 unwind label %45

23:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.8, i32 noundef 16)
          to label %24 unwind label %47

24:                                               ; preds = %23
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 256), ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %25 unwind label %49

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.9, i32 noundef 16)
          to label %26 unwind label %51

26:                                               ; preds = %25
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA1_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 320), ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(1) @.str.1)
          to label %27 unwind label %53

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #6
  invoke void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEEC2EPKcNSt15regex_constants18syntax_option_typeE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.10, i32 noundef 16)
          to label %28 unwind label %55

28:                                               ; preds = %27
  invoke void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEEC2IS4_RA2_KcTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairISG_SH_EEEbE4typeELb1EEEOSG_OSH_(ptr noundef nonnull align 8 dereferenceable(64) getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 384), ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 1 dereferenceable(2) @.str.8)
          to label %29 unwind label %57

29:                                               ; preds = %28
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  %30 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EED2Ev, ptr nonnull @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, ptr nonnull @__dso_handle) #6
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #6
  br label %31

31:                                               ; preds = %29, %13, %2
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %32 = call noundef ptr @_ZNKSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EE5beginEv(ptr noundef nonnull align 8 dereferenceable(448) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #6
  %33 = call noundef ptr @_ZNKSt5arrayISt4pairINSt7__cxx1111basic_regexIcNS1_12regex_traitsIcEEEENS1_12basic_stringIcSt11char_traitsIcESaIcEEEELm7EE3endEv(ptr noundef nonnull align 8 dereferenceable(448) @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #6
  %.not5261 = icmp eq ptr %32, %33
  br i1 %.not5261, label %._crit_edge, label %.lr.ph

.thread:                                          ; preds = %15
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %.loopexit

.thread58:                                        ; preds = %16
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %.loopexit

.thread63:                                        ; preds = %17
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %.preheader.preheader

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

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

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

43:                                               ; preds = %21
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %65

45:                                               ; preds = %22
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %64

47:                                               ; preds = %23
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %63

49:                                               ; preds = %24
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %62

51:                                               ; preds = %25
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %61

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

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

57:                                               ; preds = %28
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  br label %59

59:                                               ; preds = %57, %55
  %.pn = phi { ptr, i32 } [ %58, %57 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #6
  br label %60

60:                                               ; preds = %59, %53
  %.pn.pn = phi { ptr, i32 } [ %.pn, %59 ], [ %54, %53 ]
  %.0 = phi ptr [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 384), %59 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 320), %53 ]
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %61

61:                                               ; preds = %60, %51
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %60 ], [ %52, %51 ]
  %.1 = phi ptr [ %.0, %60 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 320), %51 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  br label %62

62:                                               ; preds = %61, %49
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %61 ], [ %50, %49 ]
  %.2 = phi ptr [ %.1, %61 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 256), %49 ]
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %63

63:                                               ; preds = %62, %47
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %62 ], [ %48, %47 ]
  %.3 = phi ptr [ %.2, %62 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 256), %47 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %64

64:                                               ; preds = %63, %45
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %63 ], [ %46, %45 ]
  %.4 = phi ptr [ %.3, %63 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 192), %45 ]
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %65

65:                                               ; preds = %64, %43
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %64 ], [ %44, %43 ]
  %.5 = phi ptr [ %.4, %64 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 192), %43 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %66

66:                                               ; preds = %65, %41
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %65 ], [ %42, %41 ]
  %.6 = phi ptr [ %.5, %65 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 128), %41 ]
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %67

67:                                               ; preds = %66, %39
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %66 ], [ %40, %39 ]
  %.7 = phi ptr [ %.6, %66 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 128), %39 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %68

68:                                               ; preds = %37, %67
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %67 ], [ %38, %37 ]
  %.8 = phi ptr [ %.7, %67 ], [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 64), %37 ]
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZNSt7__cxx1111basic_regexIcNS_12regex_traitsIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  %69 = icmp eq ptr %.8, @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11
  br i1 %69, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.thread63, %68
  %.967 = phi ptr [ getelementptr inbounds (i8, ptr @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11, i64 64), %.thread63 ], [ %.8, %68 ]
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn66 = phi { ptr, i32 } [ %36, %.thread63 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %68 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %70 = phi ptr [ %71, %.preheader ], [ %.967, %.preheader.preheader ]
  %71 = getelementptr inbounds i8, ptr %70, i64 -64
  call void @_ZNSt4pairINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEENS0_12basic_stringIcSt11char_traitsIcESaIcEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %71) #6
  %72 = icmp eq ptr %71, @_ZZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11
  br i1 %72, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread58, %.thread, %68
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn57 = phi { ptr, i32 } [ %34, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %68 ], [ %35, %.thread58 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn66, %.preheader ]
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZN5SimTK20canonicalizeTypeNameEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4subsB5cxx11) #6
  br label %79

.lr.ph:                                           ; preds = %31, %74
  %.02462 = phi ptr [ %76, %74 ], [ %32, %31 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  %73 = getelementptr inbounds i8, ptr %.02462, i64 32
  invoke void @_ZSt13regex_replaceINSt7__cxx1112regex_traitsIcEEcSt11char_traitsIcESaIcES4_S5_ENS0_12basic_stringIT0_T1_T2_EERKSA_RKNS0_11basic_regexIS7_T_EERKNS6_IS7_T3_T4_EENSt15regex_constants15match_flag_typeE(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %.02462, ptr noundef nonnull align 8 dereferenceable(32) %73, i32 noundef 0)
          to label %74 unwind label %77

74:                                               ; preds = %.lr.ph
  %75 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  %76 = getelementptr inbounds i8, ptr %.02462, i64 64
  %.not52 = icmp eq ptr %76, %33
  br i1 %.not52, label %._crit_edge, label %.lr.ph

77:                                               ; preds = %.lr.ph
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #6
  br label %79

._crit_edge:                                      ; preds = %74, %31
  ret void

79:                                               ; preds = %77, %.loopexit
  %.pn53 = phi { ptr, i32 } [ %78, %77 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn57, %.loopexit ]
  resume { ptr, i32 } %.pn53
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

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

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

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

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

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

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

!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 = !{!"branch_weights", i32 1, i32 1048575}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass