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

; 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::UaPdu" = type { %"class.DIS::DistributedEmissionsFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EventID", i8, i8, i16, i8, i8, i8, i8, %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5" }
%"class.DIS::DistributedEmissionsFamilyPdu.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::EventID" = type <{ ptr, i16, i16, i16, [2 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ShaftRPMs, std::allocator<DIS::ShaftRPMs>>::_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::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::ApaData, std::allocator<DIS::ApaData>>::_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::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::AcousticEmitterSystemData, std::allocator<DIS::AcousticEmitterSystemData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_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(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_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(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_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(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS5UaPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(136) %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #4
  store i8 1, ptr %5, align 1, !tbaa !9
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = call noundef zeroext i1 @_ZNK3DIS29DistributedEmissionsFamilyPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(20) %10)
  %12 = zext i1 %11 to i8
  store i8 %12, ptr %5, align 1, !tbaa !9
  %13 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 2
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.DIS::UaPdu", ptr %14, i32 0, i32 2
  %16 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %13, ptr noundef nonnull align 8 dereferenceable(14) %15)
  br i1 %16, label %18, label %17

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

18:                                               ; preds = %17, %2
  %19 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 3
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.DIS::UaPdu", ptr %20, i32 0, i32 3
  %22 = call noundef zeroext i1 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %19, ptr noundef nonnull align 8 dereferenceable(14) %21)
  br i1 %22, label %24, label %23

23:                                               ; preds = %18
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %24

24:                                               ; preds = %23, %18
  %25 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 4
  %26 = load i8, ptr %25, align 8, !tbaa !11
  %27 = sext i8 %26 to i32
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.DIS::UaPdu", ptr %28, i32 0, i32 4
  %30 = load i8, ptr %29, align 8, !tbaa !11
  %31 = sext i8 %30 to i32
  %32 = icmp eq i32 %27, %31
  br i1 %32, label %34, label %33

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

34:                                               ; preds = %33, %24
  %35 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 5
  %36 = load i8, ptr %35, align 1, !tbaa !31
  %37 = sext i8 %36 to i32
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.DIS::UaPdu", ptr %38, i32 0, i32 5
  %40 = load i8, ptr %39, align 1, !tbaa !31
  %41 = sext i8 %40 to i32
  %42 = icmp eq i32 %37, %41
  br i1 %42, label %44, label %43

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

44:                                               ; preds = %43, %34
  %45 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 6
  %46 = load i16, ptr %45, align 2, !tbaa !32
  %47 = zext i16 %46 to i32
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.DIS::UaPdu", ptr %48, i32 0, i32 6
  %50 = load i16, ptr %49, align 2, !tbaa !32
  %51 = zext i16 %50 to i32
  %52 = icmp eq i32 %47, %51
  br i1 %52, label %54, label %53

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

54:                                               ; preds = %53, %44
  %55 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 7
  %56 = load i8, ptr %55, align 4, !tbaa !33
  %57 = zext i8 %56 to i32
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.DIS::UaPdu", ptr %58, i32 0, i32 7
  %60 = load i8, ptr %59, align 4, !tbaa !33
  %61 = zext i8 %60 to i32
  %62 = icmp eq i32 %57, %61
  br i1 %62, label %64, label %63

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

64:                                               ; preds = %63, %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !34
  br label %65

65:                                               ; preds = %82, %64
  %66 = load i64, ptr %6, align 8, !tbaa !34
  %67 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 11
  %68 = call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #4
  %69 = icmp ult i64 %66, %68
  br i1 %69, label %71, label %70

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

71:                                               ; preds = %65
  %72 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 11
  %73 = load i64, ptr %6, align 8, !tbaa !34
  %74 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %73) #4
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"class.DIS::UaPdu", ptr %75, i32 0, i32 11
  %77 = load i64, ptr %6, align 8, !tbaa !34
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %77) #4
  %79 = call noundef zeroext i1 @_ZNK3DIS9ShaftRPMseqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 8 dereferenceable(16) %78)
  br i1 %79, label %81, label %80

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

81:                                               ; preds = %80, %71
  br label %82

82:                                               ; preds = %81
  %83 = load i64, ptr %6, align 8, !tbaa !34
  %84 = add i64 %83, 1
  store i64 %84, ptr %6, align 8, !tbaa !34
  br label %65, !llvm.loop !36

85:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !34
  br label %86

86:                                               ; preds = %103, %85
  %87 = load i64, ptr %7, align 8, !tbaa !34
  %88 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 12
  %89 = call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #4
  %90 = icmp ult i64 %87, %89
  br i1 %90, label %92, label %91

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

92:                                               ; preds = %86
  %93 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 12
  %94 = load i64, ptr %7, align 8, !tbaa !34
  %95 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %94) #4
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.DIS::UaPdu", ptr %96, i32 0, i32 12
  %98 = load i64, ptr %7, align 8, !tbaa !34
  %99 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %98) #4
  %100 = call noundef zeroext i1 @_ZNK3DIS7ApaDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %95, ptr noundef nonnull align 8 dereferenceable(12) %99)
  br i1 %100, label %102, label %101

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

102:                                              ; preds = %101, %92
  br label %103

103:                                              ; preds = %102
  %104 = load i64, ptr %7, align 8, !tbaa !34
  %105 = add i64 %104, 1
  store i64 %105, ptr %7, align 8, !tbaa !34
  br label %86, !llvm.loop !38

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

107:                                              ; preds = %124, %106
  %108 = load i64, ptr %8, align 8, !tbaa !34
  %109 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 13
  %110 = call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %109) #4
  %111 = icmp ult i64 %108, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %127

113:                                              ; preds = %107
  %114 = getelementptr inbounds %"class.DIS::UaPdu", ptr %9, i32 0, i32 13
  %115 = load i64, ptr %8, align 8, !tbaa !34
  %116 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115) #4
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.DIS::UaPdu", ptr %117, i32 0, i32 13
  %119 = load i64, ptr %8, align 8, !tbaa !34
  %120 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %118, i64 noundef %119) #4
  %121 = call noundef zeroext i1 @_ZNK3DIS25AcousticEmitterSystemDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %116, ptr noundef nonnull align 8 dereferenceable(80) %120)
  br i1 %121, label %123, label %122

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

123:                                              ; preds = %122, %113
  br label %124

124:                                              ; preds = %123
  %125 = load i64, ptr %8, align 8, !tbaa !34
  %126 = add i64 %125, 1
  store i64 %126, ptr %8, align 8, !tbaa !34
  br label %107, !llvm.loop !39

127:                                              ; preds = %112
  %128 = load i8, ptr %5, align 1, !tbaa !9, !range !40, !noundef !41
  %129 = trunc i8 %128 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %129
}

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

declare noundef zeroext i1 @_ZNK3DIS9ShaftRPMseqERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

declare noundef zeroext i1 @_ZNK3DIS7ApaDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #3

declare noundef zeroext i1 @_ZNK3DIS25AcousticEmitterSystemDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) #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 56}
!12 = !{!"_ZTSN3DIS5UaPduE", !13, i64 0, !17, i64 24, !18, i64 40, !7, i64 56, !7, i64 57, !16, i64 58, !7, i64 60, !7, i64 61, !7, i64 62, !7, i64 63, !19, i64 64, !23, i64 88, !27, i64 112}
!13 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !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 = !{!"_ZTSN3DIS7EventIDE", !16, i64 8, !16, i64 10, !16, i64 12}
!19 = !{!"_ZTSSt6vectorIN3DIS9ShaftRPMsESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIN3DIS7ApaDataESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!"_ZTSSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!12, !7, i64 57}
!32 = !{!12, !16, i64 58}
!33 = !{!12, !7, i64 60}
!34 = !{!35, !35, i64 0}
!35 = !{!"long", !7, i64 0}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = distinct !{!39, !37}
!40 = !{i8 0, i8 2}
!41 = !{}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_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(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_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(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_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(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_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 @_ZNK3DIS5UaPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(136) %0, ptr noundef nonnull align 8 dereferenceable(136) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS29DistributedEmissionsFamilyPdueqERKS0_(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 = getelementptr inbounds i8, ptr %1, i64 40
  %9 = tail call noundef zeroext i1 @_ZNK3DIS7EventIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %7, ptr noundef nonnull align 8 dereferenceable(14) %8)
  %narrow29 = and i1 %9, %narrow
  %10 = getelementptr inbounds i8, ptr %0, i64 56
  %11 = load i8, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 56
  %13 = load i8, ptr %12, align 8, !tbaa !5
  %14 = icmp eq i8 %11, %13
  %narrow30 = and i1 %narrow29, %14
  %15 = getelementptr inbounds i8, ptr %0, i64 57
  %16 = load i8, ptr %15, align 1, !tbaa !28
  %17 = getelementptr inbounds i8, ptr %1, i64 57
  %18 = load i8, ptr %17, align 1, !tbaa !28
  %19 = icmp eq i8 %16, %18
  %20 = getelementptr inbounds i8, ptr %0, i64 58
  %21 = load i16, ptr %20, align 2, !tbaa !29
  %22 = getelementptr inbounds i8, ptr %1, i64 58
  %23 = load i16, ptr %22, align 2, !tbaa !29
  %24 = icmp eq i16 %21, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 60
  %26 = load i8, ptr %25, align 4, !tbaa !30
  %27 = getelementptr inbounds i8, ptr %1, i64 60
  %28 = load i8, ptr %27, align 4, !tbaa !30
  %29 = icmp eq i8 %26, %28
  %30 = select i1 %29, i1 %24, i1 false
  %31 = select i1 %30, i1 %19, i1 false
  %narrow33 = select i1 %31, i1 %narrow30, i1 false
  %32 = getelementptr inbounds i8, ptr %0, i64 64
  %33 = tail call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #3
  %.not = icmp eq i64 %33, 0
  br i1 %.not, label %.preheader34, label %.lr.ph

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

.preheader34:                                     ; preds = %38, %2
  %.6.lcssa = phi i1 [ %narrow33, %2 ], [ %spec.select26, %38 ]
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  %36 = tail call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #3
  %.not45 = icmp eq i64 %36, 0
  br i1 %.not45, label %.preheader, label %.lr.ph39

.lr.ph39:                                         ; preds = %.preheader34
  %37 = getelementptr inbounds i8, ptr %1, i64 88
  br label %48

38:                                               ; preds = %.lr.ph, %38
  %.02436 = phi i64 [ 0, %.lr.ph ], [ %42, %38 ]
  %.635 = phi i1 [ %narrow33, %.lr.ph ], [ %spec.select26, %38 ]
  %39 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.02436) #3
  %40 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %.02436) #3
  %41 = tail call noundef zeroext i1 @_ZNK3DIS9ShaftRPMseqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %40)
  %spec.select26 = select i1 %41, i1 %.635, i1 false
  %42 = add nuw i64 %.02436, 1
  %43 = tail call noundef i64 @_ZNKSt6vectorIN3DIS9ShaftRPMsESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #3
  %44 = icmp ult i64 %42, %43
  br i1 %44, label %38, label %.preheader34, !llvm.loop !31

.preheader:                                       ; preds = %48, %.preheader34
  %.8.lcssa = phi i1 [ %.6.lcssa, %.preheader34 ], [ %spec.select27, %48 ]
  %45 = getelementptr inbounds i8, ptr %0, i64 112
  %46 = tail call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #3
  %.not46 = icmp eq i64 %46, 0
  br i1 %.not46, label %._crit_edge, label %.lr.ph43

.lr.ph43:                                         ; preds = %.preheader
  %47 = getelementptr inbounds i8, ptr %1, i64 112
  br label %55

48:                                               ; preds = %.lr.ph39, %48
  %.02338 = phi i64 [ 0, %.lr.ph39 ], [ %52, %48 ]
  %.837 = phi i1 [ %.6.lcssa, %.lr.ph39 ], [ %spec.select27, %48 ]
  %49 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %.02338) #3
  %50 = tail call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %.02338) #3
  %51 = tail call noundef zeroext i1 @_ZNK3DIS7ApaDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %49, ptr noundef nonnull align 8 dereferenceable(12) %50)
  %spec.select27 = select i1 %51, i1 %.837, i1 false
  %52 = add nuw i64 %.02338, 1
  %53 = tail call noundef i64 @_ZNKSt6vectorIN3DIS7ApaDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #3
  %54 = icmp ult i64 %52, %53
  br i1 %54, label %48, label %.preheader, !llvm.loop !33

._crit_edge:                                      ; preds = %55, %.preheader
  %.10.lcssa = phi i1 [ %.8.lcssa, %.preheader ], [ %spec.select28, %55 ]
  ret i1 %.10.lcssa

55:                                               ; preds = %.lr.ph43, %55
  %.042 = phi i64 [ 0, %.lr.ph43 ], [ %59, %55 ]
  %.1041 = phi i1 [ %.8.lcssa, %.lr.ph43 ], [ %spec.select28, %55 ]
  %56 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef %.042) #3
  %57 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %.042) #3
  %58 = tail call noundef zeroext i1 @_ZNK3DIS25AcousticEmitterSystemDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(80) %56, ptr noundef nonnull align 8 dereferenceable(80) %57)
  %spec.select28 = select i1 %58, i1 %.1041, i1 false
  %59 = add nuw i64 %.042, 1
  %60 = tail call noundef i64 @_ZNKSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #3
  %61 = icmp ult i64 %59, %60
  br i1 %61, label %55, label %._crit_edge, !llvm.loop !34
}

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

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

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

declare noundef zeroext i1 @_ZNK3DIS25AcousticEmitterSystemDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(80)) 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 56}
!6 = !{!"_ZTSN3DIS5UaPduE", !7, i64 0, !13, i64 24, !14, i64 40, !9, i64 56, !9, i64 57, !12, i64 58, !9, i64 60, !9, i64 61, !9, i64 62, !9, i64 63, !15, i64 64, !20, i64 88, !24, i64 112}
!7 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !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 = !{!"_ZTSN3DIS7EventIDE", !12, i64 8, !12, i64 10, !12, i64 12}
!15 = !{!"_ZTSSt6vectorIN3DIS9ShaftRPMsESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS9ShaftRPMsESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!"_ZTSSt6vectorIN3DIS7ApaDataESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS7ApaDataESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!"_ZTSSt6vectorIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3DIS25AcousticEmitterSystemDataESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!28 = !{!6, !9, i64 57}
!29 = !{!6, !12, i64 58}
!30 = !{!6, !9, i64 60}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = distinct !{!34, !32}


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