; LLVM IR from maliput/maliput :: src/maliput/api/rules (phase_ring)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type <{ %"struct.std::__detail::_Node_iterator", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.std::nullopt_t" = type { i8 }
%"struct.std::pair.97" = type { %"class.maliput::api::TypeSpecificIdentifier.22", %"class.std::vector.99" }
%"class.maliput::api::TypeSpecificIdentifier.22" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.92" = type <{ %"struct.std::__detail::_Node_iterator.94", i8, [7 x i8] }>
%"struct.std::__detail::_Node_iterator.94" = type { %"struct.std::__detail::_Node_iterator_base.95" }
%"struct.std::__detail::_Node_iterator_base.95" = type { ptr }
%"class.maliput::api::rules::PhaseRing" = type { %"class.maliput::api::TypeSpecificIdentifier", %"class.std::unordered_map", %"class.std::unordered_map.5" }
%"class.maliput::api::TypeSpecificIdentifier" = type { %"class.std::__cxx11::basic_string" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::unordered_map.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(64) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::pair", align 8
  %18 = alloca { ptr, i8 }, align 8
  %19 = alloca %"struct.std::nullopt_t", align 1
  %20 = alloca ptr, align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"struct.std::pair.97", align 8
  %25 = alloca %"class.std::vector.99", align 8
  %26 = alloca %"struct.std::pair.92", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %27 = load ptr, ptr %5, align 8
  %28 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 0
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %29)
  %30 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 1
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  %31 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 2
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #8
  br label %32

32:                                               ; preds = %4
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = call noundef i64 @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %35 = icmp uge i64 %34, 1
  br i1 %35, label %58, label %36

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #8
  %37 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 0
  %38 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %39 unwind label %44

39:                                               ; preds = %36
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef @.str, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %40 unwind label %44

40:                                               ; preds = %39
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef @.str.1)
          to label %41 unwind label %48

41:                                               ; preds = %40
  %42 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef %42, ptr noundef @__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE, ptr noundef @.str.2, i32 noundef 99) #9
          to label %43 unwind label %52

43:                                               ; preds = %41
  unreachable

44:                                               ; preds = %39, %36
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %11, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %12, align 4
  br label %57

48:                                               ; preds = %40
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %11, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %12, align 4
  br label %56

52:                                               ; preds = %41
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %11, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %56

56:                                               ; preds = %52, %48
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %57

57:                                               ; preds = %56, %44
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  br label %157

58:                                               ; preds = %32
  br label %59

59:                                               ; preds = %58
  br label %60

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %61, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %93, %60
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br i1 %69, label %71, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %95

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %72 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  store ptr %72, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %73 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 1
  %74 = load ptr, ptr %16, align 8, !tbaa !5
  %75 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules5Phase2idEv(ptr noundef nonnull align 8 dereferenceable(208) %74)
          to label %76 unwind label %86

76:                                               ; preds = %71
  %77 = load ptr, ptr %16, align 8, !tbaa !5
  %78 = invoke { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEE7emplaceIJRSB_RKS4_EEESA_INSt8__detail14_Node_iteratorISC_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %73, ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(208) %77)
          to label %79 unwind label %86

79:                                               ; preds = %76
  store { ptr, i8 } %78, ptr %18, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %18, i64 9, i1 false)
  br label %80

80:                                               ; preds = %79
  %81 = getelementptr inbounds %"struct.std::pair", ptr %17, i32 0, i32 1
  %82 = load i8, ptr %81, align 8, !tbaa !9, !range !14, !noundef !15
  %83 = trunc i8 %82 to i1
  br i1 %83, label %90, label %84

84:                                               ; preds = %80
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.3, ptr noundef @__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE, ptr noundef @.str.2, i32 noundef 103) #9
          to label %85 unwind label %86

85:                                               ; preds = %84
  unreachable

86:                                               ; preds = %84, %76, %71
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %11, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %157

90:                                               ; preds = %80
  br label %91

91:                                               ; preds = %90
  br label %92

92:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %93

93:                                               ; preds = %92
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %68

95:                                               ; preds = %70
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = call noundef zeroext i1 @_ZStneIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEbRKSt8optionalIT_ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(64) %96) #8
  br i1 %97, label %98, label %112

98:                                               ; preds = %95
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKRSt8optionalIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(64) %99) #8
  %101 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 2
  %102 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEaSERKSJ_(ptr noundef nonnull align 8 dereferenceable(56) %101, ptr noundef nonnull align 8 dereferenceable(56) %100)
          to label %103 unwind label %108

103:                                              ; preds = %98
  %104 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 0
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 2
  invoke void @_ZN7maliput3api5rules12_GLOBAL__N_116VerifyNextPhasesERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EERKSt13unordered_mapINS3_IS9_EES8_INS4_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEE(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 8 dereferenceable(56) %106)
          to label %107 unwind label %108

107:                                              ; preds = %103
  br label %153

108:                                              ; preds = %153, %103, %98
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %11, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %12, align 4
  br label %157

112:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %113, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %114 = load ptr, ptr %20, align 8, !tbaa !5
  %115 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #8
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #8
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  br label %120

120:                                              ; preds = %136, %112
  %121 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br i1 %121, label %123, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %152

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %124 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  store ptr %124, ptr %23, align 8, !tbaa !5
  %125 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 56, ptr %24) #8
  %126 = load ptr, ptr %23, align 8, !tbaa !5
  %127 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules5Phase2idEv(ptr noundef nonnull align 8 dereferenceable(208) %126)
          to label %128 unwind label %138

128:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #8
  call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  invoke void @_ZSt9make_pairIRKN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaISA_EEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSE_INSF_IT0_E4typeEE6__typeEEOSG_OSL_(ptr dead_on_unwind writable sret(%"struct.std::pair.97") align 8 %24, ptr noundef nonnull align 8 dereferenceable(32) %127, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %129 unwind label %142

129:                                              ; preds = %128
  %130 = invoke { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE7emplaceIJSF_IS5_SA_EEEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %125, ptr noundef nonnull align 8 dereferenceable(56) %24)
          to label %131 unwind label %146

131:                                              ; preds = %129
  %132 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 0
  %133 = extractvalue { ptr, i8 } %130, 0
  store ptr %133, ptr %132, align 8
  %134 = getelementptr inbounds { ptr, i8 }, ptr %26, i32 0, i32 1
  %135 = extractvalue { ptr, i8 } %130, 1
  store i8 %135, ptr %134, align 8
  call void @_ZNSt4pairIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %136

136:                                              ; preds = %131
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %120

138:                                              ; preds = %123
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %11, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %12, align 4
  br label %151

142:                                              ; preds = %128
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %11, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %12, align 4
  br label %150

146:                                              ; preds = %129
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %11, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %12, align 4
  call void @_ZNSt4pairIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %24) #8
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #8
  br label %151

151:                                              ; preds = %150, %138
  call void @llvm.lifetime.end.p0(i64 56, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %157

152:                                              ; preds = %122
  br label %153

153:                                              ; preds = %152, %107
  %154 = getelementptr inbounds %"class.maliput::api::rules::PhaseRing", ptr %27, i32 0, i32 0
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN7maliput3api5rules12_GLOBAL__N_131VerifyAllPhasesHaveSameCoverageERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(32) %154, ptr noundef nonnull align 8 dereferenceable(24) %155)
          to label %156 unwind label %108

156:                                              ; preds = %153
  ret void

157:                                              ; preds = %151, %108, %86, %57
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %31) #8
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %11, align 8
  %160 = load i32, ptr %12, align 4
  %161 = insertvalue { ptr, i32 } poison, ptr %159, 0
  %162 = insertvalue { ptr, i32 } %161, i32 %160, 1
  resume { ptr, i32 } %162
}

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

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

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

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

; Function Attrs: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEE7emplaceIJRSB_RKS4_EEESA_INSt8__detail14_Node_iteratorISC_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(208)) #0 align 2

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

; 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) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEbRKSt8optionalIT_ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(64)) #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput3api5rules12_GLOBAL__N_116VerifyNextPhasesERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EERKSt13unordered_mapINS3_IS9_EES8_INS4_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56)) #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE7emplaceIJSF_IS5_SA_EEEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaISA_EEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSE_INSF_IT0_E4typeEE6__typeEEOSG_OSL_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.97") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput3api5rules12_GLOBAL__N_131VerifyAllPhasesHaveSameCoverageERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #0

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

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

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

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

!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, !13, i64 8}
!10 = !{!"_ZTSSt4pairINSt8__detail14_Node_iteratorIS_IKN7maliput3api22TypeSpecificIdentifierINS3_5rules5PhaseEEES6_ELb0ELb0EEEbE", !11, i64 0, !13, i64 8}
!11 = !{!"_ZTSNSt8__detail14_Node_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules5PhaseEEES6_ELb0ELb0EEE", !12, i64 0}
!12 = !{!"_ZTSNSt8__detail19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules5PhaseEEES6_ELb0EEE", !6, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.97" = type { %"class.maliput::api::TypeSpecificIdentifier.22", %"class.std::vector.99" }
%"class.maliput::api::TypeSpecificIdentifier.22" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.99" = type { %"struct.std::_Vector_base.100" }
%"struct.std::_Vector_base.100" = type { %"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::PhaseRing::NextPhase, std::allocator<maliput::api::rules::PhaseRing::NextPhase>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [32 x i8], align 1
@__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE(ptr noundef nonnull align 8 dereferenceable(144) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(64) %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"struct.std::pair.97", align 8
  %12 = alloca %"class.std::vector.99", align 8
  tail call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %13 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #7
  %14 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #7
  %15 = tail call noundef i64 @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %16, label %30

16:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #7
  %17 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %0)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %6, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %18 unwind label %22

18:                                               ; preds = %16
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.1)
          to label %19 unwind label %24

19:                                               ; preds = %18
  %20 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef %20, ptr noundef nonnull @__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE, ptr noundef nonnull @.str.2, i32 noundef 99) #8
          to label %21 unwind label %26

21:                                               ; preds = %19
  unreachable

22:                                               ; preds = %16
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %29

24:                                               ; preds = %18
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %28

26:                                               ; preds = %19
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %28

28:                                               ; preds = %26, %24
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #7
  br label %29

29:                                               ; preds = %28, %22
  %.pn.pn = phi { ptr, i32 } [ %.pn, %28 ], [ %23, %22 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %70

30:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %31 = tail call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %31, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %32 = tail call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %32, ptr %8, align 8
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %33, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %43, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  %34 = call noundef zeroext i1 @_ZStneIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEbRKSt8optionalIT_ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(64) %3) #7
  br i1 %34, label %46, label %52

.lr.ph:                                           ; preds = %30, %43
  %35 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %36 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules5Phase2idEv(ptr noundef nonnull align 8 dereferenceable(208) %35)
  %37 = invoke { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEE7emplaceIJRSB_RKS4_EEESA_INSt8__detail14_Node_iteratorISC_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %13, ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(208) %35)
          to label %38 unwind label %.loopexit

38:                                               ; preds = %.lr.ph
  %.fca.1.extract = extractvalue { ptr, i8 } %37, 1
  %39 = trunc i8 %.fca.1.extract to i1
  br i1 %39, label %43, label %40

40:                                               ; preds = %38
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__._ZN7maliput3api5rules9PhaseRingC2ERKNS0_22TypeSpecificIdentifierIS2_EERKSt6vectorINS1_5PhaseESaIS8_EERKSt8optionalIKSt13unordered_mapINS3_IS8_EES7_INS2_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEEE, ptr noundef nonnull @.str.2, i32 noundef 103) #8
          to label %41 unwind label %.loopexit.split-lp

41:                                               ; preds = %40
  unreachable

.loopexit:                                        ; preds = %.lr.ph
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %42

.loopexit.split-lp:                               ; preds = %40
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %42

42:                                               ; preds = %.loopexit.split-lp, %.loopexit
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  br label %70

43:                                               ; preds = %38
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %45, label %.lr.ph, label %._crit_edge

46:                                               ; preds = %._crit_edge
  %47 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKRSt8optionalIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(64) %3) #7
  %48 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEaSERKSJ_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 8 dereferenceable(56) %47)
          to label %49 unwind label %50

49:                                               ; preds = %46
  invoke void @_ZN7maliput3api5rules12_GLOBAL__N_116VerifyNextPhasesERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EERKSt13unordered_mapINS3_IS9_EES8_INS4_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(56) %14)
          to label %68 unwind label %50

50:                                               ; preds = %68, %49, %46
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %70

52:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %53 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %53, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %54 = call ptr @_ZNKSt6vectorIN7maliput3api5rules5PhaseESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  store ptr %54, ptr %10, align 8
  %55 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %55, label %.lr.ph30, label %._crit_edge31

._crit_edge31:                                    ; preds = %60, %52
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %68

.lr.ph30:                                         ; preds = %52, %60
  %56 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %11) #7
  %57 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules5Phase2idEv(ptr noundef nonnull align 8 dereferenceable(208) %56)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false)
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  invoke void @_ZSt9make_pairIRKN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaISA_EEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSE_INSF_IT0_E4typeEE6__typeEEOSG_OSL_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.97") align 8 %11, ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %58 unwind label %63

58:                                               ; preds = %.lr.ph30
  %59 = invoke { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE7emplaceIJSF_IS5_SA_EEEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %14, ptr noundef nonnull align 8 dereferenceable(56) %11)
          to label %60 unwind label %65

60:                                               ; preds = %58
  call void @_ZNSt4pairIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #7
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #7
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %62 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules5PhaseESt6vectorIS4_SaIS4_EEEEbRKNS_17__normal_iteratorIT_T0_EESF_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %62, label %.lr.ph30, label %._crit_edge31

63:                                               ; preds = %.lr.ph30
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %58
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %11) #7
  br label %67

67:                                               ; preds = %65, %63
  %.pn25 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZNSt6vectorIN7maliput3api5rules9PhaseRing9NextPhaseESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %70

68:                                               ; preds = %49, %._crit_edge31
  invoke void @_ZN7maliput3api5rules12_GLOBAL__N_131VerifyAllPhasesHaveSameCoverageERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %69 unwind label %50

69:                                               ; preds = %68
  ret void

70:                                               ; preds = %67, %50, %42, %29
  %.pn27 = phi { ptr, i32 } [ %lpad.phi, %42 ], [ %51, %50 ], [ %.pn25, %67 ], [ %.pn.pn, %29 ]
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %14) #7
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #7
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9PhaseRingEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  resume { ptr, i32 } %.pn27
}

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

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

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

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

; Function Attrs: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEES4_St4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S4_EEE7emplaceIJRSB_RKS4_EEESA_INSt8__detail14_Node_iteratorISC_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS2_5rules5PhaseEEESt6vectorINS4_9PhaseRing9NextPhaseESaIS9_EESt4hashIS6_ESt8equal_toIS6_ESaISt4pairIKS6_SB_EEEEbRKSt8optionalIT_ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput3api5rules12_GLOBAL__N_116VerifyNextPhasesERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EERKSt13unordered_mapINS3_IS9_EES8_INS4_9NextPhaseESaISG_EESt4hashISF_ESt8equal_toISF_ESaISt4pairIKSF_SI_EEE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE7emplaceIJSF_IS5_SA_EEEESF_INSt8__detail14_Node_iteratorISH_Lb0ELb0EEEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRKN7maliput3api22TypeSpecificIdentifierINS1_5rules5PhaseEEESt6vectorINS3_9PhaseRing9NextPhaseESaISA_EEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENSE_INSF_IT0_E4typeEE6__typeEEOSG_OSL_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.97") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput3api5rules12_GLOBAL__N_131VerifyAllPhasesHaveSameCoverageERKNS0_22TypeSpecificIdentifierINS1_9PhaseRingEEERKSt6vectorINS1_5PhaseESaIS9_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

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

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

!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)"}


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