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

; 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::MinefieldQueryPdu" = type { %"class.DIS::MinefieldFamilyPdu.base", [4 x i8], %"class.DIS::EntityID", %"class.DIS::EntityID", i8, i8, i8, i8, i32, %"class.DIS::EntityType", %"class.std::vector", %"class.std::vector.0" }
%"class.DIS::MinefieldFamilyPdu.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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<DIS::Point, std::allocator<DIS::Point>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::Point, std::allocator<DIS::Point>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::Point, std::allocator<DIS::Point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::Point, std::allocator<DIS::Point>>::_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::TwoByteChunk, std::allocator<DIS::TwoByteChunk>>::_Vector_impl" }
%"struct.std::_Vector_base<DIS::TwoByteChunk, std::allocator<DIS::TwoByteChunk>>::_Vector_impl" = type { %"struct.std::_Vector_base<DIS::TwoByteChunk, std::allocator<DIS::TwoByteChunk>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DIS::TwoByteChunk, std::allocator<DIS::TwoByteChunk>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

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

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

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

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

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

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

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

43:                                               ; preds = %42, %33
  %44 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %8, i32 0, i32 8
  %45 = load i32, ptr %44, align 4, !tbaa !28
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %46, i32 0, i32 8
  %48 = load i32, ptr %47, align 4, !tbaa !28
  %49 = icmp eq i32 %45, %48
  br i1 %49, label %51, label %50

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

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

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

57:                                               ; preds = %56, %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !29
  br label %58

58:                                               ; preds = %75, %57
  %59 = load i64, ptr %6, align 8, !tbaa !29
  %60 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %8, i32 0, i32 10
  %61 = call noundef i64 @_ZNKSt6vectorIN3DIS5PointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #4
  %62 = icmp ult i64 %59, %61
  br i1 %62, label %64, label %63

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

64:                                               ; preds = %58
  %65 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %8, i32 0, i32 10
  %66 = load i64, ptr %6, align 8, !tbaa !29
  %67 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS5PointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %66) #4
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %68, i32 0, i32 10
  %70 = load i64, ptr %6, align 8, !tbaa !29
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS5PointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef %70) #4
  %72 = call noundef zeroext i1 @_ZNK3DIS5PointeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(16) %71)
  br i1 %72, label %74, label %73

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

74:                                               ; preds = %73, %64
  br label %75

75:                                               ; preds = %74
  %76 = load i64, ptr %6, align 8, !tbaa !29
  %77 = add i64 %76, 1
  store i64 %77, ptr %6, align 8, !tbaa !29
  br label %58, !llvm.loop !31

78:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !29
  br label %79

79:                                               ; preds = %96, %78
  %80 = load i64, ptr %7, align 8, !tbaa !29
  %81 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %8, i32 0, i32 11
  %82 = call noundef i64 @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_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 %7) #4
  br label %99

85:                                               ; preds = %79
  %86 = getelementptr inbounds %"class.DIS::MinefieldQueryPdu", ptr %8, i32 0, i32 11
  %87 = load i64, ptr %7, align 8, !tbaa !29
  %88 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_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::MinefieldQueryPdu", ptr %89, i32 0, i32 11
  %91 = load i64, ptr %7, align 8, !tbaa !29
  %92 = call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %90, i64 noundef %91) #4
  %93 = call noundef zeroext i1 @_ZNK3DIS12TwoByteChunkeqERKS0_(ptr noundef nonnull align 8 dereferenceable(10) %88, ptr noundef nonnull align 8 dereferenceable(10) %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 %7, align 8, !tbaa !29
  %98 = add i64 %97, 1
  store i64 %98, ptr %7, align 8, !tbaa !29
  br label %79, !llvm.loop !33

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

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

declare noundef zeroext i1 @_ZNK3DIS12TwoByteChunkeqERKS0_(ptr noundef nonnull align 8 dereferenceable(10), ptr noundef nonnull align 8 dereferenceable(10)) #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 = !{!"_ZTSN3DIS17MinefieldQueryPduE", !13, i64 0, !17, i64 24, !17, i64 40, !7, i64 56, !7, i64 57, !7, i64 58, !7, i64 59, !15, i64 60, !18, i64 64, !19, i64 80, !23, i64 104}
!13 = !{!"_ZTSN3DIS18MinefieldFamilyPduE", !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 = !{!"_ZTSSt6vectorIN3DIS5PointESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN3DIS5PointESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN3DIS5PointESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS5PointESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!"_ZTSSt6vectorIN3DIS12TwoByteChunkESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!27 = !{!12, !7, i64 58}
!28 = !{!12, !15, i64 60}
!29 = !{!30, !30, i64 0}
!30 = !{!"long", !7, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = !{i8 0, i8 2}
!35 = !{}


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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_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 @_ZNKSt6vectorIN3DIS5PointESaIS1_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(10) ptr @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_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 @_ZNK3DIS17MinefieldQueryPdueqERKS0_(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull align 8 dereferenceable(128) %1) local_unnamed_addr #1 align 2 {
  %3 = tail call noundef zeroext i1 @_ZNK3DIS18MinefieldFamilyPdueqERKS0_(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 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(14) %7, ptr noundef nonnull align 8 dereferenceable(14) %8)
  %narrow22 = 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
  %narrow23 = and i1 %narrow22, %14
  %15 = getelementptr inbounds i8, ptr %0, i64 58
  %16 = load i8, ptr %15, align 2, !tbaa !24
  %17 = getelementptr inbounds i8, ptr %1, i64 58
  %18 = load i8, ptr %17, align 2, !tbaa !24
  %19 = icmp eq i8 %16, %18
  %20 = getelementptr inbounds i8, ptr %0, i64 60
  %21 = load i32, ptr %20, align 4, !tbaa !25
  %22 = getelementptr inbounds i8, ptr %1, i64 60
  %23 = load i32, ptr %22, align 4, !tbaa !25
  %24 = icmp eq i32 %21, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 64
  %26 = getelementptr inbounds i8, ptr %1, i64 64
  %27 = tail call noundef zeroext i1 @_ZNK3DIS10EntityTypeeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %28 = select i1 %27, i1 %24, i1 false
  %29 = select i1 %28, i1 %19, i1 false
  %narrow26 = select i1 %29, i1 %narrow23, i1 false
  %30 = getelementptr inbounds i8, ptr %0, i64 80
  %31 = tail call noundef i64 @_ZNKSt6vectorIN3DIS5PointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #3
  %.not = icmp eq i64 %31, 0
  br i1 %.not, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %32 = getelementptr inbounds i8, ptr %1, i64 80
  br label %36

.preheader:                                       ; preds = %36, %2
  %.6.lcssa = phi i1 [ %narrow26, %2 ], [ %spec.select20, %36 ]
  %33 = getelementptr inbounds i8, ptr %0, i64 104
  %34 = tail call noundef i64 @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #3
  %.not33 = icmp eq i64 %34, 0
  br i1 %.not33, label %._crit_edge, label %.lr.ph31

.lr.ph31:                                         ; preds = %.preheader
  %35 = getelementptr inbounds i8, ptr %1, i64 104
  br label %43

36:                                               ; preds = %.lr.ph, %36
  %.01828 = phi i64 [ 0, %.lr.ph ], [ %40, %36 ]
  %.627 = phi i1 [ %narrow26, %.lr.ph ], [ %spec.select20, %36 ]
  %37 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS5PointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %.01828) #3
  %38 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt6vectorIN3DIS5PointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef %.01828) #3
  %39 = tail call noundef zeroext i1 @_ZNK3DIS5PointeqERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %38)
  %spec.select20 = select i1 %39, i1 %.627, i1 false
  %40 = add nuw i64 %.01828, 1
  %41 = tail call noundef i64 @_ZNKSt6vectorIN3DIS5PointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #3
  %42 = icmp ult i64 %40, %41
  br i1 %42, label %36, label %.preheader, !llvm.loop !26

._crit_edge:                                      ; preds = %43, %.preheader
  %.8.lcssa = phi i1 [ %.6.lcssa, %.preheader ], [ %spec.select21, %43 ]
  ret i1 %.8.lcssa

43:                                               ; preds = %.lr.ph31, %43
  %.030 = phi i64 [ 0, %.lr.ph31 ], [ %47, %43 ]
  %.829 = phi i1 [ %.6.lcssa, %.lr.ph31 ], [ %spec.select21, %43 ]
  %44 = tail call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %.030) #3
  %45 = tail call noundef nonnull align 8 dereferenceable(10) ptr @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %.030) #3
  %46 = tail call noundef zeroext i1 @_ZNK3DIS12TwoByteChunkeqERKS0_(ptr noundef nonnull align 8 dereferenceable(10) %44, ptr noundef nonnull align 8 dereferenceable(10) %45)
  %spec.select21 = select i1 %46, i1 %.829, i1 false
  %47 = add nuw i64 %.030, 1
  %48 = tail call noundef i64 @_ZNKSt6vectorIN3DIS12TwoByteChunkESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #3
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %43, label %._crit_edge, !llvm.loop !28
}

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

declare noundef zeroext i1 @_ZNK3DIS12TwoByteChunkeqERKS0_(ptr noundef nonnull align 8 dereferenceable(10), ptr noundef nonnull align 8 dereferenceable(10)) 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 = !{!"_ZTSN3DIS17MinefieldQueryPduE", !7, i64 0, !13, i64 24, !13, i64 40, !9, i64 56, !9, i64 57, !9, i64 58, !9, i64 59, !11, i64 60, !14, i64 64, !15, i64 80, !20, i64 104}
!7 = !{!"_ZTSN3DIS18MinefieldFamilyPduE", !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 = !{!"_ZTSSt6vectorIN3DIS5PointESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3DIS5PointESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3DIS5PointESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3DIS5PointESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !9, i64 0}
!20 = !{!"_ZTSSt6vectorIN3DIS12TwoByteChunkESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN3DIS12TwoByteChunkESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!24 = !{!6, !9, i64 58}
!25 = !{!6, !11, i64 60}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = distinct !{!28, !27}


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