; LLVM IR from maliput/maliput :: src/maliput/test_utilities (mock)

; 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.maliput::api::LaneSRoute" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.maliput::api::rules::RightOfWayRule::State" = type { %"class.maliput::api::TypeSpecificIdentifier.10", i32, %"class.std::vector.3" }
%"class.maliput::api::TypeSpecificIdentifier.10" = type { %"class.std::__cxx11::basic_string" }
%"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.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.maliput::api::rules::RightOfWayRule" = type { %"class.maliput::api::TypeSpecificIdentifier.9", %"class.maliput::api::LaneSRoute", i32, %"class.std::unordered_map.28", %"class.std::unordered_map" }
%"class.maliput::api::TypeSpecificIdentifier.9" = type { %"class.std::__cxx11::basic_string" }
%"class.std::unordered_map.28" = type { %"class.std::_Hashtable.29" }
%"class.std::_Hashtable.29" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.52" = type { ptr, i64 }
%"class.std::allocator.49" = type { i8 }
%"struct.maliput::api::test::RightOfWayBuildFlags" = type { i8 }

@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test16CreateLaneSRouteEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::LaneSRoute") align 8) #0

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test12NoYieldStateEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test10YieldStateEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test17RelatedBulbGroupsEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test20CreateRightOfWayRuleERKNS1_20RightOfWayBuildFlagsE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule") align 8 %0, ptr noundef nonnull align 1 dereferenceable(1) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.maliput::api::TypeSpecificIdentifier.9", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.maliput::api::LaneSRoute", align 8
  %11 = alloca %"class.std::vector.47", align 8
  %12 = alloca %"class.std::initializer_list.52", align 8
  %13 = alloca [2 x %"class.maliput::api::rules::RightOfWayRule::State"], align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::allocator.49", align 1
  %16 = alloca %"class.std::unordered_map", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %17 unwind label %46

17:                                               ; preds = %2
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %6)
          to label %18 unwind label %50

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  invoke void @_ZN7maliput3api4test16CreateLaneSRouteEv(ptr dead_on_unwind writable sret(%"class.maliput::api::LaneSRoute") align 8 %10)
          to label %19 unwind label %54

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr %13) #5
  store ptr %13, ptr %14, align 8
  invoke void @_ZN7maliput3api4test12NoYieldStateEv(ptr dead_on_unwind writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8 %13)
          to label %20 unwind label %58

20:                                               ; preds = %19
  %21 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %13, i64 1
  store ptr %21, ptr %14, align 8
  invoke void @_ZN7maliput3api4test10YieldStateEv(ptr dead_on_unwind writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8 %21)
          to label %22 unwind label %58

22:                                               ; preds = %20
  %23 = getelementptr inbounds %"class.std::initializer_list.52", ptr %12, i32 0, i32 0
  store ptr %13, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds %"class.std::initializer_list.52", ptr %12, i32 0, i32 1
  store i64 2, ptr %24, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  call void @_ZNSaIN7maliput3api5rules14RightOfWayRule5StateEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  %25 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %26 = load ptr, ptr %25, align 8
  %27 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %28 = load i64, ptr %27, align 8
  invoke void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %26, i64 %28, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %29 unwind label %69

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 56, ptr %16) #5
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.maliput::api::test::RightOfWayBuildFlags", ptr %30, i32 0, i32 0
  %32 = load i8, ptr %31, align 1, !tbaa !13, !range !16, !noundef !17
  %33 = trunc i8 %32 to i1
  br i1 %33, label %34, label %36

34:                                               ; preds = %29
  invoke void @_ZN7maliput3api4test17RelatedBulbGroupsEv(ptr dead_on_unwind writable sret(%"class.std::unordered_map") align 8 %16)
          to label %35 unwind label %73

35:                                               ; preds = %34
  br label %37

36:                                               ; preds = %29
  call void @llvm.memset.p0.i64(ptr align 8 %16, i8 0, i64 56, i1 false)
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  br label %37

37:                                               ; preds = %36, %35
  invoke void @_ZN7maliput3api5rules14RightOfWayRuleC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_10LaneSRouteENS2_8ZoneTypeERKSt6vectorINS2_5StateESaISC_EERKSt13unordered_mapINS3_INS1_12TrafficLightEEESB_INS3_INS1_9BulbGroupEEESaISL_EESt4hashISJ_ESt8equal_toISJ_ESaISt4pairIKSJ_SN_EEE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(56) %16)
          to label %38 unwind label %77

38:                                               ; preds = %37
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  call void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  %39 = getelementptr inbounds [2 x %"class.maliput::api::rules::RightOfWayRule::State"], ptr %13, i32 0, i32 0
  %40 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %39, i64 2
  br label %41

41:                                               ; preds = %41, %38
  %42 = phi ptr [ %40, %38 ], [ %43, %41 ]
  %43 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %42, i64 -1
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %43) #5
  %44 = icmp eq ptr %43, %39
  br i1 %44, label %45, label %41

45:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 128, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  ret void

46:                                               ; preds = %2
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %8, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %9, align 4
  br label %93

50:                                               ; preds = %17
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  br label %92

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

58:                                               ; preds = %20, %19
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %8, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %9, align 4
  %62 = load ptr, ptr %14, align 8
  %63 = icmp eq ptr %13, %62
  br i1 %63, label %68, label %64

64:                                               ; preds = %64, %58
  %65 = phi ptr [ %62, %58 ], [ %66, %64 ]
  %66 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %65, i64 -1
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %66) #5
  %67 = icmp eq ptr %66, %13
  br i1 %67, label %68, label %64

68:                                               ; preds = %64, %58
  br label %90

69:                                               ; preds = %22
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %8, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %9, align 4
  br label %82

73:                                               ; preds = %34
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %8, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %9, align 4
  br label %81

77:                                               ; preds = %37
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  br label %81

81:                                               ; preds = %77, %73
  call void @llvm.lifetime.end.p0(i64 56, ptr %16) #5
  call void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %82

82:                                               ; preds = %81, %69
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  %83 = getelementptr inbounds [2 x %"class.maliput::api::rules::RightOfWayRule::State"], ptr %13, i32 0, i32 0
  %84 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %83, i64 2
  br label %85

85:                                               ; preds = %85, %82
  %86 = phi ptr [ %84, %82 ], [ %87, %85 ]
  %87 = getelementptr inbounds %"class.maliput::api::rules::RightOfWayRule::State", ptr %86, i64 -1
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %87) #5
  %88 = icmp eq ptr %87, %83
  br i1 %88, label %89, label %85

89:                                               ; preds = %85
  br label %90

90:                                               ; preds = %89, %68
  call void @llvm.lifetime.end.p0(i64 128, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  br label %91

91:                                               ; preds = %90, %54
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  br label %92

92:                                               ; preds = %91, %50
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %93

93:                                               ; preds = %92, %46
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #5
  br label %94

94:                                               ; preds = %93
  %95 = load ptr, ptr %8, align 8
  %96 = load i32, ptr %9, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt16initializer_listIN7maliput3api5rules14RightOfWayRule5StateEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN7maliput3api4test20RightOfWayBuildFlagsE", !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}


; 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.maliput::api::LaneSRoute" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.maliput::api::rules::RightOfWayRule::State" = type { %"class.maliput::api::TypeSpecificIdentifier.10", i32, %"class.std::vector.3" }
%"class.maliput::api::TypeSpecificIdentifier.10" = type { %"class.std::__cxx11::basic_string" }
%"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.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::RightOfWayRule>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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.maliput::api::rules::RightOfWayRule" = type { %"class.maliput::api::TypeSpecificIdentifier.9", %"class.maliput::api::LaneSRoute", i32, %"class.std::unordered_map.28", %"class.std::unordered_map" }
%"class.maliput::api::TypeSpecificIdentifier.9" = type { %"class.std::__cxx11::basic_string" }
%"class.std::unordered_map.28" = type { %"class.std::_Hashtable.29" }
%"class.std::_Hashtable.29" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::vector.47" = type { %"struct.std::_Vector_base.48" }
%"struct.std::_Vector_base.48" = type { %"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::RightOfWayRule::State, std::allocator<maliput::api::rules::RightOfWayRule::State>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.49" = type { i8 }

@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test16CreateLaneSRouteEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::LaneSRoute") align 8) 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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test12NoYieldStateEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8) 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) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test10YieldStateEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api4test17RelatedBulbGroupsEv(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test20CreateRightOfWayRuleERKNS1_20RightOfWayBuildFlagsE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RightOfWayRule") align 8 %0, ptr nocapture noundef nonnull readonly align 1 dereferenceable(1) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.maliput::api::TypeSpecificIdentifier.9", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.0", align 1
  %6 = alloca %"class.maliput::api::LaneSRoute", align 8
  %7 = alloca %"class.std::vector.47", align 8
  %8 = alloca [2 x %"class.maliput::api::rules::RightOfWayRule::State"], align 8
  %9 = alloca %"class.std::allocator.49", align 1
  %10 = alloca %"class.std::unordered_map", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.8, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %11 unwind label %26

11:                                               ; preds = %2
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull %4)
          to label %12 unwind label %28

12:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  invoke void @_ZN7maliput3api4test16CreateLaneSRouteEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::LaneSRoute") align 8 %6)
          to label %13 unwind label %30

13:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %8) #5
  invoke void @_ZN7maliput3api4test12NoYieldStateEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8 %8)
          to label %15 unwind label %.thread

.thread:                                          ; preds = %13
  %14 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

15:                                               ; preds = %13
  %16 = getelementptr inbounds i8, ptr %8, i64 64
  invoke void @_ZN7maliput3api4test10YieldStateEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::rules::RightOfWayRule::State") align 8 %16)
          to label %17 unwind label %.loopexit.loopexit19

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  call void @_ZNSaIN7maliput3api5rules14RightOfWayRule5StateEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  invoke void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %18 unwind label %33

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %10) #5
  %19 = load i8, ptr %1, align 1, !tbaa !5, !range !10, !noundef !11
  %20 = trunc nuw i8 %19 to i1
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  invoke void @_ZN7maliput3api4test17RelatedBulbGroupsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_map") align 8 %10)
          to label %23 unwind label %35

22:                                               ; preds = %18
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %10, i8 0, i64 56, i1 false)
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  br label %23

23:                                               ; preds = %21, %22
  invoke void @_ZN7maliput3api5rules14RightOfWayRuleC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_10LaneSRouteENS2_8ZoneTypeERKSt6vectorINS2_5StateESaISC_EERKSt13unordered_mapINS3_INS1_12TrafficLightEEESB_INS3_INS1_9BulbGroupEEESaISL_EESt4hashISJ_ESt8equal_toISJ_ESaISt4pairIKSJ_SN_EEE(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(56) %10)
          to label %24 unwind label %37

24:                                               ; preds = %23
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  call void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  %25 = getelementptr inbounds i8, ptr %8, i64 64
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #5
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  ret void

26:                                               ; preds = %2
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %43

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

30:                                               ; preds = %12
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %41

.loopexit.loopexit19:                             ; preds = %15
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #5
  br label %.loopexit

33:                                               ; preds = %17
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

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

37:                                               ; preds = %23
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %10) #5
  br label %39

39:                                               ; preds = %37, %35
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %10) #5
  call void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %39, %33
  %.pn.pn = phi { ptr, i32 } [ %.pn, %39 ], [ %34, %33 ]
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  %40 = getelementptr inbounds i8, ptr %8, i64 64
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %40) #5
  call void @_ZN7maliput3api5rules14RightOfWayRule5StateD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %8) #5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit19, %.loopexit.loopexit, %.thread
  %.pn.pn.pn = phi { ptr, i32 } [ %14, %.thread ], [ %.pn.pn, %.loopexit.loopexit ], [ %32, %.loopexit.loopexit19 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %41

41:                                               ; preds = %.loopexit, %30
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %.loopexit ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules14RightOfWayRuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %42

42:                                               ; preds = %41, %28
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %41 ], [ %29, %28 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %43

43:                                               ; preds = %42, %26
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %42 ], [ %27, %26 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn
}

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api5rules14RightOfWayRule5StateESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7maliput3api5rules14RightOfWayRule5StateEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 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 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN7maliput3api4test20RightOfWayBuildFlagsE", !7, i64 0}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{i8 0, i8 2}
!11 = !{}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass