; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7 (DirectedEnergyFirePdu)

; 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::StandardVariableSpecification" = type { ptr, i16, %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.DIS::DirectedEnergyFirePdu" = type { %"class.DIS::WarfareFamilyPdu", %"class.DIS::EntityType", %"class.DIS::ClockTime", float, [4 x i8], %"class.DIS::Vector3Float", float, float, float, float, i32, i32, i8, i8, i32, i16, i16, %"class.std::vector" }
%"class.DIS::WarfareFamilyPdu" = type { %"class.DIS::Pdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EntityID" }
%"class.DIS::Pdu.base" = type { %"class.DIS::PduSuperclass.base", i8, i8 }
%"class.DIS::PduSuperclass.base" = type <{ ptr, i8, i8, i8, i8, i32, i16 }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::ClockTime" = type { ptr, i32, i32 }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::StandardVariableSpecification, std::allocator<DIS::StandardVariableSpecification>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::StandardVariableSpecification, std::allocator<DIS::StandardVariableSpecification>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::StandardVariableSpecification, std::allocator<DIS::StandardVariableSpecification>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::StandardVariableSpecification, std::allocator<DIS::StandardVariableSpecification>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS21DirectedEnergyFirePdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(216) %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::StandardVariableSpecification", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88) %9, ptr noundef nonnull align 8 dereferenceable(48) %10)
  %11 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 1
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %13 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS9ClockTime7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 3
  %17 = load float, ptr %16, align 8, !tbaa !9
  %18 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %15, float noundef %17)
  %19 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS12Vector3Float7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %19, ptr noundef nonnull align 8 dereferenceable(48) %20)
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 6
  %23 = load float, ptr %22, align 8, !tbaa !26
  %24 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %21, float noundef %23)
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 7
  %27 = load float, ptr %26, align 4, !tbaa !27
  %28 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %25, float noundef %27)
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 8
  %31 = load float, ptr %30, align 8, !tbaa !28
  %32 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %29, float noundef %31)
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 9
  %35 = load float, ptr %34, align 4, !tbaa !29
  %36 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %33, float noundef %35)
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 10
  %39 = load i32, ptr %38, align 8, !tbaa !30
  %40 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %37, i32 noundef %39)
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 11
  %43 = load i32, ptr %42, align 4, !tbaa !31
  %44 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %41, i32 noundef %43)
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 12
  %47 = load i8, ptr %46, align 8, !tbaa !32
  %48 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %45, i8 noundef signext %47)
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 13
  %51 = load i8, ptr %50, align 1, !tbaa !33
  %52 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %49, i8 noundef zeroext %51)
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 14
  %55 = load i32, ptr %54, align 4, !tbaa !34
  %56 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEj(ptr noundef nonnull align 8 dereferenceable(48) %53, i32 noundef %55)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 15
  %59 = load i16, ptr %58, align 8, !tbaa !35
  %60 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %57, i16 noundef zeroext %59)
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 17
  %63 = call noundef i64 @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  %64 = trunc i64 %63 to i16
  %65 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %61, i16 noundef zeroext %64)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !36
  br label %66

66:                                               ; preds = %78, %2
  %67 = load i64, ptr %5, align 8, !tbaa !36
  %68 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 17
  %69 = call noundef i64 @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #6
  %70 = icmp ult i64 %67, %69
  br i1 %70, label %72, label %71

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

72:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #6
  %73 = getelementptr inbounds %"class.DIS::DirectedEnergyFirePdu", ptr %9, i32 0, i32 17
  %74 = load i64, ptr %5, align 8, !tbaa !36
  %75 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %74) #6
  call void @_ZN3DIS29StandardVariableSpecificationC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %75)
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS29StandardVariableSpecification7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(48) %76)
          to label %77 unwind label %81

77:                                               ; preds = %72
  call void @_ZN3DIS29StandardVariableSpecificationD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  br label %78

78:                                               ; preds = %77
  %79 = load i64, ptr %5, align 8, !tbaa !36
  %80 = add i64 %79, 1
  store i64 %80, ptr %5, align 8, !tbaa !36
  br label %66, !llvm.loop !38

81:                                               ; preds = %72
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  call void @_ZN3DIS29StandardVariableSpecificationD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %86

85:                                               ; preds = %71
  ret void

86:                                               ; preds = %81
  %87 = load ptr, ptr %7, align 8
  %88 = load i32, ptr %8, align 4
  %89 = insertvalue { ptr, i32 } poison, ptr %87, 0
  %90 = insertvalue { ptr, i32 } %89, i32 %88, 1
  resume { ptr, i32 } %90
}

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

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48), float noundef) #2

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef signext) #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef zeroext) #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #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(40) ptr @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

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

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

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

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 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, !20, i64 120}
!10 = !{!"_ZTSN3DIS21DirectedEnergyFirePduE", !11, i64 0, !18, i64 88, !19, i64 104, !20, i64 120, !21, i64 128, !20, i64 152, !20, i64 156, !20, i64 160, !20, i64 164, !14, i64 168, !14, i64 172, !7, i64 176, !7, i64 177, !14, i64 180, !15, i64 184, !15, i64 186, !22, i64 192}
!11 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !12, i64 0, !16, i64 24, !16, i64 56}
!12 = !{!"_ZTSN3DIS3PduE", !13, i64 0, !7, i64 18, !7, i64 19}
!13 = !{!"_ZTSN3DIS13PduSuperclassE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !14, i64 12, !15, i64 16}
!14 = !{!"int", !7, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTSN3DIS8EntityIDE", !17, i64 8, !15, i64 24}
!17 = !{!"_ZTSN3DIS17SimulationAddressE", !15, i64 8, !15, i64 10}
!18 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !15, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!19 = !{!"_ZTSN3DIS9ClockTimeE", !14, i64 8, !14, i64 12}
!20 = !{!"float", !7, i64 0}
!21 = !{!"_ZTSN3DIS12Vector3FloatE", !20, i64 8, !20, i64 12, !20, i64 16}
!22 = !{!"_ZTSSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{!10, !20, i64 152}
!27 = !{!10, !20, i64 156}
!28 = !{!10, !20, i64 160}
!29 = !{!10, !20, i64 164}
!30 = !{!10, !14, i64 168}
!31 = !{!10, !14, i64 172}
!32 = !{!10, !7, i64 176}
!33 = !{!10, !7, i64 177}
!34 = !{!10, !14, i64 180}
!35 = !{!10, !15, i64 184}
!36 = !{!37, !37, i64 0}
!37 = !{!"long", !7, i64 0}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}


; 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::StandardVariableSpecification" = type { ptr, i16, %"class.std::vector.5" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::SimulationManagementPduHeader, std::allocator<DIS::SimulationManagementPduHeader>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS21DirectedEnergyFirePdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::StandardVariableSpecification", align 8
  tail call void @_ZNK3DIS16WarfareFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 88
  tail call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNK3DIS9ClockTime7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %6 = getelementptr inbounds i8, ptr %0, i64 120
  %7 = load float, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %1, float noundef %7)
  %9 = getelementptr inbounds i8, ptr %0, i64 128
  tail call void @_ZNK3DIS12Vector3Float7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %10 = getelementptr inbounds i8, ptr %0, i64 152
  %11 = load float, ptr %10, align 8, !tbaa !25
  %12 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %1, float noundef %11)
  %13 = getelementptr inbounds i8, ptr %0, i64 156
  %14 = load float, ptr %13, align 4, !tbaa !26
  %15 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %1, float noundef %14)
  %16 = getelementptr inbounds i8, ptr %0, i64 160
  %17 = load float, ptr %16, align 8, !tbaa !27
  %18 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %1, float noundef %17)
  %19 = getelementptr inbounds i8, ptr %0, i64 164
  %20 = load float, ptr %19, align 4, !tbaa !28
  %21 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48) %1, float noundef %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 168
  %23 = load i32, ptr %22, align 8, !tbaa !29
  %24 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %23)
  %25 = getelementptr inbounds i8, ptr %0, i64 172
  %26 = load i32, ptr %25, align 4, !tbaa !30
  %27 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %26)
  %28 = getelementptr inbounds i8, ptr %0, i64 176
  %29 = load i8, ptr %28, align 8, !tbaa !31
  %30 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef signext %29)
  %31 = getelementptr inbounds i8, ptr %0, i64 177
  %32 = load i8, ptr %31, align 1, !tbaa !32
  %33 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %32)
  %34 = getelementptr inbounds i8, ptr %0, i64 180
  %35 = load i32, ptr %34, align 4, !tbaa !33
  %36 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEj(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %35)
  %37 = getelementptr inbounds i8, ptr %0, i64 184
  %38 = load i16, ptr %37, align 8, !tbaa !34
  %39 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %38)
  %40 = getelementptr inbounds i8, ptr %0, i64 192
  %41 = tail call noundef i64 @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %42 = trunc i64 %41 to i16
  %43 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %42)
  %44 = tail call noundef i64 @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %.not = icmp eq i64 %44, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %46, %2
  ret void

.lr.ph:                                           ; preds = %2, %46
  %.022 = phi i64 [ %47, %46 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #6
  %45 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %.022) #6
  call void @_ZN3DIS29StandardVariableSpecificationC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %45)
  invoke void @_ZNK3DIS29StandardVariableSpecification7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %46 unwind label %50

46:                                               ; preds = %.lr.ph
  call void @_ZN3DIS29StandardVariableSpecificationD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  %47 = add nuw i64 %.022, 1
  %48 = call noundef i64 @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #6
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %.lr.ph, label %._crit_edge, !llvm.loop !35

50:                                               ; preds = %.lr.ph
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS29StandardVariableSpecificationD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  resume { ptr, i32 } %51
}

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

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEf(ptr noundef nonnull align 8 dereferenceable(48), float noundef) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef signext) local_unnamed_addr #2

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEj(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_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(40) ptr @_ZNKSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3DIS29StandardVariableSpecificationD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) 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

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 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, !18, i64 120}
!6 = !{!"_ZTSN3DIS21DirectedEnergyFirePduE", !7, i64 0, !16, i64 88, !17, i64 104, !18, i64 120, !19, i64 128, !18, i64 152, !18, i64 156, !18, i64 160, !18, i64 164, !12, i64 168, !12, i64 172, !10, i64 176, !10, i64 177, !12, i64 180, !13, i64 184, !13, i64 186, !20, i64 192}
!7 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !8, i64 0, !14, i64 24, !14, i64 56}
!8 = !{!"_ZTSN3DIS3PduE", !9, i64 0, !10, i64 18, !10, i64 19}
!9 = !{!"_ZTSN3DIS13PduSuperclassE", !10, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !12, i64 12, !13, i64 16}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"_ZTSN3DIS8EntityIDE", !15, i64 8, !13, i64 24}
!15 = !{!"_ZTSN3DIS17SimulationAddressE", !13, i64 8, !13, i64 10}
!16 = !{!"_ZTSN3DIS10EntityTypeE", !10, i64 8, !10, i64 9, !13, i64 10, !10, i64 12, !10, i64 13, !10, i64 14, !10, i64 15}
!17 = !{!"_ZTSN3DIS9ClockTimeE", !12, i64 8, !12, i64 12}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!20 = !{!"_ZTSSt6vectorIN3DIS29StandardVariableSpecificationESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS29StandardVariableSpecificationESaIS1_EE17_Vector_impl_dataE", !24, i64 0, !24, i64 8, !24, i64 16}
!24 = !{!"any pointer", !10, i64 0}
!25 = !{!6, !18, i64 152}
!26 = !{!6, !18, i64 156}
!27 = !{!6, !18, i64 160}
!28 = !{!6, !18, i64 164}
!29 = !{!6, !12, i64 168}
!30 = !{!6, !12, i64 172}
!31 = !{!6, !10, i64 176}
!32 = !{!6, !10, i64 177}
!33 = !{!6, !12, i64 180}
!34 = !{!6, !13, i64 184}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}


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