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

; 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::ArticulationParameter" = type { ptr, i8, i8, i16, i32, double }
%"class.DIS::EntityStatePdu" = type { %"class.DIS::EntityInformationFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i8, i8, %"class.DIS::EntityType", %"class.DIS::EntityType", %"class.DIS::Vector3Float", %"class.DIS::Vector3Double", %"class.DIS::Orientation", i32, %"class.DIS::DeadReckoningParameter", %"class.DIS::Marking", i32, %"class.std::vector" }
%"class.DIS::EntityInformationFamilyPdu.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.DIS::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::Orientation" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::DeadReckoningParameter" = type { ptr, i8, [15 x i8], %"class.DIS::Vector3Float", %"class.DIS::Vector3Float" }
%"class.DIS::Marking" = type <{ ptr, i8, [11 x i8], [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS14EntityStatePdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(296) %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::ArticulationParameter", 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 @_ZNK3DIS26EntityInformationFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(48) %10)
  %11 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 3
  %15 = load i8, ptr %14, align 8, !tbaa !9
  %16 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %13, i8 noundef zeroext %15)
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 14
  %19 = call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %20 = trunc i64 %19 to i8
  %21 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %17, i8 noundef signext %20)
  %22 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(48) %23)
  %24 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 6
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(48) %25)
  %26 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 7
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS12Vector3Float7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %26, ptr noundef nonnull align 8 dereferenceable(48) %27)
  %28 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 8
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS13Vector3Double7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(48) %29)
  %30 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 9
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS11Orientation7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %30, ptr noundef nonnull align 8 dereferenceable(48) %31)
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 10
  %34 = load i32, ptr %33, align 8, !tbaa !28
  %35 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %32, i32 noundef %34)
  %36 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 11
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS22DeadReckoningParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72) %36, ptr noundef nonnull align 8 dereferenceable(48) %37)
  %38 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 12
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS7Marking7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %38, ptr noundef nonnull align 8 dereferenceable(48) %39)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 13
  %42 = load i32, ptr %41, align 8, !tbaa !29
  %43 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %40, i32 noundef %42)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !30
  br label %44

44:                                               ; preds = %56, %2
  %45 = load i64, ptr %5, align 8, !tbaa !30
  %46 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 14
  %47 = call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #6
  %48 = icmp ult i64 %45, %47
  br i1 %48, label %50, label %49

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

50:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %51 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 14
  %52 = load i64, ptr %5, align 8, !tbaa !30
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %52) #6
  call void @_ZN3DIS21ArticulationParameterC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS21ArticulationParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(48) %54)
          to label %55 unwind label %59

55:                                               ; preds = %50
  call void @_ZN3DIS21ArticulationParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  br label %56

56:                                               ; preds = %55
  %57 = load i64, ptr %5, align 8, !tbaa !30
  %58 = add i64 %57, 1
  store i64 %58, ptr %5, align 8, !tbaa !30
  br label %44, !llvm.loop !32

59:                                               ; preds = %50
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  call void @_ZN3DIS21ArticulationParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %64

63:                                               ; preds = %49
  ret void

64:                                               ; preds = %59
  %65 = load ptr, ptr %7, align 8
  %66 = load i32, ptr %8, align 4
  %67 = insertvalue { ptr, i32 } poison, ptr %65, 0
  %68 = insertvalue { ptr, i32 } %67, i32 %66, 1
  resume { ptr, i32 } %68
}

declare void @_ZNK3DIS26EntityInformationFamilyPdu7marshalERNS_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 @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef zeroext) #2

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

declare void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) 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 void @_ZNK3DIS13Vector3Double7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS11Orientation7marshalERNS_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 void @_ZNK3DIS22DeadReckoningParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS7Marking7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #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(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN3DIS21ArticulationParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 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, !7, i64 40}
!10 = !{!"_ZTSN3DIS14EntityStatePduE", !11, i64 0, !15, i64 24, !7, i64 40, !7, i64 41, !16, i64 48, !16, i64 64, !17, i64 80, !19, i64 104, !21, i64 136, !13, i64 160, !22, i64 168, !23, i64 240, !13, i64 264, !24, i64 272}
!11 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !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 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !14, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!17 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSN3DIS13Vector3DoubleE", !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSN3DIS11OrientationE", !18, i64 8, !18, i64 12, !18, i64 16}
!22 = !{!"_ZTSN3DIS22DeadReckoningParameterE", !7, i64 8, !7, i64 9, !17, i64 24, !17, i64 48}
!23 = !{!"_ZTSN3DIS7MarkingE", !7, i64 8, !7, i64 9}
!24 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!10, !13, i64 160}
!29 = !{!10, !13, i64 264}
!30 = !{!31, !31, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"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::ArticulationParameter" = type { ptr, i8, i8, i16, i32, double }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS14EntityStatePdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::ArticulationParameter", align 8
  tail call void @_ZNK3DIS26EntityInformationFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  %6 = load i8, ptr %5, align 8, !tbaa !5
  %7 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %6)
  %8 = getelementptr inbounds i8, ptr %0, i64 272
  %9 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %10 = trunc i64 %9 to i8
  %11 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef signext %10)
  %12 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %14 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZNK3DIS12Vector3Float7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %14, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %15 = getelementptr inbounds i8, ptr %0, i64 104
  tail call void @_ZNK3DIS13Vector3Double7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  tail call void @_ZNK3DIS11Orientation7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %16, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %17 = getelementptr inbounds i8, ptr %0, i64 160
  %18 = load i32, ptr %17, align 8, !tbaa !27
  %19 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZNK3DIS22DeadReckoningParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %21 = getelementptr inbounds i8, ptr %0, i64 240
  tail call void @_ZNK3DIS7Marking7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %21, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %22 = getelementptr inbounds i8, ptr %0, i64 264
  %23 = load i32, ptr %22, align 8, !tbaa !28
  %24 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEi(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %23)
  %25 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %.not = icmp eq i64 %25, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

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

.lr.ph:                                           ; preds = %2, %27
  %.019 = phi i64 [ %28, %27 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %.019) #6
  call void @_ZN3DIS21ArticulationParameterC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %26) #6
  invoke void @_ZNK3DIS21ArticulationParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %27 unwind label %31

27:                                               ; preds = %.lr.ph
  call void @_ZN3DIS21ArticulationParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  %28 = add nuw i64 %.019, 1
  %29 = call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  %30 = icmp ult i64 %28, %29
  br i1 %30, label %.lr.ph, label %._crit_edge, !llvm.loop !29

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

declare void @_ZNK3DIS26EntityInformationFamilyPdu7marshalERNS_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 @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef zeroext) 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 void @_ZNK3DIS10EntityType7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(48)) 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 void @_ZNK3DIS13Vector3Double7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS11Orientation7marshalERNS_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 void @_ZNK3DIS22DeadReckoningParameter7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

declare void @_ZNK3DIS7Marking7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(48)) 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(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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 @_ZN3DIS21ArticulationParameterC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

; Function Attrs: nounwind
declare void @_ZN3DIS21ArticulationParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 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, !9, i64 40}
!6 = !{!"_ZTSN3DIS14EntityStatePduE", !7, i64 0, !13, i64 24, !9, i64 40, !9, i64 41, !14, i64 48, !14, i64 64, !15, i64 80, !17, i64 104, !19, i64 136, !11, i64 160, !20, i64 168, !21, i64 240, !11, i64 264, !22, i64 272}
!7 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !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 = !{!"_ZTSN3DIS10EntityTypeE", !9, i64 8, !9, i64 9, !12, i64 10, !9, i64 12, !9, i64 13, !9, i64 14, !9, i64 15}
!15 = !{!"_ZTSN3DIS12Vector3FloatE", !16, i64 8, !16, i64 12, !16, i64 16}
!16 = !{!"float", !9, i64 0}
!17 = !{!"_ZTSN3DIS13Vector3DoubleE", !18, i64 8, !18, i64 16, !18, i64 24}
!18 = !{!"double", !9, i64 0}
!19 = !{!"_ZTSN3DIS11OrientationE", !16, i64 8, !16, i64 12, !16, i64 16}
!20 = !{!"_ZTSN3DIS22DeadReckoningParameterE", !9, i64 8, !9, i64 9, !15, i64 24, !15, i64 48}
!21 = !{!"_ZTSN3DIS7MarkingE", !9, i64 8, !9, i64 9}
!22 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !26, i64 0, !26, i64 8, !26, i64 16}
!26 = !{!"any pointer", !9, i64 0}
!27 = !{!6, !11, i64 160}
!28 = !{!6, !11, i64 264}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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