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

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

%"class.__gnu_cxx::__normal_iterator.84" = type { ptr }
%class.anon.85 = type { i8 }
%class.anon.95 = type { %"class.maliput::api::TypeSpecificIdentifier.63" }
%"class.maliput::api::TypeSpecificIdentifier.63" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.maliput::common::Passkey.96" = type { i8 }
%"class.maliput::api::rules::TrafficLight" = type { %"class.maliput::api::TypeSpecificIdentifier.62", %"class.maliput::api::InertialPosition", %"class.maliput::api::Rotation", %"class.std::vector.69" }
%"class.maliput::api::TypeSpecificIdentifier.62" = type { %"class.std::__cxx11::basic_string" }
%"class.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"class.maliput::api::Rotation" = type { %"class.maliput::math::Quaternion" }
%"class.maliput::math::Quaternion" = type { double, double, double, double }
%"class.std::vector.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = type { %"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::BulbGroup>, std::allocator<std::unique_ptr<maliput::api::rules::BulbGroup>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::BulbGroup>, std::allocator<std::unique_ptr<maliput::api::rules::BulbGroup>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::BulbGroup>, std::allocator<std::unique_ptr<maliput::api::rules::BulbGroup>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::BulbGroup>, std::allocator<std::unique_ptr<maliput::api::rules::BulbGroup>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [139 x i8], align 1
@__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [151 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %14 = alloca %class.anon.85, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %24 = alloca %class.anon.95, align 8
  %25 = alloca %"class.maliput::common::Passkey.96", align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8
  %27 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules12TrafficLightEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %28)
  %29 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 1
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %30, i64 24, i1 false)
  %31 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 2
  %32 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 %32, i64 32, i1 false), !tbaa.struct !9
  %33 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EEC2EOS9_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br label %34

34:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %35 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  %36 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  %37 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %12, i32 0, i32 0
  store ptr %36, ptr %37, align 8
  %38 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  %39 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #7
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %13, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  %41 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %12, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %13, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8
  %45 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr %42, ptr %44)
          to label %46 unwind label %55

46:                                               ; preds = %34
  %47 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %11, i32 0, i32 0
  store ptr %45, ptr %47, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %48 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  %49 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #7
  %50 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %17, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %52 = xor i1 %51, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br i1 %52, label %53, label %63

53:                                               ; preds = %46
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.19, ptr noundef @__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE, ptr noundef @.str.9, i32 noundef 152) #8
          to label %54 unwind label %59

54:                                               ; preds = %53
  unreachable

55:                                               ; preds = %34
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %15, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %120

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

63:                                               ; preds = %46
  br label %64

64:                                               ; preds = %63
  br label %65

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %66 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  store ptr %66, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %67 = load ptr, ptr %18, align 8, !tbaa !5
  %68 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #7
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %19, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %70 = load ptr, ptr %18, align 8, !tbaa !5
  %71 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %20, i32 0, i32 0
  store ptr %71, ptr %72, align 8
  br label %73

73:                                               ; preds = %116, %65
  %74 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br i1 %74, label %76, label %75

75:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %119

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  store ptr %77, ptr %21, align 8, !tbaa !5
  br label %78

78:                                               ; preds = %76
  %79 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  %80 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #7
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %22, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  %82 = getelementptr inbounds %"class.maliput::api::rules::TrafficLight", ptr %26, i32 0, i32 3
  %83 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %82) #7
  %84 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %23, i32 0, i32 0
  store ptr %83, ptr %84, align 8
  %85 = getelementptr inbounds %class.anon.95, ptr %24, i32 0, i32 0
  %86 = load ptr, ptr %21, align 8, !tbaa !5
  %87 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %86) #7
  %88 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules9BulbGroup2idEv(ptr noundef nonnull align 8 dereferenceable(120) %87)
          to label %89 unwind label %101

89:                                               ; preds = %78
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(32) %88)
          to label %90 unwind label %101

90:                                               ; preds = %89
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %22, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.84", ptr %23, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8
  %95 = invoke noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr %92, ptr %94, ptr noundef %24)
          to label %96 unwind label %105

96:                                               ; preds = %90
  %97 = icmp eq i64 %95, 1
  %98 = xor i1 %97, true
  call void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br i1 %98, label %99, label %109

99:                                               ; preds = %96
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.20, ptr noundef @__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE, ptr noundef @.str.9, i32 noundef 156) #8
          to label %100 unwind label %101

100:                                              ; preds = %99
  unreachable

101:                                              ; preds = %114, %111, %99, %89, %78
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %15, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %16, align 4
  br label %118

105:                                              ; preds = %90
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %15, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %16, align 4
  call void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %118

109:                                              ; preds = %96
  br label %110

110:                                              ; preds = %109
  br label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %21, align 8, !tbaa !5
  %113 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %112) #7
  invoke void @_ZN7maliput6common7PasskeyINS_3api5rules12TrafficLightEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %114 unwind label %101

114:                                              ; preds = %111
  invoke void @_ZN7maliput3api5rules9BulbGroup15SetTrafficLightENS_6common7PasskeyINS1_12TrafficLightEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(120) %113, ptr noundef %25, ptr noundef %26)
          to label %115 unwind label %101

115:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %116

116:                                              ; preds = %115
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br label %73

118:                                              ; preds = %105, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %120

119:                                              ; preds = %75
  ret void

120:                                              ; preds = %118, %59, %55
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules12TrafficLightEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %121

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr, ptr) #6

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr, ptr, ptr noundef) #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api5rules9BulbGroup15SetTrafficLightENS_6common7PasskeyINS1_12TrafficLightEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) #4 align 2

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

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

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

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

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

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

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


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

%"class.__gnu_cxx::__normal_iterator.84" = type { ptr }
%class.anon.95 = type { %"class.maliput::api::TypeSpecificIdentifier.63" }
%"class.maliput::api::TypeSpecificIdentifier.63" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.maliput::common::Passkey.96" = type { i8 }

@.str.9 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [139 x i8], align 1
@__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE = external hidden unnamed_addr constant [13 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [151 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %3, ptr noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.84", align 8
  %10 = alloca %class.anon.95, align 8
  %11 = alloca %"class.maliput::common::Passkey.96", align 1
  tail call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules12TrafficLightEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %12 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 24, i1 false)
  %13 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %3, i64 32, i1 false), !tbaa.struct !5
  %14 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EEC2EOS9_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %15 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %16 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %17 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr %15, ptr %16)
          to label %18 unwind label %23

18:                                               ; preds = %5
  store ptr %17, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %19 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %19, ptr %7, align 8
  %20 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br i1 %20, label %27, label %21

21:                                               ; preds = %18
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.19, ptr noundef nonnull @__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE, ptr noundef nonnull @.str.9, i32 noundef 152) #8
          to label %22 unwind label %25

22:                                               ; preds = %21
  unreachable

23:                                               ; preds = %5
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %49

25:                                               ; preds = %21
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %49

27:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %28 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %28, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %29 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %29, ptr %9, align 8
  %30 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %30, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %45, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  ret void

.lr.ph:                                           ; preds = %27, %45
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %32 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %33 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %34 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules9BulbGroup2idEv(ptr noundef nonnull align 8 dereferenceable(120) %34)
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %36 unwind label %.loopexit

36:                                               ; preds = %.lr.ph
  %37 = invoke noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr %32, ptr %33, ptr noundef nonnull %10)
          to label %38 unwind label %41

38:                                               ; preds = %36
  %.not = icmp eq i64 %37, 1
  call void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br i1 %.not, label %43, label %39

39:                                               ; preds = %38
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.20, ptr noundef nonnull @__func__._ZN7maliput3api5rules12TrafficLightC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EE, ptr noundef nonnull @.str.9, i32 noundef 156) #8
          to label %40 unwind label %.loopexit.split-lp

40:                                               ; preds = %39
  unreachable

.loopexit:                                        ; preds = %.lr.ph, %43
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %48

.loopexit.split-lp:                               ; preds = %39
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %48

41:                                               ; preds = %36
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %48

43:                                               ; preds = %38
  %44 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  call void @_ZN7maliput6common7PasskeyINS_3api5rules12TrafficLightEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11)
  invoke void @_ZN7maliput3api5rules9BulbGroup15SetTrafficLightENS_6common7PasskeyINS1_12TrafficLightEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(120) %44, ptr noundef nonnull %11, ptr noundef nonnull %0)
          to label %45 unwind label %.loopexit

45:                                               ; preds = %43
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %47 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br i1 %47, label %.lr.ph, label %._crit_edge

48:                                               ; preds = %.loopexit, %.loopexit.split-lp, %41
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %49

49:                                               ; preds = %48, %25, %23
  %.pn15 = phi { ptr, i32 } [ %26, %25 ], [ %.pn, %48 ], [ %24, %23 ]
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS4_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules12TrafficLightEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  resume { ptr, i32 } %.pn15
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr, ptr) local_unnamed_addr #6

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules9BulbGroupESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_12TrafficLightC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr, ptr, ptr noundef) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZN7maliput3api5rules12TrafficLightC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_9BulbGroupESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api5rules9BulbGroup15SetTrafficLightENS_6common7PasskeyINS1_12TrafficLightEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef, ptr noundef) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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


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