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

; 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::AggregateStatePdu" = type { %"class.DIS::EntityManagementFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", i8, i8, %"class.DIS::EntityType", i32, %"class.DIS::AggregateMarking", %"class.DIS::Vector3Float", %"class.DIS::Orientation", %"class.DIS::Vector3Double", %"class.DIS::Vector3Float", i16, i16, i16, i16, %"class.std::vector", %"class.std::vector.0", i8, %"class.std::vector.5", %"class.std::vector.5", i32, %"class.std::vector.10" }
%"class.DIS::EntityManagementFamilyPdu.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::AggregateMarking" = type { ptr, i8, [31 x i8] }
%"class.DIS::Orientation" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"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::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AggregateID, std::allocator<DIS::AggregateID>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::EntityID, std::allocator<DIS::EntityID>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::EntityType, std::allocator<DIS::EntityType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::VariableDatum, std::allocator<DIS::VariableDatum>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_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(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS17AggregateStatePdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(360) %0, ptr noundef nonnull align 8 dereferenceable(360) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %11 = 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
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = call noundef zeroext i1 @_ZNK3DIS25EntityManagementFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %11, ptr noundef nonnull align 8 dereferenceable(20) %12)
  %14 = zext i1 %13 to i8
  store i8 %14, ptr %5, align 1, !tbaa !9
  %15 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 2
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %16, i32 0, i32 2
  %18 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %15, ptr noundef nonnull align 8 dereferenceable(14) %17)
  br i1 %18, label %20, label %19

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

20:                                               ; preds = %19, %2
  %21 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 3
  %22 = load i8, ptr %21, align 8, !tbaa !11
  %23 = zext i8 %22 to i32
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %24, i32 0, i32 3
  %26 = load i8, ptr %25, align 8, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = icmp eq i32 %23, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %20
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %30

30:                                               ; preds = %29, %20
  %31 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 4
  %32 = load i8, ptr %31, align 1, !tbaa !41
  %33 = zext i8 %32 to i32
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %34, i32 0, i32 4
  %36 = load i8, ptr %35, align 1, !tbaa !41
  %37 = zext i8 %36 to i32
  %38 = icmp eq i32 %33, %37
  br i1 %38, label %40, label %39

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

40:                                               ; preds = %39, %30
  %41 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %42, i32 0, i32 5
  %44 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %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::AggregateStatePdu", ptr %11, i32 0, i32 6
  %48 = load i32, ptr %47, align 8, !tbaa !42
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %49, i32 0, i32 6
  %51 = load i32, ptr %50, align 8, !tbaa !42
  %52 = icmp eq i32 %48, %51
  br i1 %52, label %54, label %53

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

54:                                               ; preds = %53, %46
  %55 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 7
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %56, i32 0, i32 7
  %58 = call noundef zeroext i1 @_ZNK3DIS16AggregateMarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %55, ptr noundef nonnull align 8 dereferenceable(40) %57)
  br i1 %58, label %60, label %59

59:                                               ; preds = %54
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %60

60:                                               ; preds = %59, %54
  %61 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 8
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %62, i32 0, i32 8
  %64 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %61, ptr noundef nonnull align 8 dereferenceable(20) %63)
  br i1 %64, label %66, label %65

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

66:                                               ; preds = %65, %60
  %67 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 9
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %68, i32 0, i32 9
  %70 = call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %67, ptr noundef nonnull align 8 dereferenceable(20) %69)
  br i1 %70, label %72, label %71

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

72:                                               ; preds = %71, %66
  %73 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 10
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %74, i32 0, i32 10
  %76 = call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(32) %75)
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %78

78:                                               ; preds = %77, %72
  %79 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 11
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %80, i32 0, i32 11
  %82 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %79, ptr noundef nonnull align 8 dereferenceable(20) %81)
  br i1 %82, label %84, label %83

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

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

85:                                               ; preds = %102, %84
  %86 = load i64, ptr %6, align 8, !tbaa !43
  %87 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 16
  %88 = call noundef i64 @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_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::AggregateStatePdu", ptr %11, i32 0, i32 16
  %93 = load i64, ptr %6, align 8, !tbaa !43
  %94 = call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_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::AggregateStatePdu", ptr %95, i32 0, i32 16
  %97 = load i64, ptr %6, align 8, !tbaa !43
  %98 = call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %97) #4
  %99 = call noundef zeroext i1 @_ZNK3DIS11AggregateIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %94, ptr noundef nonnull align 8 dereferenceable(14) %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 !43
  %104 = add i64 %103, 1
  store i64 %104, ptr %6, align 8, !tbaa !43
  br label %85, !llvm.loop !45

105:                                              ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !43
  br label %106

106:                                              ; preds = %123, %105
  %107 = load i64, ptr %7, align 8, !tbaa !43
  %108 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 17
  %109 = call noundef i64 @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #4
  %110 = icmp ult i64 %107, %109
  br i1 %110, label %112, label %111

111:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  br label %126

112:                                              ; preds = %106
  %113 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 17
  %114 = load i64, ptr %7, align 8, !tbaa !43
  %115 = call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %114) #4
  %116 = load ptr, ptr %4, align 8, !tbaa !5
  %117 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %116, i32 0, i32 17
  %118 = load i64, ptr %7, align 8, !tbaa !43
  %119 = call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %118) #4
  %120 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %115, ptr noundef nonnull align 8 dereferenceable(14) %119)
  br i1 %120, label %122, label %121

121:                                              ; preds = %112
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %122

122:                                              ; preds = %121, %112
  br label %123

123:                                              ; preds = %122
  %124 = load i64, ptr %7, align 8, !tbaa !43
  %125 = add i64 %124, 1
  store i64 %125, ptr %7, align 8, !tbaa !43
  br label %106, !llvm.loop !47

126:                                              ; preds = %111
  %127 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 18
  %128 = load i8, ptr %127, align 8, !tbaa !48
  %129 = zext i8 %128 to i32
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %130, i32 0, i32 18
  %132 = load i8, ptr %131, align 8, !tbaa !48
  %133 = zext i8 %132 to i32
  %134 = icmp eq i32 %129, %133
  br i1 %134, label %136, label %135

135:                                              ; preds = %126
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %136

136:                                              ; preds = %135, %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  store i64 0, ptr %8, align 8, !tbaa !43
  br label %137

137:                                              ; preds = %154, %136
  %138 = load i64, ptr %8, align 8, !tbaa !43
  %139 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 19
  %140 = call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #4
  %141 = icmp ult i64 %138, %140
  br i1 %141, label %143, label %142

142:                                              ; preds = %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %157

143:                                              ; preds = %137
  %144 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 19
  %145 = load i64, ptr %8, align 8, !tbaa !43
  %146 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %145) #4
  %147 = load ptr, ptr %4, align 8, !tbaa !5
  %148 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %147, i32 0, i32 19
  %149 = load i64, ptr %8, align 8, !tbaa !43
  %150 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %149) #4
  %151 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %146, ptr noundef nonnull align 8 dereferenceable(16) %150)
  br i1 %151, label %153, label %152

152:                                              ; preds = %143
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %153

153:                                              ; preds = %152, %143
  br label %154

154:                                              ; preds = %153
  %155 = load i64, ptr %8, align 8, !tbaa !43
  %156 = add i64 %155, 1
  store i64 %156, ptr %8, align 8, !tbaa !43
  br label %137, !llvm.loop !49

157:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !43
  br label %158

158:                                              ; preds = %175, %157
  %159 = load i64, ptr %9, align 8, !tbaa !43
  %160 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 20
  %161 = call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %160) #4
  %162 = icmp ult i64 %159, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %178

164:                                              ; preds = %158
  %165 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 20
  %166 = load i64, ptr %9, align 8, !tbaa !43
  %167 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %165, i64 noundef %166) #4
  %168 = load ptr, ptr %4, align 8, !tbaa !5
  %169 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %168, i32 0, i32 20
  %170 = load i64, ptr %9, align 8, !tbaa !43
  %171 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %169, i64 noundef %170) #4
  %172 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef nonnull align 8 dereferenceable(16) %171)
  br i1 %172, label %174, label %173

173:                                              ; preds = %164
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %174

174:                                              ; preds = %173, %164
  br label %175

175:                                              ; preds = %174
  %176 = load i64, ptr %9, align 8, !tbaa !43
  %177 = add i64 %176, 1
  store i64 %177, ptr %9, align 8, !tbaa !43
  br label %158, !llvm.loop !50

178:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !43
  br label %179

179:                                              ; preds = %196, %178
  %180 = load i64, ptr %10, align 8, !tbaa !43
  %181 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 22
  %182 = call noundef i64 @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %181) #4
  %183 = icmp ult i64 %180, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %199

185:                                              ; preds = %179
  %186 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %11, i32 0, i32 22
  %187 = load i64, ptr %10, align 8, !tbaa !43
  %188 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %187) #4
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = getelementptr inbounds %"class.DIS::AggregateStatePdu", ptr %189, i32 0, i32 22
  %191 = load i64, ptr %10, align 8, !tbaa !43
  %192 = call noundef nonnull align 8 dereferenceable(44) ptr @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %191) #4
  %193 = call noundef zeroext i1 @_ZNK3DIS13VariableDatumeqERKS0_(ptr noundef nonnull align 8 dereferenceable(44) %188, ptr noundef nonnull align 8 dereferenceable(44) %192)
  br i1 %193, label %195, label %194

194:                                              ; preds = %185
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %195

195:                                              ; preds = %194, %185
  br label %196

196:                                              ; preds = %195
  %197 = load i64, ptr %10, align 8, !tbaa !43
  %198 = add i64 %197, 1
  store i64 %198, ptr %10, align 8, !tbaa !43
  br label %179, !llvm.loop !51

199:                                              ; preds = %184
  %200 = load i8, ptr %5, align 1, !tbaa !9, !range !52, !noundef !53
  %201 = trunc i8 %200 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %201
}

declare noundef zeroext i1 @_ZNK3DIS25EntityManagementFamilyPdueqERKS0_(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 @_ZNK3DIS16AggregateMarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #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 @_ZNK3DIS11OrientationeqERKS0_(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 @_ZNK3DIS11AggregateIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) #3

declare noundef zeroext i1 @_ZNK3DIS13VariableDatumeqERKS0_(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(44)) #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 = !{!"_ZTSN3DIS17AggregateStatePduE", !13, i64 0, !17, i64 24, !7, i64 40, !7, i64 41, !18, i64 48, !15, i64 64, !19, i64 72, !20, i64 112, !22, i64 136, !23, i64 160, !20, i64 192, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !25, i64 224, !29, i64 248, !7, i64 272, !33, i64 280, !33, i64 304, !15, i64 328, !37, i64 336}
!13 = !{!"_ZTSN3DIS25EntityManagementFamilyPduE", !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 = !{!"_ZTSN3DIS16AggregateMarkingE", !7, i64 8, !7, i64 9}
!20 = !{!"_ZTSN3DIS12Vector3FloatE", !21, i64 8, !21, i64 12, !21, i64 16}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSN3DIS11OrientationE", !21, i64 8, !21, i64 12, !21, i64 16}
!23 = !{!"_ZTSN3DIS13Vector3DoubleE", !24, i64 8, !24, i64 16, !24, i64 24}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTSSt6vectorIN3DIS11AggregateIDESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIN3DIS8EntityIDESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!"_ZTSSt6vectorIN3DIS10EntityTypeESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE12_Vector_implE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!37 = !{!"_ZTSSt6vectorIN3DIS13VariableDatumESaIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!12, !7, i64 41}
!42 = !{!12, !15, i64 64}
!43 = !{!44, !44, i64 0}
!44 = !{!"long", !7, i64 0}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = distinct !{!47, !46}
!48 = !{!12, !7, i64 272}
!49 = distinct !{!49, !46}
!50 = distinct !{!50, !46}
!51 = distinct !{!51, !46}
!52 = !{i8 0, i8 2}
!53 = !{}


; 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 @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_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(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(44) ptr @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_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 @_ZNK3DIS17AggregateStatePdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(360) %0, ptr noundef nonnull align 8 dereferenceable(360) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS25EntityManagementFamilyPdueqERKS0_(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
  %narrow49 = and i1 %narrow, %11
  %12 = getelementptr inbounds i8, ptr %0, i64 41
  %13 = load i8, ptr %12, align 1, !tbaa !38
  %14 = getelementptr inbounds i8, ptr %1, i64 41
  %15 = load i8, ptr %14, align 1, !tbaa !38
  %16 = icmp eq i8 %13, %15
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = getelementptr inbounds i8, ptr %1, i64 48
  %19 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef nonnull align 8 dereferenceable(16) %18)
  %20 = getelementptr inbounds i8, ptr %0, i64 64
  %21 = load i32, ptr %20, align 8, !tbaa !39
  %22 = getelementptr inbounds i8, ptr %1, i64 64
  %23 = load i32, ptr %22, align 8, !tbaa !39
  %24 = icmp eq i32 %21, %23
  %25 = and i1 %19, %24
  %26 = getelementptr inbounds i8, ptr %0, i64 72
  %27 = getelementptr inbounds i8, ptr %1, i64 72
  %28 = tail call noundef zeroext i1 @_ZNK3DIS16AggregateMarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %26, ptr noundef nonnull align 8 dereferenceable(40) %27)
  %29 = getelementptr inbounds i8, ptr %0, i64 112
  %30 = getelementptr inbounds i8, ptr %1, i64 112
  %31 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %29, ptr noundef nonnull align 8 dereferenceable(20) %30)
  %32 = and i1 %28, %31
  %33 = getelementptr inbounds i8, ptr %0, i64 136
  %34 = getelementptr inbounds i8, ptr %1, i64 136
  %35 = tail call noundef zeroext i1 @_ZNK3DIS11OrientationeqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %33, ptr noundef nonnull align 8 dereferenceable(20) %34)
  %36 = and i1 %35, %32
  %37 = getelementptr inbounds i8, ptr %0, i64 160
  %38 = getelementptr inbounds i8, ptr %1, i64 160
  %39 = tail call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %38)
  %40 = and i1 %39, %36
  %41 = getelementptr inbounds i8, ptr %0, i64 192
  %42 = getelementptr inbounds i8, ptr %1, i64 192
  %43 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %41, ptr noundef nonnull align 8 dereferenceable(20) %42)
  %44 = and i1 %43, %40
  %45 = select i1 %44, i1 %25, i1 false
  %46 = select i1 %45, i1 %16, i1 false
  %narrow57 = select i1 %46, i1 %narrow49, i1 false
  %47 = getelementptr inbounds i8, ptr %0, i64 224
  %48 = tail call noundef i64 @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #3
  %.not = icmp eq i64 %48, 0
  br i1 %.not, label %.preheader59, label %.lr.ph

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

.preheader59:                                     ; preds = %53, %2
  %.10.lcssa = phi i1 [ %narrow57, %2 ], [ %spec.select43, %53 ]
  %50 = getelementptr inbounds i8, ptr %0, i64 248
  %51 = tail call noundef i64 @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #3
  %.not80 = icmp eq i64 %51, 0
  br i1 %.not80, label %._crit_edge, label %.lr.ph64

.lr.ph64:                                         ; preds = %.preheader59
  %52 = getelementptr inbounds i8, ptr %1, i64 248
  br label %68

53:                                               ; preds = %.lr.ph, %53
  %.04161 = phi i64 [ 0, %.lr.ph ], [ %57, %53 ]
  %.1060 = phi i1 [ %narrow57, %.lr.ph ], [ %spec.select43, %53 ]
  %54 = tail call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %.04161) #3
  %55 = tail call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %.04161) #3
  %56 = tail call noundef zeroext i1 @_ZNK3DIS11AggregateIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %54, ptr noundef nonnull align 8 dereferenceable(14) %55)
  %spec.select43 = select i1 %56, i1 %.1060, i1 false
  %57 = add nuw i64 %.04161, 1
  %58 = tail call noundef i64 @_ZNKSt6vectorIN3DIS11AggregateIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #3
  %59 = icmp ult i64 %57, %58
  br i1 %59, label %53, label %.preheader59, !llvm.loop !40

._crit_edge:                                      ; preds = %68, %.preheader59
  %.12.lcssa = phi i1 [ %.10.lcssa, %.preheader59 ], [ %spec.select45, %68 ]
  %60 = getelementptr inbounds i8, ptr %0, i64 272
  %61 = load i8, ptr %60, align 8, !tbaa !42
  %62 = getelementptr inbounds i8, ptr %1, i64 272
  %63 = load i8, ptr %62, align 8, !tbaa !42
  %64 = icmp eq i8 %61, %63
  %spec.select44 = select i1 %64, i1 %.12.lcssa, i1 false
  %65 = getelementptr inbounds i8, ptr %0, i64 280
  %66 = tail call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #3
  %.not81 = icmp eq i64 %66, 0
  br i1 %.not81, label %.preheader58, label %.lr.ph69

.lr.ph69:                                         ; preds = %._crit_edge
  %67 = getelementptr inbounds i8, ptr %1, i64 280
  br label %78

68:                                               ; preds = %.lr.ph64, %68
  %.04063 = phi i64 [ 0, %.lr.ph64 ], [ %72, %68 ]
  %.1262 = phi i1 [ %.10.lcssa, %.lr.ph64 ], [ %spec.select45, %68 ]
  %69 = tail call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %.04063) #3
  %70 = tail call noundef nonnull align 8 dereferenceable(14) ptr @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %.04063) #3
  %71 = tail call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %69, ptr noundef nonnull align 8 dereferenceable(14) %70)
  %spec.select45 = select i1 %71, i1 %.1262, i1 false
  %72 = add nuw i64 %.04063, 1
  %73 = tail call noundef i64 @_ZNKSt6vectorIN3DIS8EntityIDESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #3
  %74 = icmp ult i64 %72, %73
  br i1 %74, label %68, label %._crit_edge, !llvm.loop !43

.preheader58:                                     ; preds = %78, %._crit_edge
  %.15.lcssa = phi i1 [ %spec.select44, %._crit_edge ], [ %spec.select46, %78 ]
  %75 = getelementptr inbounds i8, ptr %0, i64 304
  %76 = tail call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #3
  %.not82 = icmp eq i64 %76, 0
  br i1 %.not82, label %.preheader, label %.lr.ph73

.lr.ph73:                                         ; preds = %.preheader58
  %77 = getelementptr inbounds i8, ptr %1, i64 304
  br label %88

78:                                               ; preds = %.lr.ph69, %78
  %.03967 = phi i64 [ 0, %.lr.ph69 ], [ %82, %78 ]
  %.1566 = phi i1 [ %spec.select44, %.lr.ph69 ], [ %spec.select46, %78 ]
  %79 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.03967) #3
  %80 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %67, i64 noundef %.03967) #3
  %81 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(16) %80)
  %spec.select46 = select i1 %81, i1 %.1566, i1 false
  %82 = add nuw i64 %.03967, 1
  %83 = tail call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #3
  %84 = icmp ult i64 %82, %83
  br i1 %84, label %78, label %.preheader58, !llvm.loop !44

.preheader:                                       ; preds = %88, %.preheader58
  %.17.lcssa = phi i1 [ %.15.lcssa, %.preheader58 ], [ %spec.select47, %88 ]
  %85 = getelementptr inbounds i8, ptr %0, i64 336
  %86 = tail call noundef i64 @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #3
  %.not83 = icmp eq i64 %86, 0
  br i1 %.not83, label %._crit_edge78, label %.lr.ph77

.lr.ph77:                                         ; preds = %.preheader
  %87 = getelementptr inbounds i8, ptr %1, i64 336
  br label %95

88:                                               ; preds = %.lr.ph73, %88
  %.03872 = phi i64 [ 0, %.lr.ph73 ], [ %92, %88 ]
  %.1771 = phi i1 [ %.15.lcssa, %.lr.ph73 ], [ %spec.select47, %88 ]
  %89 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %.03872) #3
  %90 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %.03872) #3
  %91 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %89, ptr noundef nonnull align 8 dereferenceable(16) %90)
  %spec.select47 = select i1 %91, i1 %.1771, i1 false
  %92 = add nuw i64 %.03872, 1
  %93 = tail call noundef i64 @_ZNKSt6vectorIN3DIS10EntityTypeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #3
  %94 = icmp ult i64 %92, %93
  br i1 %94, label %88, label %.preheader, !llvm.loop !45

._crit_edge78:                                    ; preds = %95, %.preheader
  %.19.lcssa = phi i1 [ %.17.lcssa, %.preheader ], [ %spec.select48, %95 ]
  ret i1 %.19.lcssa

95:                                               ; preds = %.lr.ph77, %95
  %.076 = phi i64 [ 0, %.lr.ph77 ], [ %99, %95 ]
  %.1975 = phi i1 [ %.17.lcssa, %.lr.ph77 ], [ %spec.select48, %95 ]
  %96 = tail call noundef nonnull align 8 dereferenceable(44) ptr @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %.076) #3
  %97 = tail call noundef nonnull align 8 dereferenceable(44) ptr @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %.076) #3
  %98 = tail call noundef zeroext i1 @_ZNK3DIS13VariableDatumeqERKS0_(ptr noundef nonnull align 8 dereferenceable(44) %96, ptr noundef nonnull align 8 dereferenceable(44) %97)
  %spec.select48 = select i1 %98, i1 %.1975, i1 false
  %99 = add nuw i64 %.076, 1
  %100 = tail call noundef i64 @_ZNKSt6vectorIN3DIS13VariableDatumESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %85) #3
  %101 = icmp ult i64 %99, %100
  br i1 %101, label %95, label %._crit_edge78, !llvm.loop !46
}

declare noundef zeroext i1 @_ZNK3DIS25EntityManagementFamilyPdueqERKS0_(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 @_ZNK3DIS16AggregateMarkingeqERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) 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 @_ZNK3DIS11OrientationeqERKS0_(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 @_ZNK3DIS11AggregateIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14), ptr noundef nonnull align 8 dereferenceable(14)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3DIS13VariableDatumeqERKS0_(ptr noundef nonnull align 8 dereferenceable(44), ptr noundef nonnull align 8 dereferenceable(44)) 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 = !{!"_ZTSN3DIS17AggregateStatePduE", !7, i64 0, !13, i64 24, !9, i64 40, !9, i64 41, !14, i64 48, !11, i64 64, !15, i64 72, !16, i64 112, !18, i64 136, !19, i64 160, !16, i64 192, !12, i64 216, !12, i64 218, !12, i64 220, !12, i64 222, !21, i64 224, !26, i64 248, !9, i64 272, !30, i64 280, !30, i64 304, !11, i64 328, !34, i64 336}
!7 = !{!"_ZTSN3DIS25EntityManagementFamilyPduE", !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 = !{!"_ZTSN3DIS16AggregateMarkingE", !9, i64 8, !9, i64 9}
!16 = !{!"_ZTSN3DIS12Vector3FloatE", !17, i64 8, !17, i64 12, !17, i64 16}
!17 = !{!"float", !9, i64 0}
!18 = !{!"_ZTSN3DIS11OrientationE", !17, i64 8, !17, i64 12, !17, i64 16}
!19 = !{!"_ZTSN3DIS13Vector3DoubleE", !20, i64 8, !20, i64 16, !20, i64 24}
!20 = !{!"double", !9, i64 0}
!21 = !{!"_ZTSSt6vectorIN3DIS11AggregateIDESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS11AggregateIDESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!25 = !{!"any pointer", !9, i64 0}
!26 = !{!"_ZTSSt6vectorIN3DIS8EntityIDESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3DIS8EntityIDESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!30 = !{!"_ZTSSt6vectorIN3DIS10EntityTypeESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseIN3DIS10EntityTypeESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!34 = !{!"_ZTSSt6vectorIN3DIS13VariableDatumESaIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIN3DIS13VariableDatumESaIS1_EE17_Vector_impl_dataE", !25, i64 0, !25, i64 8, !25, i64 16}
!38 = !{!6, !9, i64 41}
!39 = !{!6, !11, i64 64}
!40 = distinct !{!40, !41}
!41 = !{!"llvm.loop.mustprogress"}
!42 = !{!6, !9, i64 272}
!43 = distinct !{!43, !41}
!44 = distinct !{!44, !41}
!45 = distinct !{!45, !41}
!46 = distinct !{!46, !41}


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