; LLVM IR from maliput/maliput :: src/maliput/base (phased_discrete_rule_state_provider)

; 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::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base.84", [7 x i8] }
%"struct.std::_Optional_payload.base.84" = type { %"struct.std::_Optional_payload_base.base.83" }
%"struct.std::_Optional_payload_base.base.83" = type <{ %"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Storage" = type { %"struct.maliput::api::rules::StateProviderResult" }
%"struct.maliput::api::rules::StateProviderResult" = type { %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", %"class.std::optional.68" }
%"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue" = type { %"struct.maliput::api::rules::Rule::State", %"class.std::__cxx11::basic_string" }
%"struct.maliput::api::rules::Rule::State" = type { i32, %"class.std::map.58", %"class.std::map.63" }
%"class.std::map.58" = type { %"class.std::_Rb_tree.59" }
%"class.std::_Rb_tree.59" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.63" = type { %"class.std::_Rb_tree.64" }
%"class.std::_Rb_tree.64" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"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::optional.68" = type { %"struct.std::_Optional_base.69" }
%"struct.std::_Optional_base.69" = type { %"struct.std::_Optional_payload.71" }
%"struct.std::_Optional_payload.71" = type { %"struct.std::_Optional_payload.base.80", [7 x i8] }
%"struct.std::_Optional_payload.base.80" = type { %"struct.std::_Optional_payload_base.base.79" }
%"struct.std::_Optional_payload_base.base.79" = type <{ %"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next>::_Storage", i8 }>
%"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next>::_Storage" = type { %"struct.maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next" }
%"struct.maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next" = type { %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", %"class.std::optional.74" }
%"class.std::optional.74" = type { %"struct.std::_Optional_base.75" }
%"struct.std::_Optional_base.75" = type { %"struct.std::_Optional_payload.77" }
%"struct.std::_Optional_payload.77" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<double>::_Storage", i8 }>
%"union.std::_Optional_payload_base<double>::_Storage" = type { double }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.maliput::api::TypeSpecificIdentifier.224" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.maliput::api::RoadPosition" = type { ptr, %"class.maliput::api::LanePosition" }
%"class.maliput::api::LanePosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"struct.std::pair.225" = type { %"class.maliput::api::TypeSpecificIdentifier.130", %"class.maliput::api::rules::DiscreteValueRule" }
%"class.maliput::api::TypeSpecificIdentifier.130" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::rules::DiscreteValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector.230" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier.130", %"class.maliput::api::TypeSpecificIdentifier.215", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.215" = type { %"class.std::__cxx11::basic_string" }
%"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.std::vector.230" = type { %"struct.std::_Vector_base.231" }
%"struct.std::_Vector_base.231" = type { %"struct.std::_Vector_base<maliput::api::rules::DiscreteValueRule::DiscreteValue, std::allocator<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::DiscreteValueRule::DiscreteValue, std::allocator<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::DiscreteValueRule::DiscreteValue, std::allocator<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::DiscreteValueRule::DiscreteValue, std::allocator<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1

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

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) #0

; 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 uwtable
declare dso_local void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api22TypeSpecificIdentifierINS1_5rules4RuleEEE(ptr dead_on_unwind noalias writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::optional") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, double noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.std::map.40", align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.maliput::api::TypeSpecificIdentifier.224", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca %"class.maliput::api::TypeSpecificIdentifier.224", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store double %4, ptr %10, align 8, !tbaa !9
  %24 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = load double, ptr %10, align 8, !tbaa !9
  call void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind writable sret(%"class.std::map.40") align 8 %11, ptr noundef nonnull align 8 dereferenceable(72) %24, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %26, double noundef %27)
  %28 = call noundef zeroext i1 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  br i1 %28, label %29, label %30

29:                                               ; preds = %5
  call void @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(304) %0) #5
  store i32 1, ptr %12, align 4
  br label %129

30:                                               ; preds = %5
  %31 = call noundef i64 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  %32 = icmp ugt i64 %31, 1
  br i1 %32, label %33, label %119

33:                                               ; preds = %30
  %34 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %35 unwind label %58

35:                                               ; preds = %33
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %38 unwind label %58

38:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #5
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.maliput::api::RoadPosition", ptr %39, i32 0, i32 0
  %41 = load ptr, ptr %40, align 8, !tbaa !11
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %42 unwind label %62

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #5
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.maliput::api::RoadPosition", ptr %43, i32 0, i32 1
  %45 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api12LanePosition3srhEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %46 unwind label %66

46:                                               ; preds = %42
  invoke void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %47 unwind label %66

47:                                               ; preds = %46
  invoke void @_ZN7maliput6common6Logger4warnIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA30_cNS_3api22TypeSpecificIdentifierINSB_4LaneEEEA12_cS9_A43_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %34, ptr noundef nonnull align 1 dereferenceable(16) @.str.20, ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 1 dereferenceable(30) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(12) @.str.22, ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 1 dereferenceable(43) @.str.23)
          to label %48 unwind label %70

48:                                               ; preds = %47
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store ptr %11, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %49 = load ptr, ptr %17, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %49) #5
  %51 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %18, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %52 = load ptr, ptr %17, align 8, !tbaa !5
  %53 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %52) #5
  %54 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %19, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  br label %55

55:                                               ; preds = %97, %48
  %56 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br i1 %56, label %76, label %57

57:                                               ; preds = %55
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %118

58:                                               ; preds = %35, %33
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %13, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %14, align 4
  br label %130

62:                                               ; preds = %38
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %13, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %14, align 4
  br label %75

66:                                               ; preds = %46, %42
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %13, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %14, align 4
  br label %74

70:                                               ; preds = %47
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %13, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #5
  br label %74

74:                                               ; preds = %70, %66
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #5
  br label %75

75:                                               ; preds = %74, %62
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #5
  br label %130

76:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %77 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  store ptr %77, ptr %20, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %79 unwind label %99

79:                                               ; preds = %76
  %80 = load ptr, ptr %20, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.std::pair.225", ptr %80, i32 0, i32 0
  %82 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %81)
          to label %83 unwind label %99

83:                                               ; preds = %79
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %84)
          to label %86 unwind label %99

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.maliput::api::RoadPosition", ptr %87, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !11
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %89)
          to label %90 unwind label %103

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #5
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.maliput::api::RoadPosition", ptr %91, i32 0, i32 1
  %93 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api12LanePosition3srhEv(ptr noundef nonnull align 8 dereferenceable(24) %92)
          to label %94 unwind label %107

94:                                               ; preds = %90
  invoke void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %22, ptr noundef nonnull align 8 dereferenceable(24) %93)
          to label %95 unwind label %107

95:                                               ; preds = %94
  invoke void @_ZN7maliput6common6Logger4warnIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA26_cS9_A30_cNS_3api22TypeSpecificIdentifierINSC_4LaneEEEA12_cS9_A2_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %78, ptr noundef nonnull align 1 dereferenceable(11) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 1 dereferenceable(26) @.str.25, ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 1 dereferenceable(30) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(12) @.str.22, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 1 dereferenceable(2) @.str.26)
          to label %96 unwind label %111

96:                                               ; preds = %95
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %97

97:                                               ; preds = %96
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  br label %55

99:                                               ; preds = %83, %79, %76
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %13, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %14, align 4
  br label %117

103:                                              ; preds = %86
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %13, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %14, align 4
  br label %116

107:                                              ; preds = %94, %90
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %13, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %14, align 4
  br label %115

111:                                              ; preds = %95
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %13, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #5
  br label %116

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

117:                                              ; preds = %116, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %130

118:                                              ; preds = %57
  br label %119

119:                                              ; preds = %118, %30
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %120 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  %121 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %120, ptr %121, align 8
  %122 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %123 = getelementptr inbounds %"struct.std::pair.225", ptr %122, i32 0, i32 0
  invoke void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api22TypeSpecificIdentifierINS1_5rules4RuleEEE(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(32) %123)
          to label %124 unwind label %125

124:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  store i32 1, ptr %12, align 4
  br label %129

125:                                              ; preds = %119
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %13, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %130

129:                                              ; preds = %124, %29
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  ret void

130:                                              ; preds = %125, %117, %75, %58
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  br label %131

131:                                              ; preds = %130
  %132 = load ptr, ptr %13, align 8
  %133 = load i32, ptr %14, align 4
  %134 = insertvalue { ptr, i32 } poison, ptr %132, 0
  %135 = insertvalue { ptr, i32 } %134, i32 %133, 1
  resume { ptr, i32 } %135
}

declare void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind writable sret(%"class.std::map.40") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), double noundef) #3

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

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

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

declare noundef ptr @_ZN7maliput3logEv() #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common6Logger4warnIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA30_cNS_3api22TypeSpecificIdentifierINSB_4LaneEEEA12_cS9_A43_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(43)) #2 align 2

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

declare void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #3

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

declare void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common6Logger4warnIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA26_cS9_A30_cNS_3api22TypeSpecificIdentifierINSC_4LaneEEEA12_cS9_A2_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(11), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) #2 align 2

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

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

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

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

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

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

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


; 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::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base.84", [7 x i8] }
%"struct.std::_Optional_payload.base.84" = type { %"struct.std::_Optional_payload_base.base.83" }
%"struct.std::_Optional_payload_base.base.83" = type <{ %"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>>::_Storage" = type { %"struct.maliput::api::rules::StateProviderResult" }
%"struct.maliput::api::rules::StateProviderResult" = type { %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", %"class.std::optional.68" }
%"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue" = type { %"struct.maliput::api::rules::Rule::State", %"class.std::__cxx11::basic_string" }
%"struct.maliput::api::rules::Rule::State" = type { i32, %"class.std::map.58", %"class.std::map.63" }
%"class.std::map.58" = type { %"class.std::_Rb_tree.59" }
%"class.std::_Rb_tree.59" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.63" = type { %"class.std::_Rb_tree.64" }
%"class.std::_Rb_tree.64" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::vector<maliput::api::UniqueId>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"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::optional.68" = type { %"struct.std::_Optional_base.69" }
%"struct.std::_Optional_base.69" = type { %"struct.std::_Optional_payload.71" }
%"struct.std::_Optional_payload.71" = type { %"struct.std::_Optional_payload.base.80", [7 x i8] }
%"struct.std::_Optional_payload.base.80" = type { %"struct.std::_Optional_payload_base.base.79" }
%"struct.std::_Optional_payload_base.base.79" = type <{ %"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next>::_Storage", i8 }>
%"union.std::_Optional_payload_base<maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next>::_Storage" = type { %"struct.maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next" }
%"struct.maliput::api::rules::StateProviderResult<maliput::api::rules::DiscreteValueRule::DiscreteValue>::Next" = type { %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", %"class.std::optional.74" }
%"class.std::optional.74" = type { %"struct.std::_Optional_base.75" }
%"struct.std::_Optional_base.75" = type { %"struct.std::_Optional_payload.77" }
%"struct.std::_Optional_payload.77" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<double>::_Storage", i8 }>
%"union.std::_Optional_payload_base<double>::_Storage" = type { double }
%"class.std::map.40" = type { %"class.std::_Rb_tree.41" }
%"class.std::_Rb_tree.41" = type { %"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, maliput::api::rules::DiscreteValueRule>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.maliput::api::TypeSpecificIdentifier.224" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }

@.str.20 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1

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

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) #0

; 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 uwtable
declare dso_local void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api22TypeSpecificIdentifierINS1_5rules4RuleEEE(ptr dead_on_unwind noalias writable sret(%"class.std::optional") align 8, ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::optional") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, double noundef %4) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::map.40", align 8
  %7 = alloca %"class.maliput::api::TypeSpecificIdentifier.224", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"class.maliput::api::TypeSpecificIdentifier.224", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #5
  call void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind nonnull writable sret(%"class.std::map.40") align 8 %6, ptr noundef nonnull align 8 dereferenceable(72) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, double noundef %4)
  %14 = call noundef zeroext i1 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  br i1 %14, label %15, label %16

15:                                               ; preds = %5
  call void @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(304) %0) #5
  br label %71

16:                                               ; preds = %5
  %17 = call noundef i64 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  %18 = icmp ugt i64 %17, 1
  br i1 %18, label %19, label %65

19:                                               ; preds = %16
  %20 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %21 unwind label %32

21:                                               ; preds = %19
  %22 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #5
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %24 unwind label %34

24:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  %25 = getelementptr inbounds i8, ptr %2, i64 8
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api12LanePosition3srhEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  invoke void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %27 unwind label %36

27:                                               ; preds = %24
  invoke void @_ZN7maliput6common6Logger4warnIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA30_cNS_3api22TypeSpecificIdentifierINSB_4LaneEEEA12_cS9_A43_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %20, ptr noundef nonnull align 1 dereferenceable(16) @.str.20, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 1 dereferenceable(30) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(12) @.str.22, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(43) @.str.23)
          to label %28 unwind label %38

28:                                               ; preds = %27
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %29 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  store ptr %29, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %30 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  store ptr %30, ptr %10, align 8
  %31 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br i1 %31, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %51, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %65

32:                                               ; preds = %19
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %72

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

36:                                               ; preds = %24
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %40

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

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #5
  br label %41

41:                                               ; preds = %40, %34
  %.pn.pn = phi { ptr, i32 } [ %.pn, %40 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #5
  br label %72

.lr.ph:                                           ; preds = %28, %51
  %42 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %43 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %44 unwind label %54

44:                                               ; preds = %.lr.ph
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %42)
  %46 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #5
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %48 unwind label %56

48:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #5
  %49 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api12LanePosition3srhEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
  invoke void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %50 unwind label %58

50:                                               ; preds = %48
  invoke void @_ZN7maliput6common6Logger4warnIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA26_cS9_A30_cNS_3api22TypeSpecificIdentifierINSC_4LaneEEEA12_cS9_A2_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %43, ptr noundef nonnull align 1 dereferenceable(11) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 1 dereferenceable(26) @.str.25, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 1 dereferenceable(30) @.str.21, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(12) @.str.22, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 1 dereferenceable(2) @.str.26)
          to label %51 unwind label %60

51:                                               ; preds = %50
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %53 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br i1 %53, label %.lr.ph, label %._crit_edge

54:                                               ; preds = %.lr.ph
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %64

56:                                               ; preds = %44
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %63

58:                                               ; preds = %48
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %50
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #5
  br label %62

62:                                               ; preds = %60, %58
  %.pn22 = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  br label %63

63:                                               ; preds = %62, %56
  %.pn22.pn = phi { ptr, i32 } [ %.pn22, %62 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #5
  br label %64

64:                                               ; preds = %63, %54
  %.pn22.pn.pn = phi { ptr, i32 } [ %.pn22.pn, %63 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %72

65:                                               ; preds = %._crit_edge, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %66 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  store ptr %66, ptr %13, align 8
  %67 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  invoke void @_ZNK7maliput31PhasedDiscreteRuleStateProvider10DoGetStateERKNS_3api22TypeSpecificIdentifierINS1_5rules4RuleEEE(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %0, ptr noundef nonnull align 8 dereferenceable(88) %1, ptr noundef nonnull align 8 dereferenceable(32) %67)
          to label %68 unwind label %69

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %71

69:                                               ; preds = %65
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br label %72

71:                                               ; preds = %68, %15
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  ret void

72:                                               ; preds = %69, %64, %41, %32
  %.pn22.pn.pn.pn = phi { ptr, i32 } [ %.pn22.pn.pn, %64 ], [ %70, %69 ], [ %.pn.pn, %41 ], [ %33, %32 ]
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn22.pn.pn.pn
}

declare void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind writable sret(%"class.std::map.40") align 8, ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), double noundef) local_unnamed_addr #3

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

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

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

declare noundef ptr @_ZN7maliput3logEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common6Logger4warnIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA30_cNS_3api22TypeSpecificIdentifierINSB_4LaneEEEA12_cS9_A43_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(43)) local_unnamed_addr #2 align 2

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

declare void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind writable sret(%"class.maliput::api::TypeSpecificIdentifier.224") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

declare void @_ZNK7maliput4math10VectorBaseILm3ENS0_7Vector3EE6to_strB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common6Logger4warnIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA26_cS9_A30_cNS_3api22TypeSpecificIdentifierINSC_4LaneEEEA12_cS9_A2_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 1 dereferenceable(11), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #2 align 2

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"_ZTSN7maliput3api12RoadPositionE", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN7maliput3api12LanePositionE", !11, i64 0}
!11 = !{!"_ZTSN7maliput4math7Vector3E", !12, i64 0}
!12 = !{!"_ZTSN7maliput4math10VectorBaseILm3ENS0_7Vector3EEE", !13, i64 0}
!13 = !{!"_ZTSSt5arrayIdLm3EE", !8, i64 0}


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