; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7 (ArealObjectStatePdu)

; 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::ArealObjectStatePdu" = type { %"class.DIS::SyntheticEnvironmentFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EntityID", i16, i8, i8, %"class.DIS::EntityType", i32, i16, i16, %"class.DIS::SimulationAddress", %"class.DIS::SimulationAddress", %"class.std::vector" }
%"class.DIS::SyntheticEnvironmentFamilyPdu.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::EntityType" = type { ptr, i8, i8, i16, i8, i8, i8, i8 }
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::Vector3Double, std::allocator<DIS::Vector3Double>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::Vector3Double, std::allocator<DIS::Vector3Double>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::Vector3Double, std::allocator<DIS::Vector3Double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::Vector3Double, std::allocator<DIS::Vector3Double>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_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 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_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 @_ZNK3DIS19ArealObjectStatePdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(176) %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 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(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::ArealObjectStatePdu", ptr %7, i32 0, i32 2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", 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::ArealObjectStatePdu", ptr %7, i32 0, i32 3
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %18, i32 0, i32 3
  %20 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(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::ArealObjectStatePdu", ptr %7, i32 0, i32 4
  %24 = load i16, ptr %23, align 8, !tbaa !11
  %25 = zext i16 %24 to i32
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %26, i32 0, i32 4
  %28 = load i16, ptr %27, align 8, !tbaa !11
  %29 = zext i16 %28 to i32
  %30 = icmp eq i32 %25, %29
  br i1 %30, label %32, label %31

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

32:                                               ; preds = %31, %22
  %33 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 5
  %34 = load i8, ptr %33, align 2, !tbaa !25
  %35 = zext i8 %34 to i32
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %36, i32 0, i32 5
  %38 = load i8, ptr %37, align 2, !tbaa !25
  %39 = zext i8 %38 to i32
  %40 = icmp eq i32 %35, %39
  br i1 %40, label %42, label %41

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

42:                                               ; preds = %41, %32
  %43 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 6
  %44 = load i8, ptr %43, align 1, !tbaa !26
  %45 = zext i8 %44 to i32
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %46, i32 0, i32 6
  %48 = load i8, ptr %47, align 1, !tbaa !26
  %49 = zext i8 %48 to i32
  %50 = icmp eq i32 %45, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %42
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %52

52:                                               ; preds = %51, %42
  %53 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 7
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %54, i32 0, i32 7
  %56 = call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %55)
  br i1 %56, label %58, label %57

57:                                               ; preds = %52
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %58

58:                                               ; preds = %57, %52
  %59 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 8
  %60 = load i32, ptr %59, align 8, !tbaa !27
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %61, i32 0, i32 8
  %63 = load i32, ptr %62, align 8, !tbaa !27
  %64 = icmp eq i32 %60, %63
  br i1 %64, label %66, label %65

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

66:                                               ; preds = %65, %58
  %67 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 9
  %68 = load i16, ptr %67, align 4, !tbaa !28
  %69 = zext i16 %68 to i32
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %70, i32 0, i32 9
  %72 = load i16, ptr %71, align 4, !tbaa !28
  %73 = zext i16 %72 to i32
  %74 = icmp eq i32 %69, %73
  br i1 %74, label %76, label %75

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

76:                                               ; preds = %75, %66
  %77 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 11
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %78, i32 0, i32 11
  %80 = call noundef zeroext i1 @_ZNK3DIS17SimulationAddresseqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %77, ptr noundef nonnull align 8 dereferenceable(12) %79)
  br i1 %80, label %82, label %81

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

82:                                               ; preds = %81, %76
  %83 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 12
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %84, i32 0, i32 12
  %86 = call noundef zeroext i1 @_ZNK3DIS17SimulationAddresseqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %83, ptr noundef nonnull align 8 dereferenceable(12) %85)
  br i1 %86, label %88, label %87

87:                                               ; preds = %82
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %88

88:                                               ; preds = %87, %82
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !29
  br label %89

89:                                               ; preds = %106, %88
  %90 = load i64, ptr %6, align 8, !tbaa !29
  %91 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 13
  %92 = call noundef i64 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #4
  %93 = icmp ult i64 %90, %92
  br i1 %93, label %95, label %94

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

95:                                               ; preds = %89
  %96 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %7, i32 0, i32 13
  %97 = load i64, ptr %6, align 8, !tbaa !29
  %98 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %97) #4
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %"class.DIS::ArealObjectStatePdu", ptr %99, i32 0, i32 13
  %101 = load i64, ptr %6, align 8, !tbaa !29
  %102 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %100, i64 noundef %101) #4
  %103 = call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef nonnull align 8 dereferenceable(32) %102)
  br i1 %103, label %105, label %104

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

105:                                              ; preds = %104, %95
  br label %106

106:                                              ; preds = %105
  %107 = load i64, ptr %6, align 8, !tbaa !29
  %108 = add i64 %107, 1
  store i64 %108, ptr %6, align 8, !tbaa !29
  br label %89, !llvm.loop !31

109:                                              ; preds = %94
  %110 = load i8, ptr %5, align 1, !tbaa !9, !range !33, !noundef !34
  %111 = trunc i8 %110 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #4
  ret i1 %111
}

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

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

declare noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(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, !17, i64 88}
!12 = !{!"_ZTSN3DIS19ArealObjectStatePduE", !13, i64 0, !18, i64 24, !18, i64 56, !17, i64 88, !7, i64 90, !7, i64 91, !20, i64 96, !16, i64 112, !17, i64 116, !17, i64 118, !19, i64 120, !19, i64 136, !21, i64 152}
!13 = !{!"_ZTSN3DIS29SyntheticEnvironmentFamilyPduE", !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 = !{!"_ZTSN3DIS10EntityTypeE", !7, i64 8, !7, i64 9, !17, i64 10, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15}
!21 = !{!"_ZTSSt6vectorIN3DIS13Vector3DoubleESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!12, !7, i64 90}
!26 = !{!12, !7, i64 91}
!27 = !{!12, !16, i64 112}
!28 = !{!12, !17, i64 116}
!29 = !{!30, !30, i64 0}
!30 = !{!"long", !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{i8 0, i8 2}
!34 = !{}


; 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 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_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 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_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 @_ZNK3DIS19ArealObjectStatePdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull align 8 dereferenceable(176) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS29SyntheticEnvironmentFamilyPdueqERKS0_(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 @_ZNK3DIS8EntityIDeqERKS0_(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 = load i16, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 88
  %13 = load i16, ptr %12, align 8, !tbaa !5
  %14 = icmp eq i16 %11, %13
  %narrow20 = and i1 %narrow19, %14
  %15 = getelementptr inbounds i8, ptr %0, i64 90
  %16 = load i8, ptr %15, align 2, !tbaa !22
  %17 = getelementptr inbounds i8, ptr %1, i64 90
  %18 = load i8, ptr %17, align 2, !tbaa !22
  %19 = icmp eq i8 %16, %18
  %20 = getelementptr inbounds i8, ptr %0, i64 91
  %21 = load i8, ptr %20, align 1, !tbaa !23
  %22 = getelementptr inbounds i8, ptr %1, i64 91
  %23 = load i8, ptr %22, align 1, !tbaa !23
  %24 = icmp eq i8 %21, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 96
  %26 = getelementptr inbounds i8, ptr %1, i64 96
  %27 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %28 = getelementptr inbounds i8, ptr %0, i64 112
  %29 = load i32, ptr %28, align 8, !tbaa !24
  %30 = getelementptr inbounds i8, ptr %1, i64 112
  %31 = load i32, ptr %30, align 8, !tbaa !24
  %32 = icmp eq i32 %29, %31
  %33 = and i1 %27, %32
  %34 = getelementptr inbounds i8, ptr %0, i64 116
  %35 = load i16, ptr %34, align 4, !tbaa !25
  %36 = getelementptr inbounds i8, ptr %1, i64 116
  %37 = load i16, ptr %36, align 4, !tbaa !25
  %38 = icmp eq i16 %35, %37
  %39 = getelementptr inbounds i8, ptr %0, i64 120
  %40 = getelementptr inbounds i8, ptr %1, i64 120
  %41 = tail call noundef zeroext i1 @_ZNK3DIS17SimulationAddresseqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %39, ptr noundef nonnull align 8 dereferenceable(12) %40)
  %42 = getelementptr inbounds i8, ptr %0, i64 136
  %43 = getelementptr inbounds i8, ptr %1, i64 136
  %44 = tail call noundef zeroext i1 @_ZNK3DIS17SimulationAddresseqERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %42, ptr noundef nonnull align 8 dereferenceable(12) %43)
  %45 = and i1 %41, %44
  %46 = select i1 %45, i1 %38, i1 false
  %47 = select i1 %46, i1 %33, i1 false
  %48 = select i1 %47, i1 %24, i1 false
  %49 = select i1 %48, i1 %19, i1 false
  %narrow27 = select i1 %49, i1 %narrow20, i1 false
  %50 = getelementptr inbounds i8, ptr %0, i64 152
  %51 = tail call noundef i64 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #3
  %.not = icmp eq i64 %51, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

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

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

53:                                               ; preds = %.lr.ph, %53
  %.029 = phi i64 [ 0, %.lr.ph ], [ %57, %53 ]
  %.1028 = phi i1 [ %narrow27, %.lr.ph ], [ %spec.select18, %53 ]
  %54 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %50, i64 noundef %.029) #3
  %55 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %.029) #3
  %56 = tail call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %55)
  %spec.select18 = select i1 %56, i1 %.1028, i1 false
  %57 = add nuw i64 %.029, 1
  %58 = tail call noundef i64 @_ZNKSt6vectorIN3DIS13Vector3DoubleESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #3
  %59 = icmp ult i64 %57, %58
  br i1 %59, label %53, label %._crit_edge, !llvm.loop !26
}

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

declare noundef zeroext i1 @_ZNK3DIS17SimulationAddresseqERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) 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

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, !13, i64 88}
!6 = !{!"_ZTSN3DIS19ArealObjectStatePduE", !7, i64 0, !14, i64 24, !14, i64 56, !13, i64 88, !10, i64 90, !10, i64 91, !16, i64 96, !12, i64 112, !13, i64 116, !13, i64 118, !15, i64 120, !15, i64 136, !17, i64 152}
!7 = !{!"_ZTSN3DIS29SyntheticEnvironmentFamilyPduE", !8, i64 0}
!8 = !{!"_ZTSN3DIS3PduE", !9, i64 0, !10, i64 18, !10, i64 19}
!9 = !{!"_ZTSN3DIS13PduSuperclassE", !10, i64 8, !10, i64 9, !10, i64 10, !10, i64 11, !12, i64 12, !13, i64 16}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"short", !10, i64 0}
!14 = !{!"_ZTSN3DIS8EntityIDE", !15, i64 8, !13, i64 24}
!15 = !{!"_ZTSN3DIS17SimulationAddressE", !13, i64 8, !13, i64 10}
!16 = !{!"_ZTSN3DIS10EntityTypeE", !10, i64 8, !10, i64 9, !13, i64 10, !10, i64 12, !10, i64 13, !10, i64 14, !10, i64 15}
!17 = !{!"_ZTSSt6vectorIN3DIS13Vector3DoubleESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN3DIS13Vector3DoubleESaIS1_EE17_Vector_impl_dataE", !21, i64 0, !21, i64 8, !21, i64 16}
!21 = !{!"any pointer", !10, i64 0}
!22 = !{!6, !10, i64 90}
!23 = !{!6, !10, i64 91}
!24 = !{!6, !12, i64 112}
!25 = !{!6, !13, i64 116}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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