; LLVM IR from maliput/maliput :: src/maliput/base (manual_discrete_value_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.65" = type { %"struct.std::_Optional_base.66" }
%"struct.std::_Optional_base.66" = type { %"struct.std::_Optional_payload.68" }
%"struct.std::_Optional_payload.68" = type { %"struct.std::_Optional_payload.base.72", [7 x i8] }
%"struct.std::_Optional_payload.base.72" = type { %"struct.std::_Optional_payload_base.base.71" }
%"struct.std::_Optional_payload_base.base.71" = 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.55" }
%"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.29", %"class.std::map.34" }
%"class.std::map.29" = type { %"class.std::_Rb_tree.30" }
%"class.std::_Rb_tree.30" = 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.34" = type { %"class.std::_Rb_tree.35" }
%"class.std::_Rb_tree.35" = 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.55" = type { %"struct.std::_Optional_base.56" }
%"struct.std::_Optional_base.56" = type { %"struct.std::_Optional_payload.58" }
%"struct.std::_Optional_payload.58" = type { %"struct.std::_Optional_payload.base.62", [7 x i8] }
%"struct.std::_Optional_payload.base.62" = type { %"struct.std::_Optional_payload_base.base.61" }
%"struct.std::_Optional_payload_base.base.61" = 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.47" }
%"class.std::optional.47" = type { %"struct.std::_Optional_base.48" }
%"struct.std::_Optional_base.48" = type { %"struct.std::_Optional_payload.50" }
%"struct.std::_Optional_payload.50" = type { %"struct.std::_Optional_payload_base.base.52", [7 x i8] }
%"struct.std::_Optional_payload_base.base.52" = type <{ %"union.std::_Optional_payload_base<double>::_Storage", i8 }>
%"union.std::_Optional_payload_base<double>::_Storage" = type { double }
%"class.std::map.77" = type { %"class.std::_Rb_tree.78" }
%"class.std::_Rb_tree.78" = 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.85" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::nullopt_t" = type { i8 }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = 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.86" = type { %"class.maliput::api::TypeSpecificIdentifier", %"class.maliput::api::rules::DiscreteValueRule" }
%"class.maliput::api::TypeSpecificIdentifier" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::rules::DiscreteValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector.24" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier", %"class.maliput::api::TypeSpecificIdentifier.20", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.20" = 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.24" = type { %"struct.std::_Vector_base.25" }
%"struct.std::_Vector_base.25" = 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 }
%"class.maliput::ManualDiscreteValueRuleStateProvider" = type { %"class.maliput::api::rules::DiscreteValueRuleStateProvider", ptr, %"class.std::unordered_map" }
%"class.maliput::api::rules::DiscreteValueRuleStateProvider" = type { 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 }
%"struct.std::pair.75" = type { %"class.maliput::api::TypeSpecificIdentifier", %"struct.maliput::api::rules::StateProviderResult" }

@.str.19 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [23 x i8], align 1
@__func__._ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd = external hidden unnamed_addr constant [11 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 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: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::optional.65") align 8 %0, 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) unnamed_addr #3 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.77", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.maliput::api::TypeSpecificIdentifier.85", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.maliput::api::TypeSpecificIdentifier.85", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca i1, align 1
  %23 = alloca %"struct.std::nullopt_t", align 1
  %24 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %27 = alloca %"class.std::optional.65", 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
  %28 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #6
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %9, align 8, !tbaa !5
  %31 = load double, ptr %10, align 8, !tbaa !9
  call void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind writable sret(%"class.std::map.77") align 8 %11, ptr noundef nonnull align 8 dereferenceable(72) %28, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %30, double noundef %31)
  %32 = call noundef i64 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  %33 = icmp ugt i64 %32, 1
  br i1 %33, label %34, label %120

34:                                               ; preds = %5
  %35 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %36 unwind label %59

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

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

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

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

48:                                               ; preds = %47
  invoke void @_ZN7maliput6common6Logger4warnIJA16_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA30_cNS_3api22TypeSpecificIdentifierINSB_4LaneEEEA12_cS9_A43_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %35, ptr noundef nonnull align 1 dereferenceable(16) @.str.22, ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 1 dereferenceable(30) @.str.23, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(12) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 1 dereferenceable(43) @.str.25)
          to label %49 unwind label %71

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

56:                                               ; preds = %98, %49
  %57 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEESC_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br i1 %57, label %77, label %58

58:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %119

59:                                               ; preds = %36, %34
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  br label %165

63:                                               ; preds = %39
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %12, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %13, align 4
  br label %76

67:                                               ; preds = %47, %43
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  br label %75

71:                                               ; preds = %48
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %12, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #6
  br label %75

75:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #6
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  br label %76

76:                                               ; preds = %75, %63
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #6
  br label %165

77:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %78 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  store ptr %78, ptr %19, align 8, !tbaa !5
  %79 = invoke noundef ptr @_ZN7maliput3logEv()
          to label %80 unwind label %100

80:                                               ; preds = %77
  %81 = load ptr, ptr %19, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.std::pair.86", ptr %81, i32 0, i32 0
  %83 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEE6stringB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(32) %82)
          to label %84 unwind label %100

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

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

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

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

96:                                               ; preds = %95
  invoke void @_ZN7maliput6common6Logger4warnIJA11_cNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA26_cS9_A30_cNS_3api22TypeSpecificIdentifierINSC_4LaneEEEA12_cS9_A2_cEEEvDpRKT_(ptr noundef nonnull align 8 dereferenceable(12) %79, ptr noundef nonnull align 1 dereferenceable(11) @.str.26, ptr noundef nonnull align 8 dereferenceable(32) %83, ptr noundef nonnull align 1 dereferenceable(26) @.str.27, ptr noundef nonnull align 8 dereferenceable(32) %86, ptr noundef nonnull align 1 dereferenceable(30) @.str.23, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 1 dereferenceable(12) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(2) @.str.28)
          to label %97 unwind label %112

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

98:                                               ; preds = %97
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br label %56

100:                                              ; preds = %84, %80, %77
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %12, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %13, align 4
  br label %118

104:                                              ; preds = %87
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %12, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %13, align 4
  br label %117

108:                                              ; preds = %95, %91
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %12, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %13, align 4
  br label %116

112:                                              ; preds = %96
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %12, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %13, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %116

116:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #6
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %117

117:                                              ; preds = %116, %104
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #6
  br label %118

118:                                              ; preds = %117, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %165

119:                                              ; preds = %58
  br label %120

120:                                              ; preds = %119, %5
  store i1 false, ptr %22, align 1
  call void @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEC2ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(304) %0) #6
  %121 = call noundef zeroext i1 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  br i1 %121, label %161, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %123 = getelementptr inbounds %"class.maliput::ManualDiscreteValueRuleStateProvider", ptr %28, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %124 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  %125 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  %126 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %127 = getelementptr inbounds %"struct.std::pair.86", ptr %126, i32 0, i32 0
  %128 = invoke ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_19StateProviderResultINS3_17DiscreteValueRule13DiscreteValueEEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) %123, ptr noundef nonnull align 8 dereferenceable(32) %127)
          to label %129 unwind label %141

129:                                              ; preds = %122
  %130 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %24, i32 0, i32 0
  %131 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %130, i32 0, i32 0
  store ptr %128, ptr %131, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %132

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %133 = getelementptr inbounds %"class.maliput::ManualDiscreteValueRuleStateProvider", ptr %28, i32 0, i32 2
  %134 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_19StateProviderResultINS3_17DiscreteValueRule13DiscreteValueEEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %133) #6
  %135 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %26, i32 0, i32 0
  %136 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %135, i32 0, i32 0
  store ptr %134, ptr %136, align 8
  %137 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %138 = xor i1 %137, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br i1 %138, label %139, label %149

139:                                              ; preds = %132
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.29, ptr noundef @__func__._ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd, ptr noundef @.str.19, i32 noundef 100) #7
          to label %140 unwind label %145

140:                                              ; preds = %139
  unreachable

141:                                              ; preds = %122
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %160

145:                                              ; preds = %139
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  br label %160

149:                                              ; preds = %132
  br label %150

150:                                              ; preds = %149
  br label %151

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 304, ptr %27) #6
  %152 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %153 = getelementptr inbounds %"struct.std::pair.75", ptr %152, i32 0, i32 1
  invoke void @_ZSt13make_optionalIRKN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEENSt9enable_ifIX18is_constructible_vINSt5decayIT_E4typeESB_EESt8optionalISD_EE4typeEOSB_(ptr dead_on_unwind writable sret(%"class.std::optional.65") align 8 %27, ptr noundef nonnull align 8 dereferenceable(296) %153)
          to label %154 unwind label %156

154:                                              ; preds = %151
  %155 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(304) %27) #6
  call void @_ZNSt14_Optional_baseIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(304) %27) #6
  call void @llvm.lifetime.end.p0(i64 304, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  br label %161

156:                                              ; preds = %151
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %12, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 304, ptr %27) #6
  br label %160

160:                                              ; preds = %156, %145, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @_ZNSt14_Optional_baseIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(304) %0) #6
  br label %165

161:                                              ; preds = %154, %120
  store i1 true, ptr %22, align 1
  %162 = load i1, ptr %22, align 1
  br i1 %162, label %164, label %163

163:                                              ; preds = %161
  call void @_ZNSt14_Optional_baseIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(304) %0) #6
  br label %164

164:                                              ; preds = %163, %161
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  ret void

165:                                              ; preds = %160, %118, %76, %59
  call void @_ZNSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #6
  br label %166

166:                                              ; preds = %165
  %167 = load ptr, ptr %12, align 8
  %168 = load i32, ptr %13, align 4
  %169 = insertvalue { ptr, i32 } poison, ptr %167, 0
  %170 = insertvalue { ptr, i32 } %169, i32 %168, 1
  resume { ptr, i32 } %170
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::map.77") 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 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() #4

; 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)) #3 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.85") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 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)) #3 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 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 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 noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0EEESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt13make_optionalIRKN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEENSt9enable_ifIX18is_constructible_vINSt5decayIT_E4typeESB_EESt8optionalISD_EE4typeEOSB_(ptr dead_on_unwind noalias writable sret(%"class.std::optional.65") align 8, ptr noundef nonnull align 8 dereferenceable(296)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(304)) #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !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.65" = type { %"struct.std::_Optional_base.66" }
%"struct.std::_Optional_base.66" = type { %"struct.std::_Optional_payload.68" }
%"struct.std::_Optional_payload.68" = type { %"struct.std::_Optional_payload.base.72", [7 x i8] }
%"struct.std::_Optional_payload.base.72" = type { %"struct.std::_Optional_payload_base.base.71" }
%"struct.std::_Optional_payload_base.base.71" = 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.55" }
%"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.29", %"class.std::map.34" }
%"class.std::map.29" = type { %"class.std::_Rb_tree.30" }
%"class.std::_Rb_tree.30" = 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.34" = type { %"class.std::_Rb_tree.35" }
%"class.std::_Rb_tree.35" = 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.55" = type { %"struct.std::_Optional_base.56" }
%"struct.std::_Optional_base.56" = type { %"struct.std::_Optional_payload.58" }
%"struct.std::_Optional_payload.58" = type { %"struct.std::_Optional_payload.base.62", [7 x i8] }
%"struct.std::_Optional_payload.base.62" = type { %"struct.std::_Optional_payload_base.base.61" }
%"struct.std::_Optional_payload_base.base.61" = 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.47" }
%"class.std::optional.47" = type { %"struct.std::_Optional_base.48" }
%"struct.std::_Optional_base.48" = type { %"struct.std::_Optional_payload.50" }
%"struct.std::_Optional_payload.50" = type { %"struct.std::_Optional_payload_base.base.52", [7 x i8] }
%"struct.std::_Optional_payload_base.base.52" = type <{ %"union.std::_Optional_payload_base<double>::_Storage", i8 }>
%"union.std::_Optional_payload_base<double>::_Storage" = type { double }
%"class.std::map.77" = type { %"class.std::_Rb_tree.78" }
%"class.std::_Rb_tree.78" = 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.85" = type { %"class.std::__cxx11::basic_string" }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@.str.19 = external hidden unnamed_addr constant [111 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [23 x i8], align 1
@__func__._ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd = external hidden unnamed_addr constant [11 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 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: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::optional.65") align 8 %0, 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) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::map.77", align 8
  %7 = alloca %"class.maliput::api::TypeSpecificIdentifier.85", 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.85", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %16 = alloca %"class.std::optional.65", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #6
  call void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind nonnull writable sret(%"class.std::map.77") 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)
  %17 = call noundef i64 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  %18 = icmp ugt i64 %17, 1
  br i1 %18, label %19, label %65

19:                                               ; preds = %5
  %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) #6
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::TypeSpecificIdentifier.85") 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) #6
  %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.22, ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 1 dereferenceable(30) @.str.23, ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 1 dereferenceable(12) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(43) @.str.25)
          to label %28 unwind label %38

28:                                               ; preds = %27
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %29 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  store ptr %29, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %30 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  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) #6
  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) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %65

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

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) #6
  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) #6
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  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) #6
  br label %90

.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) #6
  %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) #6
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane2idEv(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::TypeSpecificIdentifier.85") 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) #6
  %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.26, ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 1 dereferenceable(26) @.str.27, ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 1 dereferenceable(30) @.str.23, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 1 dereferenceable(12) @.str.24, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 1 dereferenceable(2) @.str.28)
          to label %51 unwind label %60

51:                                               ; preds = %50
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %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) #6
  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) #6
  br label %62

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

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

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

65:                                               ; preds = %._crit_edge, %5
  call void @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEC2ESt9nullopt_t(ptr noundef nonnull align 8 dereferenceable(304) %0) #6
  %66 = call noundef zeroext i1 @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  br i1 %66, label %89, label %67

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %68 = getelementptr inbounds i8, ptr %1, i64 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %69 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_17DiscreteValueRuleESt4lessIS5_ESaISt4pairIKS5_S6_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %6) #6
  store ptr %69, ptr %14, align 8
  %70 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4RuleEEENS4_17DiscreteValueRuleEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %71 = invoke ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_19StateProviderResultINS3_17DiscreteValueRule13DiscreteValueEEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(56) %68, ptr noundef nonnull align 8 dereferenceable(32) %70)
          to label %72 unwind label %77

72:                                               ; preds = %67
  store ptr %71, ptr %13, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %73 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEENS3_19StateProviderResultINS3_17DiscreteValueRule13DiscreteValueEEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %68) #6
  store ptr %73, ptr %15, align 8
  %74 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0EEESG_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br i1 %74, label %81, label %75

75:                                               ; preds = %72
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.29, ptr noundef nonnull @__func__._ZNK7maliput36ManualDiscreteValueRuleStateProvider10DoGetStateERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd, ptr noundef nonnull @.str.19, i32 noundef 100) #7
          to label %76 unwind label %79

76:                                               ; preds = %75
  unreachable

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %88

79:                                               ; preds = %75
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %88

81:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 304, ptr nonnull %16) #6
  %82 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %83 = getelementptr inbounds i8, ptr %82, i64 32
  invoke void @_ZSt13make_optionalIRKN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEENSt9enable_ifIX18is_constructible_vINSt5decayIT_E4typeESB_EESt8optionalISD_EE4typeEOSB_(ptr dead_on_unwind nonnull writable sret(%"class.std::optional.65") align 8 %16, ptr noundef nonnull align 8 dereferenceable(296) %83)
          to label %84 unwind label %86

84:                                               ; preds = %81
  %85 = call noundef nonnull align 8 dereferenceable(304) ptr @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(304) %16) #6
  call void @_ZNSt14_Optional_baseIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(304) %16) #6
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %89

86:                                               ; preds = %81
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 304, ptr nonnull %16) #6
  br label %88

88:                                               ; preds = %86, %79, %77
  %.pn24 = phi { ptr, i32 } [ %80, %79 ], [ %87, %86 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @_ZNSt14_Optional_baseIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEELb0ELb0EED2Ev(ptr noundef nonnull align 8 dereferenceable(304) %0) #6
  br label %90

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7maliput36ManualDiscreteValueRuleStateProvider29GetFilteredDiscreteValueRulesERKNS_3api12RoadPositionERKNS1_22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEEd(ptr dead_on_unwind noalias writable sret(%"class.std::map.77") 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 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 #4

; 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 #3 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.85") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; 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 #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api22TypeSpecificIdentifierINS0_4LaneEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 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 #3 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 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 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 noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules4RuleEEENS5_19StateProviderResultINS5_17DiscreteValueRule13DiscreteValueEEEELb0EEESG_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt13make_optionalIRKN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEENSt9enable_ifIX18is_constructible_vINSt5decayIT_E4typeESB_EESt8optionalISD_EE4typeEOSB_(ptr dead_on_unwind noalias writable sret(%"class.std::optional.65") align 8, ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(304) ptr @_ZNSt8optionalIN7maliput3api5rules19StateProviderResultINS2_17DiscreteValueRule13DiscreteValueEEEEaSEOS7_(ptr noundef nonnull align 8 dereferenceable(304), ptr noundef nonnull align 8 dereferenceable(304)) local_unnamed_addr #5 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass