; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7 (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::VariableParameter" = type <{ ptr, i8, [7 x i8], double, i32, i16, i8, i8 }>
%"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::EulerAngles", i32, %"class.DIS::DeadReckoningParameters", %"class.DIS::EntityMarking", i32, %"class.std::vector" }
%"class.DIS::EntityInformationFamilyPdu.base" = type { %"class.DIS::Pdu.base" }
%"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::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::EulerAngles" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::DeadReckoningParameters" = type { ptr, i8, [15 x i8], %"class.DIS::Vector3Float", %"class.DIS::Vector3Float" }
%"class.DIS::EntityMarking" = 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::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_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 @_ZN3DIS17VariableParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(31)) 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: mustprogress uwtable
define dso_local void @_ZN3DIS14EntityStatePdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(312) %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::VariableParameter", 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 @_ZN3DIS26EntityInformationFamilyPdu9unmarshalERNS_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 @_ZN3DIS8EntityID9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26) %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 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull align 1 dereferenceable(1) %14)
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 4
  %18 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 1 dereferenceable(1) %17)
  %19 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS10EntityType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(48) %20)
  %21 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 6
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS10EntityType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(48) %22)
  %23 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 7
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %23, ptr noundef nonnull align 8 dereferenceable(48) %24)
  %25 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 8
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS13Vector3Double9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(48) %26)
  %27 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 9
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS11EulerAngles9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %27, ptr noundef nonnull align 8 dereferenceable(48) %28)
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 10
  %31 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERj(ptr noundef nonnull align 8 dereferenceable(48) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %32 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 11
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS23DeadReckoningParameters9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72) %32, ptr noundef nonnull align 8 dereferenceable(48) %33)
  %34 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 12
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS13EntityMarking9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %34, ptr noundef nonnull align 8 dereferenceable(48) %35)
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 13
  %38 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERj(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %39 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 14
  call void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %40

40:                                               ; preds = %52, %2
  %41 = load i64, ptr %5, align 8, !tbaa !9
  %42 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 4
  %43 = load i8, ptr %42, align 1, !tbaa !11
  %44 = zext i8 %43 to i64
  %45 = icmp ult i64 %41, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %59

47:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #5
  call void @_ZN3DIS17VariableParameterC1Ev(ptr noundef nonnull align 8 dereferenceable(31) %6)
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3DIS17VariableParameter9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(31) %6, ptr noundef nonnull align 8 dereferenceable(48) %48)
          to label %49 unwind label %55

49:                                               ; preds = %47
  %50 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %9, i32 0, i32 14
  invoke void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %50, ptr noundef nonnull align 8 dereferenceable(31) %6)
          to label %51 unwind label %55

51:                                               ; preds = %49
  call void @_ZN3DIS17VariableParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(31) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  br label %52

52:                                               ; preds = %51
  %53 = load i64, ptr %5, align 8, !tbaa !9
  %54 = add i64 %53, 1
  store i64 %54, ptr %5, align 8, !tbaa !9
  br label %40, !llvm.loop !32

55:                                               ; preds = %49, %47
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %7, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %8, align 4
  call void @_ZN3DIS17VariableParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(31) %6) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %60

59:                                               ; preds = %46
  ret void

60:                                               ; preds = %55
  %61 = load ptr, ptr %7, align 8
  %62 = load i32, ptr %8, align 4
  %63 = insertvalue { ptr, i32 } poison, ptr %61, 0
  %64 = insertvalue { ptr, i32 } %63, i32 %62, 1
  resume { ptr, i32 } %64
}

declare void @_ZN3DIS26EntityInformationFamilyPdu9unmarshalERNS_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(26), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) #4

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

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

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

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

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

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

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

declare void @_ZN3DIS17VariableParameterC1Ev(ptr noundef nonnull align 8 dereferenceable(31)) unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(31)) #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, !7, i64 57}
!12 = !{!"_ZTSN3DIS14EntityStatePduE", !13, i64 0, !18, i64 24, !7, i64 56, !7, i64 57, !20, i64 64, !20, i64 80, !21, i64 96, !23, i64 120, !25, i64 152, !16, i64 176, !26, i64 184, !27, i64 256, !16, i64 280, !28, i64 288}
!13 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !14, i64 0}
!14 = !{!"_ZTSN3DIS3PduE", !15, i64 0, !7, i64 18, !7, i64 19}
!15 = !{!"_ZTSN3DIS13PduSuperclassE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !16, i64 12, !17, i64 16}
!16 = !{!"int", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTSN3DIS8EntityIDE", !19, i64 8, !17, i64 24}
!19 = !{!"_ZTSN3DIS17SimulationAddressE", !17, i64 8, !17, i64 10}
!20 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !17, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!21 = !{!"_ZTSN3DIS12Vector3FloatE", !22, i64 8, !22, i64 12, !22, i64 16}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSN3DIS13Vector3DoubleE", !24, i64 8, !24, i64 16, !24, i64 24}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSN3DIS11EulerAnglesE", !22, i64 8, !22, i64 12, !22, i64 16}
!26 = !{!"_ZTSN3DIS23DeadReckoningParametersE", !7, i64 8, !7, i64 9, !21, i64 24, !21, i64 48}
!27 = !{!"_ZTSN3DIS13EntityMarkingE", !7, i64 8, !7, i64 9}
!28 = !{!"_ZTSSt6vectorIN3DIS17VariableParameterESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!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::VariableParameter" = type <{ ptr, i8, [7 x i8], double, i32, i16, i8, i8 }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_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 @_ZN3DIS17VariableParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(31)) 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: mustprogress uwtable
define dso_local void @_ZN3DIS14EntityStatePdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::VariableParameter", align 8
  tail call void @_ZN3DIS26EntityInformationFamilyPdu9unmarshalERNS_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 @_ZN3DIS8EntityID9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(26) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 56
  %6 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 1 dereferenceable(1) %5)
  %7 = getelementptr inbounds i8, ptr %0, i64 57
  %8 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 1 dereferenceable(1) %7)
  %9 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @_ZN3DIS10EntityType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %10 = getelementptr inbounds i8, ptr %0, i64 80
  tail call void @_ZN3DIS10EntityType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %11 = getelementptr inbounds i8, ptr %0, i64 96
  tail call void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %12 = getelementptr inbounds i8, ptr %0, i64 120
  tail call void @_ZN3DIS13Vector3Double9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  tail call void @_ZN3DIS11EulerAngles9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %13, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %14 = getelementptr inbounds i8, ptr %0, i64 176
  %15 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %16 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZN3DIS23DeadReckoningParameters9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(72) %16, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %17 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZN3DIS13EntityMarking9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %17, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %18 = getelementptr inbounds i8, ptr %0, i64 280
  %19 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERj(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 288
  tail call void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %21 = load i8, ptr %7, align 1, !tbaa !5
  %.not = icmp eq i8 %21, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

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

.lr.ph:                                           ; preds = %2, %23
  %.018 = phi i64 [ %24, %23 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #5
  call void @_ZN3DIS17VariableParameterC1Ev(ptr noundef nonnull align 8 dereferenceable(31) %3)
  invoke void @_ZN3DIS17VariableParameter9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(31) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %22 unwind label %28

22:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(31) %3)
          to label %23 unwind label %28

23:                                               ; preds = %22
  call void @_ZN3DIS17VariableParameterD1Ev(ptr noundef nonnull align 8 dereferenceable(31) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #5
  %24 = add nuw nsw i64 %.018, 1
  %25 = load i8, ptr %7, align 1, !tbaa !5
  %26 = zext i8 %25 to i64
  %27 = icmp ult i64 %24, %26
  br i1 %27, label %.lr.ph, label %._crit_edge, !llvm.loop !29

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

declare void @_ZN3DIS26EntityInformationFamilyPdu9unmarshalERNS_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(26), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #4

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

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

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

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

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

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

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

declare void @_ZN3DIS17VariableParameterC1Ev(ptr noundef nonnull align 8 dereferenceable(31)) unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3DIS17VariableParameterESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(31)) 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, !10, i64 57}
!6 = !{!"_ZTSN3DIS14EntityStatePduE", !7, i64 0, !14, i64 24, !10, i64 56, !10, i64 57, !16, i64 64, !16, i64 80, !17, i64 96, !19, i64 120, !21, i64 152, !12, i64 176, !22, i64 184, !23, i64 256, !12, i64 280, !24, i64 288}
!7 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !8, i64 0}
!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 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTSN3DIS13Vector3DoubleE", !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"double", !10, i64 0}
!21 = !{!"_ZTSN3DIS11EulerAnglesE", !18, i64 8, !18, i64 12, !18, i64 16}
!22 = !{!"_ZTSN3DIS23DeadReckoningParametersE", !10, i64 8, !10, i64 9, !17, i64 24, !17, i64 48}
!23 = !{!"_ZTSN3DIS13EntityMarkingE", !10, i64 8, !10, i64 9}
!24 = !{!"_ZTSSt6vectorIN3DIS17VariableParameterESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE17_Vector_impl_dataE", !28, i64 0, !28, i64 8, !28, i64 16}
!28 = !{!"any pointer", !10, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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