; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/UaPdu.ll (ZNK3DIS5UaPdu7marshalERNS_10DataStreamE)

; 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::ShaftRPMs" = type { ptr, i16, i16, float }
%"class.DIS::ApaData" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::AcousticEmitterSystemData" = type { ptr, i8, i8, i16, [4 x i8], %"class.DIS::AcousticEmitterSystem", %"class.DIS::Vector3Float", %"class.std::vector.15" }
%"class.DIS::AcousticEmitterSystem" = type <{ ptr, i16, i8, i8, [4 x i8] }>
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.DIS::UaPdu" = type { %"class.DIS::DistributedEmissionsFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EventID", i8, i8, i16, i8, i8, i8, i8, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5" }
%"class.DIS::DistributedEmissionsFamilyPdu.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::EventID" = type <{ ptr, i16, i16, i16, [2 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS5UaPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(136) %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::ShaftRPMs", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca %"class.DIS::ApaData", align 8
  %11 = alloca i64, align 8
  %12 = alloca %"class.DIS::AcousticEmitterSystemData", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %13 = load ptr, ptr %3, align 8
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
  %15 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 2
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %15, ptr noundef nonnull align 8 dereferenceable(48) %16)
  %17 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 3
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS7EventID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %17, ptr noundef nonnull align 8 dereferenceable(48) %18)
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 4
  %21 = load i8, ptr %20, align 8, !tbaa !9
  %22 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %19, i8 noundef signext %21)
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 5
  %25 = load i8, ptr %24, align 1, !tbaa !29
  %26 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %23, i8 noundef signext %25)
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 6
  %29 = load i16, ptr %28, align 2, !tbaa !30
  %30 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %27, i16 noundef zeroext %29)
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 7
  %33 = load i8, ptr %32, align 4, !tbaa !31
  %34 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %31, i8 noundef zeroext %33)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 11
  %37 = call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #7
  %38 = trunc i64 %37 to i8
  %39 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %35, i8 noundef zeroext %38)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 12
  %42 = call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  %43 = trunc i64 %42 to i8
  %44 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %40, i8 noundef zeroext %43)
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 13
  %47 = call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %46) #7
  %48 = trunc i64 %47 to i8
  %49 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %45, i8 noundef zeroext %48)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  store i64 0, ptr %5, align 8, !tbaa !32
  br label %50

50:                                               ; preds = %62, %2
  %51 = load i64, ptr %5, align 8, !tbaa !32
  %52 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 11
  %53 = call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #7
  %54 = icmp ult i64 %51, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %69

56:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %57 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 11
  %58 = load i64, ptr %5, align 8, !tbaa !32
  %59 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %58) #7
  call void @_ZN3DIS9ShaftRPMsC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %59) #7
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS9ShaftRPMs7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(48) %60)
          to label %61 unwind label %65

61:                                               ; preds = %56
  call void @_ZN3DIS9ShaftRPMsD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  br label %62

62:                                               ; preds = %61
  %63 = load i64, ptr %5, align 8, !tbaa !32
  %64 = add i64 %63, 1
  store i64 %64, ptr %5, align 8, !tbaa !32
  br label %50, !llvm.loop !34

65:                                               ; preds = %56
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %7, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %8, align 4
  call void @_ZN3DIS9ShaftRPMsD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %110

69:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store i64 0, ptr %9, align 8, !tbaa !32
  br label %70

70:                                               ; preds = %82, %69
  %71 = load i64, ptr %9, align 8, !tbaa !32
  %72 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 12
  %73 = call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #7
  %74 = icmp ult i64 %71, %73
  br i1 %74, label %76, label %75

75:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %89

76:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %77 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 12
  %78 = load i64, ptr %9, align 8, !tbaa !32
  %79 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %78) #7
  call void @_ZN3DIS7ApaDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(12) %79) #7
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS7ApaData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(12) %10, ptr noundef nonnull align 8 dereferenceable(48) %80)
          to label %81 unwind label %85

81:                                               ; preds = %76
  call void @_ZN3DIS7ApaDataD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %82

82:                                               ; preds = %81
  %83 = load i64, ptr %9, align 8, !tbaa !32
  %84 = add i64 %83, 1
  store i64 %84, ptr %9, align 8, !tbaa !32
  br label %70, !llvm.loop !36

85:                                               ; preds = %76
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  call void @_ZN3DIS7ApaDataD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %110

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

90:                                               ; preds = %102, %89
  %91 = load i64, ptr %11, align 8, !tbaa !32
  %92 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 13
  %93 = call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  %94 = icmp ult i64 %91, %93
  br i1 %94, label %96, label %95

95:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %109

96:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #7
  %97 = getelementptr inbounds %"class.DIS::UaPdu", ptr %13, i32 0, i32 13
  %98 = load i64, ptr %11, align 8, !tbaa !32
  %99 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %98) #7
  call void @_ZN3DIS25AcousticEmitterSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 8 dereferenceable(80) %99)
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS25AcousticEmitterSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(80) %12, ptr noundef nonnull align 8 dereferenceable(48) %100)
          to label %101 unwind label %105

101:                                              ; preds = %96
  call void @_ZN3DIS25AcousticEmitterSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #7
  br label %102

102:                                              ; preds = %101
  %103 = load i64, ptr %11, align 8, !tbaa !32
  %104 = add i64 %103, 1
  store i64 %104, ptr %11, align 8, !tbaa !32
  br label %90, !llvm.loop !37

105:                                              ; preds = %96
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %7, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %8, align 4
  call void @_ZN3DIS25AcousticEmitterSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %12) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %110

109:                                              ; preds = %95
  ret void

110:                                              ; preds = %105, %85, %65
  %111 = load ptr, ptr %7, align 8
  %112 = load i32, ptr %8, align 4
  %113 = insertvalue { ptr, i32 } poison, ptr %111, 0
  %114 = insertvalue { ptr, i32 } %113, i32 %112, 1
  resume { ptr, i32 } %114
}

declare void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_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 void @_ZNK3DIS7EventID7marshalERNS_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 @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef signext) #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48), i16 noundef zeroext) #2

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48), i8 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(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3DIS25AcousticEmitterSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

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

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 = { 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 #7 = { 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 56}
!10 = !{!"_ZTSN3DIS5UaPduE", !11, i64 0, !15, i64 24, !16, i64 40, !7, i64 56, !7, i64 57, !14, i64 58, !7, i64 60, !7, i64 61, !7, i64 62, !7, i64 63, !17, i64 64, !21, i64 88, !25, i64 112}
!11 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !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 = !{!"_ZTSN3DIS7EventIDE", !14, i64 8, !14, i64 10, !14, i64 12}
!17 = !{!"_ZTSSt6vectorIN3DIS9ShaftRPMsESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIN3DIS7ApaDataESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!10, !7, i64 57}
!30 = !{!10, !14, i64 58}
!31 = !{!10, !7, i64 60}
!32 = !{!33, !33, i64 0}
!33 = !{!"long", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


; 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::ShaftRPMs" = type { ptr, i16, i16, float }
%"class.DIS::ApaData" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::AcousticEmitterSystemData" = type { ptr, i8, i8, i16, [4 x i8], %"class.DIS::AcousticEmitterSystem", %"class.DIS::Vector3Float", %"class.std::vector.15" }
%"class.DIS::AcousticEmitterSystem" = type <{ ptr, i16, i8, i8, [4 x i8] }>
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector.15" = type { %"struct.std::_Vector_base.16" }
%"struct.std::_Vector_base.16" = type { %"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AcousticBeamData, std::allocator<DIS::AcousticBeamData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS5UaPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::ShaftRPMs", align 8
  %4 = alloca %"class.DIS::ApaData", align 8
  %5 = alloca %"class.DIS::AcousticEmitterSystemData", align 8
  tail call void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZNK3DIS8EntityID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %6, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %7 = getelementptr inbounds i8, ptr %0, i64 40
  tail call void @_ZNK3DIS7EventID7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(14) %7, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  %9 = load i8, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef signext %9)
  %11 = getelementptr inbounds i8, ptr %0, i64 57
  %12 = load i8, ptr %11, align 1, !tbaa !28
  %13 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef signext %12)
  %14 = getelementptr inbounds i8, ptr %0, i64 58
  %15 = load i16, ptr %14, align 2, !tbaa !29
  %16 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %15)
  %17 = getelementptr inbounds i8, ptr %0, i64 60
  %18 = load i8, ptr %17, align 4, !tbaa !30
  %19 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 64
  %21 = tail call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %22 = trunc i64 %21 to i8
  %23 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %22)
  %24 = getelementptr inbounds i8, ptr %0, i64 88
  %25 = tail call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %26 = trunc i64 %25 to i8
  %27 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %26)
  %28 = getelementptr inbounds i8, ptr %0, i64 112
  %29 = tail call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %30 = trunc i64 %29 to i8
  %31 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %30)
  %32 = tail call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %.not = icmp eq i64 %32, 0
  br i1 %.not, label %.preheader29, label %.lr.ph

.preheader29:                                     ; preds = %35, %2
  %33 = call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %.not35 = icmp eq i64 %33, 0
  br i1 %.not35, label %.preheader, label %.lr.ph32

.lr.ph:                                           ; preds = %2, %35
  %.02730 = phi i64 [ %36, %35 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %.02730) #7
  call void @_ZN3DIS9ShaftRPMsC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  invoke void @_ZNK3DIS9ShaftRPMs7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %35 unwind label %39

35:                                               ; preds = %.lr.ph
  call void @_ZN3DIS9ShaftRPMsD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  %36 = add nuw i64 %.02730, 1
  %37 = call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %.lr.ph, label %.preheader29, !llvm.loop !31

39:                                               ; preds = %.lr.ph
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS9ShaftRPMsD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %56

.preheader:                                       ; preds = %43, %.preheader29
  %41 = call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %.not36 = icmp eq i64 %41, 0
  br i1 %.not36, label %._crit_edge, label %.lr.ph34

.lr.ph32:                                         ; preds = %.preheader29, %43
  %.02431 = phi i64 [ %44, %43 ], [ 0, %.preheader29 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %42 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %.02431) #7
  call void @_ZN3DIS7ApaDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %42) #7
  invoke void @_ZNK3DIS7ApaData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %43 unwind label %47

43:                                               ; preds = %.lr.ph32
  call void @_ZN3DIS7ApaDataD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  %44 = add nuw i64 %.02431, 1
  %45 = call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %46 = icmp ult i64 %44, %45
  br i1 %46, label %.lr.ph32, label %.preheader, !llvm.loop !33

47:                                               ; preds = %.lr.ph32
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS7ApaDataD1Ev(ptr noundef nonnull align 8 dereferenceable(12) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %56

._crit_edge:                                      ; preds = %50, %.preheader
  ret void

.lr.ph34:                                         ; preds = %.preheader, %50
  %.033 = phi i64 [ %51, %50 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %5) #7
  %49 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %.033) #7
  call void @_ZN3DIS25AcousticEmitterSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(80) %49)
  invoke void @_ZNK3DIS25AcousticEmitterSystemData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(80) %5, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %50 unwind label %54

50:                                               ; preds = %.lr.ph34
  call void @_ZN3DIS25AcousticEmitterSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #7
  %51 = add nuw i64 %.033, 1
  %52 = call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  %53 = icmp ult i64 %51, %52
  br i1 %53, label %.lr.ph34, label %._crit_edge, !llvm.loop !34

54:                                               ; preds = %.lr.ph34
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS25AcousticEmitterSystemDataD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %5) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %5) #7
  br label %56

56:                                               ; preds = %54, %47, %39
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %48, %47 ], [ %55, %54 ]
  resume { ptr, i32 } %.pn
}

declare void @_ZNK3DIS29DistributedEmissionsFamilyPdu7marshalERNS_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 void @_ZNK3DIS7EventID7marshalERNS_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 @_ZN3DIS10DataStreamlsEc(ptr noundef nonnull align 8 dereferenceable(48), i8 noundef signext) 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

declare noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48), i8 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(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_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 @_ZN3DIS9ShaftRPMsC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_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 @_ZN3DIS7ApaDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_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 @_ZN3DIS25AcousticEmitterSystemDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #6 align 2

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

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

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 = { 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 #7 = { 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 56}
!6 = !{!"_ZTSN3DIS5UaPduE", !7, i64 0, !13, i64 24, !14, i64 40, !9, i64 56, !9, i64 57, !12, i64 58, !9, i64 60, !9, i64 61, !9, i64 62, !9, i64 63, !15, i64 64, !20, i64 88, !24, i64 112}
!7 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !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 = !{!"_ZTSN3DIS7EventIDE", !12, i64 8, !12, i64 10, !12, i64 12}
!15 = !{!"_ZTSSt6vectorIN3DIS9ShaftRPMsESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!"_ZTSSt6vectorIN3DIS7ApaDataESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!"_ZTSSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!28 = !{!6, !9, i64 57}
!29 = !{!6, !12, i64 58}
!30 = !{!6, !9, i64 60}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = distinct !{!34, !32}


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