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

; 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::EntityStatePdu" = type { %"class.DIS::EntityInformationFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i8, i8, %"class.DIS::EntityType", %"class.DIS::EntityType", %"class.DIS::Vector3Float", %"class.DIS::Vector3Double", %"class.DIS::Orientation", i32, %"class.DIS::DeadReckoningParameter", %"class.DIS::Marking", i32, %"class.std::vector" }
%"class.DIS::EntityInformationFamilyPdu.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::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::Orientation" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::DeadReckoningParameter" = type { ptr, i8, [15 x i8], %"class.DIS::Vector3Float", %"class.DIS::Vector3Float" }
%"class.DIS::Marking" = type <{ ptr, i8, [11 x i8], [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 @_ZNK3DIS14EntityStatePdueqERKS0_(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 @_ZNK3DIS26EntityInformationFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %7, ptr noundef nonnull align 8 dereferenceable(20) %8)
  %10 = zext i1 %9 to i8
  store i8 %10, ptr %5, align 1, !tbaa !9
  %11 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %12, i32 0, i32 2
  %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::EntityStatePdu", ptr %7, i32 0, i32 3
  %18 = load i8, ptr %17, align 8, !tbaa !11
  %19 = zext i8 %18 to i32
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %20, i32 0, i32 3
  %22 = load i8, ptr %21, align 8, !tbaa !11
  %23 = zext i8 %22 to i32
  %24 = icmp eq i32 %19, %23
  br i1 %24, label %26, label %25

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

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

31:                                               ; preds = %26
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %32

32:                                               ; preds = %31, %26
  %33 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 6
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %34, i32 0, i32 6
  %36 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %35)
  br i1 %36, label %38, label %37

37:                                               ; preds = %32
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %38

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

43:                                               ; preds = %38
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %44

44:                                               ; preds = %43, %38
  %45 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 8
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %46, i32 0, i32 8
  %48 = call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %47)
  br i1 %48, label %50, label %49

49:                                               ; preds = %44
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %50

50:                                               ; preds = %49, %44
  %51 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 9
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %52, i32 0, i32 9
  %54 = call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %51, ptr noundef nonnull align 8 dereferenceable(20) %53)
  br i1 %54, label %56, label %55

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

56:                                               ; preds = %55, %50
  %57 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 10
  %58 = load i32, ptr %57, align 8, !tbaa !30
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %59, i32 0, i32 10
  %61 = load i32, ptr %60, align 8, !tbaa !30
  %62 = icmp eq i32 %58, %61
  br i1 %62, label %64, label %63

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

64:                                               ; preds = %63, %56
  %65 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 11
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %66, i32 0, i32 11
  %68 = call noundef zeroext i1 @_ZNK3DIS22DeadReckoningParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %65, ptr noundef nonnull align 8 dereferenceable(72) %67)
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %70

70:                                               ; preds = %69, %64
  %71 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 12
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %72, i32 0, i32 12
  %74 = call noundef zeroext i1 @_ZNK3DIS7MarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %71, ptr noundef nonnull align 8 dereferenceable(20) %73)
  br i1 %74, label %76, label %75

75:                                               ; preds = %70
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %76

76:                                               ; preds = %75, %70
  %77 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 13
  %78 = load i32, ptr %77, align 8, !tbaa !31
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %79, i32 0, i32 13
  %81 = load i32, ptr %80, align 8, !tbaa !31
  %82 = icmp eq i32 %78, %81
  br i1 %82, label %84, label %83

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

84:                                               ; preds = %83, %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !32
  br label %85

85:                                               ; preds = %102, %84
  %86 = load i64, ptr %6, align 8, !tbaa !32
  %87 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 14
  %88 = call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #4
  %89 = icmp ult i64 %86, %88
  br i1 %89, label %91, label %90

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

91:                                               ; preds = %85
  %92 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %7, i32 0, i32 14
  %93 = load i64, ptr %6, align 8, !tbaa !32
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %93) #4
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.DIS::EntityStatePdu", ptr %95, i32 0, i32 14
  %97 = load i64, ptr %6, align 8, !tbaa !32
  %98 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %97) #4
  %99 = call noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %94, ptr noundef nonnull align 8 dereferenceable(24) %98)
  br i1 %99, label %101, label %100

100:                                              ; preds = %91
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %101

101:                                              ; preds = %100, %91
  br label %102

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

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

declare noundef zeroext i1 @_ZNK3DIS26EntityInformationFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #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 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #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 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #3

declare noundef zeroext i1 @_ZNK3DIS22DeadReckoningParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #3

declare noundef zeroext i1 @_ZNK3DIS7MarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #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 40}
!12 = !{!"_ZTSN3DIS14EntityStatePduE", !13, i64 0, !17, i64 24, !7, i64 40, !7, i64 41, !18, i64 48, !18, i64 64, !19, i64 80, !21, i64 104, !23, i64 136, !15, i64 160, !24, i64 168, !25, i64 240, !15, i64 264, !26, i64 272}
!13 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !14, i64 0}
!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 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !16, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!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 = !{!"_ZTSN3DIS11OrientationE", !20, i64 8, !20, i64 12, !20, i64 16}
!24 = !{!"_ZTSN3DIS22DeadReckoningParameterE", !7, i64 8, !7, i64 9, !19, i64 24, !19, i64 48}
!25 = !{!"_ZTSN3DIS7MarkingE", !7, i64 8, !7, i64 9}
!26 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = !{!12, !15, i64 160}
!31 = !{!12, !15, i64 264}
!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 @_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 @_ZNK3DIS14EntityStatePdueqERKS0_(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 @_ZNK3DIS26EntityInformationFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(20) %1)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = getelementptr inbounds i8, ptr %1, i64 24
  %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 40
  %8 = load i8, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 40
  %10 = load i8, ptr %9, align 8, !tbaa !5
  %11 = icmp eq i8 %8, %10
  %narrow20 = and i1 %narrow, %11
  %12 = getelementptr inbounds i8, ptr %0, i64 48
  %13 = getelementptr inbounds i8, ptr %1, i64 48
  %14 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  %16 = getelementptr inbounds i8, ptr %1, i64 64
  %17 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %18 = and i1 %14, %17
  %19 = getelementptr inbounds i8, ptr %0, i64 80
  %20 = getelementptr inbounds i8, ptr %1, i64 80
  %21 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %19, ptr noundef nonnull align 8 dereferenceable(20) %20)
  %22 = and i1 %21, %18
  %23 = getelementptr inbounds i8, ptr %0, i64 104
  %24 = getelementptr inbounds i8, ptr %1, i64 104
  %25 = tail call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %24)
  %26 = and i1 %25, %22
  %27 = getelementptr inbounds i8, ptr %0, i64 136
  %28 = getelementptr inbounds i8, ptr %1, i64 136
  %29 = tail call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %27, ptr noundef nonnull align 8 dereferenceable(20) %28)
  %30 = and i1 %29, %26
  %31 = getelementptr inbounds i8, ptr %0, i64 160
  %32 = load i32, ptr %31, align 8, !tbaa !27
  %33 = getelementptr inbounds i8, ptr %1, i64 160
  %34 = load i32, ptr %33, align 8, !tbaa !27
  %35 = icmp eq i32 %32, %34
  %36 = and i1 %30, %35
  %37 = getelementptr inbounds i8, ptr %0, i64 168
  %38 = getelementptr inbounds i8, ptr %1, i64 168
  %39 = tail call noundef zeroext i1 @_ZNK3DIS22DeadReckoningParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(72) %37, ptr noundef nonnull align 8 dereferenceable(72) %38)
  %40 = getelementptr inbounds i8, ptr %0, i64 240
  %41 = getelementptr inbounds i8, ptr %1, i64 240
  %42 = tail call noundef zeroext i1 @_ZNK3DIS7MarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %40, ptr noundef nonnull align 8 dereferenceable(20) %41)
  %43 = and i1 %39, %42
  %44 = getelementptr inbounds i8, ptr %0, i64 264
  %45 = load i32, ptr %44, align 8, !tbaa !28
  %46 = getelementptr inbounds i8, ptr %1, i64 264
  %47 = load i32, ptr %46, align 8, !tbaa !28
  %48 = icmp eq i32 %45, %47
  %49 = and i1 %43, %48
  %50 = select i1 %49, i1 %36, i1 false
  %narrow29 = select i1 %50, i1 %narrow20, i1 false
  %51 = getelementptr inbounds i8, ptr %0, i64 272
  %52 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #3
  %.not = icmp eq i64 %52, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

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

._crit_edge:                                      ; preds = %54, %2
  %.11.lcssa = phi i1 [ %narrow29, %2 ], [ %spec.select19, %54 ]
  ret i1 %.11.lcssa

54:                                               ; preds = %.lr.ph, %54
  %.031 = phi i64 [ 0, %.lr.ph ], [ %58, %54 ]
  %.1130 = phi i1 [ %narrow29, %.lr.ph ], [ %spec.select19, %54 ]
  %55 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %.031) #3
  %56 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %.031) #3
  %57 = tail call noundef zeroext i1 @_ZNK3DIS21ArticulationParametereqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %56)
  %spec.select19 = select i1 %57, i1 %.1130, i1 false
  %58 = add nuw i64 %.031, 1
  %59 = tail call noundef i64 @_ZNKSt6vectorIN3DIS21ArticulationParameterESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #3
  %60 = icmp ult i64 %58, %59
  br i1 %60, label %54, label %._crit_edge, !llvm.loop !29
}

declare noundef zeroext i1 @_ZNK3DIS26EntityInformationFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) 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 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) 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 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #2

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

declare noundef zeroext i1 @_ZNK3DIS7MarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) 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 40}
!6 = !{!"_ZTSN3DIS14EntityStatePduE", !7, i64 0, !13, i64 24, !9, i64 40, !9, i64 41, !14, i64 48, !14, i64 64, !15, i64 80, !17, i64 104, !19, i64 136, !11, i64 160, !20, i64 168, !21, i64 240, !11, i64 264, !22, i64 272}
!7 = !{!"_ZTSN3DIS26EntityInformationFamilyPduE", !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 = !{!"_ZTSN3DIS10EntityTypeE", !9, i64 8, !9, i64 9, !12, i64 10, !9, i64 12, !9, i64 13, !9, i64 14, !9, i64 15}
!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 = !{!"_ZTSN3DIS11OrientationE", !16, i64 8, !16, i64 12, !16, i64 16}
!20 = !{!"_ZTSN3DIS22DeadReckoningParameterE", !9, i64 8, !9, i64 9, !15, i64 24, !15, i64 48}
!21 = !{!"_ZTSN3DIS7MarkingE", !9, i64 8, !9, i64 9}
!22 = !{!"_ZTSSt6vectorIN3DIS21ArticulationParameterESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS21ArticulationParameterESaIS1_EE17_Vector_impl_dataE", !26, i64 0, !26, i64 8, !26, i64 16}
!26 = !{!"any pointer", !9, i64 0}
!27 = !{!6, !11, i64 160}
!28 = !{!6, !11, i64 264}
!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