; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/SeesPdu.ll (ZNK3DIS7SeesPdu7marshalERNS_10DataStreamE)

; 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.DIS::PropulsionSystemData" = type { ptr, float, float }
%"class.DIS::VectoringNozzleSystemData" = type { ptr, float, float }
%"class.DIS::SeesPdu" = type { %"class.DIS::DistributedEmissionsFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i16, i16, i16, i16, i16, %"class.std::vector", %"class.std::vector.0" }
%"class.DIS::DistributedEmissionsFamilyPdu.base" = type { %"class.DIS::Pdu.base" }
%"class.DIS::Pdu.base" = type <{ ptr, i8, i8, i8, i8, i32, i16, i16 }>
%"class.DIS::EntityID" = type <{ ptr, i16, i16, i16, [2 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::PropulsionSystemData, std::allocator<DIS::PropulsionSystemData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::PropulsionSystemData, std::allocator<DIS::PropulsionSystemData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::PropulsionSystemData, std::allocator<DIS::PropulsionSystemData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::PropulsionSystemData, std::allocator<DIS::PropulsionSystemData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<DIS::VectoringNozzleSystemData, std::allocator<DIS::VectoringNozzleSystemData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::VectoringNozzleSystemData, std::allocator<DIS::VectoringNozzleSystemData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::VectoringNozzleSystemData, std::allocator<DIS::VectoringNozzleSystemData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::VectoringNozzleSystemData, std::allocator<DIS::VectoringNozzleSystemData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS7SeesPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.DIS::PropulsionSystemData", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"class.DIS::VectoringNozzleSystemData", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %13 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 3
  %17 = load i16, ptr %16, align 8, !tbaa !9
  %18 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %15, i16 noundef zeroext %17)
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 4
  %21 = load i16, ptr %20, align 2, !tbaa !24
  %22 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %19, i16 noundef zeroext %21)
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 5
  %25 = load i16, ptr %24, align 4, !tbaa !25
  %26 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %23, i16 noundef zeroext %25)
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 8
  %29 = call noundef i64 @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #6
  %30 = trunc i64 %29 to i16
  %31 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %27, i16 noundef zeroext %30)
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 9
  %34 = call noundef i64 @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #6
  %35 = trunc i64 %34 to i16
  %36 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %32, i16 noundef zeroext %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !26
  br label %37

37:                                               ; preds = %49, %2
  %38 = load i64, ptr %5, align 8, !tbaa !26
  %39 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 8
  %40 = call noundef i64 @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = icmp ult i64 %38, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %56

43:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  %44 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 8
  %45 = load i64, ptr %5, align 8, !tbaa !26
  %46 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %45) #6
  call void @_ZN3DIS20PropulsionSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %46) #6
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS20PropulsionSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(48) %47)
          to label %48 unwind label %52

48:                                               ; preds = %43
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  br label %49

49:                                               ; preds = %48
  %50 = load i64, ptr %5, align 8, !tbaa !26
  %51 = add i64 %50, 1
  store i64 %51, ptr %5, align 8, !tbaa !26
  br label %37, !llvm.loop !28

52:                                               ; preds = %43
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %7, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %8, align 4
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %77

56:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !26
  br label %57

57:                                               ; preds = %69, %56
  %58 = load i64, ptr %9, align 8, !tbaa !26
  %59 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 9
  %60 = call noundef i64 @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #6
  %61 = icmp ult i64 %58, %60
  br i1 %61, label %63, label %62

62:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %76

63:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  %64 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 9
  %65 = load i64, ptr %9, align 8, !tbaa !26
  %66 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %64, i64 noundef %65) #6
  call void @_ZN3DIS25VectoringNozzleSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %66) #6
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS25VectoringNozzleSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(48) %67)
          to label %68 unwind label %72

68:                                               ; preds = %63
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  br label %69

69:                                               ; preds = %68
  %70 = load i64, ptr %9, align 8, !tbaa !26
  %71 = add i64 %70, 1
  store i64 %71, ptr %9, align 8, !tbaa !26
  br label %57, !llvm.loop !30

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %7, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %8, align 4
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %77

76:                                               ; preds = %62
  ret void

77:                                               ; preds = %72, %52
  %78 = load ptr, ptr %7, align 8
  %79 = load i32, ptr %8, align 4
  %80 = insertvalue { ptr, i32 } poison, ptr %78, 0
  %81 = insertvalue { ptr, i32 } %80, i32 %79, 1
  resume { ptr, i32 } %81
}

declare void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48), i16 noundef zeroext) #2

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

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

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

declare void @_ZNK3DIS20PropulsionSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

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

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

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

declare void @_ZNK3DIS25VectoringNozzleSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { 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, !14, i64 40}
!10 = !{!"_ZTSN3DIS7SeesPduE", !11, i64 0, !15, i64 24, !14, i64 40, !14, i64 42, !14, i64 44, !14, i64 46, !14, i64 48, !16, i64 56, !20, i64 80}
!11 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !12, i64 0}
!12 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !13, i64 12, !14, i64 16, !14, i64 18}
!13 = !{!"int", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"_ZTSN3DIS8EntityIDE", !14, i64 8, !14, i64 10, !14, i64 12}
!16 = !{!"_ZTSSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!10, !14, i64 42}
!25 = !{!10, !14, i64 44}
!26 = !{!27, !27, i64 0}
!27 = !{!"long", !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}


; 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.DIS::PropulsionSystemData" = type { ptr, float, float }
%"class.DIS::VectoringNozzleSystemData" = type { ptr, float, float }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS7SeesPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::PropulsionSystemData", align 8
  %4 = alloca %"class.DIS::VectoringNozzleSystemData", align 8
  tail call void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = load i16, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %7)
  %9 = getelementptr inbounds i8, ptr %0, i64 42
  %10 = load i16, ptr %9, align 2, !tbaa !23
  %11 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %10)
  %12 = getelementptr inbounds i8, ptr %0, i64 44
  %13 = load i16, ptr %12, align 4, !tbaa !24
  %14 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  %16 = tail call noundef i64 @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %17 = trunc i64 %16 to i16
  %18 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 80
  %20 = tail call noundef i64 @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %21 = trunc i64 %20 to i16
  %22 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %21)
  %23 = tail call noundef i64 @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %.not = icmp eq i64 %23, 0
  br i1 %.not, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %26, %2
  %24 = call noundef i64 @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %.not24 = icmp eq i64 %24, 0
  br i1 %.not24, label %._crit_edge, label %.lr.ph23

.lr.ph:                                           ; preds = %2, %26
  %.01921 = phi i64 [ %27, %26 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef %.01921) #6
  call void @_ZN3DIS20PropulsionSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %25) #6
  invoke void @_ZNK3DIS20PropulsionSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %26 unwind label %30

26:                                               ; preds = %.lr.ph
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %27 = add nuw i64 %.01921, 1
  %28 = call noundef i64 @_ZNKSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  %29 = icmp ult i64 %27, %28
  br i1 %29, label %.lr.ph, label %.preheader, !llvm.loop !25

30:                                               ; preds = %.lr.ph
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %39

._crit_edge:                                      ; preds = %33, %.preheader
  ret void

.lr.ph23:                                         ; preds = %.preheader, %33
  %.022 = phi i64 [ %34, %33 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %.022) #6
  call void @_ZN3DIS25VectoringNozzleSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %32) #6
  invoke void @_ZNK3DIS25VectoringNozzleSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %33 unwind label %37

33:                                               ; preds = %.lr.ph23
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  %34 = add nuw i64 %.022, 1
  %35 = call noundef i64 @_ZNKSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %36 = icmp ult i64 %34, %35
  br i1 %36, label %.lr.ph23, label %._crit_edge, !llvm.loop !27

37:                                               ; preds = %.lr.ph23
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  br label %39

39:                                               ; preds = %37, %30
  %.pn = phi { ptr, i32 } [ %31, %30 ], [ %38, %37 ]
  resume { ptr, i32 } %.pn
}

declare void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48), i16 noundef zeroext) local_unnamed_addr #2

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

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

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

declare void @_ZNK3DIS20PropulsionSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

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

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

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

declare void @_ZNK3DIS25VectoringNozzleSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "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 = { 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, !12, i64 40}
!6 = !{!"_ZTSN3DIS7SeesPduE", !7, i64 0, !13, i64 24, !12, i64 40, !12, i64 42, !12, i64 44, !12, i64 46, !12, i64 48, !14, i64 56, !19, i64 80}
!7 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !8, i64 0}
!8 = !{!"_ZTSN3DIS3PduE", !9, i64 8, !9, i64 9, !9, i64 10, !9, i64 11, !11, i64 12, !12, i64 16, !12, i64 18}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"short", !9, i64 0}
!13 = !{!"_ZTSN3DIS8EntityIDE", !12, i64 8, !12, i64 10, !12, i64 12}
!14 = !{!"_ZTSSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !9, i64 0}
!19 = !{!"_ZTSSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!23 = !{!6, !12, i64 42}
!24 = !{!6, !12, i64 44}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}


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