; 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.69" = type { %"class.std::optional" }
%"class.maliput::common::ComparisonResultCollector" = type { i32, i32, %"class.std::__cxx11::basic_string" }
%"struct.maliput::common::ComparisonResult.79" = type { %"class.std::optional" }
%"struct.std::__detail::_Node_const_iterator.284" = type { %"struct.std::__detail::_Node_iterator_base.285" }
%"struct.std::__detail::_Node_iterator_base.285" = type { ptr }
%"struct.maliput::common::ComparisonResult.266" = type { %"class.std::optional" }
%"struct.std::pair.286" = type <{ %"class.maliput::api::rules::UniqueBulbId", i32, [4 x i8] }>
%"class.maliput::api::rules::UniqueBulbId" = type { %"class.maliput::api::UniqueId", %"class.maliput::api::TypeSpecificIdentifier.221", %"class.maliput::api::TypeSpecificIdentifier.228", %"class.maliput::api::TypeSpecificIdentifier.288" }
%"class.maliput::api::UniqueId" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::TypeSpecificIdentifier.221" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::TypeSpecificIdentifier.228" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::TypeSpecificIdentifier.288" = type { %"class.std::__cxx11::basic_string" }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [52 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
define dso_local void @_ZN7maliput3api5rules7IsEqualERKSt8optionalISt13unordered_mapINS1_12UniqueBulbIdENS1_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEESH_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.69") align 8 %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef nonnull align 8 dereferenceable(64) %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.79", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.maliput::common::ComparisonResult.2", align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"struct.std::__detail::_Node_const_iterator.284", align 8
  %14 = alloca %"struct.std::__detail::_Node_const_iterator.284", align 8
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.maliput::common::ComparisonResult.266", 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) #5
  call void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %17) #5
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %19) #5
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %8, ptr noundef @.str.83, ptr noundef @.str.84, i1 noundef zeroext %18, i1 noundef zeroext %20)
          to label %21 unwind label %47

21:                                               ; preds = %3
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 380, ptr noundef @.str.82, ptr noundef %8)
          to label %22 unwind label %51

22:                                               ; preds = %21
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #5
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %23) #5
  br i1 %24, label %25, label %83

25:                                               ; preds = %22
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %26) #5
  %28 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %27) #5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %29) #5
  %31 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %30) #5
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.2") align 8 %11, ptr noundef @.str.86, ptr noundef @.str.87, i64 noundef %28, i64 noundef %31)
          to label %32 unwind label %47

32:                                               ; preds = %25
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 382, ptr noundef @.str.85, ptr noundef %11)
          to label %33 unwind label %55

33:                                               ; preds = %32
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  %35 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKRSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(64) %34) #5
  store ptr %35, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = call ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %36) #5
  %38 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.284", ptr %13, i32 0, i32 0
  %39 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.285", ptr %38, i32 0, i32 0
  store ptr %37, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = call ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %40) #5
  %42 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.284", ptr %14, i32 0, i32 0
  %43 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.285", ptr %42, i32 0, i32 0
  store ptr %41, ptr %43, align 8
  br label %44

44:                                               ; preds = %71, %33
  %45 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br i1 %45, label %59, label %46

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %82

47:                                               ; preds = %83, %25, %3
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %9, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %10, align 4
  br label %86

51:                                               ; preds = %21
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %9, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #5
  br label %86

55:                                               ; preds = %32
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %9, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  br label %86

59:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %60 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  store ptr %60, ptr %15, align 8, !tbaa !5
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %61) #5
  %63 = load ptr, ptr %15, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.std::pair.286", ptr %63, i32 0, i32 0
  %65 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(56) %62, ptr noundef nonnull align 8 dereferenceable(128) %64)
          to label %66 unwind label %73

66:                                               ; preds = %59
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.std::pair.286", ptr %67, i32 0, i32 1
  invoke void @_ZN7maliput3api5rules7IsEqualERKNS1_9BulbStateES4_(ptr dead_on_unwind writable sret(%"struct.maliput::common::ComparisonResult.266") align 8 %16, ptr noundef nonnull align 4 dereferenceable(4) %65, ptr noundef nonnull align 4 dereferenceable(4) %68)
          to label %69 unwind label %73

69:                                               ; preds = %66
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultINS_3api5rules9BulbStateEEEvPKciS7_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef @.str, i32 noundef 384, ptr noundef @.str.88, ptr noundef %16)
          to label %70 unwind label %77

70:                                               ; preds = %69
  call void @_ZN7maliput6common16ComparisonResultINS_3api5rules9BulbStateEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %71

71:                                               ; preds = %70
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %44

73:                                               ; preds = %66, %59
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %9, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %10, align 4
  br label %81

77:                                               ; preds = %69
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %9, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %10, align 4
  call void @_ZN7maliput6common16ComparisonResultINS_3api5rules9BulbStateEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #5
  br label %81

81:                                               ; preds = %77, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %86

82:                                               ; preds = %46
  br label %83

83:                                               ; preds = %82, %22
  %84 = getelementptr inbounds %"struct.maliput::common::ComparisonResult.69", ptr %0, i32 0, i32 0
  invoke void @_ZNK7maliput6common25ComparisonResultCollector6resultB5cxx11Ev(ptr dead_on_unwind writable sret(%"class.std::optional") align 8 %84, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %85 unwind label %47

85:                                               ; preds = %83
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  ret void

86:                                               ; preds = %81, %55, %51, %47
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr %9, align 8
  %89 = load i32, ptr %10, align 4
  %90 = insertvalue { ptr, i32 } poison, ptr %88, 0
  %91 = insertvalue { ptr, i32 } %90, i32 %89, 1
  resume { ptr, i32 } %91
}

; 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
declare dso_local void @_ZN7maliput3api5rules7IsEqualERKNS1_9BulbStateES4_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.266") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_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_baseISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0EEESB_(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(132) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEppEv(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 = { 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.69" = type { %"class.std::optional" }
%"class.maliput::common::ComparisonResultCollector" = type { i32, i32, %"class.std::__cxx11::basic_string" }
%"struct.maliput::common::ComparisonResult.79" = type { %"class.std::optional" }
%"struct.std::__detail::_Node_const_iterator.284" = type { %"struct.std::__detail::_Node_iterator_base.285" }
%"struct.std::__detail::_Node_iterator_base.285" = type { ptr }
%"struct.maliput::common::ComparisonResult.266" = type { %"class.std::optional" }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@.str.82 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.83 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.84 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.85 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.86 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.87 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.88 = external hidden unnamed_addr constant [52 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
define dso_local void @_ZN7maliput3api5rules7IsEqualERKSt8optionalISt13unordered_mapINS1_12UniqueBulbIdENS1_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEESH_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.69") align 8 %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef nonnull align 8 dereferenceable(64) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.maliput::common::ComparisonResultCollector", align 8
  %5 = alloca %"struct.maliput::common::ComparisonResult.79", align 8
  %6 = alloca %"struct.maliput::common::ComparisonResult.2", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.284", align 8
  %8 = alloca %"struct.std::__detail::_Node_const_iterator.284", align 8
  %9 = alloca %"struct.maliput::common::ComparisonResult.266", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #5
  call void @_ZN7maliput6common25ComparisonResultCollectorC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  %10 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %1) #5
  %11 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %2) #5
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_bb(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.79") align 8 %5, ptr noundef nonnull @.str.83, ptr noundef nonnull @.str.84, i1 noundef zeroext %10, i1 noundef zeroext %11)
          to label %12 unwind label %26

12:                                               ; preds = %3
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultIbEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 380, ptr noundef nonnull @.str.82, ptr noundef nonnull %5)
          to label %13 unwind label %28

13:                                               ; preds = %12
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  %14 = call noundef zeroext i1 @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEE9has_valueEv(ptr noundef nonnull align 8 dereferenceable(64) %1) #5
  br i1 %14, label %15, label %46

15:                                               ; preds = %13
  %16 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %1) #5
  %17 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %16) #5
  %18 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %2) #5
  %19 = call noundef i64 @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(56) %18) #5
  invoke void @_ZN7maliput3api7IsEqualEPKcS2_mm(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.2") align 8 %6, ptr noundef nonnull @.str.86, ptr noundef nonnull @.str.87, i64 noundef %17, i64 noundef %19)
          to label %20 unwind label %26

20:                                               ; preds = %15
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultImEEvPKciS4_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 382, ptr noundef nonnull @.str.85, ptr noundef nonnull %6)
          to label %21 unwind label %30

21:                                               ; preds = %20
  call void @_ZN7maliput6common16ComparisonResultImED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #5
  %22 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKRSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEdeEv(ptr noundef nonnull align 8 dereferenceable(64) %1) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %23 = call ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #5
  store ptr %23, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %24 = call ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %22) #5
  store ptr %24, ptr %8, align 8
  %25 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %38, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %46

26:                                               ; preds = %46, %15, %3
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %48

28:                                               ; preds = %12
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput6common16ComparisonResultIbED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #5
  br label %48

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

.lr.ph:                                           ; preds = %21, %38
  %32 = call noundef nonnull align 8 dereferenceable(132) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %33 = call noundef ptr @_ZNKSt8optionalISt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS3_9BulbStateESt4hashIS4_ESt8equal_toIS4_ESaISt4pairIKS4_S5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(64) %2) #5
  %34 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE2atERSA_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(128) %32)
          to label %35 unwind label %41

35:                                               ; preds = %.lr.ph
  %36 = getelementptr inbounds i8, ptr %32, i64 128
  invoke void @_ZN7maliput3api5rules7IsEqualERKNS1_9BulbStateES4_(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::common::ComparisonResult.266") align 8 %9, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %37 unwind label %41

37:                                               ; preds = %35
  invoke void @_ZN7maliput6common25ComparisonResultCollector9AddResultINS_3api5rules9BulbStateEEEvPKciS7_NS0_16ComparisonResultIT_EE(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull @.str, i32 noundef 384, ptr noundef nonnull @.str.88, ptr noundef nonnull %9)
          to label %38 unwind label %43

38:                                               ; preds = %37
  call void @_ZN7maliput6common16ComparisonResultINS_3api5rules9BulbStateEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #5
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %40 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br i1 %40, label %.lr.ph, label %._crit_edge

41:                                               ; preds = %35, %.lr.ph
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %37
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput6common16ComparisonResultINS_3api5rules9BulbStateEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #5
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %48

46:                                               ; preds = %._crit_edge, %13
  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 %47 unwind label %26

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

48:                                               ; preds = %45, %30, %28, %26
  %.pn.pn = phi { ptr, i32 } [ %.pn, %45 ], [ %27, %26 ], [ %31, %30 ], [ %29, %28 ]
  call void @_ZN7maliput6common25ComparisonResultCollectorD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn.pn
}

; 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
declare dso_local void @_ZN7maliput3api5rules7IsEqualERKNS1_9BulbStateES4_(ptr dead_on_unwind noalias writable sret(%"struct.maliput::common::ComparisonResult.266") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt13unordered_mapIN7maliput3api5rules12UniqueBulbIdENS2_9BulbStateESt4hashIS3_ESt8equal_toIS3_ESaISt4pairIKS3_S4_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_baseISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0EEESB_(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(132) ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKN7maliput3api5rules12UniqueBulbIdENS4_9BulbStateEELb0ELb0EEppEv(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 = { 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,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass