; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7/DetonationPdu.ll (ZNK3DIS13DetonationPdueqERKS0_)

; 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::DetonationPdu" = type { %"class.DIS::WarfareFamilyPdu", %"class.DIS::EntityID", %"class.DIS::EventIdentifier", %"class.DIS::Vector3Float", %"class.DIS::Vector3Double", %"class.DIS::MunitionDescriptor", %"class.DIS::Vector3Float", i8, i8, i16, %"class.std::vector" }
%"class.DIS::WarfareFamilyPdu" = type { %"class.DIS::Pdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EntityID" }
%"class.DIS::Pdu.base" = type { %"class.DIS::PduSuperclass.base", i8, i8 }
%"class.DIS::PduSuperclass.base" = type <{ ptr, i8, i8, i8, i8, i32, i16 }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::EventIdentifier" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::MunitionDescriptor" = type { ptr, %"class.DIS::EntityType", i16, i16, i16, i16 }
%"class.DIS::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::VariableParameter, std::allocator<DIS::VariableParameter>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS13DetonationPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(296) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !9
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = call noundef zeroext i1 @_ZNK3DIS16WarfareFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %7, ptr noundef nonnull align 8 dereferenceable(88) %8)
  %10 = zext i1 %9 to i8
  store i8 %10, ptr %5, align 1, !tbaa !9
  %11 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 1
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %12, i32 0, i32 1
  %14 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %11, ptr noundef nonnull align 8 dereferenceable(26) %13)
  br i1 %14, label %16, label %15

15:                                               ; preds = %2
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %16

16:                                               ; preds = %15, %2
  %17 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 2
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %18, i32 0, i32 2
  %20 = call noundef zeroext i1 @_ZNK3DIS15EventIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %17, ptr noundef nonnull align 8 dereferenceable(26) %19)
  br i1 %20, label %22, label %21

21:                                               ; preds = %16
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %22

22:                                               ; preds = %21, %16
  %23 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 3
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %24, i32 0, i32 3
  %26 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %23, ptr noundef nonnull align 8 dereferenceable(20) %25)
  br i1 %26, label %28, label %27

27:                                               ; preds = %22
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %28

28:                                               ; preds = %27, %22
  %29 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 4
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %30, i32 0, i32 4
  %32 = call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %31)
  br i1 %32, label %34, label %33

33:                                               ; preds = %28
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %34

34:                                               ; preds = %33, %28
  %35 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %36, i32 0, i32 5
  %38 = call noundef zeroext i1 @_ZNK3DIS18MunitionDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %37)
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %40

40:                                               ; preds = %39, %34
  %41 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 6
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %42, i32 0, i32 6
  %44 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %41, ptr noundef nonnull align 8 dereferenceable(20) %43)
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %46

46:                                               ; preds = %45, %40
  %47 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 7
  %48 = load i8, ptr %47, align 8, !tbaa !11
  %49 = zext i8 %48 to i32
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %50, i32 0, i32 7
  %52 = load i8, ptr %51, align 8, !tbaa !11
  %53 = zext i8 %52 to i32
  %54 = icmp eq i32 %49, %53
  br i1 %54, label %56, label %55

55:                                               ; preds = %46
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %56

56:                                               ; preds = %55, %46
  %57 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 9
  %58 = load i16, ptr %57, align 2, !tbaa !31
  %59 = zext i16 %58 to i32
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %60, i32 0, i32 9
  %62 = load i16, ptr %61, align 2, !tbaa !31
  %63 = zext i16 %62 to i32
  %64 = icmp eq i32 %59, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %56
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %66

66:                                               ; preds = %65, %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !32
  br label %67

67:                                               ; preds = %84, %66
  %68 = load i64, ptr %6, align 8, !tbaa !32
  %69 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 10
  %70 = call noundef i64 @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #4
  %71 = icmp ult i64 %68, %70
  br i1 %71, label %73, label %72

72:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %87

73:                                               ; preds = %67
  %74 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 10
  %75 = load i64, ptr %6, align 8, !tbaa !32
  %76 = call noundef nonnull align 8 dereferenceable(31) ptr @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %75) #4
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %77, i32 0, i32 10
  %79 = load i64, ptr %6, align 8, !tbaa !32
  %80 = call noundef nonnull align 8 dereferenceable(31) ptr @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %79) #4
  %81 = call noundef zeroext i1 @_ZNK3DIS17VariableParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(31) %76, ptr noundef nonnull align 8 dereferenceable(31) %80)
  br i1 %81, label %83, label %82

82:                                               ; preds = %73
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %83

83:                                               ; preds = %82, %73
  br label %84

84:                                               ; preds = %83
  %85 = load i64, ptr %6, align 8, !tbaa !32
  %86 = add i64 %85, 1
  store i64 %86, ptr %6, align 8, !tbaa !32
  br label %67, !llvm.loop !34

87:                                               ; preds = %72
  %88 = load i8, ptr %5, align 1, !tbaa !9, !range !36, !noundef !37
  %89 = trunc i8 %88 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %89
}

declare noundef zeroext i1 @_ZNK3DIS16WarfareFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #3

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) #3

declare noundef zeroext i1 @_ZNK3DIS15EventIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) #3

declare noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #3

declare noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZNK3DIS18MunitionDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZNK3DIS17VariableParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(31), ptr noundef nonnull align 8 dereferenceable(31)) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !7, i64 264}
!12 = !{!"_ZTSN3DIS13DetonationPduE", !13, i64 0, !18, i64 88, !20, i64 120, !21, i64 152, !23, i64 176, !25, i64 208, !21, i64 240, !7, i64 264, !7, i64 265, !17, i64 266, !27, i64 272}
!13 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !14, i64 0, !18, i64 24, !18, i64 56}
!14 = !{!"_ZTSN3DIS3PduE", !15, i64 0, !7, i64 18, !7, i64 19}
!15 = !{!"_ZTSN3DIS13PduSuperclassE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !16, i64 12, !17, i64 16}
!16 = !{!"int", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTSN3DIS8EntityIDE", !19, i64 8, !17, i64 24}
!19 = !{!"_ZTSN3DIS17SimulationAddressE", !17, i64 8, !17, i64 10}
!20 = !{!"_ZTSN3DIS15EventIdentifierE", !19, i64 8, !17, i64 24}
!21 = !{!"_ZTSN3DIS12Vector3FloatE", !22, i64 8, !22, i64 12, !22, i64 16}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSN3DIS13Vector3DoubleE", !24, i64 8, !24, i64 16, !24, i64 24}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSN3DIS18MunitionDescriptorE", !26, i64 8, !17, i64 24, !17, i64 26, !17, i64 28, !17, i64 30}
!26 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !17, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!27 = !{!"_ZTSSt6vectorIN3DIS17VariableParameterESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!12, !17, i64 266}
!32 = !{!33, !33, i64 0}
!33 = !{!"long", !7, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{i8 0, i8 2}
!37 = !{}


; 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"

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS13DetonationPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(296) %0, ptr noundef nonnull align 8 dereferenceable(296) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS16WarfareFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef nonnull align 8 dereferenceable(88) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 88
  %5 = getelementptr inbounds i8, ptr %1, i64 88
  %6 = tail call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %4, ptr noundef nonnull align 8 dereferenceable(26) %5)
  %narrow = and i1 %3, %6
  %7 = getelementptr inbounds i8, ptr %0, i64 120
  %8 = getelementptr inbounds i8, ptr %1, i64 120
  %9 = tail call noundef zeroext i1 @_ZNK3DIS15EventIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %7, ptr noundef nonnull align 8 dereferenceable(26) %8)
  %narrow17 = and i1 %9, %narrow
  %10 = getelementptr inbounds i8, ptr %0, i64 152
  %11 = getelementptr inbounds i8, ptr %1, i64 152
  %12 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %10, ptr noundef nonnull align 8 dereferenceable(20) %11)
  %narrow18 = and i1 %12, %narrow17
  %13 = getelementptr inbounds i8, ptr %0, i64 176
  %14 = getelementptr inbounds i8, ptr %1, i64 176
  %15 = tail call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %14)
  %narrow19 = and i1 %15, %narrow18
  %16 = getelementptr inbounds i8, ptr %0, i64 208
  %17 = getelementptr inbounds i8, ptr %1, i64 208
  %18 = tail call noundef zeroext i1 @_ZNK3DIS18MunitionDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %17)
  %narrow20 = and i1 %18, %narrow19
  %19 = getelementptr inbounds i8, ptr %0, i64 240
  %20 = getelementptr inbounds i8, ptr %1, i64 240
  %21 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %19, ptr noundef nonnull align 8 dereferenceable(20) %20)
  %narrow21 = and i1 %21, %narrow20
  %22 = getelementptr inbounds i8, ptr %0, i64 264
  %23 = load i8, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 264
  %25 = load i8, ptr %24, align 8, !tbaa !5
  %26 = icmp eq i8 %23, %25
  %narrow22 = and i1 %narrow21, %26
  %27 = getelementptr inbounds i8, ptr %0, i64 266
  %28 = load i16, ptr %27, align 2, !tbaa !28
  %29 = getelementptr inbounds i8, ptr %1, i64 266
  %30 = load i16, ptr %29, align 2, !tbaa !28
  %31 = icmp eq i16 %28, %30
  %narrow23 = select i1 %31, i1 %narrow22, i1 false
  %32 = getelementptr inbounds i8, ptr %0, i64 272
  %33 = tail call noundef i64 @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #3
  %.not = icmp eq i64 %33, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %34 = getelementptr inbounds i8, ptr %1, i64 272
  br label %35

._crit_edge:                                      ; preds = %35, %2
  %.8.lcssa = phi i1 [ %narrow23, %2 ], [ %spec.select16, %35 ]
  ret i1 %.8.lcssa

35:                                               ; preds = %.lr.ph, %35
  %.025 = phi i64 [ 0, %.lr.ph ], [ %39, %35 ]
  %.824 = phi i1 [ %narrow23, %.lr.ph ], [ %spec.select16, %35 ]
  %36 = tail call noundef nonnull align 8 dereferenceable(31) ptr @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.025) #3
  %37 = tail call noundef nonnull align 8 dereferenceable(31) ptr @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.025) #3
  %38 = tail call noundef zeroext i1 @_ZNK3DIS17VariableParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(31) %36, ptr noundef nonnull align 8 dereferenceable(31) %37)
  %spec.select16 = select i1 %38, i1 %.824, i1 false
  %39 = add nuw i64 %.025, 1
  %40 = tail call noundef i64 @_ZNKSt6vectorIN3DIS17VariableParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #3
  %41 = icmp ult i64 %39, %40
  br i1 %41, label %35, label %._crit_edge, !llvm.loop !29
}

declare noundef zeroext i1 @_ZNK3DIS16WarfareFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS15EventIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS18MunitionDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS17VariableParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(31), ptr noundef nonnull align 8 dereferenceable(31)) local_unnamed_addr #2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 264}
!6 = !{!"_ZTSN3DIS13DetonationPduE", !7, i64 0, !14, i64 88, !16, i64 120, !17, i64 152, !19, i64 176, !21, i64 208, !17, i64 240, !10, i64 264, !10, i64 265, !13, i64 266, !23, i64 272}
!7 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !8, i64 0, !14, i64 24, !14, i64 56}
!8 = !{!"_ZTSN3DIS3PduE", !9, i64 0, !10, i64 18, !10, i64 19}
!9 = !{!"_ZTSN3DIS13PduSuperclassE", !10, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !12, i64 12, !13, i64 16}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"_ZTSN3DIS8EntityIDE", !15, i64 8, !13, i64 24}
!15 = !{!"_ZTSN3DIS17SimulationAddressE", !13, i64 8, !13, i64 10}
!16 = !{!"_ZTSN3DIS15EventIdentifierE", !15, i64 8, !13, i64 24}
!17 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTSN3DIS13Vector3DoubleE", !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"double", !10, i64 0}
!21 = !{!"_ZTSN3DIS18MunitionDescriptorE", !22, i64 8, !13, i64 24, !13, i64 26, !13, i64 28, !13, i64 30}
!22 = !{!"_ZTSN3DIS10EntityTypeE", !10, i64 8, !10, i64 9, !13, i64 10, !10, i64 12, !10, i64 13, !10, i64 14, !10, i64 15}
!23 = !{!"_ZTSSt6vectorIN3DIS17VariableParameterESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS17VariableParameterESaIS1_EE17_Vector_impl_dataE", !27, i64 0, !27, i64 8, !27, i64 16}
!27 = !{!"any pointer", !10, i64 0}
!28 = !{!6, !13, i64 266}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass