; LLVM IR from maliput/maliput :: src/maliput/api (road_geometry)

; 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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::LanePosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::api::SRange" = type { double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca i1, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.maliput::api::InertialPosition", align 8
  %18 = alloca %"class.maliput::api::LanePosition", align 8
  %19 = alloca %"class.maliput::api::SRange", align 8
  %20 = alloca double, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.maliput::api::SRange", align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.maliput::api::InertialPosition", align 8
  %29 = alloca %"class.maliput::api::LanePosition", align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.maliput::api::InertialPosition", align 8
  %32 = alloca %"class.maliput::api::LanePosition", align 8
  %33 = alloca %"class.maliput::api::SRange", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store double %3, ptr %8, align 8, !tbaa !9
  %34 = load ptr, ptr %6, align 8
  br label %35

35:                                               ; preds = %4
  %36 = load double, ptr %8, align 8, !tbaa !9
  %37 = fcmp ogt double %36, 0.000000e+00
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.14, ptr noundef @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef @.str.1, i32 noundef 215) #6
  unreachable

39:                                               ; preds = %35
  br label %40

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %41 = call noundef double @_ZNK7maliput3api12RoadGeometry16linear_toleranceEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
  store double %41, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = call noundef double @_ZNK7maliput3api10LaneSRoute6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %42)
  store double %43, ptr %10, align 8, !tbaa !9
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %44)
  %46 = load double, ptr %45, align 8, !tbaa !9
  store double %46, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  store i1 false, ptr %11, align 1
  call void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7maliput3api12RoadGeometry4ByIdEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %48 unwind label %64

48:                                               ; preds = %40
  store ptr %47, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api10LaneSRoute6rangesEv(ptr noundef nonnull align 8 dereferenceable(24) %49)
          to label %51 unwind label %68

51:                                               ; preds = %48
  store ptr %50, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = load ptr, ptr %15, align 8, !tbaa !5
  %54 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #7
  %55 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %56 unwind label %72

56:                                               ; preds = %51
  %57 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(32) %55)
          to label %58 unwind label %72

58:                                               ; preds = %56
  store ptr %57, ptr %16, align 8, !tbaa !5
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr %16, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %76, label %62

62:                                               ; preds = %59
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.15, ptr noundef @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef @.str.1, i32 noundef 223) #6
          to label %63 unwind label %72

63:                                               ; preds = %62
  unreachable

64:                                               ; preds = %40
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %13, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %14, align 4
  br label %236

68:                                               ; preds = %48
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %13, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %14, align 4
  br label %235

72:                                               ; preds = %62, %56, %51
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %13, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %14, align 4
  br label %234

76:                                               ; preds = %59
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #7
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #7
  %80 = load ptr, ptr %15, align 8, !tbaa !5
  %81 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #7
  %82 = invoke { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %81)
          to label %83 unwind label %104

83:                                               ; preds = %78
  %84 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %85 = extractvalue { double, double } %82, 0
  store double %85, ptr %84, align 8
  %86 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %87 = extractvalue { double, double } %82, 1
  store double %87, ptr %86, align 8
  %88 = invoke noundef double @_ZNK7maliput3api6SRange2s0Ev(ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %89 unwind label %104

89:                                               ; preds = %83
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %18, double noundef %88, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %90 unwind label %104

90:                                               ; preds = %89
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %91 unwind label %104

91:                                               ; preds = %90
  %92 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %93 unwind label %104

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store double 0.000000e+00, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  store ptr %94, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %95 = load ptr, ptr %21, align 8, !tbaa !5
  %96 = call ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %95) #7
  %97 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %96, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %98 = load ptr, ptr %21, align 8, !tbaa !5
  %99 = call ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #7
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  br label %101

101:                                              ; preds = %175, %93
  %102 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  br i1 %102, label %108, label %103

103:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %180

104:                                              ; preds = %91, %90, %89, %83, %78
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %13, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #7
  br label %234

108:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %109 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  store ptr %109, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %110 = load ptr, ptr %12, align 8, !tbaa !5
  %111 = load ptr, ptr %24, align 8, !tbaa !5
  %112 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %111)
          to label %113 unwind label %121

113:                                              ; preds = %108
  %114 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull align 8 dereferenceable(32) %112)
          to label %115 unwind label %121

115:                                              ; preds = %113
  store ptr %114, ptr %25, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %115
  %117 = load ptr, ptr %25, align 8, !tbaa !5
  %118 = icmp ne ptr %117, null
  br i1 %118, label %125, label %119

119:                                              ; preds = %116
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.16, ptr noundef @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef @.str.1, i32 noundef 229) #6
          to label %120 unwind label %121

120:                                              ; preds = %119
  unreachable

121:                                              ; preds = %119, %113, %108
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %13, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %14, align 4
  br label %179

125:                                              ; preds = %116
  br label %126

126:                                              ; preds = %125
  br label %127

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %128 = load ptr, ptr %24, align 8, !tbaa !5
  %129 = invoke { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %128)
          to label %130 unwind label %156

130:                                              ; preds = %127
  %131 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %132 = extractvalue { double, double } %129, 0
  store double %132, ptr %131, align 8
  %133 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %134 = extractvalue { double, double } %129, 1
  store double %134, ptr %133, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %135 = load double, ptr %20, align 8, !tbaa !9
  %136 = invoke noundef double @_ZNK7maliput3api6SRange2s0Ev(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %137 unwind label %160

137:                                              ; preds = %130
  %138 = fadd double %135, %136
  %139 = load double, ptr %8, align 8, !tbaa !9
  %140 = fadd double %138, %139
  store double %140, ptr %27, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %152, %137
  %142 = load double, ptr %27, align 8, !tbaa !9
  %143 = invoke noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %144 unwind label %160

144:                                              ; preds = %141
  %145 = fcmp ole double %142, %143
  br i1 %145, label %146, label %168

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  %147 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  %148 = load double, ptr %27, align 8, !tbaa !9
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %29, double noundef %148, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %149 unwind label %164

149:                                              ; preds = %146
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %28, ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %150 unwind label %164

150:                                              ; preds = %149
  %151 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %152 unwind label %164

152:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  %153 = load double, ptr %8, align 8, !tbaa !9
  %154 = load double, ptr %27, align 8, !tbaa !9
  %155 = fadd double %154, %153
  store double %155, ptr %27, align 8, !tbaa !9
  br label %141, !llvm.loop !11

156:                                              ; preds = %127
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %13, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %14, align 4
  br label %178

160:                                              ; preds = %168, %141, %130
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %13, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %14, align 4
  br label %177

164:                                              ; preds = %150, %149, %146
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %13, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %177

168:                                              ; preds = %144
  %169 = load double, ptr %27, align 8, !tbaa !9
  %170 = invoke noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %171 unwind label %160

171:                                              ; preds = %168
  %172 = fsub double %169, %170
  %173 = load double, ptr %8, align 8, !tbaa !9
  %174 = fsub double %172, %173
  store double %174, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %175

175:                                              ; preds = %171
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  br label %101

177:                                              ; preds = %164, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %178

178:                                              ; preds = %177, %156
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  br label %179

179:                                              ; preds = %178, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %233

180:                                              ; preds = %103
  %181 = load double, ptr %20, align 8, !tbaa !9
  %182 = invoke noundef double @_ZSt3absd(double noundef %181)
          to label %183 unwind label %200

183:                                              ; preds = %180
  %184 = invoke noundef double @_ZNK7maliput3api12RoadGeometry16linear_toleranceEv(ptr noundef nonnull align 8 dereferenceable(8) %34)
          to label %185 unwind label %200

185:                                              ; preds = %183
  %186 = fcmp ogt double %182, %184
  br i1 %186, label %187, label %231

187:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %188 = load ptr, ptr %12, align 8, !tbaa !5
  %189 = load ptr, ptr %15, align 8, !tbaa !5
  %190 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %189) #7
  %191 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %190)
          to label %192 unwind label %204

192:                                              ; preds = %187
  %193 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull align 8 dereferenceable(32) %191)
          to label %194 unwind label %204

194:                                              ; preds = %192
  store ptr %193, ptr %30, align 8, !tbaa !5
  br label %195

195:                                              ; preds = %194
  %196 = load ptr, ptr %30, align 8, !tbaa !5
  %197 = icmp ne ptr %196, null
  br i1 %197, label %208, label %198

198:                                              ; preds = %195
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.17, ptr noundef @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef @.str.1, i32 noundef 242) #6
          to label %199 unwind label %204

199:                                              ; preds = %198
  unreachable

200:                                              ; preds = %183, %180
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %13, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %14, align 4
  br label %233

204:                                              ; preds = %198, %192, %187
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %13, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %14, align 4
  br label %230

208:                                              ; preds = %195
  br label %209

209:                                              ; preds = %208
  br label %210

210:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #7
  %211 = load ptr, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #7
  %212 = load ptr, ptr %15, align 8, !tbaa !5
  %213 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %212) #7
  %214 = invoke { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %213)
          to label %215 unwind label %226

215:                                              ; preds = %210
  %216 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %217 = extractvalue { double, double } %214, 0
  store double %217, ptr %216, align 8
  %218 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %219 = extractvalue { double, double } %214, 1
  store double %219, ptr %218, align 8
  %220 = invoke noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %221 unwind label %226

221:                                              ; preds = %215
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %32, double noundef %220, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %222 unwind label %226

222:                                              ; preds = %221
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %211, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %223 unwind label %226

223:                                              ; preds = %222
  %224 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %31)
          to label %225 unwind label %226

225:                                              ; preds = %223
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %231

226:                                              ; preds = %223, %222, %221, %215, %210
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %13, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  br label %230

230:                                              ; preds = %226, %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %233

231:                                              ; preds = %225, %185
  store i1 true, ptr %11, align 1
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %232 = load i1, ptr %11, align 1
  br i1 %232, label %238, label %237

233:                                              ; preds = %230, %200, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %234

234:                                              ; preds = %233, %104, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %235

235:                                              ; preds = %234, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %236

236:                                              ; preds = %235, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %239

237:                                              ; preds = %231
  call void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %238

238:                                              ; preds = %237, %231
  ret void

239:                                              ; preds = %236
  %240 = load ptr, ptr %13, align 8
  %241 = load i32, ptr %14, align 4
  %242 = insertvalue { ptr, i32 } poison, ptr %240, 0
  %243 = insertvalue { ptr, i32 } %242, i32 %241, 1
  resume { ptr, i32 } %243
}

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48)) #4 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #3

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

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

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


; 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::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::InertialPosition, std::allocator<maliput::api::InertialPosition>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::LanePosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::api::SRange" = type { double, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.1 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [31 x i8], align 1
@__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd = external hidden unnamed_addr constant [23 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.maliput::api::InertialPosition", align 8
  %9 = alloca %"class.maliput::api::LanePosition", align 8
  %10 = alloca %"class.maliput::api::SRange", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.maliput::api::SRange", align 8
  %14 = alloca %"class.maliput::api::InertialPosition", align 8
  %15 = alloca %"class.maliput::api::LanePosition", align 8
  %16 = alloca %"class.maliput::api::InertialPosition", align 8
  %17 = alloca %"class.maliput::api::LanePosition", align 8
  %18 = alloca %"class.maliput::api::SRange", align 8
  store double %3, ptr %5, align 8, !tbaa !5
  %19 = fcmp ogt double %3, 0.000000e+00
  br i1 %19, label %21, label %20

20:                                               ; preds = %4
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.14, ptr noundef nonnull @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef nonnull @.str.1, i32 noundef 215) #6
  unreachable

21:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  %22 = tail call noundef double @_ZNK7maliput3api12RoadGeometry16linear_toleranceEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
  store double %22, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %23 = tail call noundef double @_ZNK7maliput3api10LaneSRoute6lengthEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  store double %23, ptr %7, align 8, !tbaa !5
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %26 = load double, ptr %25, align 8, !tbaa !5
  store double %26, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7maliput3api12RoadGeometry4ByIdEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %28 unwind label %36

28:                                               ; preds = %21
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK7maliput3api10LaneSRoute6rangesEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %30 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %30)
  %32 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(32) %31)
          to label %33 unwind label %38

33:                                               ; preds = %28
  %.not = icmp eq ptr %32, null
  br i1 %.not, label %34, label %40

34:                                               ; preds = %33
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.15, ptr noundef nonnull @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef nonnull @.str.1, i32 noundef 223) #6
          to label %35 unwind label %38

35:                                               ; preds = %34
  unreachable

36:                                               ; preds = %21
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %119

38:                                               ; preds = %34, %28
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %119

40:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %41 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %42 = call { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %41)
  %43 = extractvalue { double, double } %42, 0
  store double %43, ptr %10, align 8
  %44 = getelementptr inbounds i8, ptr %10, i64 8
  %45 = extractvalue { double, double } %42, 1
  store double %45, ptr %44, align 8
  %46 = call noundef double @_ZNK7maliput3api6SRange2s0Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %9, double noundef %46, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %47 unwind label %57

47:                                               ; preds = %40
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %48 unwind label %57

48:                                               ; preds = %47
  %49 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %50 unwind label %57

50:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %51 = call ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %51, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %52 = call ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %52, ptr %12, align 8
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %53, label %.lr.ph54, label %._crit_edge55

.lr.ph54:                                         ; preds = %50
  %54 = getelementptr inbounds i8, ptr %13, i64 8
  br label %59

._crit_edge55:                                    ; preds = %._crit_edge, %50
  %.035.lcssa = phi double [ 0.000000e+00, %50 ], [ %89, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %55 = call noundef double @_ZSt3absd(double noundef %.035.lcssa)
  %56 = invoke noundef double @_ZNK7maliput3api12RoadGeometry16linear_toleranceEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %93 unwind label %102

57:                                               ; preds = %48, %47, %40
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  br label %119

59:                                               ; preds = %.lr.ph54, %._crit_edge
  %.03552 = phi double [ 0.000000e+00, %.lr.ph54 ], [ %89, %._crit_edge ]
  %60 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %60)
  %62 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(32) %61)
          to label %63 unwind label %.loopexit

63:                                               ; preds = %59
  %.not41 = icmp eq ptr %62, null
  br i1 %.not41, label %64, label %66

64:                                               ; preds = %63
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.16, ptr noundef nonnull @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef nonnull @.str.1, i32 noundef 229) #6
          to label %65 unwind label %.loopexit.split-lp

65:                                               ; preds = %64
  unreachable

.loopexit:                                        ; preds = %59
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %92

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

66:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %67 = call { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %60)
  %68 = extractvalue { double, double } %67, 0
  store double %68, ptr %13, align 8
  %69 = extractvalue { double, double } %67, 1
  store double %69, ptr %54, align 8
  %70 = call noundef double @_ZNK7maliput3api6SRange2s0Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %71 = fadd double %.03552, %70
  %72 = load double, ptr %5, align 8, !tbaa !5
  %73 = fadd double %71, %72
  %74 = call noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %75 = fcmp ugt double %73, %74
  br i1 %75, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %66, %79
  %.051 = phi double [ %81, %79 ], [ %73, %66 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %15, double noundef %.051, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %76 unwind label %84

76:                                               ; preds = %.lr.ph
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %77 unwind label %84

77:                                               ; preds = %76
  %78 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %79 unwind label %84

79:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  %80 = load double, ptr %5, align 8, !tbaa !5
  %81 = fadd double %.051, %80
  %82 = call noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %83 = fcmp ugt double %81, %82
  br i1 %83, label %._crit_edge, label %.lr.ph, !llvm.loop !9

84:                                               ; preds = %77, %76, %.lr.ph
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %92

._crit_edge:                                      ; preds = %79, %66
  %.0.lcssa = phi double [ %73, %66 ], [ %81, %79 ]
  %86 = call noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %87 = fsub double %.0.lcssa, %86
  %88 = load double, ptr %5, align 8, !tbaa !5
  %89 = fsub double %87, %88
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN7maliput3api10LaneSRangeESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br i1 %91, label %59, label %._crit_edge55

92:                                               ; preds = %.loopexit, %.loopexit.split-lp, %84
  %.pn42 = phi { ptr, i32 } [ %85, %84 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %119

93:                                               ; preds = %._crit_edge55
  %94 = fcmp ogt double %55, %56
  br i1 %94, label %95, label %120

95:                                               ; preds = %93
  %96 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %97 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK7maliput3api10LaneSRange7lane_idEv(ptr noundef nonnull align 8 dereferenceable(48) %96)
  %98 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry7IdIndex7GetLaneERKNS0_22TypeSpecificIdentifierINS0_4LaneEEE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(32) %97)
          to label %99 unwind label %104

99:                                               ; preds = %95
  %.not39 = icmp eq ptr %98, null
  br i1 %.not39, label %100, label %106

100:                                              ; preds = %99
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.17, ptr noundef nonnull @__func__._ZNK7maliput3api12RoadGeometry22DoSampleAheadWaypointsERKNS0_10LaneSRouteEd, ptr noundef nonnull @.str.1, i32 noundef 242) #6
          to label %101 unwind label %104

101:                                              ; preds = %100
  unreachable

102:                                              ; preds = %._crit_edge55
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %119

104:                                              ; preds = %100, %95
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %119

106:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #7
  %107 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt6vectorIN7maliput3api10LaneSRangeESaIS2_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  %108 = call { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48) %107)
  %109 = extractvalue { double, double } %108, 0
  store double %109, ptr %18, align 8
  %110 = getelementptr inbounds i8, ptr %18, i64 8
  %111 = extractvalue { double, double } %108, 1
  store double %111, ptr %110, align 8
  %112 = call noundef double @_ZNK7maliput3api6SRange2s1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18)
  invoke void @_ZN7maliput3api12LanePositionC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %17, double noundef %112, double noundef 0.000000e+00, double noundef 0.000000e+00)
          to label %113 unwind label %117

113:                                              ; preds = %106
  invoke void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind nonnull writable sret(%"class.maliput::api::InertialPosition") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %114 unwind label %117

114:                                              ; preds = %113
  %115 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EE12emplace_backIJS2_EEERS2_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %116 unwind label %117

116:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %120

117:                                              ; preds = %114, %113, %106
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %119

119:                                              ; preds = %38, %57, %104, %117, %102, %92, %36
  %.pn42.pn.pn.pn = phi { ptr, i32 } [ %37, %36 ], [ %58, %57 ], [ %39, %38 ], [ %.pn42, %92 ], [ %103, %102 ], [ %118, %117 ], [ %105, %104 ]
  call void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  resume { ptr, i32 } %.pn42.pn.pn.pn

120:                                              ; preds = %93, %116
  ret void
}

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api16InertialPositionESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 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 #2 align 2

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

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

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

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

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

declare void @_ZNK7maliput3api4Lane18ToInertialPositionERKNS0_12LanePositionE(ptr dead_on_unwind writable sret(%"class.maliput::api::InertialPosition") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { double, double } @_ZNK7maliput3api10LaneSRange7s_rangeEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #3

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { 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 = { "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 = { noreturn }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass