; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/Vehicle/VehicleTest.ll (ZN11VehicleTest13LoadRaceTrackEPKc)

; 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.AssetStream = type { %"class.std::basic_ifstream" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.51 }
%union.anon.51 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.17 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.17 = type { i64, [8 x i8] }
%"class.JPH::Array.52" = type { i64, i64, ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%struct.Segment = type <{ %"class.JPH::Vec3", float, float, [8 x i8] }>
%"struct.VehicleTest::Line" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%class.VehicleTest = type { %class.Test, %"class.JPH::Array" }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"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.JPH::Array" = type { i64, i64, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11VehicleTest13LoadRaceTrackEPKc(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.AssetStream, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.JPH::Array.52", align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca i8, align 1
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %struct.Segment, align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Vec3", align 16
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Vec3", align 16
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca %"class.JPH::Vec3", align 16
  %36 = alloca %"class.JPH::Vec3", align 16
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"struct.VehicleTest::Line", align 16
  %39 = alloca %"struct.VehicleTest::Line", align 16
  %40 = alloca %"struct.VehicleTest::Line", align 16
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %41 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr %5) #10
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11AssetStreamC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(520) %5, ptr noundef %42, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #10
  %43 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN11AssetStream3GetEv(ptr noundef nonnull align 8 dereferenceable(520) %5)
          to label %44 unwind label %95

44:                                               ; preds = %2
  store ptr %43, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEERSt13basic_istreamIT_T0_ES9_RNSt7__cxx1112basic_stringIS6_S7_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %47 unwind label %99

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #10
  %48 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %49 unwind label %103

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"class.JPH::Vec3", ptr %16, i32 0, i32 0
  %51 = getelementptr inbounds %union.anon, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 0
  %53 = extractvalue { double, double } %48, 0
  store double %53, ptr %52, align 16
  %54 = getelementptr inbounds { double, double }, ptr %51, i32 0, i32 1
  %55 = extractvalue { double, double } %48, 1
  store double %55, ptr %54, align 8
  br label %56

56:                                               ; preds = %94, %49
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %59 unwind label %103

59:                                               ; preds = %56
  %60 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %61 unwind label %103

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %60, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %63 unwind label %103

63:                                               ; preds = %61
  %64 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %65 unwind label %103

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %64, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %67 unwind label %103

67:                                               ; preds = %65
  %68 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %66, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %69 unwind label %103

69:                                               ; preds = %67
  %70 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %68, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %71 unwind label %103

71:                                               ; preds = %69
  %72 = load ptr, ptr %70, align 8, !tbaa !9
  %73 = getelementptr i8, ptr %72, i64 -24
  %74 = load i64, ptr %73, align 8
  %75 = getelementptr inbounds i8, ptr %70, i64 %74
  %76 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %75)
          to label %77 unwind label %103

77:                                               ; preds = %71
  br i1 %76, label %78, label %116

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #10
  %79 = load float, ptr %11, align 4, !tbaa !11
  %80 = load float, ptr %12, align 4, !tbaa !11
  %81 = fneg float %80
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %17, float noundef %79, float noundef 0.000000e+00, float noundef %81)
          to label %82 unwind label %107

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #10
  %83 = getelementptr inbounds %struct.Segment, ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %83, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !13
  %84 = getelementptr inbounds %struct.Segment, ptr %18, i32 0, i32 1
  %85 = load float, ptr %13, align 4, !tbaa !11
  store float %85, ptr %84, align 16, !tbaa !15
  %86 = getelementptr inbounds %struct.Segment, ptr %18, i32 0, i32 2
  %87 = load float, ptr %14, align 4, !tbaa !11
  store float %87, ptr %86, align 4, !tbaa !18
  invoke void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 16 dereferenceable(24) %18)
          to label %88 unwind label %111

88:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !13
  %89 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %90 = load double, ptr %89, align 16
  %91 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %92 = load double, ptr %91, align 8
  %93 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3pLES0_(ptr noundef nonnull align 16 dereferenceable(16) %16, double %90, double %92)
          to label %94 unwind label %107

94:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  br label %56, !llvm.loop !19

95:                                               ; preds = %2
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %7, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %8, align 4
  br label %360

99:                                               ; preds = %44
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %7, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %8, align 4
  br label %359

103:                                              ; preds = %121, %119, %116, %71, %69, %67, %65, %63, %61, %59, %56, %47
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %7, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %8, align 4
  br label %358

107:                                              ; preds = %88, %78
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %7, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %8, align 4
  br label %115

111:                                              ; preds = %82
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %7, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #10
  br label %115

115:                                              ; preds = %111, %107
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #10
  br label %358

116:                                              ; preds = %77
  %117 = invoke noundef zeroext i1 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %118 unwind label %103

118:                                              ; preds = %116
  br i1 %117, label %125, label %119

119:                                              ; preds = %118
  %120 = invoke noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %121 unwind label %103

121:                                              ; preds = %119
  %122 = uitofp i64 %120 to float
  %123 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3dVEf(ptr noundef nonnull align 16 dereferenceable(16) %16, float noundef %122)
          to label %124 unwind label %103

124:                                              ; preds = %121
  br label %125

125:                                              ; preds = %124, %118
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  %126 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %127 unwind label %148

127:                                              ; preds = %125
  %128 = getelementptr inbounds %"class.JPH::Vec3", ptr %20, i32 0, i32 0
  %129 = getelementptr inbounds %union.anon, ptr %128, i32 0, i32 0
  %130 = getelementptr inbounds { double, double }, ptr %129, i32 0, i32 0
  %131 = extractvalue { double, double } %126, 0
  store double %131, ptr %130, align 16
  %132 = getelementptr inbounds { double, double }, ptr %129, i32 0, i32 1
  %133 = extractvalue { double, double } %126, 1
  store double %133, ptr %132, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #10
  %134 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %135 unwind label %152

135:                                              ; preds = %127
  %136 = getelementptr inbounds %"class.JPH::Vec3", ptr %21, i32 0, i32 0
  %137 = getelementptr inbounds %union.anon, ptr %136, i32 0, i32 0
  %138 = getelementptr inbounds { double, double }, ptr %137, i32 0, i32 0
  %139 = extractvalue { double, double } %134, 0
  store double %139, ptr %138, align 16
  %140 = getelementptr inbounds { double, double }, ptr %137, i32 0, i32 1
  %141 = extractvalue { double, double } %134, 1
  store double %141, ptr %140, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #10
  store i64 0, ptr %22, align 8, !tbaa !21
  br label %142

142:                                              ; preds = %344, %135
  %143 = load i64, ptr %22, align 8, !tbaa !21
  %144 = invoke noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %145 unwind label %156

145:                                              ; preds = %142
  %146 = icmp ult i64 %143, %144
  br i1 %146, label %160, label %147

147:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %355

148:                                              ; preds = %125
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  br label %357

152:                                              ; preds = %127
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %356

156:                                              ; preds = %142
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %7, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %8, align 4
  br label %354

160:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #10
  %161 = load i64, ptr %22, align 8, !tbaa !21
  %162 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %161)
          to label %163 unwind label %303

163:                                              ; preds = %160
  store ptr %162, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #10
  %164 = load i64, ptr %22, align 8, !tbaa !21
  %165 = add i64 %164, 1
  %166 = invoke noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %167 unwind label %307

167:                                              ; preds = %163
  %168 = urem i64 %165, %166
  %169 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %168)
          to label %170 unwind label %307

170:                                              ; preds = %167
  store ptr %169, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #10
  %171 = load ptr, ptr %24, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.Segment, ptr %171, i32 0, i32 0
  %173 = load ptr, ptr %23, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.Segment, ptr %173, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %174, i64 16, i1 false), !tbaa.struct !13
  %175 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %176 = load double, ptr %175, align 16
  %177 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %178 = load double, ptr %177, align 8
  %179 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %172, double %176, double %178)
          to label %180 unwind label %311

180:                                              ; preds = %170
  %181 = getelementptr inbounds %"class.JPH::Vec3", ptr %25, i32 0, i32 0
  %182 = getelementptr inbounds %union.anon, ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds { double, double }, ptr %182, i32 0, i32 0
  %184 = extractvalue { double, double } %179, 0
  store double %184, ptr %183, align 16
  %185 = getelementptr inbounds { double, double }, ptr %182, i32 0, i32 1
  %186 = extractvalue { double, double } %179, 1
  store double %186, ptr %185, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #10
  %187 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %188 unwind label %315

188:                                              ; preds = %180
  %189 = getelementptr inbounds %"class.JPH::Vec3", ptr %29, i32 0, i32 0
  %190 = getelementptr inbounds %union.anon, ptr %189, i32 0, i32 0
  %191 = getelementptr inbounds { double, double }, ptr %190, i32 0, i32 0
  %192 = extractvalue { double, double } %187, 0
  store double %192, ptr %191, align 16
  %193 = getelementptr inbounds { double, double }, ptr %190, i32 0, i32 1
  %194 = extractvalue { double, double } %187, 1
  store double %194, ptr %193, align 8
  %195 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %196 = load double, ptr %195, align 16
  %197 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %198 = load double, ptr %197, align 8
  %199 = invoke { double, double } @_ZNK3JPH4Vec35CrossES0_(ptr noundef nonnull align 16 dereferenceable(16) %25, double %196, double %198)
          to label %200 unwind label %315

200:                                              ; preds = %188
  %201 = getelementptr inbounds %"class.JPH::Vec3", ptr %28, i32 0, i32 0
  %202 = getelementptr inbounds %union.anon, ptr %201, i32 0, i32 0
  %203 = getelementptr inbounds { double, double }, ptr %202, i32 0, i32 0
  %204 = extractvalue { double, double } %199, 0
  store double %204, ptr %203, align 16
  %205 = getelementptr inbounds { double, double }, ptr %202, i32 0, i32 1
  %206 = extractvalue { double, double } %199, 1
  store double %206, ptr %205, align 8
  %207 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %28)
          to label %208 unwind label %315

208:                                              ; preds = %200
  %209 = getelementptr inbounds %"class.JPH::Vec3", ptr %27, i32 0, i32 0
  %210 = getelementptr inbounds %union.anon, ptr %209, i32 0, i32 0
  %211 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 0
  %212 = extractvalue { double, double } %207, 0
  store double %212, ptr %211, align 16
  %213 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 1
  %214 = extractvalue { double, double } %207, 1
  store double %214, ptr %213, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #10
  %215 = load ptr, ptr %23, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.Segment, ptr %215, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %16, i64 16, i1 false), !tbaa.struct !13
  %217 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %218 = load double, ptr %217, align 16
  %219 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %220 = load double, ptr %219, align 8
  %221 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %216, double %218, double %220)
          to label %222 unwind label %319

222:                                              ; preds = %208
  %223 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %224 = getelementptr inbounds %union.anon, ptr %223, i32 0, i32 0
  %225 = getelementptr inbounds { double, double }, ptr %224, i32 0, i32 0
  %226 = extractvalue { double, double } %221, 0
  store double %226, ptr %225, align 16
  %227 = getelementptr inbounds { double, double }, ptr %224, i32 0, i32 1
  %228 = extractvalue { double, double } %221, 1
  store double %228, ptr %227, align 8
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %33, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
          to label %229 unwind label %319

229:                                              ; preds = %222
  %230 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %231 = load double, ptr %230, align 16
  %232 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %233 = load double, ptr %232, align 8
  %234 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %31, double %231, double %233)
          to label %235 unwind label %319

235:                                              ; preds = %229
  %236 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %237 = getelementptr inbounds %union.anon, ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds { double, double }, ptr %237, i32 0, i32 0
  %239 = extractvalue { double, double } %234, 0
  store double %239, ptr %238, align 16
  %240 = getelementptr inbounds { double, double }, ptr %237, i32 0, i32 1
  %241 = extractvalue { double, double } %234, 1
  store double %241, ptr %240, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #10
  %242 = load ptr, ptr %23, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.Segment, ptr %242, i32 0, i32 1
  %244 = load float, ptr %243, align 16, !tbaa !15
  %245 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %244)
          to label %246 unwind label %323

246:                                              ; preds = %235
  %247 = getelementptr inbounds %"class.JPH::Vec3", ptr %35, i32 0, i32 0
  %248 = getelementptr inbounds %union.anon, ptr %247, i32 0, i32 0
  %249 = getelementptr inbounds { double, double }, ptr %248, i32 0, i32 0
  %250 = extractvalue { double, double } %245, 0
  store double %250, ptr %249, align 16
  %251 = getelementptr inbounds { double, double }, ptr %248, i32 0, i32 1
  %252 = extractvalue { double, double } %245, 1
  store double %252, ptr %251, align 8
  %253 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 0
  %254 = load double, ptr %253, align 16
  %255 = getelementptr inbounds { double, double }, ptr %35, i32 0, i32 1
  %256 = load double, ptr %255, align 8
  %257 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %254, double %256)
          to label %258 unwind label %323

258:                                              ; preds = %246
  %259 = getelementptr inbounds %"class.JPH::Vec3", ptr %34, i32 0, i32 0
  %260 = getelementptr inbounds %union.anon, ptr %259, i32 0, i32 0
  %261 = getelementptr inbounds { double, double }, ptr %260, i32 0, i32 0
  %262 = extractvalue { double, double } %257, 0
  store double %262, ptr %261, align 16
  %263 = getelementptr inbounds { double, double }, ptr %260, i32 0, i32 1
  %264 = extractvalue { double, double } %257, 1
  store double %264, ptr %263, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #10
  %265 = load ptr, ptr %23, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.Segment, ptr %265, i32 0, i32 2
  %267 = load float, ptr %266, align 4, !tbaa !18
  %268 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %27, float noundef %267)
          to label %269 unwind label %327

269:                                              ; preds = %258
  %270 = getelementptr inbounds %"class.JPH::Vec3", ptr %37, i32 0, i32 0
  %271 = getelementptr inbounds %union.anon, ptr %270, i32 0, i32 0
  %272 = getelementptr inbounds { double, double }, ptr %271, i32 0, i32 0
  %273 = extractvalue { double, double } %268, 0
  store double %273, ptr %272, align 16
  %274 = getelementptr inbounds { double, double }, ptr %271, i32 0, i32 1
  %275 = extractvalue { double, double } %268, 1
  store double %275, ptr %274, align 8
  %276 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %277 = load double, ptr %276, align 16
  %278 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %279 = load double, ptr %278, align 8
  %280 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %30, double %277, double %279)
          to label %281 unwind label %327

281:                                              ; preds = %269
  %282 = getelementptr inbounds %"class.JPH::Vec3", ptr %36, i32 0, i32 0
  %283 = getelementptr inbounds %union.anon, ptr %282, i32 0, i32 0
  %284 = getelementptr inbounds { double, double }, ptr %283, i32 0, i32 0
  %285 = extractvalue { double, double } %280, 0
  store double %285, ptr %284, align 16
  %286 = getelementptr inbounds { double, double }, ptr %283, i32 0, i32 1
  %287 = extractvalue { double, double } %280, 1
  store double %287, ptr %286, align 8
  %288 = getelementptr inbounds %class.VehicleTest, ptr %41, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #10
  %289 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %38, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %289, ptr align 16 %34, i64 16, i1 false), !tbaa.struct !13
  %290 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %38, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %290, ptr align 16 %36, i64 16, i1 false), !tbaa.struct !13
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %288, ptr noundef nonnull align 16 dereferenceable(32) %38)
          to label %291 unwind label %331

291:                                              ; preds = %281
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #10
  %292 = load i64, ptr %22, align 8, !tbaa !21
  %293 = icmp ugt i64 %292, 0
  br i1 %293, label %294, label %343

294:                                              ; preds = %291
  %295 = getelementptr inbounds %class.VehicleTest, ptr %41, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #10
  %296 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %39, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %296, ptr align 16 %20, i64 16, i1 false), !tbaa.struct !13
  %297 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %39, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %297, ptr align 16 %34, i64 16, i1 false), !tbaa.struct !13
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %295, ptr noundef nonnull align 16 dereferenceable(32) %39)
          to label %298 unwind label %335

298:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #10
  %299 = getelementptr inbounds %class.VehicleTest, ptr %41, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #10
  %300 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %40, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %300, ptr align 16 %21, i64 16, i1 false), !tbaa.struct !13
  %301 = getelementptr inbounds %"struct.VehicleTest::Line", ptr %40, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %301, ptr align 16 %36, i64 16, i1 false), !tbaa.struct !13
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %299, ptr noundef nonnull align 16 dereferenceable(32) %40)
          to label %302 unwind label %339

302:                                              ; preds = %298
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  br label %343

303:                                              ; preds = %160
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %7, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %8, align 4
  br label %353

307:                                              ; preds = %167, %163
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %7, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %8, align 4
  br label %352

311:                                              ; preds = %170
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %7, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %8, align 4
  br label %351

315:                                              ; preds = %200, %188, %180
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %7, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  br label %350

319:                                              ; preds = %229, %222, %208
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %7, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  br label %349

323:                                              ; preds = %246, %235
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %7, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %8, align 4
  br label %348

327:                                              ; preds = %269, %258
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %7, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %8, align 4
  br label %347

331:                                              ; preds = %281
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %7, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #10
  br label %347

335:                                              ; preds = %294
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %7, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #10
  br label %347

339:                                              ; preds = %298
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %7, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #10
  br label %347

343:                                              ; preds = %302, %291
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %34, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %21, ptr align 16 %36, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %344

344:                                              ; preds = %343
  %345 = load i64, ptr %22, align 8, !tbaa !21
  %346 = add i64 %345, 1
  store i64 %346, ptr %22, align 8, !tbaa !21
  br label %142, !llvm.loop !23

347:                                              ; preds = %339, %335, %331, %327
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #10
  br label %348

348:                                              ; preds = %347, %323
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #10
  br label %349

349:                                              ; preds = %348, %319
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  br label %350

350:                                              ; preds = %349, %315
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  br label %351

351:                                              ; preds = %350, %311
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  br label %352

352:                                              ; preds = %351, %307
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #10
  br label %353

353:                                              ; preds = %352, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #10
  br label %354

354:                                              ; preds = %353, %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #10
  br label %356

355:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @_ZN11AssetStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(520) %5) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr %5) #10
  ret void

356:                                              ; preds = %354, %152
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #10
  br label %357

357:                                              ; preds = %356, %148
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  br label %358

358:                                              ; preds = %357, %115, %103
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #10
  br label %359

359:                                              ; preds = %358, %99
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #10
  br label %360

360:                                              ; preds = %359, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #10
  call void @_ZN11AssetStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(520) %5) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr %5) #10
  br label %361

361:                                              ; preds = %360
  %362 = load ptr, ptr %7, align 8
  %363 = load i32, ptr %8, align 4
  %364 = insertvalue { ptr, i32 } poison, ptr %362, 0
  %365 = insertvalue { ptr, i32 } %364, i32 %363, 1
  resume { ptr, i32 } %365
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #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) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

declare void @_ZN11AssetStreamC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(520), ptr noundef, i32 noundef) unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEERSt13basic_istreamIT_T0_ES9_RNSt7__cxx1112basic_stringIS6_S7_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #5

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(24)) #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #9 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3dVEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec35CrossES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #9 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #9 = { 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 #10 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{i64 0, i64 16, !14}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !12, i64 16}
!16 = !{!"_ZTSZN11VehicleTest13LoadRaceTrackEPKcE7Segment", !17, i64 0, !12, i64 16, !12, i64 20}
!17 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!18 = !{!16, !12, i64 20}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = distinct !{!23, !20}


; 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.AssetStream = type { %"class.std::basic_ifstream" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.51 }
%union.anon.51 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider", i64, %union.anon.17 }
%"struct.std::__cxx11::basic_string<char, std::char_traits<char>, JPH::STLAllocator<char>>::_Alloc_hider" = type { ptr }
%union.anon.17 = type { i64, [8 x i8] }
%"class.JPH::Array.52" = type { i64, i64, ptr }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%struct.Segment = type <{ %"class.JPH::Vec3", float, float, [8 x i8] }>
%"struct.VehicleTest::Line" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16), float noundef, float noundef, float noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11VehicleTest13LoadRaceTrackEPKc(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.AssetStream, align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.JPH::Array.52", align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %struct.Segment, align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca %"class.JPH::Vec3", align 16
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"struct.VehicleTest::Line", align 16
  %21 = alloca %"struct.VehicleTest::Line", align 16
  %22 = alloca %"struct.VehicleTest::Line", align 16
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %3) #10
  call void @_ZN11AssetStreamC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(520) %3, ptr noundef %1, i32 noundef 8)
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN11AssetStream3GetEv(ptr noundef nonnull align 8 dereferenceable(520) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  %24 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEERSt13basic_istreamIT_T0_ES9_RNSt7__cxx1112basic_stringIS6_S7_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %25 unwind label %63

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #10
  %26 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %27 unwind label %.loopexit.split-lp

27:                                               ; preds = %25
  %28 = extractvalue { double, double } %26, 0
  store double %28, ptr %11, align 16
  %29 = getelementptr inbounds i8, ptr %11, i64 8
  %30 = extractvalue { double, double } %26, 1
  store double %30, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %13, i64 16
  %32 = getelementptr inbounds i8, ptr %13, i64 20
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  br label %33

33:                                               ; preds = %61, %27
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %35 unwind label %.loopexit

35:                                               ; preds = %33
  %36 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %37 unwind label %.loopexit

37:                                               ; preds = %35
  %38 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %39 unwind label %.loopexit

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %41 unwind label %.loopexit

41:                                               ; preds = %39
  %42 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %43 unwind label %.loopexit

43:                                               ; preds = %41
  %44 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) %42, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %45 unwind label %.loopexit

45:                                               ; preds = %43
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %47 unwind label %.loopexit

47:                                               ; preds = %45
  %48 = load ptr, ptr %46, align 8, !tbaa !5
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %46, i64 %50
  %52 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264) %51)
          to label %53 unwind label %.loopexit

53:                                               ; preds = %47
  br i1 %52, label %54, label %70

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #10
  %55 = load float, ptr %6, align 4, !tbaa !8
  %56 = load float, ptr %7, align 4, !tbaa !8
  %57 = fneg float %56
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %12, float noundef %55, float noundef 0.000000e+00, float noundef %57)
          to label %58 unwind label %65

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #10
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %13, ptr noundef nonnull align 16 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !11
  %59 = load float, ptr %8, align 4, !tbaa !8
  store float %59, ptr %31, align 16, !tbaa !13
  %60 = load float, ptr %9, align 4, !tbaa !8
  store float %60, ptr %32, align 4, !tbaa !16
  invoke void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 16 dereferenceable(24) %13)
          to label %61 unwind label %67

61:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  %.sroa.035.0.copyload = load double, ptr %12, align 16
  %.sroa.236.0.copyload = load double, ptr %.sroa.236.0..sroa_idx, align 8, !tbaa !12
  %62 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3pLES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %.sroa.035.0.copyload, double %.sroa.236.0.copyload)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  br label %33, !llvm.loop !17

63:                                               ; preds = %2
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %221

.loopexit:                                        ; preds = %33, %35, %37, %39, %41, %43, %45, %47
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %220

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

65:                                               ; preds = %54
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

67:                                               ; preds = %58
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #10
  br label %69

69:                                               ; preds = %67, %65
  %.pn65 = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  br label %220

70:                                               ; preds = %53
  %71 = call noundef zeroext i1 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  br i1 %71, label %76, label %72

72:                                               ; preds = %70
  %73 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %74 = uitofp i64 %73 to float
  %75 = invoke noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3dVEf(ptr noundef nonnull align 16 dereferenceable(16) %11, float noundef %74)
          to label %76 unwind label %.loopexit.split-lp

76:                                               ; preds = %72, %70
  %77 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %78 unwind label %149

78:                                               ; preds = %76
  %79 = invoke { double, double } @_ZN3JPH4Vec35sZeroEv()
          to label %80 unwind label %151

80:                                               ; preds = %78
  %81 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %.not74 = icmp eq i64 %81, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %80
  %82 = getelementptr inbounds i8, ptr %14, i64 8
  %83 = getelementptr inbounds i8, ptr %16, i64 8
  %84 = getelementptr inbounds i8, ptr %15, i64 8
  %85 = getelementptr inbounds i8, ptr %18, i64 8
  %86 = getelementptr inbounds i8, ptr %19, i64 8
  %87 = getelementptr inbounds i8, ptr %17, i64 8
  %88 = getelementptr inbounds i8, ptr %0, i64 112
  %.sroa.713.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 8
  %89 = getelementptr inbounds i8, ptr %20, i64 16
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %20, i64 24
  %.sroa.634.0..sroa_idx = getelementptr inbounds i8, ptr %21, i64 8
  %90 = getelementptr inbounds i8, ptr %21, i64 16
  %.sroa.713.0..sroa_idx14 = getelementptr inbounds i8, ptr %21, i64 24
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %22, i64 8
  %91 = getelementptr inbounds i8, ptr %22, i64 16
  %.sroa.7.0..sroa_idx4 = getelementptr inbounds i8, ptr %22, i64 24
  %92 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0)
          to label %93 unwind label %.loopexit.split-lp77

93:                                               ; preds = %.lr.ph
  %94 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %95 = icmp ne i64 %94, 1
  %96 = zext i1 %95 to i64
  %97 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %96)
          to label %98 unwind label %.loopexit.split-lp81

98:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #10
  %.sroa.022.0.copyload.peel = load double, ptr %92, align 16
  %.sroa.223.0..sroa_idx.peel = getelementptr inbounds i8, ptr %92, i64 8
  %.sroa.223.0.copyload.peel = load double, ptr %.sroa.223.0..sroa_idx.peel, align 8, !tbaa !12
  %99 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %97, double %.sroa.022.0.copyload.peel, double %.sroa.223.0.copyload.peel)
          to label %100 unwind label %.loopexit.split-lp86

100:                                              ; preds = %98
  %101 = extractvalue { double, double } %99, 0
  store double %101, ptr %14, align 16
  %102 = extractvalue { double, double } %99, 1
  store double %102, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %103 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %104 unwind label %.loopexit.split-lp91

104:                                              ; preds = %100
  %105 = extractvalue { double, double } %103, 0
  %106 = extractvalue { double, double } %103, 1
  %107 = invoke { double, double } @_ZNK3JPH4Vec35CrossES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %105, double %106)
          to label %108 unwind label %.loopexit.split-lp91

108:                                              ; preds = %104
  %109 = extractvalue { double, double } %107, 0
  store double %109, ptr %16, align 16
  %110 = extractvalue { double, double } %107, 1
  store double %110, ptr %83, align 8
  %111 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %16)
          to label %112 unwind label %.loopexit.split-lp91

112:                                              ; preds = %108
  %113 = extractvalue { double, double } %111, 0
  store double %113, ptr %15, align 16
  %114 = extractvalue { double, double } %111, 1
  store double %114, ptr %84, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #10
  %.sroa.018.0.copyload.peel = load double, ptr %11, align 16
  %.sroa.219.0.copyload.peel = load double, ptr %29, align 8, !tbaa !12
  %115 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %92, double %.sroa.018.0.copyload.peel, double %.sroa.219.0.copyload.peel)
          to label %116 unwind label %.loopexit.split-lp96

116:                                              ; preds = %112
  %117 = extractvalue { double, double } %115, 0
  store double %117, ptr %18, align 16
  %118 = extractvalue { double, double } %115, 1
  store double %118, ptr %85, align 8
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
          to label %119 unwind label %.loopexit.split-lp96

119:                                              ; preds = %116
  %120 = load double, ptr %19, align 16
  %121 = load double, ptr %86, align 8
  %122 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %120, double %121)
          to label %123 unwind label %.loopexit.split-lp96

123:                                              ; preds = %119
  %124 = extractvalue { double, double } %122, 0
  store double %124, ptr %17, align 16
  %125 = extractvalue { double, double } %122, 1
  store double %125, ptr %87, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #10
  %126 = getelementptr inbounds i8, ptr %92, i64 16
  %127 = load float, ptr %126, align 16, !tbaa !13
  %128 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %127)
          to label %129 unwind label %.loopexit.split-lp101

129:                                              ; preds = %123
  %130 = extractvalue { double, double } %128, 0
  %131 = extractvalue { double, double } %128, 1
  %132 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %17, double %130, double %131)
          to label %133 unwind label %.loopexit.split-lp101

133:                                              ; preds = %129
  %134 = extractvalue { double, double } %132, 0
  %135 = extractvalue { double, double } %132, 1
  %136 = getelementptr inbounds i8, ptr %92, i64 20
  %137 = load float, ptr %136, align 4, !tbaa !16
  %138 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %137)
          to label %139 unwind label %.loopexit.split-lp106

139:                                              ; preds = %133
  %140 = extractvalue { double, double } %138, 0
  %141 = extractvalue { double, double } %138, 1
  %142 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %17, double %140, double %141)
          to label %143 unwind label %.loopexit.split-lp106

143:                                              ; preds = %139
  %144 = extractvalue { double, double } %142, 0
  %145 = extractvalue { double, double } %142, 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #10
  store double %134, ptr %20, align 16
  store double %135, ptr %.sroa.713.0..sroa_idx, align 8, !tbaa !12
  store double %144, ptr %89, align 16
  store double %145, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !12
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 16 dereferenceable(32) %20)
          to label %146 unwind label %.loopexit.split-lp111

146:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  %147 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %148 = icmp ugt i64 %147, 1
  br i1 %148, label %.peel.next, label %._crit_edge

._crit_edge:                                      ; preds = %214, %146, %80
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @_ZN11AssetStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(520) %3) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %3) #10
  ret void

149:                                              ; preds = %76
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %220

151:                                              ; preds = %78
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %220

.peel.next:                                       ; preds = %146, %214
  %.sroa.634.073 = phi double [ %196, %214 ], [ %135, %146 ]
  %.sroa.033.072 = phi double [ %195, %214 ], [ %134, %146 ]
  %.sroa.6.071 = phi double [ %206, %214 ], [ %145, %146 ]
  %.sroa.032.070 = phi double [ %205, %214 ], [ %144, %146 ]
  %.05569 = phi i64 [ %155, %214 ], [ 1, %146 ]
  %153 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.05569)
          to label %154 unwind label %.loopexit76

154:                                              ; preds = %.peel.next
  %155 = add nuw i64 %.05569, 1
  %156 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %157 = urem i64 %155, %156
  %158 = invoke noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %157)
          to label %159 unwind label %.loopexit80

159:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #10
  %.sroa.022.0.copyload = load double, ptr %153, align 16
  %.sroa.223.0..sroa_idx = getelementptr inbounds i8, ptr %153, i64 8
  %.sroa.223.0.copyload = load double, ptr %.sroa.223.0..sroa_idx, align 8, !tbaa !12
  %160 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %158, double %.sroa.022.0.copyload, double %.sroa.223.0.copyload)
          to label %161 unwind label %.loopexit85

161:                                              ; preds = %159
  %162 = extractvalue { double, double } %160, 0
  store double %162, ptr %14, align 16
  %163 = extractvalue { double, double } %160, 1
  store double %163, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #10
  %164 = invoke { double, double } @_ZN3JPH4Vec36sAxisYEv()
          to label %165 unwind label %.loopexit90

165:                                              ; preds = %161
  %166 = extractvalue { double, double } %164, 0
  %167 = extractvalue { double, double } %164, 1
  %168 = invoke { double, double } @_ZNK3JPH4Vec35CrossES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %166, double %167)
          to label %169 unwind label %.loopexit90

169:                                              ; preds = %165
  %170 = extractvalue { double, double } %168, 0
  store double %170, ptr %16, align 16
  %171 = extractvalue { double, double } %168, 1
  store double %171, ptr %83, align 8
  %172 = invoke { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16) %16)
          to label %173 unwind label %.loopexit90

173:                                              ; preds = %169
  %174 = extractvalue { double, double } %172, 0
  store double %174, ptr %15, align 16
  %175 = extractvalue { double, double } %172, 1
  store double %175, ptr %84, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #10
  %.sroa.018.0.copyload = load double, ptr %11, align 16
  %.sroa.219.0.copyload = load double, ptr %29, align 8, !tbaa !12
  %176 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %153, double %.sroa.018.0.copyload, double %.sroa.219.0.copyload)
          to label %177 unwind label %.loopexit95

177:                                              ; preds = %173
  %178 = extractvalue { double, double } %176, 0
  store double %178, ptr %18, align 16
  %179 = extractvalue { double, double } %176, 1
  store double %179, ptr %85, align 8
  invoke void @_ZN3JPH4Vec3C2Efff(ptr noundef nonnull align 16 dereferenceable(16) %19, float noundef 0.000000e+00, float noundef 0x3FB99999A0000000, float noundef 0.000000e+00)
          to label %180 unwind label %.loopexit95

180:                                              ; preds = %177
  %181 = load double, ptr %19, align 16
  %182 = load double, ptr %86, align 8
  %183 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %181, double %182)
          to label %184 unwind label %.loopexit95

184:                                              ; preds = %180
  %185 = extractvalue { double, double } %183, 0
  store double %185, ptr %17, align 16
  %186 = extractvalue { double, double } %183, 1
  store double %186, ptr %87, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #10
  %187 = getelementptr inbounds i8, ptr %153, i64 16
  %188 = load float, ptr %187, align 16, !tbaa !13
  %189 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %188)
          to label %190 unwind label %.loopexit100

190:                                              ; preds = %184
  %191 = extractvalue { double, double } %189, 0
  %192 = extractvalue { double, double } %189, 1
  %193 = invoke { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %17, double %191, double %192)
          to label %194 unwind label %.loopexit100

194:                                              ; preds = %190
  %195 = extractvalue { double, double } %193, 0
  %196 = extractvalue { double, double } %193, 1
  %197 = getelementptr inbounds i8, ptr %153, i64 20
  %198 = load float, ptr %197, align 4, !tbaa !16
  %199 = invoke { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16) %15, float noundef %198)
          to label %200 unwind label %.loopexit105

200:                                              ; preds = %194
  %201 = extractvalue { double, double } %199, 0
  %202 = extractvalue { double, double } %199, 1
  %203 = invoke { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %17, double %201, double %202)
          to label %204 unwind label %.loopexit105

204:                                              ; preds = %200
  %205 = extractvalue { double, double } %203, 0
  %206 = extractvalue { double, double } %203, 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #10
  store double %195, ptr %20, align 16
  store double %196, ptr %.sroa.713.0..sroa_idx, align 8, !tbaa !12
  store double %205, ptr %89, align 16
  store double %206, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !12
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 16 dereferenceable(32) %20)
          to label %207 unwind label %.loopexit110

207:                                              ; preds = %204
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #10
  store double %.sroa.033.072, ptr %21, align 16
  store double %.sroa.634.073, ptr %.sroa.634.0..sroa_idx, align 8, !tbaa !12
  store double %195, ptr %90, align 16
  store double %196, ptr %.sroa.713.0..sroa_idx14, align 8, !tbaa !12
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 16 dereferenceable(32) %21)
          to label %208 unwind label %212

208:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #10
  store double %.sroa.032.070, ptr %22, align 16
  store double %.sroa.6.071, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !12
  store double %205, ptr %91, align 16
  store double %206, ptr %.sroa.7.0..sroa_idx4, align 8, !tbaa !12
  invoke void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 16 dereferenceable(32) %22)
          to label %214 unwind label %213

.loopexit76:                                      ; preds = %.peel.next
  %lpad.loopexit78 = landingpad { ptr, i32 }
          cleanup
  br label %220

.loopexit.split-lp77:                             ; preds = %.lr.ph
  %lpad.loopexit.split-lp79 = landingpad { ptr, i32 }
          cleanup
  br label %220

.loopexit80:                                      ; preds = %154
  %lpad.loopexit82 = landingpad { ptr, i32 }
          cleanup
  br label %220

.loopexit.split-lp81:                             ; preds = %93
  %lpad.loopexit.split-lp83 = landingpad { ptr, i32 }
          cleanup
  br label %220

.loopexit85:                                      ; preds = %159
  %lpad.loopexit87 = landingpad { ptr, i32 }
          cleanup
  br label %219

.loopexit.split-lp86:                             ; preds = %98
  %lpad.loopexit.split-lp88 = landingpad { ptr, i32 }
          cleanup
  br label %219

.loopexit90:                                      ; preds = %161, %165, %169
  %lpad.loopexit92 = landingpad { ptr, i32 }
          cleanup
  br label %209

.loopexit.split-lp91:                             ; preds = %100, %104, %108
  %lpad.loopexit.split-lp93 = landingpad { ptr, i32 }
          cleanup
  br label %209

209:                                              ; preds = %.loopexit.split-lp91, %.loopexit90
  %lpad.phi94 = phi { ptr, i32 } [ %lpad.loopexit92, %.loopexit90 ], [ %lpad.loopexit.split-lp93, %.loopexit.split-lp91 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #10
  br label %218

.loopexit95:                                      ; preds = %173, %177, %180
  %lpad.loopexit97 = landingpad { ptr, i32 }
          cleanup
  br label %210

.loopexit.split-lp96:                             ; preds = %112, %116, %119
  %lpad.loopexit.split-lp98 = landingpad { ptr, i32 }
          cleanup
  br label %210

210:                                              ; preds = %.loopexit.split-lp96, %.loopexit95
  %lpad.phi99 = phi { ptr, i32 } [ %lpad.loopexit97, %.loopexit95 ], [ %lpad.loopexit.split-lp98, %.loopexit.split-lp96 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #10
  br label %217

.loopexit100:                                     ; preds = %184, %190
  %lpad.loopexit102 = landingpad { ptr, i32 }
          cleanup
  br label %217

.loopexit.split-lp101:                            ; preds = %123, %129
  %lpad.loopexit.split-lp103 = landingpad { ptr, i32 }
          cleanup
  br label %217

.loopexit105:                                     ; preds = %194, %200
  %lpad.loopexit107 = landingpad { ptr, i32 }
          cleanup
  br label %217

.loopexit.split-lp106:                            ; preds = %133, %139
  %lpad.loopexit.split-lp108 = landingpad { ptr, i32 }
          cleanup
  br label %217

.loopexit110:                                     ; preds = %204
  %lpad.loopexit112 = landingpad { ptr, i32 }
          cleanup
  br label %211

.loopexit.split-lp111:                            ; preds = %143
  %lpad.loopexit.split-lp113 = landingpad { ptr, i32 }
          cleanup
  br label %211

211:                                              ; preds = %.loopexit.split-lp111, %.loopexit110
  %lpad.phi114 = phi { ptr, i32 } [ %lpad.loopexit112, %.loopexit110 ], [ %lpad.loopexit.split-lp113, %.loopexit.split-lp111 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #10
  br label %217

212:                                              ; preds = %207
  %lpad.loopexit117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #10
  br label %217

213:                                              ; preds = %208
  %lpad.loopexit122 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #10
  br label %217

214:                                              ; preds = %208
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  %215 = call noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %216 = icmp ult i64 %155, %215
  br i1 %216, label %.peel.next, label %._crit_edge, !llvm.loop !19

217:                                              ; preds = %.loopexit105, %.loopexit.split-lp106, %.loopexit100, %.loopexit.split-lp101, %213, %212, %211, %210
  %.pn.pn.pn = phi { ptr, i32 } [ %lpad.phi99, %210 ], [ %lpad.loopexit122, %213 ], [ %lpad.loopexit117, %212 ], [ %lpad.phi114, %211 ], [ %lpad.loopexit102, %.loopexit100 ], [ %lpad.loopexit.split-lp103, %.loopexit.split-lp101 ], [ %lpad.loopexit107, %.loopexit105 ], [ %lpad.loopexit.split-lp108, %.loopexit.split-lp106 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #10
  br label %218

218:                                              ; preds = %217, %209
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %217 ], [ %lpad.phi94, %209 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #10
  br label %219

219:                                              ; preds = %.loopexit85, %.loopexit.split-lp86, %218
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %218 ], [ %lpad.loopexit87, %.loopexit85 ], [ %lpad.loopexit.split-lp88, %.loopexit.split-lp86 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #10
  br label %220

220:                                              ; preds = %.loopexit80, %.loopexit.split-lp81, %.loopexit76, %.loopexit.split-lp77, %.loopexit, %.loopexit.split-lp, %149, %219, %151, %69
  %.pn65.pn = phi { ptr, i32 } [ %.pn65, %69 ], [ %150, %149 ], [ %152, %151 ], [ %.pn.pn.pn.pn.pn, %219 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit78, %.loopexit76 ], [ %lpad.loopexit.split-lp79, %.loopexit.split-lp77 ], [ %lpad.loopexit82, %.loopexit80 ], [ %lpad.loopexit.split-lp83, %.loopexit.split-lp81 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #10
  call void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  br label %221

221:                                              ; preds = %220, %63
  %.pn65.pn.pn = phi { ptr, i32 } [ %.pn65.pn, %220 ], [ %64, %63 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #10
  call void @_ZN11AssetStreamD2Ev(ptr noundef nonnull align 8 dereferenceable(520) %3) #10
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %3) #10
  resume { ptr, i32 } %.pn65.pn.pn
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec36sAxisYEv() local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

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

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

declare void @_ZN11AssetStreamC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(520), ptr noundef, i32 noundef) unnamed_addr #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZSt7getlineIcSt11char_traitsIcEN3JPH12STLAllocatorIcEEERSt13basic_istreamIT_T0_ES9_RNSt7__cxx1112basic_stringIS6_S7_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEEcvbEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE9push_backEOS4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(24)) local_unnamed_addr #7 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #9 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNK3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #9 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN3JPH4Vec3dVEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(24) ptr @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #7 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec35CrossES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #1 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec310NormalizedEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3mlEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH5ArrayIN11VehicleTest4LineENS_12STLAllocatorIS2_EEE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 16 dereferenceable(32)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @_ZN3JPH5ArrayIZN11VehicleTest13LoadRaceTrackEPKcE7SegmentNS_12STLAllocatorIS4_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #9 align 2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #7 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { alwaysinline mustprogress nounwind uwtable "min-legal-vector-width"="128" "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 #9 = { 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 #10 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{i64 0, i64 16, !12}
!12 = !{!10, !10, i64 0}
!13 = !{!14, !9, i64 16}
!14 = !{!"_ZTSZN11VehicleTest13LoadRaceTrackEPKcE7Segment", !15, i64 0, !9, i64 16, !9, i64 20}
!15 = !{!"_ZTSN3JPH4Vec3E", !10, i64 0}
!16 = !{!14, !9, i64 20}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18, !20}
!20 = !{!"llvm.loop.peeled.count", i32 1}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass