; 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.74" = type { ptr }
%class.anon = type { i8 }
%class.anon.77 = type { %"class.maliput::api::TypeSpecificIdentifier" }
%"class.maliput::api::TypeSpecificIdentifier" = 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" = type { i8 }
%"class.maliput::api::rules::BulbGroup" = type { %"class.maliput::api::TypeSpecificIdentifier.63", %"class.maliput::api::InertialPosition", %"class.maliput::api::Rotation", %"class.std::vector.64", ptr }
%"class.maliput::api::TypeSpecificIdentifier.63" = 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.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::Bulb>, std::allocator<std::unique_ptr<maliput::api::rules::Bulb>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::Bulb>, std::allocator<std::unique_ptr<maliput::api::rules::Bulb>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::Bulb>, std::allocator<std::unique_ptr<maliput::api::rules::Bulb>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<maliput::api::rules::Bulb>, std::allocator<std::unique_ptr<maliput::api::rules::Bulb>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.9 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [119 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: mustprogress uwtable
declare dso_local void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4BulbEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; 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) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE(ptr noundef nonnull align 8 dereferenceable(120) %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 #1 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 ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %16 = alloca %class.anon, align 1
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %24 = alloca %class.anon.77, align 8
  %25 = alloca %"class.maliput::common::Passkey", 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::BulbGroup", ptr %26, i32 0, i32 0
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %28)
  %29 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", 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::BulbGroup", 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::BulbGroup", ptr %26, i32 0, i32 3
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EEC2EOS9_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %34 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 4
  store ptr null, ptr %34, align 8, !tbaa !12
  br label %35

35:                                               ; preds = %5
  %36 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %37 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %38 = icmp ugt i64 %37, 0
  br i1 %38, label %45, label %39

39:                                               ; preds = %35
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.15, ptr noundef @__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE, ptr noundef @.str.9, i32 noundef 111) #8
          to label %40 unwind label %41

40:                                               ; preds = %39
  unreachable

41:                                               ; preds = %67, %39
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %11, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %12, align 4
  br label %130

45:                                               ; preds = %35
  br label %46

46:                                               ; preds = %45
  br label %47

47:                                               ; preds = %46
  br label %48

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %49 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %50 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  %51 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %14, i32 0, i32 0
  store ptr %50, ptr %51, align 8
  %52 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %53 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #7
  %54 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %15, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  %55 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %14, i32 0, i32 0
  %56 = load ptr, ptr %55, align 8
  %57 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %15, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8
  %59 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr %56, ptr %58)
          to label %60 unwind label %69

60:                                               ; preds = %48
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %13, i32 0, i32 0
  store ptr %59, ptr %61, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %62 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %63 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #7
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %17, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  %65 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  %66 = xor i1 %65, true
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br i1 %66, label %67, label %73

67:                                               ; preds = %60
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.16, ptr noundef @__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE, ptr noundef @.str.9, i32 noundef 113) #8
          to label %68 unwind label %41

68:                                               ; preds = %67
  unreachable

69:                                               ; preds = %48
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %130

73:                                               ; preds = %60
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %76 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  store ptr %76, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %77 = load ptr, ptr %18, align 8, !tbaa !5
  %78 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #7
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %19, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  %81 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #7
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %20, i32 0, i32 0
  store ptr %81, ptr %82, align 8
  br label %83

83:                                               ; preds = %126, %75
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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 %84, label %86, label %85

85:                                               ; preds = %83
  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 %129

86:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  store ptr %87, ptr %21, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %86
  %89 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %90 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #7
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %22, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = getelementptr inbounds %"class.maliput::api::rules::BulbGroup", ptr %26, i32 0, i32 3
  %93 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %23, i32 0, i32 0
  store ptr %93, ptr %94, align 8
  %95 = getelementptr inbounds %class.anon.77, ptr %24, i32 0, i32 0
  %96 = load ptr, ptr %21, align 8, !tbaa !5
  %97 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %96) #7
  %98 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules4Bulb2idEv(ptr noundef nonnull align 8 dereferenceable(192) %97)
          to label %99 unwind label %111

99:                                               ; preds = %88
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4BulbEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef nonnull align 8 dereferenceable(32) %98)
          to label %100 unwind label %111

100:                                              ; preds = %99
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %22, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8
  %103 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.74", ptr %23, i32 0, i32 0
  %104 = load ptr, ptr %103, align 8
  %105 = invoke noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr %102, ptr %104, ptr noundef %24)
          to label %106 unwind label %115

106:                                              ; preds = %100
  %107 = icmp eq i64 %105, 1
  %108 = xor i1 %107, true
  call void @"_ZZN7maliput3api5rules9BulbGroupC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br i1 %108, label %109, label %119

109:                                              ; preds = %106
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.17, ptr noundef @__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE, ptr noundef @.str.9, i32 noundef 116) #8
          to label %110 unwind label %111

110:                                              ; preds = %109
  unreachable

111:                                              ; preds = %124, %121, %109, %99, %88
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %11, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %12, align 4
  br label %128

115:                                              ; preds = %100
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %11, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %12, align 4
  call void @"_ZZN7maliput3api5rules9BulbGroupC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %128

119:                                              ; preds = %106
  br label %120

120:                                              ; preds = %119
  br label %121

121:                                              ; preds = %120
  %122 = load ptr, ptr %21, align 8, !tbaa !5
  %123 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %122) #7
  invoke void @_ZN7maliput6common7PasskeyINS_3api5rules9BulbGroupEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %124 unwind label %111

124:                                              ; preds = %121
  invoke void @_ZN7maliput3api5rules4Bulb12SetBulbGroupENS_6common7PasskeyINS1_9BulbGroupEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(192) %123, ptr noundef %25, ptr noundef %26)
          to label %125 unwind label %111

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

126:                                              ; preds = %125
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  br label %83

128:                                              ; preds = %115, %111
  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 %130

129:                                              ; preds = %85
  ret void

130:                                              ; preds = %128, %69, %41
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %131

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr, ptr) #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api5rules4Bulb12SetBulbGroupENS_6common7PasskeyINS1_9BulbGroupEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef, ptr noundef) #1 align 2

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 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}
!12 = !{!13, !6, i64 112}
!13 = !{!"_ZTSN7maliput3api5rules9BulbGroupE", !14, i64 0, !18, i64 32, !22, i64 56, !24, i64 88, !6, i64 112}
!14 = !{!"_ZTSN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEE", !15, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN7maliput3api16InertialPositionE", !19, i64 0}
!19 = !{!"_ZTSN7maliput4math7Vector3E", !20, i64 0}
!20 = !{!"_ZTSN7maliput4math10VectorBaseILm3ENS0_7Vector3EEE", !21, i64 0}
!21 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!22 = !{!"_ZTSN7maliput3api8RotationE", !23, i64 0}
!23 = !{!"_ZTSN7maliput4math10QuaternionE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!24 = !{!"_ZTSSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; 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.74" = type { ptr }
%class.anon.77 = type { %"class.maliput::api::TypeSpecificIdentifier" }
%"class.maliput::api::TypeSpecificIdentifier" = 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" = type { i8 }

@.str.9 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [109 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [119 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 uwtable
declare dso_local void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4BulbEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; 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) #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE(ptr noundef nonnull align 8 dereferenceable(120) %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 #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.74", align 8
  %10 = alloca %class.anon.77, align 8
  %11 = alloca %"class.maliput::common::Passkey", align 1
  tail call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEC2ERKS4_(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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EEC2EOS9_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %15 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr null, ptr %15, align 8, !tbaa !10
  %16 = tail call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %.invoke, label %19

17:                                               ; preds = %.invoke
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %52

19:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %20 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %21 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %22 = invoke ptr @"_ZSt7find_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_0ET_SR_SR_T0_"(ptr %20, ptr %21)
          to label %23 unwind label %28

23:                                               ; preds = %19
  store ptr %22, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %24 = tail call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %24, ptr %7, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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 %25, label %30, label %.invoke

.invoke:                                          ; preds = %5, %23
  %26 = phi ptr [ @.str.16, %23 ], [ @.str.15, %5 ]
  %27 = phi i32 [ 113, %23 ], [ 111, %5 ]
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull %26, ptr noundef nonnull @__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE, ptr noundef nonnull @.str.9, i32 noundef %27) #8
          to label %.cont unwind label %17

.cont:                                            ; preds = %.invoke
  unreachable

28:                                               ; preds = %19
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  br label %52

30:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %31 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %31, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %32 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  store ptr %32, ptr %9, align 8
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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 %33, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %48, %30
  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 = %30, %48
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %35 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %36 = call ptr @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %37 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  %38 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api5rules4Bulb2idEv(ptr noundef nonnull align 8 dereferenceable(192) %37)
  invoke void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules4BulbEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %39 unwind label %.loopexit

39:                                               ; preds = %.lr.ph
  %40 = invoke noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_22TypeSpecificIdentifierISF_EERKNS4_16InertialPositionERKNS4_8RotationESD_E3$_1ENSt15iterator_traitsIT_E15difference_typeESS_SS_T0_"(ptr %35, ptr %36, ptr noundef nonnull %10)
          to label %41 unwind label %44

41:                                               ; preds = %39
  %.not14 = icmp eq i64 %40, 1
  call void @"_ZZN7maliput3api5rules9BulbGroupC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br i1 %.not14, label %46, label %42

42:                                               ; preds = %41
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.17, ptr noundef nonnull @__func__._ZN7maliput3api5rules9BulbGroupC2ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EE, ptr noundef nonnull @.str.9, i32 noundef 116) #8
          to label %43 unwind label %.loopexit.split-lp

43:                                               ; preds = %42
  unreachable

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

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

44:                                               ; preds = %39
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @"_ZZN7maliput3api5rules9BulbGroupC1ERKNS0_22TypeSpecificIdentifierIS2_EERKNS0_16InertialPositionERKNS0_8RotationESt6vectorISt10unique_ptrINS1_4BulbESt14default_deleteISF_EESaISI_EEEN3$_1D2Ev"(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %51

46:                                               ; preds = %41
  %47 = call noundef ptr @_ZNKSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  call void @_ZN7maliput6common7PasskeyINS_3api5rules9BulbGroupEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11)
  invoke void @_ZN7maliput3api5rules4Bulb12SetBulbGroupENS_6common7PasskeyINS1_9BulbGroupEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(192) %47, ptr noundef nonnull %11, ptr noundef nonnull %0)
          to label %48 unwind label %.loopexit

48:                                               ; preds = %46
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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 %50, label %.lr.ph, label %._crit_edge

51:                                               ; preds = %.loopexit, %.loopexit.split-lp, %44
  %.pn = phi { ptr, i32 } [ %45, %44 ], [ %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 %52

52:                                               ; preds = %51, %28, %17
  %.pn16 = phi { ptr, i32 } [ %18, %17 ], [ %.pn, %51 ], [ %29, %28 ]
  call void @_ZNSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #7
  resume { ptr, i32 } %.pn16
}

; 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 #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxeqIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS5_EESt6vectorIS8_SaIS8_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i64 @"_ZSt8count_ifIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS6_EESt6vectorIS9_SaIS9_EEEEZNS5_9BulbGroupC1ERKNS4_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_ptrIN7maliput3api5rules4BulbESt14default_deleteIS3_EEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput3api5rules4Bulb12SetBulbGroupENS_6common7PasskeyINS1_9BulbGroupEEEPKS5_(ptr noundef nonnull align 8 dereferenceable(192), ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEED2Ev(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 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 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"}
!10 = !{!11, !15, i64 112}
!11 = !{!"_ZTSN7maliput3api5rules9BulbGroupE", !12, i64 0, !17, i64 32, !21, i64 56, !23, i64 88, !15, i64 112}
!12 = !{!"_ZTSN7maliput3api22TypeSpecificIdentifierINS0_5rules9BulbGroupEEE", !13, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !16, i64 8, !8, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!"long", !8, i64 0}
!17 = !{!"_ZTSN7maliput3api16InertialPositionE", !18, i64 0}
!18 = !{!"_ZTSN7maliput4math7Vector3E", !19, i64 0}
!19 = !{!"_ZTSN7maliput4math10VectorBaseILm3ENS0_7Vector3EEE", !20, i64 0}
!20 = !{!"_ZTSSt5arrayIdLm3EE", !8, i64 0}
!21 = !{!"_ZTSN7maliput3api8RotationE", !22, i64 0}
!22 = !{!"_ZTSN7maliput4math10QuaternionE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!23 = !{!"_ZTSSt6vectorISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN7maliput3api5rules4BulbESt14default_deleteIS4_EESaIS7_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}


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