; 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(...)

declare void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS14TransmitterPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(232) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #4 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::Vector3Float", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"class.DIS::Vector3Float", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = load ptr, ptr %3, align 8
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS28RadioCommunicationsFamilyPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
  %13 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 1
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS15RadioEntityType9unmarshalERNS_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::TransmitterPdu", ptr %11, i32 0, i32 2
  %17 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 3
  %20 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull align 1 dereferenceable(1) %19)
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 4
  %23 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 2 dereferenceable(2) %22)
  %24 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 5
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS13Vector3Double9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(48) %25)
  %26 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 6
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %26, ptr noundef nonnull align 8 dereferenceable(48) %27)
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 7
  %30 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 2 dereferenceable(2) %29)
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 8
  %33 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 2 dereferenceable(2) %32)
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 9
  %36 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERy(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 8 dereferenceable(8) %35)
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 10
  %39 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERf(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 11
  %42 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERf(ptr noundef nonnull align 8 dereferenceable(48) %40, ptr noundef nonnull align 4 dereferenceable(4) %41)
  %43 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 12
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3DIS14ModulationType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %43, ptr noundef nonnull align 8 dereferenceable(48) %44)
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 13
  %47 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %45, ptr noundef nonnull align 2 dereferenceable(2) %46)
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 14
  %50 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull align 2 dereferenceable(2) %49)
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 15
  %53 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %51, ptr noundef nonnull align 1 dereferenceable(1) %52)
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 16
  %56 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %54, ptr noundef nonnull align 2 dereferenceable(2) %55)
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 17
  %59 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERh(ptr noundef nonnull align 8 dereferenceable(48) %57, ptr noundef nonnull align 1 dereferenceable(1) %58)
  %60 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 18
  call void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %61

61:                                               ; preds = %73, %2
  %62 = load i64, ptr %5, align 8, !tbaa !9
  %63 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 15
  %64 = load i8, ptr %63, align 4, !tbaa !11
  %65 = zext i8 %64 to i64
  %66 = icmp ult i64 %62, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %80

68:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  call void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %6)
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %6, ptr noundef nonnull align 8 dereferenceable(48) %69)
          to label %70 unwind label %76

70:                                               ; preds = %68
  %71 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 18
  invoke void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %71, ptr noundef nonnull align 8 dereferenceable(20) %6)
          to label %72 unwind label %76

72:                                               ; preds = %70
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  br label %73

73:                                               ; preds = %72
  %74 = load i64, ptr %5, align 8, !tbaa !9
  %75 = add i64 %74, 1
  store i64 %75, ptr %5, align 8, !tbaa !9
  br label %61, !llvm.loop !29

76:                                               ; preds = %70, %68
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %7, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %8, align 4
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %102

80:                                               ; preds = %67
  %81 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 19
  call void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %94, %80
  %83 = load i64, ptr %9, align 8, !tbaa !9
  %84 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 8
  %85 = load i16, ptr %84, align 2, !tbaa !31
  %86 = zext i16 %85 to i64
  %87 = icmp ult i64 %83, %86
  br i1 %87, label %89, label %88

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

89:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %10)
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %10, ptr noundef nonnull align 8 dereferenceable(48) %90)
          to label %91 unwind label %97

91:                                               ; preds = %89
  %92 = getelementptr inbounds %"class.DIS::TransmitterPdu", ptr %11, i32 0, i32 19
  invoke void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %92, ptr noundef nonnull align 8 dereferenceable(20) %10)
          to label %93 unwind label %97

93:                                               ; preds = %91
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  br label %94

94:                                               ; preds = %93
  %95 = load i64, ptr %9, align 8, !tbaa !9
  %96 = add i64 %95, 1
  store i64 %96, ptr %9, align 8, !tbaa !9
  br label %82, !llvm.loop !32

97:                                               ; preds = %91, %89
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %7, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %8, align 4
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %102

101:                                              ; preds = %88
  ret void

102:                                              ; preds = %97, %76
  %103 = load ptr, ptr %7, align 8
  %104 = load i32, ptr %8, align 4
  %105 = insertvalue { ptr, i32 } poison, ptr %103, 0
  %106 = insertvalue { ptr, i32 } %105, i32 %104, 1
  resume { ptr, i32 } %106
}

declare void @_ZN3DIS28RadioCommunicationsFamilyPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERy(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20)) #4 align 2

attributes #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 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 172}
!12 = !{!"_ZTSN3DIS14TransmitterPduE", !13, i64 0, !18, i64 48, !7, i64 64, !7, i64 65, !16, i64 66, !19, i64 72, !21, i64 104, !16, i64 128, !16, i64 130, !23, i64 136, !22, i64 144, !22, i64 148, !24, i64 152, !16, i64 168, !16, i64 170, !7, i64 172, !16, i64 174, !7, i64 176, !25, i64 184, !25, i64 208}
!13 = !{!"_ZTSN3DIS28RadioCommunicationsFamilyPduE", !14, i64 0, !17, i64 24, !16, i64 40}
!14 = !{!"_ZTSN3DIS3PduE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !15, i64 12, !16, i64 16, !16, i64 18}
!15 = !{!"int", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTSN3DIS8EntityIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!18 = !{!"_ZTSN3DIS15RadioEntityTypeE", !7, i64 8, !7, i64 9, !16, i64 10, !7, i64 12, !7, i64 13, !16, i64 14}
!19 = !{!"_ZTSN3DIS13Vector3DoubleE", !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSN3DIS12Vector3FloatE", !22, i64 8, !22, i64 12, !22, i64 16}
!22 = !{!"float", !7, i64 0}
!23 = !{!"long long", !7, i64 0}
!24 = !{!"_ZTSN3DIS14ModulationTypeE", !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14}
!25 = !{!"_ZTSSt6vectorIN3DIS12Vector3FloatESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!12, !16, i64 130}
!32 = distinct !{!32, !30}


; 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(...)

declare void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3DIS14TransmitterPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(232) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::Vector3Float", align 8
  %4 = alloca %"class.DIS::Vector3Float", align 8
  tail call void @_ZN3DIS28RadioCommunicationsFamilyPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %5 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZN3DIS15RadioEntityType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  %7 = 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) %6)
  %8 = getelementptr inbounds i8, ptr %0, i64 65
  %9 = 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) %8)
  %10 = getelementptr inbounds i8, ptr %0, i64 66
  %11 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %10)
  %12 = getelementptr inbounds i8, ptr %0, i64 72
  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 104
  tail call void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %13, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %14 = getelementptr inbounds i8, ptr %0, i64 128
  %15 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %14)
  %16 = getelementptr inbounds i8, ptr %0, i64 130
  %17 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %16)
  %18 = getelementptr inbounds i8, ptr %0, i64 136
  %19 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERy(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  %21 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERf(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 148
  %23 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERf(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %24 = getelementptr inbounds i8, ptr %0, i64 152
  tail call void @_ZN3DIS14ModulationType9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %25 = getelementptr inbounds i8, ptr %0, i64 168
  %26 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %25)
  %27 = getelementptr inbounds i8, ptr %0, i64 170
  %28 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %27)
  %29 = getelementptr inbounds i8, ptr %0, i64 172
  %30 = 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) %29)
  %31 = getelementptr inbounds i8, ptr %0, i64 174
  %32 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERt(ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 2 dereferenceable(2) %31)
  %33 = getelementptr inbounds i8, ptr %0, i64 176
  %34 = 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) %33)
  %35 = getelementptr inbounds i8, ptr %0, i64 184
  tail call void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %36 = load i8, ptr %29, align 4, !tbaa !5
  %.not = icmp eq i8 %36, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %40, %2
  %37 = getelementptr inbounds i8, ptr %0, i64 208
  call void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  %38 = load i16, ptr %16, align 2, !tbaa !26
  %.not35 = icmp eq i16 %38, 0
  br i1 %.not35, label %._crit_edge34, label %.lr.ph33

.lr.ph:                                           ; preds = %2, %40
  %.02830 = phi i64 [ %41, %40 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %3)
  invoke void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %39 unwind label %45

39:                                               ; preds = %.lr.ph
  invoke void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %40 unwind label %45

40:                                               ; preds = %39
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  %41 = add nuw nsw i64 %.02830, 1
  %42 = load i8, ptr %29, align 4, !tbaa !5
  %43 = zext i8 %42 to i64
  %44 = icmp ult i64 %41, %43
  br i1 %44, label %.lr.ph, label %._crit_edge, !llvm.loop !27

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

._crit_edge34:                                    ; preds = %48, %._crit_edge
  ret void

.lr.ph33:                                         ; preds = %._crit_edge, %48
  %.031 = phi i64 [ %49, %48 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN3DIS12Vector3FloatC1Ev(ptr noundef nonnull align 8 dereferenceable(20) %4)
  invoke void @_ZN3DIS12Vector3Float9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %47 unwind label %53

47:                                               ; preds = %.lr.ph33
  invoke void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(20) %4)
          to label %48 unwind label %53

48:                                               ; preds = %47
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  %49 = add nuw nsw i64 %.031, 1
  %50 = load i16, ptr %16, align 2, !tbaa !26
  %51 = zext i16 %50 to i64
  %52 = icmp ult i64 %49, %51
  br i1 %52, label %.lr.ph33, label %._crit_edge34, !llvm.loop !29

53:                                               ; preds = %47, %.lr.ph33
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS12Vector3FloatD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  br label %55

55:                                               ; preds = %53, %45
  %.pn = phi { ptr, i32 } [ %46, %45 ], [ %54, %53 ]
  resume { ptr, i32 } %.pn
}

declare void @_ZN3DIS28RadioCommunicationsFamilyPdu9unmarshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

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

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 #0

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

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

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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamrsERy(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3DIS12Vector3FloatESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #4 align 2

attributes #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 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 172}
!6 = !{!"_ZTSN3DIS14TransmitterPduE", !7, i64 0, !14, i64 48, !9, i64 64, !9, i64 65, !12, i64 66, !15, i64 72, !17, i64 104, !12, i64 128, !12, i64 130, !19, i64 136, !18, i64 144, !18, i64 148, !20, i64 152, !12, i64 168, !12, i64 170, !9, i64 172, !12, i64 174, !9, i64 176, !21, i64 184, !21, i64 208}
!7 = !{!"_ZTSN3DIS28RadioCommunicationsFamilyPduE", !8, i64 0, !13, i64 24, !12, i64 40}
!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 = !{!"_ZTSN3DIS15RadioEntityTypeE", !9, i64 8, !9, i64 9, !12, i64 10, !9, i64 12, !9, i64 13, !12, i64 14}
!15 = !{!"_ZTSN3DIS13Vector3DoubleE", !16, i64 8, !16, i64 16, !16, i64 24}
!16 = !{!"double", !9, i64 0}
!17 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!18 = !{!"float", !9, i64 0}
!19 = !{!"long long", !9, i64 0}
!20 = !{!"_ZTSN3DIS14ModulationTypeE", !12, i64 8, !12, i64 10, !12, i64 12, !12, i64 14}
!21 = !{!"_ZTSSt6vectorIN3DIS12Vector3FloatESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS12Vector3FloatESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"any pointer", !9, i64 0}
!26 = !{!6, !12, i64 130}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = distinct !{!29, !28}


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