; LLVM IR from DionysiosB/CodeForces :: 0800-0899 (808C-TeaParty)

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

%struct.cup = type { i64, i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl" }
%"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl" = type { %"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11rankCompare3cupS_(ptr noundef byval(%struct.cup) align 8, ptr noundef byval(%struct.cup) align 8) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10capCompare3cupS_(ptr noundef byval(%struct.cup) align 8, ptr noundef byval(%struct.cup) align 8) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca %"class.std::reverse_iterator", align 8
  %15 = alloca %"class.std::reverse_iterator", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %22 = load i64, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @_ZNSaI3cupEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  invoke void @_ZNSt6vectorI3cupSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %22, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %23 unwind label %29

23:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store i64 0, ptr %10, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %52, %23
  %25 = load i64, ptr %10, align 8, !tbaa !5
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = icmp slt i64 %25, %26
  br i1 %27, label %33, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %59

29:                                               ; preds = %0
  %30 = landingpad { ptr, i32 }
          cleanup
  %31 = extractvalue { ptr, i32 } %30, 0
  store ptr %31, ptr %8, align 8
  %32 = extractvalue { ptr, i32 } %30, 1
  store i32 %32, ptr %9, align 4
  call void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %177

33:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %34 = invoke i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %11)
          to label %35 unwind label %55

35:                                               ; preds = %33
  %36 = load i64, ptr %10, align 8, !tbaa !5
  %37 = load i64, ptr %10, align 8, !tbaa !5
  %38 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %37) #6
  %39 = getelementptr inbounds %struct.cup, ptr %38, i32 0, i32 0
  store i64 %36, ptr %39, align 8, !tbaa !9
  %40 = load i64, ptr %11, align 8, !tbaa !5
  %41 = load i64, ptr %10, align 8, !tbaa !5
  %42 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %41) #6
  %43 = getelementptr inbounds %struct.cup, ptr %42, i32 0, i32 1
  store i64 %40, ptr %43, align 8, !tbaa !11
  %44 = load i64, ptr %11, align 8, !tbaa !5
  %45 = add nsw i64 %44, 1
  %46 = sdiv i64 %45, 2
  %47 = load i64, ptr %4, align 8, !tbaa !5
  %48 = add nsw i64 %47, %46
  store i64 %48, ptr %4, align 8, !tbaa !5
  %49 = load i64, ptr %11, align 8, !tbaa !5
  %50 = load i64, ptr %5, align 8, !tbaa !5
  %51 = add nsw i64 %50, %49
  store i64 %51, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %52

52:                                               ; preds = %35
  %53 = load i64, ptr %10, align 8, !tbaa !5
  %54 = add nsw i64 %53, 1
  store i64 %54, ptr %10, align 8, !tbaa !5
  br label %24, !llvm.loop !12

55:                                               ; preds = %33
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %176

59:                                               ; preds = %28
  %60 = load i64, ptr %3, align 8, !tbaa !5
  %61 = load i64, ptr %4, align 8, !tbaa !5
  %62 = icmp slt i64 %60, %61
  br i1 %62, label %67, label %63

63:                                               ; preds = %59
  %64 = load i64, ptr %5, align 8, !tbaa !5
  %65 = load i64, ptr %3, align 8, !tbaa !5
  %66 = icmp slt i64 %64, %65
  br i1 %66, label %67, label %74

67:                                               ; preds = %63, %59
  %68 = invoke i32 @puts(ptr noundef @.str.2)
          to label %69 unwind label %70

69:                                               ; preds = %67
  store i32 0, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %174

70:                                               ; preds = %171, %142, %99, %67
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, align 4
  br label %176

74:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %96, %74
  %76 = load i64, ptr %13, align 8, !tbaa !5
  %77 = load i64, ptr %2, align 8, !tbaa !5
  %78 = icmp slt i64 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %99

80:                                               ; preds = %75
  %81 = load i64, ptr %13, align 8, !tbaa !5
  %82 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %81) #6
  %83 = getelementptr inbounds %struct.cup, ptr %82, i32 0, i32 1
  %84 = load i64, ptr %83, align 8, !tbaa !11
  %85 = add nsw i64 %84, 1
  %86 = sdiv i64 %85, 2
  %87 = load i64, ptr %13, align 8, !tbaa !5
  %88 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %87) #6
  %89 = getelementptr inbounds %struct.cup, ptr %88, i32 0, i32 2
  store i64 %86, ptr %89, align 8, !tbaa !14
  %90 = load i64, ptr %13, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %90) #6
  %92 = getelementptr inbounds %struct.cup, ptr %91, i32 0, i32 2
  %93 = load i64, ptr %92, align 8, !tbaa !14
  %94 = load i64, ptr %3, align 8, !tbaa !5
  %95 = sub nsw i64 %94, %93
  store i64 %95, ptr %3, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %80
  %97 = load i64, ptr %13, align 8, !tbaa !5
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %13, align 8, !tbaa !5
  br label %75, !llvm.loop !15

99:                                               ; preds = %79
  call void @_ZNSt6vectorI3cupSaIS0_EE6rbeginEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @_ZNSt6vectorI3cupSaIS0_EE4rendEv(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  invoke void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS3_SaIS3_EEEEEPFbS3_S3_EEvT_SC_T0_(ptr noundef %14, ptr noundef %15, ptr noundef @_Z10capCompare3cupS_)
          to label %100 unwind label %70

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  store i64 0, ptr %16, align 8, !tbaa !5
  br label %101

101:                                              ; preds = %138, %100
  %102 = load i64, ptr %16, align 8, !tbaa !5
  %103 = load i64, ptr %2, align 8, !tbaa !5
  %104 = icmp slt i64 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 8, ptr %12, align 4
  br label %141

106:                                              ; preds = %101
  %107 = load i64, ptr %3, align 8, !tbaa !5
  %108 = icmp sle i64 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %106
  store i32 8, ptr %12, align 4
  br label %141

110:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %111 = load i64, ptr %16, align 8, !tbaa !5
  %112 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %111) #6
  %113 = getelementptr inbounds %struct.cup, ptr %112, i32 0, i32 1
  %114 = load i64, ptr %113, align 8, !tbaa !11
  %115 = load i64, ptr %16, align 8, !tbaa !5
  %116 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %115) #6
  %117 = getelementptr inbounds %struct.cup, ptr %116, i32 0, i32 2
  %118 = load i64, ptr %117, align 8, !tbaa !14
  %119 = sub nsw i64 %114, %118
  store i64 %119, ptr %17, align 8, !tbaa !5
  %120 = load i64, ptr %17, align 8, !tbaa !5
  %121 = load i64, ptr %3, align 8, !tbaa !5
  %122 = icmp slt i64 %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %110
  %124 = load i64, ptr %17, align 8, !tbaa !5
  br label %127

125:                                              ; preds = %110
  %126 = load i64, ptr %3, align 8, !tbaa !5
  br label %127

127:                                              ; preds = %125, %123
  %128 = phi i64 [ %124, %123 ], [ %126, %125 ]
  store i64 %128, ptr %17, align 8, !tbaa !5
  %129 = load i64, ptr %17, align 8, !tbaa !5
  %130 = load i64, ptr %16, align 8, !tbaa !5
  %131 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %130) #6
  %132 = getelementptr inbounds %struct.cup, ptr %131, i32 0, i32 2
  %133 = load i64, ptr %132, align 8, !tbaa !14
  %134 = add nsw i64 %133, %129
  store i64 %134, ptr %132, align 8, !tbaa !14
  %135 = load i64, ptr %17, align 8, !tbaa !5
  %136 = load i64, ptr %3, align 8, !tbaa !5
  %137 = sub nsw i64 %136, %135
  store i64 %137, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %138

138:                                              ; preds = %127
  %139 = load i64, ptr %16, align 8, !tbaa !5
  %140 = add nsw i64 %139, 1
  store i64 %140, ptr %16, align 8, !tbaa !5
  br label %101, !llvm.loop !16

141:                                              ; preds = %109, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %142

142:                                              ; preds = %141
  %143 = call ptr @_ZNSt6vectorI3cupSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %143, ptr %144, align 8
  %145 = call ptr @_ZNSt6vectorI3cupSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %146 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %145, ptr %146, align 8
  %147 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8
  %149 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %150 = load ptr, ptr %149, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %148, ptr %150, ptr noundef @_Z11rankCompare3cupS_)
          to label %151 unwind label %70

151:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  store i64 0, ptr %20, align 8, !tbaa !5
  br label %152

152:                                              ; preds = %164, %151
  %153 = load i64, ptr %20, align 8, !tbaa !5
  %154 = load i64, ptr %2, align 8, !tbaa !5
  %155 = icmp slt i64 %153, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %152
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %171

157:                                              ; preds = %152
  %158 = load i64, ptr %20, align 8, !tbaa !5
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %158) #6
  %160 = getelementptr inbounds %struct.cup, ptr %159, i32 0, i32 2
  %161 = load i64, ptr %160, align 8, !tbaa !14
  %162 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %161)
          to label %163 unwind label %167

163:                                              ; preds = %157
  br label %164

164:                                              ; preds = %163
  %165 = load i64, ptr %20, align 8, !tbaa !5
  %166 = add nsw i64 %165, 1
  store i64 %166, ptr %20, align 8, !tbaa !5
  br label %152, !llvm.loop !17

167:                                              ; preds = %157
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %8, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %176

171:                                              ; preds = %156
  %172 = invoke i32 @puts(ptr noundef @.str.4)
          to label %173 unwind label %70

173:                                              ; preds = %171
  store i32 0, ptr %1, align 4
  store i32 1, ptr %12, align 4
  br label %174

174:                                              ; preds = %173, %69
  call void @_ZNSt6vectorI3cupSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  %175 = load i32, ptr %1, align 4
  ret i32 %175

176:                                              ; preds = %167, %70, %55
  call void @_ZNSt6vectorI3cupSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %177

177:                                              ; preds = %176, %29
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %178

178:                                              ; preds = %177
  %179 = load ptr, ptr %8, align 8
  %180 = load i32, ptr %9, align 4
  %181 = insertvalue { ptr, i32 } poison, ptr %179, 0
  %182 = insertvalue { ptr, i32 } %181, i32 %180, 1
  resume { ptr, i32 } %182
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI3cupEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

declare i32 @puts(ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS3_SaIS3_EEEEEPFbS3_S3_EEvT_SC_T0_(ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr, ptr, ptr noundef) #5

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

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

declare i32 @printf(ptr noundef, ...) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 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 norecurse 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #5 = { inlinehint 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 #6 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS3cup", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!10, !6, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !6, i64 16}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !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"

%struct.cup = type { i64, i64, i64 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl" }
%"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl" = type { %"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cup, std::allocator<cup>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11rankCompare3cupS_(ptr noundef byval(%struct.cup) align 8, ptr noundef byval(%struct.cup) align 8) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z10capCompare3cupS_(ptr noundef byval(%struct.cup) align 8, ptr noundef byval(%struct.cup) align 8) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca i64, align 8
  %6 = alloca %"class.std::reverse_iterator", align 8
  %7 = alloca %"class.std::reverse_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  %9 = load i64, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #7
  call void @_ZNSaI3cupEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  invoke void @_ZNSt6vectorI3cupSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %9, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %10 unwind label %18

10:                                               ; preds = %0
  call void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  %11 = load i64, ptr %1, align 8, !tbaa !5
  %12 = icmp sgt i64 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge.thread

._crit_edge:                                      ; preds = %.lr.ph
  %13 = load i64, ptr %2, align 8, !tbaa !5
  %14 = icmp slt i64 %13, %28
  %15 = icmp slt i64 %29, %13
  %or.cond = select i1 %14, i1 true, i1 %15
  br i1 %or.cond, label %._crit_edge56, label %.preheader42

._crit_edge.thread:                               ; preds = %10
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %or.cond60.not = icmp eq i64 %16, 0
  br i1 %or.cond60.not, label %._crit_edge49, label %._crit_edge56

.preheader42:                                     ; preds = %._crit_edge
  %17 = icmp sgt i64 %31, 0
  br i1 %17, label %.lr.ph48, label %._crit_edge49

18:                                               ; preds = %0
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #7
  br label %85

.lr.ph:                                           ; preds = %10, %.lr.ph
  %.03045 = phi i64 [ %28, %.lr.ph ], [ 0, %10 ]
  %.03144 = phi i64 [ %29, %.lr.ph ], [ 0, %10 ]
  %.03443 = phi i64 [ %30, %.lr.ph ], [ 0, %10 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %5)
  %21 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03443) #7
  store i64 %.03443, ptr %21, align 8, !tbaa !9
  %22 = load i64, ptr %5, align 8, !tbaa !5
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03443) #7
  %24 = getelementptr inbounds i8, ptr %23, i64 8
  store i64 %22, ptr %24, align 8, !tbaa !11
  %25 = load i64, ptr %5, align 8, !tbaa !5
  %26 = add nsw i64 %25, 1
  %27 = sdiv i64 %26, 2
  %28 = add nsw i64 %27, %.03045
  %29 = add nsw i64 %25, %.03144
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %30 = add nuw nsw i64 %.03443, 1
  %31 = load i64, ptr %1, align 8, !tbaa !5
  %32 = icmp slt i64 %30, %31
  br i1 %32, label %.lr.ph, label %._crit_edge, !llvm.loop !12

33:                                               ; preds = %._crit_edge53, %._crit_edge49
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorI3cupSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  br label %85

._crit_edge49:                                    ; preds = %.lr.ph48, %._crit_edge.thread, %.preheader42
  call void @_ZNSt6vectorI3cupSaIS0_EE6rbeginEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @_ZNSt6vectorI3cupSaIS0_EE4rendEv(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  invoke void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS3_SaIS3_EEEEEPFbS3_S3_EEvT_SC_T0_(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull @_Z10capCompare3cupS_)
          to label %.preheader41 unwind label %33

.preheader41:                                     ; preds = %._crit_edge49
  %35 = load i64, ptr %1, align 8, !tbaa !5
  %36 = icmp slt i64 %35, 1
  %37 = load i64, ptr %2, align 8
  %38 = icmp slt i64 %37, 1
  %or.cond4050 = select i1 %36, i1 true, i1 %38
  br i1 %or.cond4050, label %._crit_edge53, label %.lr.ph52

.lr.ph48:                                         ; preds = %.preheader42, %.lr.ph48
  %.03347 = phi i64 [ %51, %.lr.ph48 ], [ 0, %.preheader42 ]
  %39 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03347) #7
  %40 = getelementptr inbounds i8, ptr %39, i64 8
  %41 = load i64, ptr %40, align 8, !tbaa !11
  %42 = add nsw i64 %41, 1
  %43 = sdiv i64 %42, 2
  %44 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03347) #7
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  store i64 %43, ptr %45, align 8, !tbaa !14
  %46 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03347) #7
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %48 = load i64, ptr %47, align 8, !tbaa !14
  %49 = load i64, ptr %2, align 8, !tbaa !5
  %50 = sub nsw i64 %49, %48
  store i64 %50, ptr %2, align 8, !tbaa !5
  %51 = add nuw nsw i64 %.03347, 1
  %52 = load i64, ptr %1, align 8, !tbaa !5
  %53 = icmp slt i64 %51, %52
  br i1 %53, label %.lr.ph48, label %._crit_edge49, !llvm.loop !15

.lr.ph52:                                         ; preds = %.preheader41, %.lr.ph52
  %.03251 = phi i64 [ %69, %.lr.ph52 ], [ 0, %.preheader41 ]
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03251) #7
  %55 = getelementptr inbounds i8, ptr %54, i64 8
  %56 = load i64, ptr %55, align 8, !tbaa !11
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03251) #7
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  %59 = load i64, ptr %58, align 8, !tbaa !14
  %60 = sub nsw i64 %56, %59
  %61 = load i64, ptr %2, align 8
  %62 = call i64 @llvm.smin.i64(i64 %60, i64 %61)
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.03251) #7
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  %65 = load i64, ptr %64, align 8, !tbaa !14
  %66 = add nsw i64 %65, %62
  store i64 %66, ptr %64, align 8, !tbaa !14
  %67 = load i64, ptr %2, align 8, !tbaa !5
  %68 = sub nsw i64 %67, %62
  store i64 %68, ptr %2, align 8, !tbaa !5
  %69 = add nuw nsw i64 %.03251, 1
  %70 = load i64, ptr %1, align 8, !tbaa !5
  %71 = icmp sge i64 %69, %70
  %72 = icmp slt i64 %68, 1
  %or.cond40 = select i1 %71, i1 true, i1 %72
  br i1 %or.cond40, label %._crit_edge53, label %.lr.ph52, !llvm.loop !16

._crit_edge53:                                    ; preds = %.lr.ph52, %.preheader41
  %73 = call ptr @_ZNSt6vectorI3cupSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  %74 = call ptr @_ZNSt6vectorI3cupSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %73, ptr %74, ptr noundef nonnull @_Z11rankCompare3cupS_)
          to label %.preheader unwind label %33

.preheader:                                       ; preds = %._crit_edge53
  %75 = load i64, ptr %1, align 8, !tbaa !5
  %76 = icmp sgt i64 %75, 0
  br i1 %76, label %.lr.ph55, label %._crit_edge56

.lr.ph55:                                         ; preds = %.preheader, %.lr.ph55
  %.054 = phi i64 [ %81, %.lr.ph55 ], [ 0, %.preheader ]
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI3cupSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %.054) #7
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = load i64, ptr %78, align 8, !tbaa !14
  %80 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i64 noundef %79)
  %81 = add nuw nsw i64 %.054, 1
  %82 = load i64, ptr %1, align 8, !tbaa !5
  %83 = icmp slt i64 %81, %82
  br i1 %83, label %.lr.ph55, label %._crit_edge56, !llvm.loop !17

._crit_edge56:                                    ; preds = %.lr.ph55, %.preheader, %._crit_edge, %._crit_edge.thread
  %.str.4.sink = phi ptr [ @.str.2, %._crit_edge.thread ], [ @.str.2, %._crit_edge ], [ @.str.4, %.preheader ], [ @.str.4, %.lr.ph55 ]
  %84 = call i32 @puts(ptr noundef nonnull dereferenceable(1) %.str.4.sink)
  call void @_ZNSt6vectorI3cupSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

85:                                               ; preds = %33, %18
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %19, %18 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI3cupEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortISt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS3_SaIS3_EEEEEPFbS3_S3_EEvT_SC_T0_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EE6rbeginEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorI3cupSaIS0_EE4rendEv(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP3cupSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr, ptr, ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorI3cupED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smin.i64(i64, i64) #6

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 norecurse 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree nounwind "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 = { 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 #5 = { inlinehint 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS3cup", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = !{!10, !6, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!10, !6, i64 16}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


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