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

; 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::IFFPdu" = type { %"class.DIS::DistributedEmissionsFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EventIdentifier", %"class.DIS::Vector3Float", i32, [4 x i8], %"class.DIS::SystemIdentifier", i8, i8, %"class.DIS::FundamentalOperationalData", %"class.DIS::LayerHeader", %"class.DIS::BeamData", %"class.DIS::SecondaryOperationalData", %"class.std::vector" }
%"class.DIS::DistributedEmissionsFamilyPdu.base" = type { %"class.DIS::Pdu.base" }
%"class.DIS::Pdu.base" = type { %"class.DIS::PduSuperclass.base", i8, i8 }
%"class.DIS::PduSuperclass.base" = type <{ ptr, i8, i8, i8, i8, i32, i16 }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.DIS::EventIdentifier" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::SystemIdentifier" = type <{ ptr, i16, i16, i16, i8, i8 }>
%"class.DIS::FundamentalOperationalData" = type { ptr, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16 }
%"class.DIS::LayerHeader" = type <{ ptr, i8, i8, i16, [4 x i8] }>
%"class.DIS::BeamData" = type <{ ptr, float, float, float, float, float, [4 x i8] }>
%"class.DIS::SecondaryOperationalData" = type <{ ptr, i8, i8, i16, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::IFFFundamentalParameterData, std::allocator<DIS::IFFFundamentalParameterData>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::IFFFundamentalParameterData, std::allocator<DIS::IFFFundamentalParameterData>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::IFFFundamentalParameterData, std::allocator<DIS::IFFFundamentalParameterData>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::IFFFundamentalParameterData, std::allocator<DIS::IFFFundamentalParameterData>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_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(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_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 @_ZNK3DIS6IFFPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(256) %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 @_ZNK3DIS29DistributedEmissionsFamilyPdueqERKS0_(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::IFFPdu", ptr %7, i32 0, i32 2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %12, i32 0, i32 2
  %14 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %11, ptr noundef nonnull align 8 dereferenceable(26) %13)
  br i1 %14, label %16, label %15

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

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

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

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

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

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

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

34:                                               ; preds = %33, %28
  %35 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %7, i32 0, i32 8
  %36 = load i8, ptr %35, align 8, !tbaa !11
  %37 = zext i8 %36 to i32
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %38, i32 0, i32 8
  %40 = load i8, ptr %39, align 8, !tbaa !11
  %41 = zext 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::IFFPdu", ptr %7, i32 0, i32 9
  %46 = load i8, ptr %45, align 1, !tbaa !32
  %47 = zext i8 %46 to i32
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %48, i32 0, i32 9
  %50 = load i8, ptr %49, align 1, !tbaa !32
  %51 = zext i8 %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::IFFPdu", ptr %7, i32 0, i32 10
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %56, i32 0, i32 10
  %58 = call noundef zeroext i1 @_ZNK3DIS26FundamentalOperationalDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %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::IFFPdu", ptr %7, i32 0, i32 11
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %62, i32 0, i32 11
  %64 = call noundef zeroext i1 @_ZNK3DIS11LayerHeadereqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %61, ptr noundef nonnull align 8 dereferenceable(12) %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::IFFPdu", ptr %7, i32 0, i32 12
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %68, i32 0, i32 12
  %70 = call noundef zeroext i1 @_ZNK3DIS8BeamDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(28) %67, ptr noundef nonnull align 8 dereferenceable(28) %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::IFFPdu", ptr %7, i32 0, i32 13
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %74, i32 0, i32 13
  %76 = call noundef zeroext i1 @_ZNK3DIS24SecondaryOperationalDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %73, ptr noundef nonnull align 8 dereferenceable(12) %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
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !33
  br label %79

79:                                               ; preds = %96, %78
  %80 = load i64, ptr %6, align 8, !tbaa !33
  %81 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %7, i32 0, i32 14
  %82 = call noundef i64 @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %81) #4
  %83 = icmp ult i64 %80, %82
  br i1 %83, label %85, label %84

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

85:                                               ; preds = %79
  %86 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %7, i32 0, i32 14
  %87 = load i64, ptr %6, align 8, !tbaa !33
  %88 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %87) #4
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %"class.DIS::IFFPdu", ptr %89, i32 0, i32 14
  %91 = load i64, ptr %6, align 8, !tbaa !33
  %92 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #4
  %93 = call noundef zeroext i1 @_ZNK3DIS27IFFFundamentalParameterDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef nonnull align 8 dereferenceable(32) %92)
  br i1 %93, label %95, label %94

94:                                               ; preds = %85
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %95

95:                                               ; preds = %94, %85
  br label %96

96:                                               ; preds = %95
  %97 = load i64, ptr %6, align 8, !tbaa !33
  %98 = add i64 %97, 1
  store i64 %98, ptr %6, align 8, !tbaa !33
  br label %79, !llvm.loop !35

99:                                               ; preds = %84
  %100 = load i8, ptr %5, align 1, !tbaa !9, !range !37, !noundef !38
  %101 = trunc i8 %100 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %101
}

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(26), ptr noundef nonnull align 8 dereferenceable(26)) #3

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

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

declare noundef zeroext i1 @_ZNK3DIS16SystemIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(15), ptr noundef nonnull align 8 dereferenceable(15)) #3

declare noundef zeroext i1 @_ZNK3DIS26FundamentalOperationalDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare noundef zeroext i1 @_ZNK3DIS8BeamDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) #3

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

declare noundef zeroext i1 @_ZNK3DIS27IFFFundamentalParameterDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #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 136}
!12 = !{!"_ZTSN3DIS6IFFPduE", !13, i64 0, !18, i64 24, !20, i64 56, !21, i64 88, !16, i64 112, !23, i64 120, !7, i64 136, !7, i64 137, !24, i64 144, !25, i64 168, !26, i64 184, !27, i64 216, !28, i64 232}
!13 = !{!"_ZTSN3DIS29DistributedEmissionsFamilyPduE", !14, i64 0}
!14 = !{!"_ZTSN3DIS3PduE", !15, i64 0, !7, i64 18, !7, i64 19}
!15 = !{!"_ZTSN3DIS13PduSuperclassE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !16, i64 12, !17, i64 16}
!16 = !{!"int", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTSN3DIS8EntityIDE", !19, i64 8, !17, i64 24}
!19 = !{!"_ZTSN3DIS17SimulationAddressE", !17, i64 8, !17, i64 10}
!20 = !{!"_ZTSN3DIS15EventIdentifierE", !19, i64 8, !17, i64 24}
!21 = !{!"_ZTSN3DIS12Vector3FloatE", !22, i64 8, !22, i64 12, !22, i64 16}
!22 = !{!"float", !7, i64 0}
!23 = !{!"_ZTSN3DIS16SystemIdentifierE", !17, i64 8, !17, i64 10, !17, i64 12, !7, i64 14}
!24 = !{!"_ZTSN3DIS26FundamentalOperationalDataE", !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20, !17, i64 22}
!25 = !{!"_ZTSN3DIS11LayerHeaderE", !7, i64 8, !7, i64 9, !17, i64 10}
!26 = !{!"_ZTSN3DIS8BeamDataE", !22, i64 8, !22, i64 12, !22, i64 16, !22, i64 20, !22, i64 24}
!27 = !{!"_ZTSN3DIS24SecondaryOperationalDataE", !7, i64 8, !7, i64 9, !17, i64 10}
!28 = !{!"_ZTSSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIN3DIS27IFFFundamentalParameterDataESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN3DIS27IFFFundamentalParameterDataESaIS1_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN3DIS27IFFFundamentalParameterDataESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!12, !7, i64 137}
!33 = !{!34, !34, i64 0}
!34 = !{!"long", !7, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{i8 0, i8 2}
!38 = !{}


; 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 @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_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(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_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 @_ZNK3DIS6IFFPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(256) %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(26) %4, ptr noundef nonnull align 8 dereferenceable(26) %5)
  %narrow = and i1 %3, %6
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  %8 = getelementptr inbounds i8, ptr %1, i64 56
  %9 = tail call noundef zeroext i1 @_ZNK3DIS15EventIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %7, ptr noundef nonnull align 8 dereferenceable(26) %8)
  %narrow19 = and i1 %9, %narrow
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = getelementptr inbounds i8, ptr %1, i64 88
  %12 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %10, ptr noundef nonnull align 8 dereferenceable(20) %11)
  %narrow20 = and i1 %12, %narrow19
  %13 = getelementptr inbounds i8, ptr %0, i64 120
  %14 = getelementptr inbounds i8, ptr %1, i64 120
  %15 = tail call noundef zeroext i1 @_ZNK3DIS16SystemIdentifiereqERKS0_(ptr noundef nonnull align 8 dereferenceable(15) %13, ptr noundef nonnull align 8 dereferenceable(15) %14)
  %narrow21 = and i1 %15, %narrow20
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = getelementptr inbounds i8, ptr %1, i64 136
  %18 = load <2 x i8>, ptr %16, align 8, !tbaa !5
  %19 = load <2 x i8>, ptr %17, align 8, !tbaa !5
  %20 = icmp eq <2 x i8> %18, %19
  %21 = extractelement <2 x i1> %20, i64 0
  %narrow22 = and i1 %narrow21, %21
  %22 = getelementptr inbounds i8, ptr %0, i64 144
  %23 = getelementptr inbounds i8, ptr %1, i64 144
  %24 = tail call noundef zeroext i1 @_ZNK3DIS26FundamentalOperationalDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %23)
  %25 = getelementptr inbounds i8, ptr %0, i64 168
  %26 = getelementptr inbounds i8, ptr %1, i64 168
  %27 = tail call noundef zeroext i1 @_ZNK3DIS11LayerHeadereqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %25, ptr noundef nonnull align 8 dereferenceable(12) %26)
  %28 = and i1 %24, %27
  %29 = getelementptr inbounds i8, ptr %0, i64 184
  %30 = getelementptr inbounds i8, ptr %1, i64 184
  %31 = tail call noundef zeroext i1 @_ZNK3DIS8BeamDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(28) %29, ptr noundef nonnull align 8 dereferenceable(28) %30)
  %32 = and i1 %31, %28
  %33 = getelementptr inbounds i8, ptr %0, i64 216
  %34 = getelementptr inbounds i8, ptr %1, i64 216
  %35 = tail call noundef zeroext i1 @_ZNK3DIS24SecondaryOperationalDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %33, ptr noundef nonnull align 8 dereferenceable(12) %34)
  %36 = and i1 %35, %32
  %37 = extractelement <2 x i1> %20, i64 1
  %38 = select i1 %36, i1 %37, i1 false
  %narrow27 = select i1 %38, i1 %narrow22, i1 false
  %39 = getelementptr inbounds i8, ptr %0, i64 232
  %40 = tail call noundef i64 @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #3
  %.not = icmp eq i64 %40, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %41 = getelementptr inbounds i8, ptr %1, i64 232
  br label %42

._crit_edge:                                      ; preds = %42, %2
  %.10.lcssa = phi i1 [ %narrow27, %2 ], [ %spec.select18, %42 ]
  ret i1 %.10.lcssa

42:                                               ; preds = %.lr.ph, %42
  %.029 = phi i64 [ 0, %.lr.ph ], [ %46, %42 ]
  %.1028 = phi i1 [ %narrow27, %.lr.ph ], [ %spec.select18, %42 ]
  %43 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %.029) #3
  %44 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %.029) #3
  %45 = tail call noundef zeroext i1 @_ZNK3DIS27IFFFundamentalParameterDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %44)
  %spec.select18 = select i1 %45, i1 %.1028, i1 false
  %46 = add nuw i64 %.029, 1
  %47 = tail call noundef i64 @_ZNKSt6vectorIN3DIS27IFFFundamentalParameterDataESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #3
  %48 = icmp ult i64 %46, %47
  br i1 %48, label %42, label %._crit_edge, !llvm.loop !8
}

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(26), ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #2

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZNK3DIS27IFFFundamentalParameterDataeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) 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, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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