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

; 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"

%"struct.maliput::common::ComparisonResult.2" = type { %"class.std::optional" }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<std::__cxx11::basic_string<char>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::__cxx11::basic_string<char>>::_Storage" = 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] }
%"struct.maliput::common::ComparisonResult.79" = type { %"class.std::optional" }
%"struct.maliput::common::ComparisonResult.200" = type { %"class.std::optional" }
%"class.maliput::common::ComparisonResultCollector" = type { i32, i32, %"class.std::__cxx11::basic_string" }
%"struct.std::__detail::_Node_const_iterator.217" = type { %"struct.std::__detail::_Node_iterator_base.218" }
%"struct.std::__detail::_Node_iterator_base.218" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.227" = type { ptr }
%"struct.std::pair.219" = type { %"class.maliput::api::TypeSpecificIdentifier.221", %"class.std::vector.222" }
%"class.maliput::api::TypeSpecificIdentifier.221" = type { %"class.std::__cxx11::basic_string" }
%"class.std::vector.222" = type { %"struct.std::_Vector_base.223" }
%"struct.std::_Vector_base.223" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::rules::BulbGroup>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [44 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 dso_local void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 align 2

declare void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.2") align 8, ptr noundef, ptr noundef, i64 noundef, i64 noundef) #3

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 align 2

declare void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.79") align 8, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules7IsEqualERKSt13unordered_mapINS0_22TypeSpecificIdentifierINS1_12TrafficLightEEESt6vectorINS3_INS1_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEESL_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.200") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.maliput::common::ComparisonResultCollector", align 8
  %8 = alloca %"struct.maliput::common::ComparisonResult.2", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %18 = alloca %"struct.maliput::common::ComparisonResult.79", align 8
  %19 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %20 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %29 = alloca %"struct.maliput::common::ComparisonResult.79", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #6
  call void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %32) #6
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %34) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.2") align 8 %8, ptr noundef @.str.2, ptr noundef @.str.3, i64 noundef %33, i64 noundef %35)
          to label %36 unwind label %56

36:                                               ; preds = %3
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 332, ptr noundef @.str.1, ptr noundef %8)
          to label %37 unwind label %60

37:                                               ; preds = %36
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #6
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %38) #6
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %40) #6
  %42 = icmp eq i64 %39, %41
  br i1 %42, label %43, label %187

43:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %44, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %45) #6
  %47 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.217", ptr %12, i32 0, i32 0
  %48 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.218", ptr %47, i32 0, i32 0
  store ptr %46, ptr %48, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %49) #6
  %51 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.217", ptr %13, i32 0, i32 0
  %52 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.218", ptr %51, i32 0, i32 0
  store ptr %50, ptr %52, align 8
  br label %53

53:                                               ; preds = %181, %43
  %54 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %54, label %64, label %55

55:                                               ; preds = %53
  store i32 2, ptr %14, align 4
  br label %185

56:                                               ; preds = %187, %3
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %9, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %10, align 4
  br label %190

60:                                               ; preds = %36
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %9, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #6
  br label %190

64:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %65 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  store ptr %65, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.std::pair.219", ptr %67, i32 0, i32 0
  %69 = invoke ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4findERSG_(ptr noundef nonnull align 8 dereferenceable(56) %66, ptr noundef nonnull align 8 dereferenceable(32) %68)
          to label %70 unwind label %88

70:                                               ; preds = %64
  %71 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.217", ptr %17, i32 0, i32 0
  %72 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.218", ptr %71, i32 0, i32 0
  store ptr %69, ptr %72, align 8
  store ptr %17, ptr %16, align 8, !tbaa !5
  %73 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %74) #6
  %76 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.217", ptr %19, i32 0, i32 0
  %77 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.218", ptr %76, i32 0, i32 0
  store ptr %75, ptr %77, align 8
  %78 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %18, ptr noundef @.str.41, ptr noundef @.str.33, i1 noundef zeroext %78, i1 noundef zeroext true)
          to label %79 unwind label %92

79:                                               ; preds = %70
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 336, ptr noundef @.str.40, ptr noundef %18)
          to label %80 unwind label %96

80:                                               ; preds = %79
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %81 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %82) #6
  %84 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.217", ptr %20, i32 0, i32 0
  %85 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.218", ptr %84, i32 0, i32 0
  store ptr %83, ptr %85, align 8
  %86 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br i1 %86, label %87, label %101

87:                                               ; preds = %80
  store i32 2, ptr %14, align 4
  br label %175

88:                                               ; preds = %64
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %9, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %10, align 4
  br label %184

92:                                               ; preds = %70
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  br label %100

96:                                               ; preds = %79
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %9, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %183

101:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %102 = load ptr, ptr %15, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.std::pair.219", ptr %102, i32 0, i32 1
  store ptr %103, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %104 = load ptr, ptr %21, align 8, !tbaa !5
  %105 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %104) #6
  %106 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %22, i32 0, i32 0
  store ptr %105, ptr %106, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %107 = load ptr, ptr %21, align 8, !tbaa !5
  %108 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #6
  %109 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %23, i32 0, i32 0
  store ptr %108, ptr %109, align 8
  br label %110

110:                                              ; preds = %170, %101
  %111 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %111, label %113, label %112

112:                                              ; preds = %110
  store i32 4, ptr %14, align 4
  br label %173

113:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %114 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  store ptr %114, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %115 = load ptr, ptr %16, align 8, !tbaa !5
  %116 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %115) #6
  %117 = getelementptr inbounds %"struct.std::pair.219", ptr %116, i32 0, i32 1
  %118 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #6
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %27, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %120) #6
  %122 = getelementptr inbounds %"struct.std::pair.219", ptr %121, i32 0, i32 1
  %123 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %122) #6
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %28, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  %125 = load ptr, ptr %24, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %27, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %28, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  %130 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS3_5rules9BulbGroupEEESt6vectorIS7_SaIS7_EEEES7_ET_SE_SE_RKT0_(ptr %127, ptr %129, ptr noundef nonnull align 8 dereferenceable(32) %125)
          to label %131 unwind label %150

131:                                              ; preds = %113
  %132 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %26, i32 0, i32 0
  store ptr %130, ptr %132, align 8
  store ptr %26, ptr %25, align 8, !tbaa !5
  %133 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %134) #6
  %136 = getelementptr inbounds %"struct.std::pair.219", ptr %135, i32 0, i32 1
  %137 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #6
  %138 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %30, i32 0, i32 0
  store ptr %137, ptr %138, align 8
  %139 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(8) %30) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %29, ptr noundef @.str.78, ptr noundef @.str.33, i1 noundef zeroext %139, i1 noundef zeroext true)
          to label %140 unwind label %154

140:                                              ; preds = %131
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 343, ptr noundef @.str.77, ptr noundef %29)
          to label %141 unwind label %158

141:                                              ; preds = %140
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  %142 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %143 = load ptr, ptr %16, align 8, !tbaa !5
  %144 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %143) #6
  %145 = getelementptr inbounds %"struct.std::pair.219", ptr %144, i32 0, i32 1
  %146 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %145) #6
  %147 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.227", ptr %31, i32 0, i32 0
  store ptr %146, ptr %147, align 8
  %148 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br i1 %148, label %149, label %163

149:                                              ; preds = %141
  store i32 4, ptr %14, align 4
  br label %164

150:                                              ; preds = %113
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %9, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %10, align 4
  br label %172

154:                                              ; preds = %131
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %9, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %10, align 4
  br label %162

158:                                              ; preds = %140
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %9, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %29) #6
  br label %162

162:                                              ; preds = %158, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %172

163:                                              ; preds = %141
  store i32 0, ptr %14, align 4
  br label %164

164:                                              ; preds = %163, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  %165 = load i32, ptr %14, align 4
  switch i32 %165, label %167 [
    i32 0, label %166
  ]

166:                                              ; preds = %164
  store i32 0, ptr %14, align 4
  br label %167

167:                                              ; preds = %166, %164
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  %168 = load i32, ptr %14, align 4
  switch i32 %168, label %173 [
    i32 0, label %169
  ]

169:                                              ; preds = %167
  br label %170

170:                                              ; preds = %169
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  br label %110

172:                                              ; preds = %162, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %183

173:                                              ; preds = %167, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %174

174:                                              ; preds = %173
  store i32 0, ptr %14, align 4
  br label %175

175:                                              ; preds = %174, %87
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  %176 = load i32, ptr %14, align 4
  switch i32 %176, label %178 [
    i32 0, label %177
  ]

177:                                              ; preds = %175
  store i32 0, ptr %14, align 4
  br label %178

178:                                              ; preds = %177, %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %179 = load i32, ptr %14, align 4
  switch i32 %179, label %185 [
    i32 0, label %180
  ]

180:                                              ; preds = %178
  br label %181

181:                                              ; preds = %180
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br label %53

183:                                              ; preds = %172, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %184

184:                                              ; preds = %183, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %190

185:                                              ; preds = %178, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %186

186:                                              ; preds = %185
  br label %187

187:                                              ; preds = %186, %37
  %188 = getelementptr inbounds %"struct.maliput::common::ComparisonResult.200", ptr %0, i32 0, i32 0
  invoke void @_ZNK7maliput6common25ComparisonResultCollector6resultB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %188, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %189 unwind label %56

189:                                              ; preds = %187
  store i32 1, ptr %14, align 4
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #6
  ret void

190:                                              ; preds = %184, %60, %56
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #6
  br label %191

191:                                              ; preds = %190
  %192 = load ptr, ptr %9, align 8
  %193 = load i32, ptr %10, align 4
  %194 = insertvalue { ptr, i32 } poison, ptr %192, 0
  %195 = insertvalue { ptr, i32 } %194, i32 %193, 1
  resume { ptr, i32 } %195
}

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS3_5rules9BulbGroupEEESt6vectorIS7_SaIS7_EEEES7_ET_SE_SE_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(32)) #5

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; 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"

%"struct.maliput::common::ComparisonResult.2" = type { %"class.std::optional" }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload.base", [7 x i8] }
%"struct.std::_Optional_payload.base" = type { %"struct.std::_Optional_payload_base.base" }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<std::__cxx11::basic_string<char>>::_Storage", i8 }>
%"union.std::_Optional_payload_base<std::__cxx11::basic_string<char>>::_Storage" = 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] }
%"struct.maliput::common::ComparisonResult.79" = type { %"class.std::optional" }
%"struct.maliput::common::ComparisonResult.200" = type { %"class.std::optional" }
%"class.maliput::common::ComparisonResultCollector" = type { i32, i32, %"class.std::__cxx11::basic_string" }
%"struct.std::__detail::_Node_const_iterator.217" = type { %"struct.std::__detail::_Node_iterator_base.218" }
%"struct.std::__detail::_Node_iterator_base.218" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.227" = type { ptr }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [44 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 dso_local void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

declare void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.2") align 8, ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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 uwtable
declare dso_local void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 align 2

declare void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.79") align 8, ptr noundef, ptr noundef, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules7IsEqualERKSt13unordered_mapINS0_22TypeSpecificIdentifierINS1_12TrafficLightEEESt6vectorINS3_INS1_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEESL_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.200") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef nonnull align 8 dereferenceable(56) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.maliput::common::ComparisonResultCollector", align 8
  %5 = alloca %"struct.maliput::common::ComparisonResult.2", align 8
  %6 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %8 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %9 = alloca %"struct.maliput::common::ComparisonResult.79", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %11 = alloca %"struct.std::__detail::_Node_const_iterator.217", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %15 = alloca %"struct.maliput::common::ComparisonResult.79", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.227", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #6
  call void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  %18 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1) #6
  %19 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.2") align 8 %5, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i64 noundef %18, i64 noundef %19)
          to label %20 unwind label %29

20:                                               ; preds = %3
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 332, ptr noundef nonnull @.str.1, ptr noundef nonnull %5)
          to label %21 unwind label %31

21:                                               ; preds = %20
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  %22 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %1) #6
  %23 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  %24 = icmp eq i64 %22, %23
  br i1 %24, label %25, label %88

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %26 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %1) #6
  store ptr %26, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %27 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %1) #6
  store ptr %27, ptr %7, align 8
  %28 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %28, label %.lr.ph51, label %.loopexit

29:                                               ; preds = %88, %3
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %90

31:                                               ; preds = %20
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  br label %90

.lr.ph51:                                         ; preds = %25, %.loopexit53
  %33 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %34 = invoke ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4findERSG_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(32) %33)
          to label %35 unwind label %42

35:                                               ; preds = %.lr.ph51
  store ptr %34, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %36 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  store ptr %36, ptr %10, align 8
  %37 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %9, ptr noundef nonnull @.str.41, ptr noundef nonnull @.str.33, i1 noundef zeroext %37, i1 noundef zeroext true)
          to label %38 unwind label %44

38:                                               ; preds = %35
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 336, ptr noundef nonnull @.str.40, ptr noundef nonnull %9)
          to label %39 unwind label %46

39:                                               ; preds = %38
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %40 = call ptr @_ZNKSt13unordered_mapIN7maliput3api22TypeSpecificIdentifierINS1_5rules12TrafficLightEEESt6vectorINS2_INS3_9BulbGroupEEESaIS8_EESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_SA_EEE4cendEv(ptr noundef nonnull align 8 dereferenceable(56) %2) #6
  store ptr %40, ptr %11, align 8
  %41 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br i1 %41, label %.critedge, label %49

42:                                               ; preds = %.lr.ph51
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %87

44:                                               ; preds = %35
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %38
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %86

49:                                               ; preds = %39
  %50 = getelementptr inbounds i8, ptr %33, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %51 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  store ptr %51, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %52 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #6
  store ptr %52, ptr %13, align 8
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %53, label %.lr.ph, label %.loopexit53

.lr.ph:                                           ; preds = %49, %80
  %54 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %55 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %56 = getelementptr inbounds i8, ptr %55, i64 32
  %57 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE6cbeginEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  %58 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %59 = getelementptr inbounds i8, ptr %58, i64 32
  %60 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %61 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS3_5rules9BulbGroupEEESt6vectorIS7_SaIS7_EEEES7_ET_SE_SE_RKT0_(ptr %57, ptr %60, ptr noundef nonnull align 8 dereferenceable(32) %54)
          to label %62 unwind label %73

62:                                               ; preds = %.lr.ph
  store ptr %61, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %63 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %64 = getelementptr inbounds i8, ptr %63, i64 32
  %65 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #6
  store ptr %65, ptr %16, align 8
  %66 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %15, ptr noundef nonnull @.str.78, ptr noundef nonnull @.str.33, i1 noundef zeroext %66, i1 noundef zeroext true)
          to label %67 unwind label %75

67:                                               ; preds = %62
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 343, ptr noundef nonnull @.str.77, ptr noundef nonnull %15)
          to label %68 unwind label %77

68:                                               ; preds = %67
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %69 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %70 = getelementptr inbounds i8, ptr %69, i64 32
  %71 = call ptr @_ZNKSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_5rules9BulbGroupEEESaIS5_EE4cendEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #6
  store ptr %71, ptr %17, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %72, label %.loopexit53, label %80

73:                                               ; preds = %.lr.ph
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %83

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

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  br label %79

79:                                               ; preds = %77, %75
  %.pn42 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %83

80:                                               ; preds = %68
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  %82 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api22TypeSpecificIdentifierINS2_5rules9BulbGroupEEESt6vectorIS6_SaIS6_EEEEbRKNS_17__normal_iteratorIT_T0_EESH_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br i1 %82, label %.lr.ph, label %.loopexit53

83:                                               ; preds = %79, %73
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %79 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %86

.loopexit53:                                      ; preds = %80, %68, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %85 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api22TypeSpecificIdentifierINS3_5rules12TrafficLightEEESt6vectorINS4_INS5_9BulbGroupEEESaISB_EEELb0EEESH_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %85, label %.lr.ph51, label %.loopexit

86:                                               ; preds = %83, %48
  %.pn42.pn.pn = phi { ptr, i32 } [ %.pn42.pn, %83 ], [ %.pn, %48 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %87

87:                                               ; preds = %86, %42
  %.pn42.pn.pn.pn = phi { ptr, i32 } [ %.pn42.pn.pn, %86 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %90

.critedge:                                        ; preds = %39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit53, %25, %.critedge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %88

88:                                               ; preds = %.loopexit, %21
  invoke void @_ZNK7maliput6common25ComparisonResultCollector6resultB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %4)
          to label %89 unwind label %29

89:                                               ; preds = %88
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  ret void

90:                                               ; preds = %87, %31, %29
  %.pn47 = phi { ptr, i32 } [ %30, %29 ], [ %.pn42.pn.pn.pn, %87 ], [ %32, %31 ]
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn47
}

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPKN7maliput3api22TypeSpecificIdentifierINS3_5rules9BulbGroupEEESt6vectorIS7_SaIS7_EEEES7_ET_SE_SE_RKT0_(ptr, ptr, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

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

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

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

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

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

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