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

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

%"class.maliput::api::LaneSRoute" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = 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.98" = type { %"class.std::_Rb_tree.99" }
%"class.std::_Rb_tree.99" = 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.maliput::api::rules::DiscreteValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector.116" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier.93", %"class.maliput::api::TypeSpecificIdentifier.115", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.93" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.maliput::api::TypeSpecificIdentifier.115" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = 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.std::allocator.0" = type { i8 }
%"class.std::initializer_list.121" = type { ptr, i64 }
%"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", %"class.std::map.98" }
%"class.std::allocator.118" = type { i8 }

@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map.98") align 8) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test23CreateDiscreteValueRuleEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::DiscreteValueRule") align 8 %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.maliput::api::TypeSpecificIdentifier.93", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator.0", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.maliput::api::TypeSpecificIdentifier.115", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.0", align 1
  %11 = alloca %"class.maliput::api::LaneSRoute", align 8
  %12 = alloca %"class.std::vector.116", align 8
  %13 = alloca %"class.std::initializer_list.121", align 8
  %14 = alloca [2 x %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue"], align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.std::map", align 8
  %17 = alloca %"class.std::map.98", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.0", align 1
  %20 = alloca %"class.std::map", align 8
  %21 = alloca %"class.std::map.98", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca i1, align 1
  %25 = alloca %"class.std::allocator.118", align 1
  store ptr %0, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %26 unwind label %51

26:                                               ; preds = %1
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %4)
          to label %27 unwind label %55

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %28 unwind label %59

28:                                               ; preds = %27
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %9)
          to label %29 unwind label %63

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

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 272, ptr %14) #5
  store i1 true, ptr %24, align 1
  store ptr %14, ptr %15, align 8
  call void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %16)
  call void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map.98") align 8 %17)
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %31 unwind label %71

31:                                               ; preds = %30
  invoke void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueC2EiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_22TypeSpecificIdentifierINS1_4RuleEEESaISE_EESt4lessISA_ESaISt4pairIKSA_SG_EEES4_ISA_SB_INS0_8UniqueIdESaISO_EESI_SaISJ_ISK_SQ_EEESA_(ptr noundef nonnull align 8 dereferenceable(136) %14, i32 noundef 0, ptr noundef %16, ptr noundef %17, ptr noundef %18)
          to label %32 unwind label %75

32:                                               ; preds = %31
  %33 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %14, i64 1
  store ptr %33, ptr %15, align 8
  call void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %20)
  call void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::map.98") align 8 %21)
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %34 unwind label %79

34:                                               ; preds = %32
  invoke void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueC2EiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_22TypeSpecificIdentifierINS1_4RuleEEESaISE_EESt4lessISA_ESaISt4pairIKSA_SG_EEES4_ISA_SB_INS0_8UniqueIdESaISO_EESI_SaISJ_ISK_SQ_EEESA_(ptr noundef nonnull align 8 dereferenceable(136) %33, i32 noundef 0, ptr noundef %20, ptr noundef %21, ptr noundef %22)
          to label %35 unwind label %83

35:                                               ; preds = %34
  store i1 false, ptr %24, align 1
  %36 = getelementptr inbounds %"class.std::initializer_list.121", ptr %13, i32 0, i32 0
  store ptr %14, ptr %36, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.std::initializer_list.121", ptr %13, i32 0, i32 1
  store i64 2, ptr %37, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  call void @_ZNSaIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  %38 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8
  %40 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %41 = load i64, ptr %40, align 8
  invoke void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr %39, i64 %41, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %42 unwind label %87

42:                                               ; preds = %35
  invoke void @_ZN7maliput3api5rules17DiscreteValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_13DiscreteValueESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %43 unwind label %91

43:                                               ; preds = %42
  call void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  %44 = getelementptr inbounds [2 x %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue"], ptr %14, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %44, i64 2
  br label %46

46:                                               ; preds = %46, %43
  %47 = phi ptr [ %45, %43 ], [ %48, %46 ]
  %48 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %47, i64 -1
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %48) #5
  %49 = icmp eq ptr %48, %44
  br i1 %49, label %50, label %46

50:                                               ; preds = %46
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  call void @llvm.lifetime.end.p0(i64 272, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  ret void

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

55:                                               ; preds = %26
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %6, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %7, align 4
  br label %120

59:                                               ; preds = %27
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %6, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %7, align 4
  br label %119

63:                                               ; preds = %28
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %6, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %7, align 4
  br label %118

67:                                               ; preds = %29
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %6, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %7, align 4
  br label %117

71:                                               ; preds = %30
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %6, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %7, align 4
  br label %106

75:                                               ; preds = %31
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %6, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %7, align 4
  br label %105

79:                                               ; preds = %32
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %6, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %7, align 4
  br label %104

83:                                               ; preds = %34
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %6, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %7, align 4
  br label %103

87:                                               ; preds = %35
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %6, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %7, align 4
  br label %95

91:                                               ; preds = %42
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %6, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %7, align 4
  call void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %95

95:                                               ; preds = %91, %87
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  %96 = getelementptr inbounds [2 x %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue"], ptr %14, i32 0, i32 0
  %97 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %96, i64 2
  br label %98

98:                                               ; preds = %98, %95
  %99 = phi ptr [ %97, %95 ], [ %100, %98 ]
  %100 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %99, i64 -1
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %100) #5
  %101 = icmp eq ptr %100, %96
  br i1 %101, label %102, label %98

102:                                              ; preds = %98
  br label %103

103:                                              ; preds = %102, %83
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #5
  br label %104

104:                                              ; preds = %103, %79
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  br label %105

105:                                              ; preds = %104, %75
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #5
  br label %106

106:                                              ; preds = %105, %71
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  %107 = load i1, ptr %24, align 1
  br i1 %107, label %108, label %116

108:                                              ; preds = %106
  %109 = load ptr, ptr %15, align 8
  %110 = icmp eq ptr %14, %109
  br i1 %110, label %115, label %111

111:                                              ; preds = %111, %108
  %112 = phi ptr [ %109, %108 ], [ %113, %111 ]
  %113 = getelementptr inbounds %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue", ptr %112, i64 -1
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %113) #5
  %114 = icmp eq ptr %113, %14
  br i1 %114, label %115, label %111

115:                                              ; preds = %111, %108
  br label %116

116:                                              ; preds = %115, %106
  call void @llvm.lifetime.end.p0(i64 272, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %117

117:                                              ; preds = %116, %67
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %118

118:                                              ; preds = %117, %63
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %119

119:                                              ; preds = %118, %59
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %120

120:                                              ; preds = %119, %55
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #5
  br label %121

121:                                              ; preds = %120, %51
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  br label %122

122:                                              ; preds = %121
  %123 = load ptr, ptr %6, align 8
  %124 = load i32, ptr %7, align 4
  %125 = insertvalue { ptr, i32 } poison, ptr %123, 0
  %126 = insertvalue { ptr, i32 } %125, i32 %124, 1
  resume { ptr, i32 } %126
}

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

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

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

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

declare void @_ZN7maliput3api5rules17DiscreteValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_13DiscreteValueESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

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

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

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

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

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

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

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


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

%"class.maliput::api::LaneSRoute" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::LaneSRange, std::allocator<maliput::api::LaneSRange>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = 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.98" = type { %"class.std::_Rb_tree.99" }
%"class.std::_Rb_tree.99" = 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.maliput::api::rules::DiscreteValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector.116" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier.93", %"class.maliput::api::TypeSpecificIdentifier.115", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.93" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.maliput::api::TypeSpecificIdentifier.115" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.116" = type { %"struct.std::_Vector_base.117" }
%"struct.std::_Vector_base.117" = 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.std::allocator.0" = type { i8 }
%"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", %"class.std::map.98" }
%"class.std::allocator.118" = type { i8 }

@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map.98") align 8) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test23CreateDiscreteValueRuleEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::DiscreteValueRule") align 8 %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.maliput::api::TypeSpecificIdentifier.93", align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca %"class.maliput::api::TypeSpecificIdentifier.115", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca %"class.maliput::api::LaneSRoute", align 8
  %9 = alloca %"class.std::vector.116", align 8
  %10 = alloca [2 x %"struct.maliput::api::rules::DiscreteValueRule::DiscreteValue"], align 8
  %11 = alloca %"class.std::map", align 8
  %12 = alloca %"class.std::map.98", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::map", align 8
  %16 = alloca %"class.std::map.98", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.std::allocator.118", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.18, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %20 unwind label %33

20:                                               ; preds = %1
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull %3)
          to label %21 unwind label %35

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.19, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %22 unwind label %37

22:                                               ; preds = %21
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %6)
          to label %23 unwind label %39

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

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 272, ptr nonnull %10) #5
  call void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::map") align 8 %11)
  call void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::map.98") align 8 %12)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.20, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %25 unwind label %43

25:                                               ; preds = %24
  invoke void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueC2EiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_22TypeSpecificIdentifierINS1_4RuleEEESaISE_EESt4lessISA_ESaISt4pairIKSA_SG_EEES4_ISA_SB_INS0_8UniqueIdESaISO_EESI_SaISJ_ISK_SQ_EEESA_(ptr noundef nonnull align 8 dereferenceable(136) %10, i32 noundef 0, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13)
          to label %26 unwind label %45

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %10, i64 136
  call void @_ZN7maliput3api4test23CreateEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::map") align 8 %15)
  call void @_ZN7maliput3api4test27CreateEmptyRelatedUniqueIdsB5cxx11Ev(ptr dead_on_unwind nonnull writable sret(%"class.std::map.98") align 8 %16)
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %28 unwind label %47

28:                                               ; preds = %26
  invoke void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueC2EiSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorINS0_22TypeSpecificIdentifierINS1_4RuleEEESaISE_EESt4lessISA_ESaISt4pairIKSA_SG_EEES4_ISA_SB_INS0_8UniqueIdESaISO_EESI_SaISJ_ISK_SQ_EEESA_(ptr noundef nonnull align 8 dereferenceable(136) %27, i32 noundef 0, ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef nonnull %17)
          to label %29 unwind label %49

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  call void @_ZNSaIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  invoke void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EEC2ESt16initializer_listIS4_ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr nonnull %10, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %30 unwind label %51

30:                                               ; preds = %29
  invoke void @_ZN7maliput3api5rules17DiscreteValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_13DiscreteValueESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %31 unwind label %53

31:                                               ; preds = %30
  call void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  %32 = getelementptr inbounds i8, ptr %10, i64 136
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %32) #5
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %10) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4Rule4TypeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  ret void

33:                                               ; preds = %1
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %68

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

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

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

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

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

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

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

49:                                               ; preds = %28
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit31

51:                                               ; preds = %29
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit31.loopexit

53:                                               ; preds = %30
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueESaIS4_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  br label %.loopexit31.loopexit

.loopexit31.loopexit:                             ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @_ZNSt15__new_allocatorIN7maliput3api5rules17DiscreteValueRule13DiscreteValueEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  %55 = getelementptr inbounds i8, ptr %10, i64 136
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %55) #5
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %10) #5
  br label %.loopexit31

.loopexit31:                                      ; preds = %.loopexit31.loopexit, %49
  %.pn.pn = phi { ptr, i32 } [ %50, %49 ], [ %.pn, %.loopexit31.loopexit ]
  %56 = phi i1 [ false, %49 ], [ true, %.loopexit31.loopexit ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %57

57:                                               ; preds = %.loopexit31, %47
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %.loopexit31 ], [ %48, %47 ]
  %.1 = phi i1 [ %56, %.loopexit31 ], [ false, %47 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  br label %58

58:                                               ; preds = %57, %45
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %57 ], [ %46, %45 ]
  %.04 = phi ptr [ %27, %57 ], [ %10, %45 ]
  %.2 = phi i1 [ %.1, %57 ], [ false, %45 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %59

59:                                               ; preds = %58, %43
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %58 ], [ %44, %43 ]
  %.15 = phi ptr [ %.04, %58 ], [ %10, %43 ]
  %.3 = phi i1 [ %.2, %58 ], [ false, %43 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api8UniqueIdESaIS9_EESt4lessIS5_ESaISt4pairIKS5_SB_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  %60 = icmp eq ptr %10, %.15
  %or.cond = select i1 %.3, i1 true, i1 %60
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %59, %.preheader
  %61 = phi ptr [ %62, %.preheader ], [ %.15, %59 ]
  %62 = getelementptr inbounds i8, ptr %61, i64 -136
  call void @_ZN7maliput3api5rules17DiscreteValueRule13DiscreteValueD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %62) #5
  %63 = icmp eq ptr %62, %10
  br i1 %63, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %59
  call void @llvm.lifetime.end.p0(i64 272, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN7maliput3api10LaneSRouteD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %64

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

65:                                               ; preds = %64, %39
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %64 ], [ %40, %39 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %66

66:                                               ; preds = %65, %37
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %65 ], [ %38, %37 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  br label %67

67:                                               ; preds = %66, %35
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %66 ], [ %36, %35 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  br label %68

68:                                               ; preds = %67, %33
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %67 ], [ %34, %33 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

declare void @_ZN7maliput3api5rules17DiscreteValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_13DiscreteValueESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

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

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

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

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

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

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

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


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