; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6 (TransmitterPdu)

; 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::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::TransmitterPdu" = type { %"class.DIS::RadioCommunicationsFamilyPdu.base", %"class.DIS::RadioEntityType", i8, i8, i16, %"class.DIS::Vector3Double", %"class.DIS::Vector3Float", i16, i16, i64, float, float, %"class.DIS::ModulationType", i16, i16, i8, i16, i8, %"class.std::vector", %"class.std::vector" }
%"class.DIS::RadioCommunicationsFamilyPdu.base" = type { %"class.DIS::Pdu.base", [4 x i8], %"class.DIS::EntityID", i16 }
%"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.DIS::RadioEntityType" = type { ptr, i8, i8, i16, i8, i8, i16 }
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::ModulationType" = type { ptr, i16, i16, i16, i16 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::Vector3Float, std::allocator<DIS::Vector3Float>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::Vector3Float, std::allocator<DIS::Vector3Float>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::Vector3Float, std::allocator<DIS::Vector3Float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::Vector3Float, std::allocator<DIS::Vector3Float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3DIS14TransmitterPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(232) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca %"class.DIS::Vector3Float", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca %"class.DIS::Vector3Float", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %10 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !9
  %11 = call noundef i32 @_ZNK3DIS28RadioCommunicationsFamilyPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(42) %10)
  store i32 %11, ptr %3, align 4, !tbaa !9
  %12 = load i32, ptr %3, align 4, !tbaa !9
  %13 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 1
  %14 = call noundef i32 @_ZNK3DIS15RadioEntityType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %15 = add nsw i32 %12, %14
  store i32 %15, ptr %3, align 4, !tbaa !9
  %16 = load i32, ptr %3, align 4, !tbaa !9
  %17 = add nsw i32 %16, 1
  store i32 %17, ptr %3, align 4, !tbaa !9
  %18 = load i32, ptr %3, align 4, !tbaa !9
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %3, align 4, !tbaa !9
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = add nsw i32 %20, 2
  store i32 %21, ptr %3, align 4, !tbaa !9
  %22 = load i32, ptr %3, align 4, !tbaa !9
  %23 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 5
  %24 = call noundef i32 @_ZNK3DIS13Vector3Double17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
  %25 = add nsw i32 %22, %24
  store i32 %25, ptr %3, align 4, !tbaa !9
  %26 = load i32, ptr %3, align 4, !tbaa !9
  %27 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 6
  %28 = call noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %27)
  %29 = add nsw i32 %26, %28
  store i32 %29, ptr %3, align 4, !tbaa !9
  %30 = load i32, ptr %3, align 4, !tbaa !9
  %31 = add nsw i32 %30, 2
  store i32 %31, ptr %3, align 4, !tbaa !9
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = add nsw i32 %32, 2
  store i32 %33, ptr %3, align 4, !tbaa !9
  %34 = load i32, ptr %3, align 4, !tbaa !9
  %35 = add nsw i32 %34, 8
  store i32 %35, ptr %3, align 4, !tbaa !9
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = add nsw i32 %36, 4
  store i32 %37, ptr %3, align 4, !tbaa !9
  %38 = load i32, ptr %3, align 4, !tbaa !9
  %39 = add nsw i32 %38, 4
  store i32 %39, ptr %3, align 4, !tbaa !9
  %40 = load i32, ptr %3, align 4, !tbaa !9
  %41 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 12
  %42 = call noundef i32 @_ZNK3DIS14ModulationType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %41)
  %43 = add nsw i32 %40, %42
  store i32 %43, ptr %3, align 4, !tbaa !9
  %44 = load i32, ptr %3, align 4, !tbaa !9
  %45 = add nsw i32 %44, 2
  store i32 %45, ptr %3, align 4, !tbaa !9
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = add nsw i32 %46, 2
  store i32 %47, ptr %3, align 4, !tbaa !9
  %48 = load i32, ptr %3, align 4, !tbaa !9
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr %3, align 4, !tbaa !9
  %50 = load i32, ptr %3, align 4, !tbaa !9
  %51 = add nsw i32 %50, 2
  store i32 %51, ptr %3, align 4, !tbaa !9
  %52 = load i32, ptr %3, align 4, !tbaa !9
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store i64 0, ptr %4, align 8, !tbaa !11
  br label %54

54:                                               ; preds = %68, %1
  %55 = load i64, ptr %4, align 8, !tbaa !11
  %56 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 18
  %57 = call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #6
  %58 = icmp ult i64 %55, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %75

60:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #6
  %61 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 18
  %62 = load i64, ptr %4, align 8, !tbaa !11
  %63 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %62) #6
  call void @_ZN3DIS12Vector3FloatC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %5, ptr noundef nonnull align 8 dereferenceable(20) %63) #6
  %64 = load i32, ptr %3, align 4, !tbaa !9
  %65 = invoke noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %5)
          to label %66 unwind label %71

66:                                               ; preds = %60
  %67 = add nsw i32 %64, %65
  store i32 %67, ptr %3, align 4, !tbaa !9
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  br label %68

68:                                               ; preds = %66
  %69 = load i64, ptr %4, align 8, !tbaa !11
  %70 = add i64 %69, 1
  store i64 %70, ptr %4, align 8, !tbaa !11
  br label %54, !llvm.loop !13

71:                                               ; preds = %60
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %6, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %7, align 4
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  br label %99

75:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %76

76:                                               ; preds = %90, %75
  %77 = load i64, ptr %8, align 8, !tbaa !11
  %78 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 19
  %79 = call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #6
  %80 = icmp ult i64 %77, %79
  br i1 %80, label %82, label %81

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

82:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  %83 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %10, i32 0, i32 19
  %84 = load i64, ptr %8, align 8, !tbaa !11
  %85 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %83, i64 noundef %84) #6
  call void @_ZN3DIS12Vector3FloatC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(20) %85) #6
  %86 = load i32, ptr %3, align 4, !tbaa !9
  %87 = invoke noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %9)
          to label %88 unwind label %93

88:                                               ; preds = %82
  %89 = add nsw i32 %86, %87
  store i32 %89, ptr %3, align 4, !tbaa !9
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %90

90:                                               ; preds = %88
  %91 = load i64, ptr %8, align 8, !tbaa !11
  %92 = add i64 %91, 1
  store i64 %92, ptr %8, align 8, !tbaa !11
  br label %76, !llvm.loop !15

93:                                               ; preds = %82
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %6, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %7, align 4
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %99

97:                                               ; preds = %81
  %98 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret i32 %98

99:                                               ; preds = %93, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %100

100:                                              ; preds = %99
  %101 = load ptr, ptr %6, align 8
  %102 = load i32, ptr %7, align 4
  %103 = insertvalue { ptr, i32 } poison, ptr %101, 0
  %104 = insertvalue { ptr, i32 } %103, i32 %102, 1
  resume { ptr, i32 } %104
}

declare noundef i32 @_ZNK3DIS28RadioCommunicationsFamilyPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(42)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS15RadioEntityType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS13Vector3Double17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS14ModulationType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

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


; 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::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK3DIS14TransmitterPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(232) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.DIS::Vector3Float", align 8
  %3 = alloca %"class.DIS::Vector3Float", align 8
  %4 = tail call noundef i32 @_ZNK3DIS28RadioCommunicationsFamilyPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(42) %0)
  %5 = getelementptr inbounds i8, ptr %0, i64 48
  %6 = tail call noundef i32 @_ZNK3DIS15RadioEntityType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
  %7 = getelementptr inbounds i8, ptr %0, i64 72
  %8 = tail call noundef i32 @_ZNK3DIS13Vector3Double17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  %9 = getelementptr inbounds i8, ptr %0, i64 104
  %10 = tail call noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 152
  %12 = tail call noundef i32 @_ZNK3DIS14ModulationType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  %13 = add i32 %4, 32
  %14 = add i32 %13, %6
  %15 = add i32 %14, %8
  %16 = add i32 %15, %10
  %17 = add i32 %16, %12
  %18 = getelementptr inbounds i8, ptr %0, i64 184
  %19 = tail call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %.not = icmp eq i64 %19, 0
  br i1 %.not, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %24, %1
  %.031.lcssa = phi i32 [ %17, %1 ], [ %25, %24 ]
  %20 = getelementptr inbounds i8, ptr %0, i64 208
  %21 = call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %.not41 = icmp eq i64 %21, 0
  br i1 %.not41, label %._crit_edge, label %.lr.ph39

.lr.ph:                                           ; preds = %1, %24
  %.03036 = phi i64 [ %26, %24 ], [ 0, %1 ]
  %.03135 = phi i32 [ %25, %24 ], [ %17, %1 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  %22 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.03036) #6
  call void @_ZN3DIS12Vector3FloatC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %2, ptr noundef nonnull align 8 dereferenceable(20) %22) #6
  %23 = invoke noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %24 unwind label %29

24:                                               ; preds = %.lr.ph
  %25 = add nsw i32 %23, %.03135
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  %26 = add nuw i64 %.03036, 1
  %27 = call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %28 = icmp ult i64 %26, %27
  br i1 %28, label %.lr.ph, label %.preheader, !llvm.loop !5

29:                                               ; preds = %.lr.ph
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  br label %40

._crit_edge:                                      ; preds = %33, %.preheader
  %.1.lcssa = phi i32 [ %.031.lcssa, %.preheader ], [ %34, %33 ]
  ret i32 %.1.lcssa

.lr.ph39:                                         ; preds = %.preheader, %33
  %.038 = phi i64 [ %35, %33 ], [ 0, %.preheader ]
  %.137 = phi i32 [ %34, %33 ], [ %.031.lcssa, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %31 = call noundef nonnull align 8 dereferenceable(20) ptr @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.038) #6
  call void @_ZN3DIS12Vector3FloatC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %3, ptr noundef nonnull align 8 dereferenceable(20) %31) #6
  %32 = invoke noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %33 unwind label %38

33:                                               ; preds = %.lr.ph39
  %34 = add nsw i32 %32, %.137
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  %35 = add nuw i64 %.038, 1
  %36 = call noundef i64 @_ZNKSt6vectorIN3DIS12Vector3FloatESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %37 = icmp ult i64 %35, %36
  br i1 %37, label %.lr.ph39, label %._crit_edge, !llvm.loop !7

38:                                               ; preds = %.lr.ph39
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %40

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

declare noundef i32 @_ZNK3DIS28RadioCommunicationsFamilyPdu17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(42)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS15RadioEntityType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS13Vector3Double17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS12Vector3Float17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5

declare noundef i32 @_ZNK3DIS14ModulationType17getMarshalledSizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

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


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