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

; 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::TrackJamData" = type <{ ptr, %"class.DIS::EntityID", i8, i8, [6 x i8] }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::ElectromagneticEmissionBeamData" = type { ptr, i8, i8, i16, [4 x i8], %"class.DIS::EEFundamentalParameterData", %"class.DIS::BeamData", i8, i8, i8, i8, [4 x i8], %"class.DIS::JammingTechnique", %"class.std::vector" }
%"class.DIS::EEFundamentalParameterData" = type <{ ptr, float, float, float, float, float, [4 x i8] }>
%"class.DIS::BeamData" = type <{ ptr, float, float, float, float, float, [4 x i8] }>
%"class.DIS::JammingTechnique" = type <{ ptr, i8, i8, i8, i8, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::TrackJamData, std::allocator<DIS::TrackJamData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::TrackJamData, std::allocator<DIS::TrackJamData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::TrackJamData, std::allocator<DIS::TrackJamData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::TrackJamData, std::allocator<DIS::TrackJamData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS31ElectromagneticEmissionBeamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(128) %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::TrackJamData", 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
  %11 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 1
  %12 = load i8, ptr %11, align 8, !tbaa !9
  %13 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %10, i8 noundef zeroext %12)
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 2
  %16 = load i8, ptr %15, align 1, !tbaa !20
  %17 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %14, i8 noundef zeroext %16)
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 3
  %20 = load i16, ptr %19, align 2, !tbaa !21
  %21 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %18, i16 noundef zeroext %20)
  %22 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 5
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS26EEFundamentalParameterData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(28) %22, ptr noundef nonnull align 8 dereferenceable(48) %23)
  %24 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 6
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS8BeamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(28) %24, ptr noundef nonnull align 8 dereferenceable(48) %25)
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 7
  %28 = load i8, ptr %27, align 8, !tbaa !22
  %29 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %26, i8 noundef zeroext %28)
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 13
  %32 = call noundef i64 @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  %33 = trunc i64 %32 to i8
  %34 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %30, i8 noundef zeroext %33)
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 9
  %37 = load i8, ptr %36, align 2, !tbaa !23
  %38 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %35, i8 noundef zeroext %37)
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 10
  %41 = load i8, ptr %40, align 1, !tbaa !24
  %42 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %39, i8 noundef zeroext %41)
  %43 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 12
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK3DIS16JammingTechnique7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(12) %43, ptr noundef nonnull align 8 dereferenceable(48) %44)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !25
  br label %45

45:                                               ; preds = %57, %2
  %46 = load i64, ptr %5, align 8, !tbaa !25
  %47 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 13
  %48 = call noundef i64 @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #6
  %49 = icmp ult i64 %46, %48
  br i1 %49, label %51, label %50

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

51:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #6
  %52 = getelementptr inbounds %"class.DIS::ElectromagneticEmissionBeamData", ptr %9, i32 0, i32 13
  %53 = load i64, ptr %5, align 8, !tbaa !25
  %54 = call noundef nonnull align 8 dereferenceable(42) ptr @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %53) #6
  call void @_ZN3DIS12TrackJamDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(42) %6, ptr noundef nonnull align 8 dereferenceable(42) %54) #6
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZNK3DIS12TrackJamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42) %6, ptr noundef nonnull align 8 dereferenceable(48) %55)
          to label %56 unwind label %60

56:                                               ; preds = %51
  call void @_ZN3DIS12TrackJamDataD1Ev(ptr noundef nonnull align 8 dereferenceable(42) %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #6
  br label %57

57:                                               ; preds = %56
  %58 = load i64, ptr %5, align 8, !tbaa !25
  %59 = add i64 %58, 1
  store i64 %59, ptr %5, align 8, !tbaa !25
  br label %45, !llvm.loop !27

60:                                               ; preds = %51
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  call void @_ZN3DIS12TrackJamDataD1Ev(ptr noundef nonnull align 8 dereferenceable(42) %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %65

64:                                               ; preds = %50
  ret void

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 8}
!10 = !{!"_ZTSN3DIS31ElectromagneticEmissionBeamDataE", !7, i64 8, !7, i64 9, !11, i64 10, !12, i64 16, !14, i64 48, !7, i64 80, !7, i64 81, !7, i64 82, !7, i64 83, !15, i64 88, !16, i64 104}
!11 = !{!"short", !7, i64 0}
!12 = !{!"_ZTSN3DIS26EEFundamentalParameterDataE", !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTSN3DIS8BeamDataE", !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!15 = !{!"_ZTSN3DIS16JammingTechniqueE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!16 = !{!"_ZTSSt6vectorIN3DIS12TrackJamDataESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!10, !7, i64 9}
!21 = !{!10, !11, i64 10}
!22 = !{!10, !7, i64 80}
!23 = !{!10, !7, i64 82}
!24 = !{!10, !7, i64 83}
!25 = !{!26, !26, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"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::TrackJamData" = type <{ ptr, %"class.DIS::EntityID", i8, i8, [6 x i8] }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3DIS31ElectromagneticEmissionBeamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.DIS::TrackJamData", align 8
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load i8, ptr %4, align 8, !tbaa !5
  %6 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %5)
  %7 = getelementptr inbounds i8, ptr %0, i64 9
  %8 = load i8, ptr %7, align 1, !tbaa !19
  %9 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %8)
  %10 = getelementptr inbounds i8, ptr %0, i64 10
  %11 = load i16, ptr %10, align 2, !tbaa !20
  %12 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEt(ptr noundef nonnull align 8 dereferenceable(48) %1, i16 noundef zeroext %11)
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  tail call void @_ZNK3DIS26EEFundamentalParameterData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(28) %13, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %14 = getelementptr inbounds i8, ptr %0, i64 48
  tail call void @_ZNK3DIS8BeamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(28) %14, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %15 = getelementptr inbounds i8, ptr %0, i64 80
  %16 = load i8, ptr %15, align 8, !tbaa !21
  %17 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %16)
  %18 = getelementptr inbounds i8, ptr %0, i64 104
  %19 = tail call noundef i64 @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %20 = trunc i64 %19 to i8
  %21 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %20)
  %22 = getelementptr inbounds i8, ptr %0, i64 82
  %23 = load i8, ptr %22, align 2, !tbaa !22
  %24 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZN3DIS10DataStreamlsEh(ptr noundef nonnull align 8 dereferenceable(48) %1, i8 noundef zeroext %23)
  %25 = getelementptr inbounds i8, ptr %0, i64 83
  %26 = load i8, ptr %25, align 1, !tbaa !23
  %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 88
  tail call void @_ZNK3DIS16JammingTechnique7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(12) %28, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %29 = tail call noundef i64 @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %.not = icmp eq i64 %29, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

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

.lr.ph:                                           ; preds = %2, %31
  %.016 = phi i64 [ %32, %31 ], [ 0, %2 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  %30 = call noundef nonnull align 8 dereferenceable(42) ptr @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %.016) #6
  call void @_ZN3DIS12TrackJamDataC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(42) %3, ptr noundef nonnull align 8 dereferenceable(42) %30) #6
  invoke void @_ZNK3DIS12TrackJamData7marshalERNS_10DataStreamE(ptr noundef nonnull align 8 dereferenceable(42) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %31 unwind label %35

31:                                               ; preds = %.lr.ph
  call void @_ZN3DIS12TrackJamDataD1Ev(ptr noundef nonnull align 8 dereferenceable(42) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  %32 = add nuw i64 %.016, 1
  %33 = call noundef i64 @_ZNKSt6vectorIN3DIS12TrackJamDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  %34 = icmp ult i64 %32, %33
  br i1 %34, label %.lr.ph, label %._crit_edge, !llvm.loop !24

35:                                               ; preds = %.lr.ph
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3DIS12TrackJamDataD1Ev(ptr noundef nonnull align 8 dereferenceable(42) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  resume { ptr, i32 } %36
}

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 8}
!6 = !{!"_ZTSN3DIS31ElectromagneticEmissionBeamDataE", !7, i64 8, !7, i64 9, !9, i64 10, !10, i64 16, !12, i64 48, !7, i64 80, !7, i64 81, !7, i64 82, !7, i64 83, !13, i64 88, !14, i64 104}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"short", !7, i64 0}
!10 = !{!"_ZTSN3DIS26EEFundamentalParameterDataE", !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!11 = !{!"float", !7, i64 0}
!12 = !{!"_ZTSN3DIS8BeamDataE", !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24}
!13 = !{!"_ZTSN3DIS16JammingTechniqueE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!14 = !{!"_ZTSSt6vectorIN3DIS12TrackJamDataESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TrackJamDataESaIS1_EE17_Vector_impl_dataE", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!6, !7, i64 9}
!20 = !{!6, !9, i64 10}
!21 = !{!6, !7, i64 80}
!22 = !{!6, !7, i64 82}
!23 = !{!6, !7, i64 83}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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