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

; 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.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::unordered_map.10" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.maliput::utility::mesh::DirectedEdgeIndex" = type { i32, i32 }
%"struct.std::pair" = type { %"struct.maliput::utility::mesh::DirectedEdgeIndex", %"struct.maliput::utility::mesh::FaceEdgeIndex" }
%"struct.maliput::utility::mesh::FaceEdgeIndex" = type { i32, i32 }

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

; 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 @_ZN7maliput7utility4mesh25ComputeInverseFaceEdgeMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8)) #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) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput7utility4mesh23ComputeFaceAdjacencyMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map.10") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca %"class.std::unordered_map", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %11 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.maliput::utility::mesh::DirectedEdgeIndex", align 4
  %16 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  store i1 false, ptr %5, align 1
  call void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  call void @llvm.lifetime.start.p0(i64 56, ptr %6) #5
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN7maliput7utility4mesh25ComputeInverseFaceEdgeMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind writable sret(%"class.std::unordered_map") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %18 unwind label %30

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr %6, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %19 = load ptr, ptr %9, align 8, !tbaa !5
  %20 = call ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %19) #5
  %21 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %10, i32 0, i32 0
  %22 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %21, i32 0, i32 0
  store ptr %20, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = call ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %23) #5
  %25 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %11, i32 0, i32 0
  %26 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %25, i32 0, i32 0
  store ptr %24, ptr %26, align 8
  br label %27

27:                                               ; preds = %93, %18
  %28 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %28, label %34, label %29

29:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %97

30:                                               ; preds = %2
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %7, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %8, align 4
  br label %99

34:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %35 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  store ptr %35, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %36 = load ptr, ptr %12, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.std::pair", ptr %36, i32 0, i32 0
  store ptr %37, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.std::pair", ptr %38, i32 0, i32 1
  store ptr %39, ptr %14, align 8, !tbaa !5
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.maliput::utility::mesh::FaceEdgeIndex", ptr %40, i32 0, i32 0
  %42 = invoke noundef i64 @_ZNKSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEE5countERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %43 unwind label %60

43:                                               ; preds = %34
  %44 = icmp eq i64 %42, 0
  br i1 %44, label %45, label %64

45:                                               ; preds = %43
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.maliput::utility::mesh::FaceEdgeIndex", ptr %46, i32 0, i32 0
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %49 unwind label %60

49:                                               ; preds = %45
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.maliput::utility::mesh::FaceEdgeIndex", ptr %51, i32 0, i32 0
  %53 = load i32, ptr %52, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN7maliput7utility4mesh9IndexFaceESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %54) #5
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput7utility4mesh9IndexFace8verticesEv(ptr noundef nonnull align 8 dereferenceable(24) %55)
          to label %57 unwind label %60

57:                                               ; preds = %49
  %58 = call noundef i64 @_ZNKSt6vectorIN7maliput7utility4mesh9IndexFace6VertexESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #5
  invoke void @_ZNSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %58)
          to label %59 unwind label %60

59:                                               ; preds = %57
  br label %64

60:                                               ; preds = %57, %49, %45, %34
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  br label %96

64:                                               ; preds = %59, %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = invoke i64 @_ZNK7maliput7utility4mesh17DirectedEdgeIndex7reverseEv(ptr noundef nonnull align 4 dereferenceable(8) %65)
          to label %67 unwind label %84

67:                                               ; preds = %64
  store i64 %66, ptr %15, align 4
  %68 = invoke noundef i64 @_ZNKSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %69 unwind label %84

69:                                               ; preds = %67
  %70 = icmp ugt i64 %68, 0
  br i1 %70, label %71, label %92

71:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.maliput::utility::mesh::FaceEdgeIndex", ptr %72, i32 0, i32 0
  %74 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %73)
          to label %75 unwind label %88

75:                                               ; preds = %71
  store ptr %74, ptr %16, align 8, !tbaa !5
  %76 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %77 unwind label %88

77:                                               ; preds = %75
  %78 = load ptr, ptr %16, align 8, !tbaa !5
  %79 = load ptr, ptr %14, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.maliput::utility::mesh::FaceEdgeIndex", ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !12
  %82 = sext i32 %81 to i64
  %83 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %82) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %76, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %92

84:                                               ; preds = %67, %64
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  br label %95

88:                                               ; preds = %75, %71
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %95

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

93:                                               ; preds = %92
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %27

95:                                               ; preds = %88, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %96

96:                                               ; preds = %95, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #5
  br label %99

97:                                               ; preds = %29
  store i1 true, ptr %5, align 1
  call void @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %6) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #5
  %98 = load i1, ptr %5, align 1
  br i1 %98, label %101, label %100

99:                                               ; preds = %96, %30
  call void @llvm.lifetime.end.p0(i64 56, ptr %6) #5
  call void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %102

100:                                              ; preds = %97
  call void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %101

101:                                              ; preds = %100, %97
  ret void

102:                                              ; preds = %99
  %103 = load ptr, ptr %7, align 8
  %104 = load i32, ptr %8, align 4
  %105 = insertvalue { ptr, i32 } poison, ptr %103, 0
  %106 = insertvalue { ptr, i32 } %105, i32 %104, 1
  resume { ptr, i32 } %106
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #4 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

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


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

%"class.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::unordered_map.10" = type { %"class.std::_Hashtable.11" }
%"class.std::_Hashtable.11" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"struct.maliput::utility::mesh::DirectedEdgeIndex" = type { i32, i32 }

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

; Function Attrs: mustprogress 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 @_ZN7maliput7utility4mesh25ComputeInverseFaceEdgeMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind noalias writable sret(%"class.std::unordered_map") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput7utility4mesh23ComputeFaceAdjacencyMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind noalias nonnull writable sret(%"class.std::unordered_map.10") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::unordered_map", align 8
  %4 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %5 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %6 = alloca %"struct.maliput::utility::mesh::DirectedEdgeIndex", align 8
  tail call void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #4
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #4
  invoke void @_ZN7maliput7utility4mesh25ComputeInverseFaceEdgeMapERKSt6vectorINS1_9IndexFaceESaIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::unordered_map") align 8 %3, ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %7 unwind label %11

7:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  %8 = call ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  store ptr %8, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %9 = call ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  store ptr %9, ptr %5, align 8
  %10 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %10, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %46, %7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  ret void

11:                                               ; preds = %2
  %12 = landingpad { ptr, i32 }
          cleanup
  br label %51

.lr.ph:                                           ; preds = %7, %46
  %13 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %14 = getelementptr inbounds i8, ptr %13, i64 8
  %15 = invoke noundef i64 @_ZNKSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEE5countERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %16 unwind label %26

16:                                               ; preds = %.lr.ph
  %17 = icmp eq i64 %15, 0
  br i1 %17, label %18, label %28

18:                                               ; preds = %16
  %19 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %20 unwind label %26

20:                                               ; preds = %18
  %21 = load i32, ptr %14, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN7maliput7utility4mesh9IndexFaceESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %22) #4
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput7utility4mesh9IndexFace8verticesEv(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %25 = call noundef i64 @_ZNKSt6vectorIN7maliput7utility4mesh9IndexFace6VertexESaIS4_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #4
  invoke void @_ZNSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS3_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %25)
          to label %28 unwind label %26

26:                                               ; preds = %20, %18, %.lr.ph
  %27 = landingpad { ptr, i32 }
          cleanup
  br label %50

28:                                               ; preds = %20, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %29 = call i64 @_ZNK7maliput7utility4mesh17DirectedEdgeIndex7reverseEv(ptr noundef nonnull align 4 dereferenceable(8) %13)
  store i64 %29, ptr %6, align 8
  %30 = invoke noundef i64 @_ZNKSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEE5countERSD_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %31 unwind label %42

31:                                               ; preds = %28
  %.not = icmp eq i64 %30, 0
  br i1 %.not, label %46, label %32

32:                                               ; preds = %31
  %33 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEEixERSC_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %34 unwind label %44

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEEixERSD_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(8) %6)
          to label %36 unwind label %44

36:                                               ; preds = %34
  %37 = getelementptr inbounds i8, ptr %13, i64 12
  %38 = load i32, ptr %37, align 4, !tbaa !10
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %39) #4
  %41 = load i64, ptr %35, align 4
  store i64 %41, ptr %40, align 4
  br label %46

42:                                               ; preds = %28
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %49

44:                                               ; preds = %34, %32
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %49

46:                                               ; preds = %36, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #4
  %48 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKN7maliput7utility4mesh17DirectedEdgeIndexENS4_13FaceEdgeIndexEELb0EEESB_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #4
  br i1 %48, label %.lr.ph, label %._crit_edge

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

50:                                               ; preds = %49, %26
  %.pn.pn = phi { ptr, i32 } [ %.pn, %49 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  call void @_ZNSt13unordered_mapIN7maliput7utility4mesh17DirectedEdgeIndexENS2_13FaceEdgeIndexENS0_6common5uhashINS5_8internal11FNV1aHasherEEESt8equal_toIS3_ESaISt4pairIKS3_S4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  br label %51

51:                                               ; preds = %50, %11
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %50 ], [ %12, %11 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #4
  call void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #4
  resume { ptr, i32 } %.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIiSt6vectorIN7maliput7utility4mesh13FaceEdgeIndexESaIS4_EESt4hashIiESt8equal_toIiESaISt4pairIKiS6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 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 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 = { 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 #4 = { 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, !7, i64 0}
!6 = !{!"_ZTSN7maliput7utility4mesh13FaceEdgeIndexE", !7, i64 0, !7, i64 4}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}


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