; LLVM IR from RyanKingSoftware/propeller-crossflow-autorotation-solver :: solver (aero_coefficient_interpolator)

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

%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"struct.std::pair.3" = type { float, float }
%class.anon = type { i8 }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK27AeroCoefficientInterpolator4lerpEfffff(ptr noundef nonnull align 8 dereferenceable(48), float noundef, float noundef, float noundef, float noundef, float noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKSt6vectorISt4pairIffESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, float noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #2 align 2 {
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %11 = alloca %"struct.std::pair.3", align 4
  %12 = alloca float, align 4
  %13 = alloca %class.anon, align 1
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %17 = alloca float, align 4
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %22 = alloca float, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store float %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %5, align 8
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIffESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #5
  br i1 %25, label %26, label %27

26:                                               ; preds = %3
  store float 0.000000e+00, ptr %4, align 4
  br label %93

27:                                               ; preds = %3
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef i64 @_ZNKSt6vectorISt4pairIffESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  %30 = icmp eq i64 %29, 1
  br i1 %30, label %31, label %36

31:                                               ; preds = %27
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #5
  %34 = getelementptr inbounds %"struct.std::pair.3", ptr %33, i32 0, i32 1
  %35 = load float, ptr %34, align 4, !tbaa !11
  store float %35, ptr %4, align 4
  br label %93

36:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %9, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %10, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store float 0.000000e+00, ptr %12, align 4, !tbaa !9
  %43 = call <2 x float> @_ZSt9make_pairIRffESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %12)
  store <2 x float> %43, ptr %11, align 4
  %44 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %9, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8
  %46 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %10, i32 0, i32 0
  %47 = load ptr, ptr %46, align 8
  %48 = call ptr @"_ZSt11lower_boundIN9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS3_SaIS3_EEEES3_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKS8_E3$_0ET_SE_SE_RKT0_T1_"(ptr %45, ptr %47, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %49 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %8, i32 0, i32 0
  store ptr %48, ptr %49, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %50 = load ptr, ptr %7, align 8, !tbaa !5
  %51 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #5
  %52 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %14, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  %53 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIffESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br i1 %53, label %54, label %59

54:                                               ; preds = %36
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %55, i64 noundef 0) #5
  %57 = getelementptr inbounds %"struct.std::pair.3", ptr %56, i32 0, i32 1
  %58 = load float, ptr %57, align 4, !tbaa !11
  store float %58, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %92

59:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  %62 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %16, i32 0, i32 0
  store ptr %61, ptr %62, align 8
  %63 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIffESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br i1 %63, label %64, label %69

64:                                               ; preds = %59
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #5
  %67 = getelementptr inbounds %"struct.std::pair.3", ptr %66, i32 0, i32 1
  %68 = load float, ptr %67, align 4, !tbaa !11
  store float %68, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %92

69:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %70 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #5
  %71 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %18, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  %72 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %73 = getelementptr inbounds %"struct.std::pair.3", ptr %72, i32 0, i32 0
  %74 = load float, ptr %73, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  store float %74, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %75 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %76 = getelementptr inbounds %"struct.std::pair.3", ptr %75, i32 0, i32 0
  %77 = load float, ptr %76, align 4, !tbaa !13
  store float %77, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %78 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 1) #5
  %79 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.5", ptr %21, i32 0, i32 0
  store ptr %78, ptr %79, align 8
  %80 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %81 = getelementptr inbounds %"struct.std::pair.3", ptr %80, i32 0, i32 1
  %82 = load float, ptr %81, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  store float %82, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %83 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %84 = getelementptr inbounds %"struct.std::pair.3", ptr %83, i32 0, i32 1
  %85 = load float, ptr %84, align 4, !tbaa !11
  store float %85, ptr %22, align 4, !tbaa !9
  %86 = load float, ptr %17, align 4, !tbaa !9
  %87 = load float, ptr %19, align 4, !tbaa !9
  %88 = load float, ptr %20, align 4, !tbaa !9
  %89 = load float, ptr %22, align 4, !tbaa !9
  %90 = load float, ptr %6, align 4, !tbaa !9
  %91 = call noundef float @_ZNK27AeroCoefficientInterpolator4lerpEfffff(ptr noundef nonnull align 8 dereferenceable(48) %23, float noundef %86, float noundef %87, float noundef %88, float noundef %89, float noundef %90)
  store float %91, ptr %4, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %92

92:                                               ; preds = %69, %64, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %93

93:                                               ; preds = %92, %31, %26
  %94 = load float, ptr %4, align 4
  ret float %94
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt11lower_boundIN9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS3_SaIS3_EEEES3_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKS8_E3$_0ET_SE_SE_RKT0_T1_"(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(8)) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZSt9make_pairIRffESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

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

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

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

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

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

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


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

%"class.__gnu_cxx::__normal_iterator.5" = type { ptr }
%"struct.std::pair.3" = type { float, float }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK27AeroCoefficientInterpolator4lerpEfffff(ptr noundef nonnull align 8 dereferenceable(48), float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKSt6vectorISt4pairIffESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(48) %0, float noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #2 align 2 {
  %4 = alloca float, align 4
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %6 = alloca %"struct.std::pair.3", align 8
  %7 = alloca float, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.5", align 8
  store float %1, ptr %4, align 4, !tbaa !5
  %12 = tail call noundef zeroext i1 @_ZNKSt6vectorISt4pairIffESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  br i1 %12, label %54, label %13

13:                                               ; preds = %3
  %14 = tail call noundef i64 @_ZNKSt6vectorISt4pairIffESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %15 = icmp eq i64 %14, 1
  br i1 %15, label %16, label %20

16:                                               ; preds = %13
  %17 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = load float, ptr %18, align 4, !tbaa !9
  br label %54

20:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %21 = tail call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %22 = tail call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  store float 0.000000e+00, ptr %7, align 4, !tbaa !5
  %23 = call <2 x float> @_ZSt9make_pairIRffESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  store <2 x float> %23, ptr %6, align 8
  %24 = call ptr @"_ZSt11lower_boundIN9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS3_SaIS3_EEEES3_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKS8_E3$_0ET_SE_SE_RKT0_T1_"(ptr %21, ptr %22, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store ptr %24, ptr %5, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %25 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %25, ptr %8, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIffESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br i1 %26, label %27, label %31

27:                                               ; preds = %20
  %28 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #5
  %29 = getelementptr inbounds i8, ptr %28, i64 4
  %30 = load float, ptr %29, align 4, !tbaa !9
  br label %53

31:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %32 = call ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %32, ptr %9, align 8
  %33 = call noundef zeroext i1 @_ZN9__gnu_cxxeqIPKSt4pairIffESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %33, label %34, label %38

34:                                               ; preds = %31
  %35 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIffESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %36 = getelementptr inbounds i8, ptr %35, i64 4
  %37 = load float, ptr %36, align 4, !tbaa !9
  br label %53

38:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %39 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef 1) #5
  store ptr %39, ptr %10, align 8
  %40 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %41 = load float, ptr %40, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %42 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %43 = load float, ptr %42, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %44 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEmiEl(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef 1) #5
  store ptr %44, ptr %11, align 8
  %45 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %46 = getelementptr inbounds i8, ptr %45, i64 4
  %47 = load float, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %48 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %49 = getelementptr inbounds i8, ptr %48, i64 4
  %50 = load float, ptr %49, align 4, !tbaa !9
  %51 = load float, ptr %4, align 4, !tbaa !5
  %52 = call noundef float @_ZNK27AeroCoefficientInterpolator4lerpEfffff(ptr noundef nonnull align 8 dereferenceable(48) %0, float noundef %41, float noundef %43, float noundef %47, float noundef %50, float noundef %51)
  br label %53

53:                                               ; preds = %38, %34, %27
  %.0 = phi float [ %30, %27 ], [ %37, %34 ], [ %52, %38 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %54

54:                                               ; preds = %3, %53, %16
  %.1 = phi float [ %19, %16 ], [ %.0, %53 ], [ 0.000000e+00, %3 ]
  ret float %.1
}

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt11lower_boundIN9__gnu_cxx17__normal_iteratorIPKSt4pairIffESt6vectorIS3_SaIS3_EEEES3_ZNK27AeroCoefficientInterpolator21interpolateAtReynoldsEfRKS8_E3$_0ET_SE_SE_RKT0_T1_"(ptr, ptr, ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZSt9make_pairIRffESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

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

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

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

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

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


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