; LLVM IR from maliput/maliput :: src/maliput/utility (generate_obj)

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

%"struct.maliput::utility::Material" = type { %"class.std::__cxx11::basic_string", %"class.maliput::math::Vector3", %"class.maliput::math::Vector3", %"class.maliput::math::Vector3", double, double }
%"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::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"struct.std::pair.25" = type { %"class.maliput::utility::mesh::GeoMesh", %"struct.maliput::utility::Material" }
%"class.maliput::utility::mesh::GeoMesh" = type { %"class.maliput::utility::mesh::UniqueIndexer", %"class.maliput::utility::mesh::UniqueIndexer.37", %"class.std::vector.58" }
%"class.maliput::utility::mesh::UniqueIndexer" = type { %"class.std::unordered_map", %"class.std::vector.32" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.maliput::utility::mesh::UniqueIndexer.37" = type { %"class.std::unordered_map.38", %"class.std::vector.53" }
%"class.std::unordered_map.38" = type { %"class.std::_Hashtable.39" }
%"class.std::_Hashtable.39" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.maliput::api::LaneEnd" = type <{ ptr, i32, [4 x i8] }>
%"struct.maliput::utility::ObjFeatures" = type { double, double, i8, i8, i8, i8, i8, i8, double, double, double, double, double, double, double, %"class.maliput::api::InertialPosition", %"class.std::vector.63" }
%"class.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.std::vector.63" = type { %"struct.std::_Vector_base.64" }
%"struct.std::_Vector_base.64" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>, std::allocator<maliput::api::TypeSpecificIdentifier<maliput::api::Segment>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.63 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [47 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput7utility19GetMaterialFromMeshENS0_12MaterialTypeE(ptr dead_on_unwind noalias writable sret(%"struct.maliput::utility::Material") align 8, i32 noundef) #3

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

; Function Attrs: noreturn
declare void @_ZN7maliput6common8internal5AbortEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIN7maliput7utility4mesh7GeoMeshENS1_8MaterialEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.25") align 8, ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(120)) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_11BranchPointEEERKNS0_12MaterialTypeE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.25") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(128) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 4 dereferenceable(4) %4) #3 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.maliput::utility::mesh::GeoMesh", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %"struct.maliput::api::LaneEnd", align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca %"struct.maliput::utility::Material", align 8
  store ptr %0, ptr %6, align 8
  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
  br label %20

20:                                               ; preds = %5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  call void @_ZN7maliput6common8internal5AbortEPKcS3_S3_i(ptr noundef @.str.65, ptr noundef @__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE, ptr noundef @.str.63, i32 noundef 875) #7
  unreachable

24:                                               ; preds = %20
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  %28 = load i32, ptr %27, align 4, !tbaa !9
  %29 = icmp eq i32 %28, 4
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.70, ptr noundef @__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE, ptr noundef @.str.63, i32 noundef 876) #7
  unreachable

31:                                               ; preds = %26
  br label %32

32:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 184, ptr %11) #8
  call void @_ZN7maliput7utility4mesh7GeoMeshC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7maliput3api12RoadGeometry4ByIdEv(ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %35 unwind label %85

35:                                               ; preds = %32
  store ptr %34, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex14GetBranchPointERKNS0_22TypeSpecificIdentifierINS0_11BranchPointEEE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(32) %37)
          to label %39 unwind label %89

39:                                               ; preds = %35
  store ptr %38, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  %40 = load ptr, ptr %15, align 8, !tbaa !5
  %41 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %42 unwind label %93

42:                                               ; preds = %39
  %43 = invoke noundef i32 @_ZNK7maliput3api10LaneEndSet4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %44 unwind label %93

44:                                               ; preds = %42
  %45 = icmp sgt i32 %43, 0
  br i1 %45, label %46, label %52

46:                                               ; preds = %44
  %47 = load ptr, ptr %15, align 8, !tbaa !5
  %48 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %47)
          to label %49 unwind label %93

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7maliput3api10LaneEndSet3getEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef 0)
          to label %51 unwind label %93

51:                                               ; preds = %49
  br label %58

52:                                               ; preds = %44
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetBSideEv(ptr noundef nonnull align 8 dereferenceable(8) %53)
          to label %55 unwind label %93

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7maliput3api10LaneEndSet3getEi(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef 0)
          to label %57 unwind label %93

57:                                               ; preds = %55
  br label %58

58:                                               ; preds = %57, %51
  %59 = phi ptr [ %50, %51 ], [ %56, %57 ]
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %59, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %"struct.maliput::utility::ObjFeatures", ptr %60, i32 0, i32 13
  %62 = load double, ptr %61, align 8, !tbaa !14
  store double %62, ptr %17, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.maliput::utility::ObjFeatures", ptr %63, i32 0, i32 14
  %65 = load double, ptr %64, align 8, !tbaa !27
  store double %65, ptr %18, align 8, !tbaa !26
  %66 = load double, ptr %17, align 8, !tbaa !26
  %67 = load double, ptr %18, align 8, !tbaa !26
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawBranchEddRKNS_3api7LaneEndEbPNS0_4mesh7GeoMeshE(double noundef %66, double noundef %67, ptr noundef nonnull align 8 dereferenceable(12) %16, i1 noundef zeroext true, ptr noundef %11)
          to label %68 unwind label %97

68:                                               ; preds = %58
  %69 = load double, ptr %17, align 8, !tbaa !26
  %70 = load double, ptr %18, align 8, !tbaa !26
  %71 = load ptr, ptr %15, align 8, !tbaa !5
  %72 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
          to label %73 unwind label %97

73:                                               ; preds = %68
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef %69, double noundef %70, ptr noundef %72, ptr noundef %11)
          to label %74 unwind label %97

74:                                               ; preds = %73
  %75 = load double, ptr %17, align 8, !tbaa !26
  %76 = load double, ptr %18, align 8, !tbaa !26
  %77 = load ptr, ptr %15, align 8, !tbaa !5
  %78 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetBSideEv(ptr noundef nonnull align 8 dereferenceable(8) %77)
          to label %79 unwind label %97

79:                                               ; preds = %74
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef %75, double noundef %76, ptr noundef %78, ptr noundef %11)
          to label %80 unwind label %97

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 120, ptr %19) #8
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = load i32, ptr %81, align 4, !tbaa !9
  invoke void @_ZN7maliput7utility19GetMaterialFromMeshENS0_12MaterialTypeE(ptr dead_on_unwind writable sret(%"struct.maliput::utility::Material") align 8 %19, i32 noundef %82)
          to label %83 unwind label %101

83:                                               ; preds = %80
  invoke void @_ZSt9make_pairIN7maliput7utility4mesh7GeoMeshENS1_8MaterialEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair.25") align 8 %0, ptr noundef nonnull align 8 dereferenceable(184) %11, ptr noundef nonnull align 8 dereferenceable(120) %19)
          to label %84 unwind label %105

84:                                               ; preds = %83
  call void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %19) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7maliput7utility4mesh7GeoMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %11) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr %11) #8
  ret void

85:                                               ; preds = %32
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %13, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %14, align 4
  br label %113

89:                                               ; preds = %35
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %13, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %14, align 4
  br label %112

93:                                               ; preds = %55, %52, %49, %46, %42, %39
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %13, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %14, align 4
  br label %111

97:                                               ; preds = %79, %74, %73, %68, %58
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %13, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %14, align 4
  br label %110

101:                                              ; preds = %80
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %13, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %14, align 4
  br label %109

105:                                              ; preds = %83
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %13, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %14, align 4
  call void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %19) #8
  br label %109

109:                                              ; preds = %105, %101
  call void @llvm.lifetime.end.p0(i64 120, ptr %19) #8
  br label %110

110:                                              ; preds = %109, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %111

111:                                              ; preds = %110, %93
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  br label %112

112:                                              ; preds = %111, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %113

113:                                              ; preds = %112, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @_ZN7maliput7utility4mesh7GeoMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %11) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr %11) #8
  br label %114

114:                                              ; preds = %113
  %115 = load ptr, ptr %13, align 8
  %116 = load i32, ptr %14, align 4
  %117 = insertvalue { ptr, i32 } poison, ptr %115, 0
  %118 = insertvalue { ptr, i32 } %117, i32 %116, 1
  resume { ptr, i32 } %118
}

declare noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex14GetBranchPointERKNS0_22TypeSpecificIdentifierINS0_11BranchPointEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7maliput3api10LaneEndSet3getEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput7utility12_GLOBAL__N_110DrawBranchEddRKNS_3api7LaneEndEbPNS0_4mesh7GeoMeshE(double noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(12), i1 noundef zeroext, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef, double noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 = { "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 = { noreturn }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN7maliput7utility12MaterialTypeE", !7, i64 0}
!11 = !{i64 0, i64 8, !5, i64 8, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN7maliput3api7LaneEnd5WhichE", !7, i64 0}
!14 = !{!15, !16, i64 64}
!15 = !{!"_ZTSN7maliput7utility11ObjFeaturesE", !16, i64 0, !16, i64 8, !17, i64 16, !17, i64 17, !17, i64 18, !17, i64 19, !17, i64 20, !17, i64 21, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !18, i64 80, !22, i64 104}
!16 = !{!"double", !7, i64 0}
!17 = !{!"bool", !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 = !{!"_ZTSSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!16, !16, i64 0}
!27 = !{!15, !16, i64 72}


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

%"struct.maliput::utility::Material" = type { %"class.std::__cxx11::basic_string", %"class.maliput::math::Vector3", %"class.maliput::math::Vector3", %"class.maliput::math::Vector3", double, double }
%"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::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"struct.std::pair.25" = type { %"class.maliput::utility::mesh::GeoMesh", %"struct.maliput::utility::Material" }
%"class.maliput::utility::mesh::GeoMesh" = type { %"class.maliput::utility::mesh::UniqueIndexer", %"class.maliput::utility::mesh::UniqueIndexer.37", %"class.std::vector.58" }
%"class.maliput::utility::mesh::UniqueIndexer" = type { %"class.std::unordered_map", %"class.std::vector.32" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoVertex *, std::allocator<const maliput::utility::mesh::GeoVertex *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.maliput::utility::mesh::UniqueIndexer.37" = type { %"class.std::unordered_map.38", %"class.std::vector.53" }
%"class.std::unordered_map.38" = type { %"class.std::_Hashtable.39" }
%"class.std::_Hashtable.39" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.53" = type { %"struct.std::_Vector_base.54" }
%"struct.std::_Vector_base.54" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const maliput::utility::mesh::GeoNormal *, std::allocator<const maliput::utility::mesh::GeoNormal *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.58" = type { %"struct.std::_Vector_base.59" }
%"struct.std::_Vector_base.59" = type { %"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::utility::mesh::IndexFace, std::allocator<maliput::utility::mesh::IndexFace>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.maliput::api::LaneEnd" = type <{ ptr, i32, [4 x i8] }>

@.str.63 = external hidden unnamed_addr constant [85 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE = external hidden unnamed_addr constant [10 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [47 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7maliput7utility19GetMaterialFromMeshENS0_12MaterialTypeE(ptr dead_on_unwind noalias writable sret(%"struct.maliput::utility::Material") align 8, i32 noundef) local_unnamed_addr #3

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIN7maliput7utility4mesh7GeoMeshENS1_8MaterialEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.25") align 8, ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_11BranchPointEEERKNS0_12MaterialTypeE(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.25") align 8 %0, ptr noundef %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %2, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.maliput::utility::mesh::GeoMesh", align 8
  %7 = alloca %"struct.maliput::api::LaneEnd", align 8
  %8 = alloca %"struct.maliput::utility::Material", align 8
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %5
  tail call void @_ZN7maliput6common8internal5AbortEPKcS3_S3_i(ptr noundef nonnull @.str.65, ptr noundef nonnull @__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE, ptr noundef nonnull @.str.63, i32 noundef 875) #7
  unreachable

10:                                               ; preds = %5
  %11 = load i32, ptr %4, align 4, !tbaa !5
  %12 = icmp eq i32 %11, 4
  br i1 %12, label %14, label %13

13:                                               ; preds = %10
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.70, ptr noundef nonnull @__func__._ZN7maliput7utility9BuildMeshEPKNS_3api12RoadGeometryERKNS0_11ObjFeaturesERKNS1_22TypeSpecificIdentifierINS1_4LaneEEERKNS0_12MaterialTypeE, ptr noundef nonnull @.str.63, i32 noundef 876) #7
  unreachable

14:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %6) #8
  call void @_ZN7maliput7utility4mesh7GeoMeshC2Ev(ptr noundef nonnull align 8 dereferenceable(184) %6)
  %15 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7maliput3api12RoadGeometry4ByIdEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %16 unwind label %45

16:                                               ; preds = %14
  %17 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex14GetBranchPointERKNS0_22TypeSpecificIdentifierINS0_11BranchPointEEE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(32) %3)
          to label %18 unwind label %47

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  %19 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %20 unwind label %49

20:                                               ; preds = %18
  %21 = invoke noundef i32 @_ZNK7maliput3api10LaneEndSet4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %22 unwind label %49

22:                                               ; preds = %20
  %23 = icmp sgt i32 %21, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %22
  %25 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %.invoke unwind label %49

26:                                               ; preds = %22
  %27 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetBSideEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %.invoke unwind label %49

.invoke:                                          ; preds = %26, %24
  %28 = phi ptr [ %25, %24 ], [ %27, %26 ]
  %29 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7maliput3api10LaneEndSet3getEi(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef 0)
          to label %30 unwind label %49

30:                                               ; preds = %.invoke
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %29, i64 16, i1 false), !tbaa.struct !9
  %31 = getelementptr inbounds i8, ptr %2, i64 64
  %32 = load double, ptr %31, align 8, !tbaa !14
  %33 = getelementptr inbounds i8, ptr %2, i64 72
  %34 = load double, ptr %33, align 8, !tbaa !26
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawBranchEddRKNS_3api7LaneEndEbPNS0_4mesh7GeoMeshE(double noundef %32, double noundef %34, ptr noundef nonnull align 8 dereferenceable(12) %7, i1 noundef zeroext true, ptr noundef nonnull %6)
          to label %35 unwind label %51

35:                                               ; preds = %30
  %36 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetASideEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %37 unwind label %51

37:                                               ; preds = %35
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef %32, double noundef %34, ptr noundef %36, ptr noundef nonnull %6)
          to label %38 unwind label %51

38:                                               ; preds = %37
  %39 = invoke noundef ptr @_ZNK7maliput3api11BranchPoint8GetBSideEv(ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %40 unwind label %51

40:                                               ; preds = %38
  invoke void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef %32, double noundef %34, ptr noundef %39, ptr noundef nonnull %6)
          to label %41 unwind label %51

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %8) #8
  %42 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN7maliput7utility19GetMaterialFromMeshENS0_12MaterialTypeE(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::utility::Material") align 8 %8, i32 noundef %42)
          to label %43 unwind label %53

43:                                               ; preds = %41
  invoke void @_ZSt9make_pairIN7maliput7utility4mesh7GeoMeshENS1_8MaterialEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS6_INS7_IT0_E4typeEE6__typeEEOS8_OSD_(ptr dead_on_unwind writable sret(%"struct.std::pair.25") align 8 %0, ptr noundef nonnull align 8 dereferenceable(184) %6, ptr noundef nonnull align 8 dereferenceable(120) %8)
          to label %44 unwind label %55

44:                                               ; preds = %43
  call void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  call void @_ZN7maliput7utility4mesh7GeoMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %6) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %6) #8
  ret void

45:                                               ; preds = %14
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %59

47:                                               ; preds = %16
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %59

49:                                               ; preds = %.invoke, %26, %24, %20, %18
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %58

51:                                               ; preds = %40, %38, %37, %35, %30
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %58

53:                                               ; preds = %41
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %43
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN7maliput7utility8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %8) #8
  br label %57

57:                                               ; preds = %55, %53
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #8
  br label %58

58:                                               ; preds = %51, %57, %49
  %.pn.pn.pn = phi { ptr, i32 } [ %50, %49 ], [ %.pn, %57 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %59

59:                                               ; preds = %47, %58, %45
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %46, %45 ], [ %.pn.pn.pn, %58 ], [ %48, %47 ]
  call void @_ZN7maliput7utility4mesh7GeoMeshD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %6) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %6) #8
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

declare noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex14GetBranchPointERKNS0_22TypeSpecificIdentifierINS0_11BranchPointEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNK7maliput3api10LaneEndSet3getEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput7utility12_GLOBAL__N_110DrawBranchEddRKNS_3api7LaneEndEbPNS0_4mesh7GeoMeshE(double noundef, double noundef, ptr noundef nonnull align 8 dereferenceable(12), i1 noundef zeroext, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7maliput7utility12_GLOBAL__N_110DrawArrowsEddPKNS_3api10LaneEndSetEPNS0_4mesh7GeoMeshE(double noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 = { "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 = { noreturn }
attributes #8 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"_ZTSN7maliput7utility12MaterialTypeE", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i64 0, i64 8, !10, i64 8, i64 4, !12}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN7maliput3api7LaneEnd5WhichE", !7, i64 0}
!14 = !{!15, !16, i64 64}
!15 = !{!"_ZTSN7maliput7utility11ObjFeaturesE", !16, i64 0, !16, i64 8, !17, i64 16, !17, i64 17, !17, i64 18, !17, i64 19, !17, i64 20, !17, i64 21, !16, i64 24, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !18, i64 80, !22, i64 104}
!16 = !{!"double", !7, i64 0}
!17 = !{!"bool", !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 = !{!"_ZTSSt6vectorIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN7maliput3api22TypeSpecificIdentifierINS1_7SegmentEEESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!26 = !{!15, !16, i64 72}


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass