; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis6/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::EventID", %"class.DIS::Vector3Float", %"class.DIS::Vector3Double", %"class.DIS::BurstDescriptor", %"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 <{ 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.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::BurstDescriptor" = 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::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ArticulationParameter, std::allocator<DIS::ArticulationParameter>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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(232) %0, ptr noundef nonnull align 8 dereferenceable(232) %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(56) %7, ptr noundef nonnull align 8 dereferenceable(56) %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(14) %11, ptr noundef nonnull align 8 dereferenceable(14) %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 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %17, ptr noundef nonnull align 8 dereferenceable(14) %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 @_ZNK3DIS15BurstDescriptoreqERKS0_(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 !29
  %59 = sext 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 !29
  %63 = sext 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 !30
  br label %67

67:                                               ; preds = %84, %66
  %68 = load i64, ptr %6, align 8, !tbaa !30
  %69 = getelementptr inbounds %"class.DIS::DetonationPdu", ptr %7, i32 0, i32 10
  %70 = call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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 !30
  %76 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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 !30
  %80 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %79) #4
  %81 = call noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull align 8 dereferenceable(24) %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 !30
  %86 = add i64 %85, 1
  store i64 %86, ptr %6, align 8, !tbaa !30
  br label %67, !llvm.loop !32

87:                                               ; preds = %72
  %88 = load i8, ptr %5, align 1, !tbaa !9, !range !34, !noundef !35
  %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(56), ptr noundef nonnull align 8 dereferenceable(56)) #3

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

declare noundef zeroext i1 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) #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 @_ZNK3DIS15BurstDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #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 200}
!12 = !{!"_ZTSN3DIS13DetonationPduE", !13, i64 0, !17, i64 56, !18, i64 72, !19, i64 88, !21, i64 112, !23, i64 144, !19, i64 176, !7, i64 200, !7, i64 201, !16, i64 202, !25, i64 208}
!13 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !14, i64 0, !17, i64 24, !17, 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 = !{!"_ZTSN3DIS7EventIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!19 = !{!"_ZTSN3DIS12Vector3FloatE", !20, i64 8, !20, i64 12, !20, i64 16}
!20 = !{!"float", !7, i64 0}
!21 = !{!"_ZTSN3DIS13Vector3DoubleE", !22, i64 8, !22, i64 16, !22, i64 24}
!22 = !{!"double", !7, i64 0}
!23 = !{!"_ZTSN3DIS15BurstDescriptorE", !24, i64 8, !16, i64 24, !16, i64 26, !16, i64 28, !16, i64 30}
!24 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !16, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!25 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!12, !16, i64 202}
!30 = !{!31, !31, i64 0}
!31 = !{!"long", !7, i64 0}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{i8 0, i8 2}
!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"

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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(232) %0, ptr noundef nonnull align 8 dereferenceable(232) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS16WarfareFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(56) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 56
  %5 = getelementptr inbounds i8, ptr %1, i64 56
  %6 = tail call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %4, ptr noundef nonnull align 8 dereferenceable(14) %5)
  %narrow = and i1 %3, %6
  %7 = getelementptr inbounds i8, ptr %0, i64 72
  %8 = getelementptr inbounds i8, ptr %1, i64 72
  %9 = tail call noundef zeroext i1 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %7, ptr noundef nonnull align 8 dereferenceable(14) %8)
  %narrow17 = and i1 %9, %narrow
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = getelementptr inbounds i8, ptr %1, i64 88
  %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 112
  %14 = getelementptr inbounds i8, ptr %1, i64 112
  %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 144
  %17 = getelementptr inbounds i8, ptr %1, i64 144
  %18 = tail call noundef zeroext i1 @_ZNK3DIS15BurstDescriptoreqERKS0_(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 176
  %20 = getelementptr inbounds i8, ptr %1, i64 176
  %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 200
  %23 = load i8, ptr %22, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %1, i64 200
  %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 202
  %28 = load i16, ptr %27, align 2, !tbaa !26
  %29 = getelementptr inbounds i8, ptr %1, i64 202
  %30 = load i16, ptr %29, align 2, !tbaa !26
  %31 = icmp eq i16 %28, %30
  %narrow23 = select i1 %31, i1 %narrow22, i1 false
  %32 = getelementptr inbounds i8, ptr %0, i64 208
  %33 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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 208
  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(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.025) #3
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.025) #3
  %38 = tail call noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %37)
  %spec.select16 = select i1 %38, i1 %.824, i1 false
  %39 = add nuw i64 %.025, 1
  %40 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_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 !27
}

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

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

declare noundef zeroext i1 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) 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 @_ZNK3DIS15BurstDescriptoreqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) 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, !9, i64 200}
!6 = !{!"_ZTSN3DIS13DetonationPduE", !7, i64 0, !13, i64 56, !14, i64 72, !15, i64 88, !17, i64 112, !19, i64 144, !15, i64 176, !9, i64 200, !9, i64 201, !12, i64 202, !21, i64 208}
!7 = !{!"_ZTSN3DIS16WarfareFamilyPduE", !8, i64 0, !13, i64 24, !13, 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 = !{!"_ZTSN3DIS7EventIDE", !12, i64 8, !12, i64 10, !12, i64 12}
!15 = !{!"_ZTSN3DIS12Vector3FloatE", !16, i64 8, !16, i64 12, !16, i64 16}
!16 = !{!"float", !9, i64 0}
!17 = !{!"_ZTSN3DIS13Vector3DoubleE", !18, i64 8, !18, i64 16, !18, i64 24}
!18 = !{!"double", !9, i64 0}
!19 = !{!"_ZTSN3DIS15BurstDescriptorE", !20, i64 8, !12, i64 24, !12, i64 26, !12, i64 28, !12, i64 30}
!20 = !{!"_ZTSN3DIS10EntityTypeE", !9, i64 8, !9, i64 9, !12, i64 10, !9, i64 12, !9, i64 13, !9, i64 14, !9, i64 15}
!21 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"any pointer", !9, i64 0}
!26 = !{!6, !12, i64 202}
!27 = distinct !{!27, !28}
!28 = !{!"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