; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/SeesPdu.ll (ZN3DIS7SeesPdu9unmarshalERNS_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 void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS7SeesPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #3 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 @_ZN3DIS29DistributedEmissionsFamilyPdu9unmarshalERNS_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 @_ZN3DIS8EntityID9unmarshalERNS_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 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 2 dereferenceable(2) %16)
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 4
  %20 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 2 dereferenceable(2) %19)
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 5
  %23 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 2 dereferenceable(2) %22)
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 6
  %26 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull align 2 dereferenceable(2) %25)
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 7
  %29 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull align 2 dereferenceable(2) %28)
  %30 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 8
  call void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %43, %2
  %32 = load i64, ptr %5, align 8, !tbaa !9
  %33 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 6
  %34 = load i16, ptr %33, align 2, !tbaa !11
  %35 = zext i16 %34 to i64
  %36 = icmp ult i64 %32, %35
  br i1 %36, label %38, label %37

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

38:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  call void @_ZN3DIS20PropulsionSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3DIS20PropulsionSystemData9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %40 unwind label %46

40:                                               ; preds = %38
  %41 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 8
  invoke void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %42 unwind label %46

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

43:                                               ; preds = %42
  %44 = load i64, ptr %5, align 8, !tbaa !9
  %45 = add i64 %44, 1
  store i64 %45, ptr %5, align 8, !tbaa !9
  br label %31, !llvm.loop !26

46:                                               ; preds = %40, %38
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %72

50:                                               ; preds = %37
  %51 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 9
  call void @_ZNSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %64, %50
  %53 = load i64, ptr %9, align 8, !tbaa !9
  %54 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 7
  %55 = load i16, ptr %54, align 8, !tbaa !28
  %56 = zext i16 %55 to i64
  %57 = icmp ult i64 %53, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %71

59:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #5
  call void @_ZN3DIS25VectoringNozzleSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3DIS25VectoringNozzleSystemData9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %61 unwind label %67

61:                                               ; preds = %59
  %62 = getelementptr inbounds %"class.DIS::SeesPdu", ptr %11, i32 0, i32 9
  invoke void @_ZNSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %63 unwind label %67

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

64:                                               ; preds = %63
  %65 = load i64, ptr %9, align 8, !tbaa !9
  %66 = add i64 %65, 1
  store i64 %66, ptr %9, align 8, !tbaa !9
  br label %52, !llvm.loop !29

67:                                               ; preds = %61, %59
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %7, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %8, align 4
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %72

71:                                               ; preds = %58
  ret void

72:                                               ; preds = %67, %46
  %73 = load ptr, ptr %7, align 8
  %74 = load i32, ptr %8, align 4
  %75 = insertvalue { ptr, i32 } poison, ptr %73, 0
  %76 = insertvalue { ptr, i32 } %75, i32 %74, 1
  resume { ptr, i32 } %76
}

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 2 dereferenceable(2)) #4

declare void @_ZN3DIS20PropulsionSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

declare void @_ZN3DIS25VectoringNozzleSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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 = !{!"long", !7, i64 0}
!11 = !{!12, !16, i64 46}
!12 = !{!"_ZTSN3DIS7SeesPduE", !13, i64 0, !17, i64 24, !16, i64 40, !16, i64 42, !16, i64 44, !16, i64 46, !16, i64 48, !18, i64 56, !22, i64 80}
!13 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !14, i64 0}
!14 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !15, i64 12, !16, i64 16, !16, i64 18}
!15 = !{!"int", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTSN3DIS8EntityIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!18 = !{!"_ZTSSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS20PropulsionSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS25VectoringNozzleSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!12, !16, i64 48}
!29 = distinct !{!29, !27}


; 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 void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS7SeesPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(104) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::PropulsionSystemData", align 8
  %4 = alloca %"class.DIS::VectoringNozzleSystemData", align 8
  tail call void @_ZN3DIS29DistributedEmissionsFamilyPdu9unmarshalERNS_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 @_ZN3DIS8EntityID9unmarshalERNS_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 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %6)
  %8 = getelementptr inbounds i8, ptr %0, i64 42
  %9 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %8)
  %10 = getelementptr inbounds i8, ptr %0, i64 44
  %11 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %12 = getelementptr inbounds i8, ptr %0, i64 46
  %13 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %12)
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  %15 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %14)
  %16 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  %17 = load i16, ptr %12, align 2, !tbaa !5
  %.not = icmp eq i16 %17, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %21, %2
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  call void @_ZNSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %19 = load i16, ptr %14, align 8, !tbaa !23
  %.not24 = icmp eq i16 %19, 0
  br i1 %.not24, label %._crit_edge23, label %.lr.ph22

.lr.ph:                                           ; preds = %2, %21
  %.01719 = phi i64 [ %22, %21 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @_ZN3DIS20PropulsionSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
  invoke void @_ZN3DIS20PropulsionSystemData9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %20 unwind label %26

20:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN3DIS20PropulsionSystemDataESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %21 unwind label %26

21:                                               ; preds = %20
  call void @_ZN3DIS20PropulsionSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  %22 = add nuw nsw i64 %.01719, 1
  %23 = load i16, ptr %12, align 2, !tbaa !5
  %24 = zext i16 %23 to i64
  %25 = icmp ult i64 %22, %24
  br i1 %25, label %.lr.ph, label %._crit_edge, !llvm.loop !24

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

._crit_edge23:                                    ; preds = %29, %._crit_edge
  ret void

.lr.ph22:                                         ; preds = %._crit_edge, %29
  %.020 = phi i64 [ %30, %29 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN3DIS25VectoringNozzleSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  invoke void @_ZN3DIS25VectoringNozzleSystemData9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %28 unwind label %34

28:                                               ; preds = %.lr.ph22
  invoke void @_ZNSt6vectorIN3DIS25VectoringNozzleSystemDataESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %29 unwind label %34

29:                                               ; preds = %28
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  %30 = add nuw nsw i64 %.020, 1
  %31 = load i16, ptr %14, align 8, !tbaa !23
  %32 = zext i16 %31 to i64
  %33 = icmp ult i64 %30, %32
  br i1 %33, label %.lr.ph22, label %._crit_edge23, !llvm.loop !26

34:                                               ; preds = %28, %.lr.ph22
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS25VectoringNozzleSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  br label %36

36:                                               ; preds = %34, %26
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %35, %34 ]
  resume { ptr, i32 } %.pn
}

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 2 dereferenceable(2)) local_unnamed_addr #4

declare void @_ZN3DIS20PropulsionSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

declare void @_ZN3DIS25VectoringNozzleSystemDataC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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, !12, i64 46}
!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 48}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}


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