; LLVM IR from bqi343/cp-notebook :: Contests/USACO Solutions/2013-14/Jan 2014/14 Jan G1.ll (Z2inSt4pairIxxE)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i64, i64 }

@lo = external dso_local global %"class.std::vector", align 8
@hi = external dso_local global %"class.std::vector", align 8
@cur1 = external dso_local global i32, align 4
@cur2 = external dso_local global i32, align 4

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5aboveSt4pairIxxES0_S0_(i64, i64, i64, i64, i64, i64) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5belowSt4pairIxxES0_S0_(i64, i64, i64, i64, i64, i64) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z2inSt4pairIxxE(i64 %0, i64 %1) #2 {
  %3 = alloca i1, align 1
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca %"struct.std::pair", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca %"struct.std::pair", align 8
  %11 = getelementptr inbounds { i64, i64 }, ptr %4, i32 0, i32 0
  store i64 %0, ptr %11, align 8
  %12 = getelementptr inbounds { i64, i64 }, ptr %4, i32 0, i32 1
  store i64 %1, ptr %12, align 8
  %13 = getelementptr inbounds %"struct.std::pair", ptr %4, i32 0, i32 0
  %14 = load i64, ptr %13, align 8, !tbaa !5
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef 0) #3
  %16 = getelementptr inbounds %"struct.std::pair", ptr %15, i32 0, i32 0
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = icmp slt i64 %14, %17
  br i1 %18, label %28, label %19

19:                                               ; preds = %2
  %20 = getelementptr inbounds %"struct.std::pair", ptr %4, i32 0, i32 0
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %22 = call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @lo) #3
  %23 = sub i64 %22, 1
  %24 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %23) #3
  %25 = getelementptr inbounds %"struct.std::pair", ptr %24, i32 0, i32 0
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = icmp sgt i64 %21, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %19, %2
  store i1 false, ptr %3, align 1
  br label %118

29:                                               ; preds = %19
  br label %30

30:                                               ; preds = %48, %29
  %31 = load i32, ptr @cur1, align 4, !tbaa !10
  %32 = sext i32 %31 to i64
  %33 = call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @lo) #3
  %34 = sub i64 %33, 2
  %35 = icmp ult i64 %32, %34
  br i1 %35, label %36, label %46

36:                                               ; preds = %30
  %37 = load i32, ptr @cur1, align 4, !tbaa !10
  %38 = add nsw i32 %37, 1
  %39 = sext i32 %38 to i64
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %39) #3
  %41 = getelementptr inbounds %"struct.std::pair", ptr %40, i32 0, i32 0
  %42 = load i64, ptr %41, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.std::pair", ptr %4, i32 0, i32 0
  %44 = load i64, ptr %43, align 8, !tbaa !5
  %45 = icmp sle i64 %42, %44
  br label %46

46:                                               ; preds = %36, %30
  %47 = phi i1 [ false, %30 ], [ %45, %36 ]
  br i1 %47, label %48, label %51

48:                                               ; preds = %46
  %49 = load i32, ptr @cur1, align 4, !tbaa !10
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr @cur1, align 4, !tbaa !10
  br label %30, !llvm.loop !12

51:                                               ; preds = %46
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %4, i64 16, i1 false)
  %52 = load i32, ptr @cur1, align 4, !tbaa !10
  %53 = sext i32 %52 to i64
  %54 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %53) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %6, ptr align 8 %54, i64 16, i1 false)
  %55 = load i32, ptr @cur1, align 4, !tbaa !10
  %56 = add nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %57) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %58, i64 16, i1 false)
  %59 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 0
  %60 = load i64, ptr %59, align 8
  %61 = getelementptr inbounds { i64, i64 }, ptr %5, i32 0, i32 1
  %62 = load i64, ptr %61, align 8
  %63 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 0
  %64 = load i64, ptr %63, align 8
  %65 = getelementptr inbounds { i64, i64 }, ptr %6, i32 0, i32 1
  %66 = load i64, ptr %65, align 8
  %67 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
  %68 = load i64, ptr %67, align 8
  %69 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
  %70 = load i64, ptr %69, align 8
  %71 = call noundef zeroext i1 @_Z5aboveSt4pairIxxES0_S0_(i64 %60, i64 %62, i64 %64, i64 %66, i64 %68, i64 %70)
  br i1 %71, label %73, label %72

72:                                               ; preds = %51
  store i1 false, ptr %3, align 1
  br label %118

73:                                               ; preds = %51
  br label %74

74:                                               ; preds = %92, %73
  %75 = load i32, ptr @cur2, align 4, !tbaa !10
  %76 = sext i32 %75 to i64
  %77 = call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @hi) #3
  %78 = sub i64 %77, 2
  %79 = icmp ult i64 %76, %78
  br i1 %79, label %80, label %90

80:                                               ; preds = %74
  %81 = load i32, ptr @cur2, align 4, !tbaa !10
  %82 = add nsw i32 %81, 1
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %83) #3
  %85 = getelementptr inbounds %"struct.std::pair", ptr %84, i32 0, i32 0
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.std::pair", ptr %4, i32 0, i32 0
  %88 = load i64, ptr %87, align 8, !tbaa !5
  %89 = icmp sle i64 %86, %88
  br label %90

90:                                               ; preds = %80, %74
  %91 = phi i1 [ false, %74 ], [ %89, %80 ]
  br i1 %91, label %92, label %95

92:                                               ; preds = %90
  %93 = load i32, ptr @cur2, align 4, !tbaa !10
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr @cur2, align 4, !tbaa !10
  br label %74, !llvm.loop !14

95:                                               ; preds = %90
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 %4, i64 16, i1 false)
  %96 = load i32, ptr @cur2, align 4, !tbaa !10
  %97 = sext i32 %96 to i64
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %97) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %98, i64 16, i1 false)
  %99 = load i32, ptr @cur2, align 4, !tbaa !10
  %100 = add nsw i32 %99, 1
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %101) #3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %102, i64 16, i1 false)
  %103 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 0
  %104 = load i64, ptr %103, align 8
  %105 = getelementptr inbounds { i64, i64 }, ptr %8, i32 0, i32 1
  %106 = load i64, ptr %105, align 8
  %107 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 0
  %108 = load i64, ptr %107, align 8
  %109 = getelementptr inbounds { i64, i64 }, ptr %9, i32 0, i32 1
  %110 = load i64, ptr %109, align 8
  %111 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 0
  %112 = load i64, ptr %111, align 8
  %113 = getelementptr inbounds { i64, i64 }, ptr %10, i32 0, i32 1
  %114 = load i64, ptr %113, align 8
  %115 = call noundef zeroext i1 @_Z5belowSt4pairIxxES0_S0_(i64 %104, i64 %106, i64 %108, i64 %110, i64 %112, i64 %114)
  br i1 %115, label %117, label %116

116:                                              ; preds = %95
  store i1 false, ptr %3, align 1
  br label %118

117:                                              ; preds = %95
  store i1 true, ptr %3, align 1
  br label %118

118:                                              ; preds = %117, %116, %72, %28
  %119 = load i1, ptr %3, align 1
  ret i1 %119
}

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 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 = { 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, !7, i64 0}
!6 = !{!"_ZTSSt4pairIxxE", !7, i64 0, !7, i64 8}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@lo = external dso_local global %"class.std::vector", align 8
@hi = external dso_local global %"class.std::vector", align 8
@cur1 = external dso_local local_unnamed_addr global i32, align 4
@cur2 = external dso_local local_unnamed_addr global i32, align 4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5aboveSt4pairIxxES0_S0_(i64, i64, i64, i64, i64, i64) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5belowSt4pairIxxES0_S0_(i64, i64, i64, i64, i64, i64) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z2inSt4pairIxxE(i64 %0, i64 %1) local_unnamed_addr #1 {
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef 0) #2
  %4 = load i64, ptr %3, align 8, !tbaa !5
  %5 = icmp sgt i64 %4, %0
  br i1 %5, label %62, label %6

6:                                                ; preds = %2
  %7 = tail call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @lo) #2
  %8 = add i64 %7, -1
  %9 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %8) #2
  %10 = load i64, ptr %9, align 8, !tbaa !5
  %11 = icmp slt i64 %10, %0
  br i1 %11, label %62, label %.preheader22

.preheader22:                                     ; preds = %6
  %12 = load i32, ptr @cur1, align 4, !tbaa !10
  %13 = sext i32 %12 to i64
  %14 = tail call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @lo) #2
  %15 = add i64 %14, -2
  %16 = icmp ugt i64 %15, %13
  br i1 %16, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %.preheader22, %22
  %17 = load i32, ptr @cur1, align 4, !tbaa !10
  %18 = add nsw i32 %17, 1
  %19 = sext i32 %18 to i64
  %20 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %19) #2
  %21 = load i64, ptr %20, align 8, !tbaa !5
  %.not = icmp sgt i64 %21, %0
  br i1 %.not, label %.critedge, label %22

22:                                               ; preds = %.lr.ph
  %23 = load i32, ptr @cur1, align 4, !tbaa !10
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @cur1, align 4, !tbaa !10
  %25 = sext i32 %24 to i64
  %26 = tail call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @lo) #2
  %27 = add i64 %26, -2
  %28 = icmp ugt i64 %27, %25
  br i1 %28, label %.lr.ph, label %.critedge, !llvm.loop !12

.critedge:                                        ; preds = %.lr.ph, %22, %.preheader22
  %29 = load i32, ptr @cur1, align 4, !tbaa !10
  %30 = sext i32 %29 to i64
  %31 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %30) #2
  %.sroa.09.0.copyload = load i64, ptr %31, align 8
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.210.0.copyload = load i64, ptr %.sroa.210.0..sroa_idx, align 8
  %32 = load i32, ptr @cur1, align 4, !tbaa !10
  %33 = add nsw i32 %32, 1
  %34 = sext i32 %33 to i64
  %35 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @lo, i64 noundef %34) #2
  %.sroa.07.0.copyload = load i64, ptr %35, align 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.28.0.copyload = load i64, ptr %.sroa.28.0..sroa_idx, align 8
  %36 = tail call noundef zeroext i1 @_Z5aboveSt4pairIxxES0_S0_(i64 %0, i64 %1, i64 %.sroa.09.0.copyload, i64 %.sroa.210.0.copyload, i64 %.sroa.07.0.copyload, i64 %.sroa.28.0.copyload)
  br i1 %36, label %.preheader, label %62

.preheader:                                       ; preds = %.critedge
  %37 = load i32, ptr @cur2, align 4, !tbaa !10
  %38 = sext i32 %37 to i64
  %39 = tail call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @hi) #2
  %40 = add i64 %39, -2
  %41 = icmp ugt i64 %40, %38
  br i1 %41, label %.lr.ph24, label %.critedge2

.lr.ph24:                                         ; preds = %.preheader, %47
  %42 = load i32, ptr @cur2, align 4, !tbaa !10
  %43 = add nsw i32 %42, 1
  %44 = sext i32 %43 to i64
  %45 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %44) #2
  %46 = load i64, ptr %45, align 8, !tbaa !5
  %.not21 = icmp sgt i64 %46, %0
  br i1 %.not21, label %.critedge2, label %47

47:                                               ; preds = %.lr.ph24
  %48 = load i32, ptr @cur2, align 4, !tbaa !10
  %49 = add nsw i32 %48, 1
  store i32 %49, ptr @cur2, align 4, !tbaa !10
  %50 = sext i32 %49 to i64
  %51 = tail call noundef i64 @_ZNKSt6vectorISt4pairIxxESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @hi) #2
  %52 = add i64 %51, -2
  %53 = icmp ugt i64 %52, %50
  br i1 %53, label %.lr.ph24, label %.critedge2, !llvm.loop !14

.critedge2:                                       ; preds = %.lr.ph24, %47, %.preheader
  %54 = load i32, ptr @cur2, align 4, !tbaa !10
  %55 = sext i32 %54 to i64
  %56 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %55) #2
  %.sroa.03.0.copyload = load i64, ptr %56, align 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %56, i64 8
  %.sroa.24.0.copyload = load i64, ptr %.sroa.24.0..sroa_idx, align 8
  %57 = load i32, ptr @cur2, align 4, !tbaa !10
  %58 = add nsw i32 %57, 1
  %59 = sext i32 %58 to i64
  %60 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt4pairIxxESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @hi, i64 noundef %59) #2
  %.sroa.0.0.copyload = load i64, ptr %60, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %60, i64 8
  %.sroa.2.0.copyload = load i64, ptr %.sroa.2.0..sroa_idx, align 8
  %61 = tail call noundef zeroext i1 @_Z5belowSt4pairIxxES0_S0_(i64 %0, i64 %1, i64 %.sroa.03.0.copyload, i64 %.sroa.24.0.copyload, i64 %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload)
  br label %62

62:                                               ; preds = %.critedge2, %.critedge, %2, %6
  %.0 = phi i1 [ false, %6 ], [ false, %2 ], [ false, %.critedge ], [ %61, %.critedge2 ]
  ret i1 %.0
}

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 = { 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, !7, i64 0}
!6 = !{!"_ZTSSt4pairIxxE", !7, i64 0, !7, i64 8}
!7 = !{!"long long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass