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

; 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::rules::RangeValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier.44", %"class.maliput::api::TypeSpecificIdentifier", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.44" = 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" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::LaneSRoute" = type { %"class.std::vector.45" }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.maliput::api::rules::RuleRegistry" = type { ptr, %"class.std::map", %"class.std::map.10" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::RangeValueRule::Range>>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::RangeValueRule::Range>>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::RangeValueRule::Range>>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::RangeValueRule::Range>>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>>>::_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.10" = type { %"class.std::_Rb_tree.11" }
%"class.std::_Rb_tree.11" = type { %"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::DiscreteValueRule::DiscreteValue>>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::DiscreteValueRule::DiscreteValue>>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::DiscreteValueRule::DiscreteValue>>, std::_Select1st<std::pair<const maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>, std::vector<maliput::api::rules::DiscreteValueRule::DiscreteValue>>>, std::less<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule::Type>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.39" = type { %"class.maliput::api::TypeSpecificIdentifier", %"class.std::vector" }

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [41 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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RangeValueRule") align 8 %0, ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) #4 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %19 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %20 = getelementptr inbounds %"class.maliput::api::rules::RuleRegistry", ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef nonnull align 8 dereferenceable(32) %21)
  %23 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %13, i32 0, i32 0
  store ptr %22, ptr %23, align 8
  br label %24

24:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %25 = getelementptr inbounds %"class.maliput::api::rules::RuleRegistry", ptr %19, i32 0, i32 1
  %26 = call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %25) #6
  %27 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %14, i32 0, i32 0
  store ptr %26, ptr %27, align 8
  %28 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4Rule4TypeEEESt6vectorINS4_14RangeValueRule5RangeESaISB_EEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  %29 = xor i1 %28, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br i1 %29, label %30, label %31

30:                                               ; preds = %24
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.8, ptr noundef @__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE, ptr noundef @.str.1, i32 noundef 114) #7
  unreachable

31:                                               ; preds = %24
  br label %32

32:                                               ; preds = %31
  br label %33

33:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %34, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = call ptr @_ZNKSt6vectorIN7maliput3api5rules14RangeValueRule5RangeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %38 = load ptr, ptr %15, align 8, !tbaa !5
  %39 = call ptr @_ZNKSt6vectorIN7maliput3api5rules14RangeValueRule5RangeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  br label %41

41:                                               ; preds = %55, %33
  %42 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  br i1 %42, label %44, label %43

43:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %57

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %45 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  store ptr %45, ptr %18, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %44
  %47 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4Rule4TypeEEESt6vectorINS4_14RangeValueRule5RangeESaISB_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %48 = getelementptr inbounds %"struct.std::pair.39", ptr %47, i32 0, i32 1
  %49 = load ptr, ptr %18, align 8, !tbaa !5
  %50 = call noundef zeroext i1 @_ZN7maliput3api5rules12_GLOBAL__N_18HasValueERKSt6vectorINS1_14RangeValueRule5RangeESaIS5_EERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(152) %49)
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.9, ptr noundef @__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE, ptr noundef @.str.1, i32 noundef 116) #7
  unreachable

52:                                               ; preds = %46
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %55

55:                                               ; preds = %54
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %41

57:                                               ; preds = %43
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZN7maliput3api5rules14RangeValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_5RangeESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(24) %61)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN7maliput3api5rules12_GLOBAL__N_18HasValueERKSt6vectorINS1_14RangeValueRule5RangeESaIS5_EERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(152)) #4

declare void @_ZN7maliput3api5rules14RangeValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_5RangeESaISG_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 #5

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


; 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::rules::RangeValueRule" = type { %"class.maliput::api::rules::Rule", %"class.std::vector" }
%"class.maliput::api::rules::Rule" = type { ptr, %"class.maliput::api::TypeSpecificIdentifier.44", %"class.maliput::api::TypeSpecificIdentifier", %"class.maliput::api::LaneSRoute" }
%"class.maliput::api::TypeSpecificIdentifier.44" = 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" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::LaneSRoute" = type { %"class.std::vector.45" }
%"class.std::vector.45" = type { %"struct.std::_Vector_base.46" }
%"struct.std::_Vector_base.46" = 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::rules::RangeValueRule::Range, std::allocator<maliput::api::rules::RangeValueRule::Range>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [88 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [43 x i8], align 1
@__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE = external hidden unnamed_addr constant [20 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [41 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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE(ptr dead_on_unwind noalias writable sret(%"class.maliput::api::rules::RangeValueRule") align 8 %0, ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5) local_unnamed_addr #4 align 2 {
  %7 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %8 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = tail call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE4findERSF_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(32) %3)
  store ptr %12, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %13 = tail call ptr @_ZNKSt3mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules4Rule4TypeEEESt6vectorINS3_14RangeValueRule5RangeESaIS9_EESt4lessIS6_ESaISt4pairIKS6_SB_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  store ptr %13, ptr %8, align 8
  %14 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4Rule4TypeEEESt6vectorINS4_14RangeValueRule5RangeESaISB_EEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br i1 %14, label %16, label %15

15:                                               ; preds = %6
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.8, ptr noundef nonnull @__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE, ptr noundef nonnull @.str.1, i32 noundef 114) #7
  unreachable

16:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %17 = call ptr @_ZNKSt6vectorIN7maliput3api5rules14RangeValueRule5RangeESaIS4_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %17, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %18 = call ptr @_ZNKSt6vectorIN7maliput3api5rules14RangeValueRule5RangeESaIS4_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  store ptr %18, ptr %10, align 8
  %19 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %25, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN7maliput3api5rules14RangeValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_5RangeESaISG_EE(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  ret void

.lr.ph:                                           ; preds = %16, %25
  %20 = call noundef nonnull align 8 dereferenceable(152) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %21 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS2_5rules4Rule4TypeEEESt6vectorINS4_14RangeValueRule5RangeESaISB_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  %22 = getelementptr inbounds i8, ptr %21, i64 32
  %23 = call noundef zeroext i1 @_ZN7maliput3api5rules12_GLOBAL__N_18HasValueERKSt6vectorINS1_14RangeValueRule5RangeESaIS5_EERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(152) %20)
  br i1 %23, label %25, label %24

24:                                               ; preds = %.lr.ph
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.9, ptr noundef nonnull @__func__._ZNK7maliput3api5rules12RuleRegistry19BuildRangeValueRuleERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS1_14RangeValueRule5RangeESaISH_EE, ptr noundef nonnull @.str.1, i32 noundef 116) #7
  unreachable

25:                                               ; preds = %.lr.ph
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api5rules14RangeValueRule5RangeESt6vectorIS5_SaIS5_EEEEbRKNS_17__normal_iteratorIT_T0_EESG_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br i1 %27, label %.lr.ph, label %._crit_edge
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN7maliput3api5rules12_GLOBAL__N_18HasValueERKSt6vectorINS1_14RangeValueRule5RangeESaIS5_EERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(152)) local_unnamed_addr #4

declare void @_ZN7maliput3api5rules14RangeValueRuleC1ERKNS0_22TypeSpecificIdentifierINS1_4RuleEEERKNS3_INS4_4TypeEEERKNS0_10LaneSRouteERKSt6vectorINS2_5RangeESaISG_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 #5

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


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