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

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

%"class.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::initializer_list.84" = type { ptr, i64 }
%"struct.std::pair.85" = type { %"class.std::__cxx11::basic_string", %"class.std::vector.87" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.std::initializer_list.92" = type { ptr, i64 }
%"class.maliput::api::TypeSpecificIdentifier.93" = type { %"class.std::__cxx11::basic_string" }
%"class.std::allocator.89" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.95" = type { i8 }

@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 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: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 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) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test26CreateNonEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::initializer_list.84", align 8
  %4 = alloca [1 x %"struct.std::pair.85"], align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.87", align 8
  %11 = alloca %"class.std::initializer_list.92", align 8
  %12 = alloca [2 x %"class.maliput::api::TypeSpecificIdentifier.93"], align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.0", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.0", align 1
  %18 = alloca i1, align 1
  %19 = alloca %"class.std::allocator.89", align 1
  %20 = alloca i1, align 1
  %21 = alloca %"struct.std::less", align 1
  %22 = alloca %"class.std::allocator.95", align 1
  store ptr %0, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %4) #4
  store i1 true, ptr %20, align 1
  store ptr %4, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %58

23:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %12) #4
  store i1 true, ptr %18, align 1
  store ptr %12, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %24 unwind label %62

24:                                               ; preds = %23
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %14)
          to label %25 unwind label %66

25:                                               ; preds = %24
  %26 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %12, i64 1
  store ptr %26, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %27 unwind label %70

27:                                               ; preds = %25
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %16)
          to label %28 unwind label %74

28:                                               ; preds = %27
  store i1 false, ptr %18, align 1
  %29 = getelementptr inbounds %"class.std::initializer_list.92", ptr %11, i32 0, i32 0
  store ptr %12, ptr %29, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.std::initializer_list.92", ptr %11, i32 0, i32 1
  store i64 2, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #4
  call void @_ZNSaIN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  %31 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8
  %33 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %34 = load i64, ptr %33, align 8
  invoke void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EEC2ESt16initializer_listIS5_ERKS6_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr %32, i64 %34, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %35 unwind label %78

35:                                               ; preds = %28
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEEC2IS6_SF_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairISJ_SK_EEEbE4typeELb1EEERS6_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %36 unwind label %82

36:                                               ; preds = %35
  store i1 false, ptr %20, align 1
  %37 = getelementptr inbounds %"class.std::initializer_list.84", ptr %3, i32 0, i32 0
  store ptr %4, ptr %37, align 8, !tbaa !12
  %38 = getelementptr inbounds %"class.std::initializer_list.84", ptr %3, i32 0, i32 1
  store i64 1, ptr %38, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  %39 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8
  %41 = getelementptr inbounds { ptr, i64 }, ptr %3, i32 0, i32 1
  %42 = load i64, ptr %41, align 8
  invoke void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEEC2ESt16initializer_listISJ_ERKSG_RKSK_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr %40, i64 %42, ptr noundef nonnull align 1 dereferenceable(1) %21, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %43 unwind label %86

43:                                               ; preds = %36
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINSA_5rules4RuleEEESaISE_EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  %44 = getelementptr inbounds [1 x %"struct.std::pair.85"], ptr %4, i32 0, i32 0
  %45 = getelementptr inbounds %"struct.std::pair.85", ptr %44, i64 1
  br label %46

46:                                               ; preds = %46, %43
  %47 = phi ptr [ %45, %43 ], [ %48, %46 ]
  %48 = getelementptr inbounds %"struct.std::pair.85", ptr %47, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %48) #4
  %49 = icmp eq ptr %48, %44
  br i1 %49, label %50, label %46

50:                                               ; preds = %46
  call void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  %51 = getelementptr inbounds [2 x %"class.maliput::api::TypeSpecificIdentifier.93"], ptr %12, i32 0, i32 0
  %52 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %51, i64 2
  br label %53

53:                                               ; preds = %53, %50
  %54 = phi ptr [ %52, %50 ], [ %55, %53 ]
  %55 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %54, i64 -1
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #4
  %56 = icmp eq ptr %55, %51
  br i1 %56, label %57, label %53

57:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #4
  ret void

58:                                               ; preds = %1
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %8, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %9, align 4
  br label %120

62:                                               ; preds = %23
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %8, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %9, align 4
  br label %109

66:                                               ; preds = %24
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  br label %108

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

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

78:                                               ; preds = %28
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %8, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %9, align 4
  br label %98

82:                                               ; preds = %35
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %8, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %9, align 4
  br label %97

86:                                               ; preds = %36
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %8, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %9, align 4
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINSA_5rules4RuleEEESaISE_EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #4
  %90 = getelementptr inbounds [1 x %"struct.std::pair.85"], ptr %4, i32 0, i32 0
  %91 = getelementptr inbounds %"struct.std::pair.85", ptr %90, i64 1
  br label %92

92:                                               ; preds = %92, %86
  %93 = phi ptr [ %91, %86 ], [ %94, %92 ]
  %94 = getelementptr inbounds %"struct.std::pair.85", ptr %93, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %94) #4
  %95 = icmp eq ptr %94, %90
  br i1 %95, label %96, label %92

96:                                               ; preds = %92
  br label %97

97:                                               ; preds = %96, %82
  call void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %98

98:                                               ; preds = %97, %78
  call void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #4
  %99 = getelementptr inbounds [2 x %"class.maliput::api::TypeSpecificIdentifier.93"], ptr %12, i32 0, i32 0
  %100 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %99, i64 2
  br label %101

101:                                              ; preds = %101, %98
  %102 = phi ptr [ %100, %98 ], [ %103, %101 ]
  %103 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %102, i64 -1
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #4
  %104 = icmp eq ptr %103, %99
  br i1 %104, label %105, label %101

105:                                              ; preds = %101
  br label %106

106:                                              ; preds = %105, %74
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #4
  br label %107

107:                                              ; preds = %106, %70
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #4
  br label %108

108:                                              ; preds = %107, %66
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  br label %109

109:                                              ; preds = %108, %62
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  %110 = load i1, ptr %18, align 1
  br i1 %110, label %111, label %119

111:                                              ; preds = %109
  %112 = load ptr, ptr %13, align 8
  %113 = icmp eq ptr %12, %112
  br i1 %113, label %118, label %114

114:                                              ; preds = %114, %111
  %115 = phi ptr [ %112, %111 ], [ %116, %114 ]
  %116 = getelementptr inbounds %"class.maliput::api::TypeSpecificIdentifier.93", ptr %115, i64 -1
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %116) #4
  %117 = icmp eq ptr %116, %12
  br i1 %117, label %118, label %114

118:                                              ; preds = %114, %111
  br label %119

119:                                              ; preds = %118, %109
  call void @llvm.lifetime.end.p0(i64 64, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  br label %120

120:                                              ; preds = %119, %58
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #4
  %121 = load i1, ptr %20, align 1
  br i1 %121, label %122, label %130

122:                                              ; preds = %120
  %123 = load ptr, ptr %5, align 8
  %124 = icmp eq ptr %4, %123
  br i1 %124, label %129, label %125

125:                                              ; preds = %125, %122
  %126 = phi ptr [ %123, %122 ], [ %127, %125 ]
  %127 = getelementptr inbounds %"struct.std::pair.85", ptr %126, i64 -1
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %127) #4
  %128 = icmp eq ptr %127, %4
  br i1 %128, label %129, label %125

129:                                              ; preds = %125, %122
  br label %130

130:                                              ; preds = %129, %120
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #4
  br label %131

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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_listIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEE", !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}
!12 = !{!13, !7, i64 0}
!13 = !{!"_ZTSSt16initializer_listISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINSA_5rules4RuleEEESaISE_EEEE", !7, i64 0, !10, i64 8}
!14 = !{!13, !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.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 }
%"struct.std::pair.85" = type { %"class.std::__cxx11::basic_string", %"class.std::vector.87" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::Rule>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.maliput::api::TypeSpecificIdentifier.93" = type { %"class.std::__cxx11::basic_string" }
%"class.std::allocator.89" = type { i8 }
%"struct.std::less" = type { i8 }
%"class.std::allocator.95" = type { i8 }

@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [20 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 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) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api4test26CreateNonEmptyRelatedRulesB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca [1 x %"struct.std::pair.85"], align 8
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::allocator.0", align 1
  %5 = alloca %"class.std::vector.87", align 8
  %6 = alloca [2 x %"class.maliput::api::TypeSpecificIdentifier.93"], align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator.0", align 1
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator.0", align 1
  %11 = alloca %"class.std::allocator.89", align 1
  %12 = alloca %"struct.std::less", align 1
  %13 = alloca %"class.std::allocator.95", align 1
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %14 unwind label %24

14:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %15 unwind label %.thread

15:                                               ; preds = %14
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %7)
          to label %16 unwind label %27

16:                                               ; preds = %15
  %17 = getelementptr inbounds i8, ptr %6, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #4
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %18 unwind label %29

18:                                               ; preds = %16
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEC2ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull %9)
          to label %19 unwind label %31

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #4
  call void @_ZNSaIN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  invoke void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EEC2ESt16initializer_listIS5_ERKS6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr nonnull %6, i64 2, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %20 unwind label %33

20:                                               ; preds = %19
  invoke void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEEC2IS6_SF_TnNSt9enable_ifIXaaclsr5_PCCPE18_ConstructiblePairIT_T0_EEclsr5_PCCPE26_ImplicitlyConvertiblePairISJ_SK_EEEbE4typeELb1EEERS6_RKSF_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %21 unwind label %35

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #4
  call void @_ZNSaISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  invoke void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS8_5rules4RuleEEESaISC_EESt4lessIS5_ESaISt4pairIKS5_SE_EEEC2ESt16initializer_listISJ_ERKSG_RKSK_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr nonnull %2, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %22 unwind label %.loopexit46.loopexit

22:                                               ; preds = %21
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINSA_5rules4RuleEEESaISE_EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #4
  call void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  call void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  %23 = getelementptr inbounds i8, ptr %6, i64 32
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #4
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4
  ret void

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

.thread:                                          ; preds = %14
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  br label %.loopexit

27:                                               ; preds = %15
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %41

29:                                               ; preds = %16
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %40

31:                                               ; preds = %18
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit45

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

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

.loopexit46.loopexit:                             ; preds = %21
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINSA_5rules4RuleEEESaISE_EEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #4
  call void @_ZNSt4pairIKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIN7maliput3api22TypeSpecificIdentifierINS9_5rules4RuleEEESaISD_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %2) #4
  br label %.loopexit46

.loopexit46:                                      ; preds = %.loopexit46.loopexit, %35
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %37, %.loopexit46.loopexit ]
  call void @_ZNSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #4
  br label %.loopexit45.loopexit

.loopexit45.loopexit:                             ; preds = %.loopexit46, %33
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit46 ], [ %34, %33 ]
  call void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #4
  %38 = getelementptr inbounds i8, ptr %6, i64 32
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #4
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #4
  br label %.loopexit45

.loopexit45:                                      ; preds = %.loopexit45.loopexit, %31
  %.pn.pn.pn = phi { ptr, i32 } [ %32, %31 ], [ %.pn.pn, %.loopexit45.loopexit ]
  %39 = phi i1 [ false, %31 ], [ true, %.loopexit45.loopexit ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  br label %40

40:                                               ; preds = %.loopexit45, %29
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %.loopexit45 ], [ %30, %29 ]
  %.112 = phi i1 [ %39, %.loopexit45 ], [ false, %29 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #4
  br label %41

41:                                               ; preds = %27, %40
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %40 ], [ %28, %27 ]
  %.015 = phi ptr [ %17, %40 ], [ %6, %27 ]
  %.213 = phi i1 [ %.112, %40 ], [ false, %27 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #4
  %42 = icmp eq ptr %6, %.015
  %or.cond = select i1 %.213, i1 true, i1 %42
  br i1 %or.cond, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %41, %.preheader
  %43 = phi ptr [ %44, %.preheader ], [ %.015, %41 ]
  %44 = getelementptr inbounds i8, ptr %43, i64 -32
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4RuleEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #4
  %45 = icmp eq ptr %44, %6
  br i1 %45, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %41
  %.pn.pn.pn.pn.pn.pn44 = phi { ptr, i32 } [ %26, %.thread ], [ %.pn.pn.pn.pn.pn, %41 ], [ %.pn.pn.pn.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #4
  br label %46

46:                                               ; preds = %.loopexit, %24
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn44, %.loopexit ], [ %25, %24 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %2) #4
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7maliput3api22TypeSpecificIdentifierINS1_5rules4RuleEEEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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

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