; LLVM IR from upupming/algorithm :: AdvancedLevel_C++/1026. Table Tennis (30)  (main)

; 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.person = type { i32, i32, i32, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl" }
%"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl" = type { %"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl_data" }
%"struct.std::_Vector_base<person, std::allocator<person>>::_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<tablenode, std::allocator<tablenode>>::_Vector_impl" }
%"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl" = type { %"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.tablenode = type <{ i32, i32, i8, [3 x i8] }>

@tempperson = external dso_local global %struct.person, align 4
@player = external dso_local global %"class.std::vector", align 8
@table = external dso_local global %"class.std::vector.0", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4cmp16personS_(i64, i64, i64, i64) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4cmp26personS_(i64, i64, i64, i64) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10alloctableii(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z11findnextvipi(i32 noundef) #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %26 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %27 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %62, %0
  %29 = load i32, ptr %6, align 4, !tbaa !5
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %65

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %34 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.3, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12)
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %36 = mul nsw i32 %35, 3600
  %37 = load i32, ptr %9, align 4, !tbaa !5
  %38 = mul nsw i32 %37, 60
  %39 = add nsw i32 %36, %38
  %40 = load i32, ptr %10, align 4, !tbaa !5
  %41 = add nsw i32 %39, %40
  store i32 %41, ptr @tempperson, align 4, !tbaa !9
  store i32 75600, ptr getelementptr inbounds (%struct.person, ptr @tempperson, i32 0, i32 1), align 4, !tbaa !12
  %42 = load i32, ptr @tempperson, align 4, !tbaa !9
  %43 = icmp sge i32 %42, 75600
  br i1 %43, label %44, label %45

44:                                               ; preds = %33
  store i32 4, ptr %7, align 4
  br label %59

45:                                               ; preds = %33
  %46 = load i32, ptr %11, align 4, !tbaa !5
  %47 = icmp sle i32 %46, 120
  br i1 %47, label %48, label %51

48:                                               ; preds = %45
  %49 = load i32, ptr %11, align 4, !tbaa !5
  %50 = mul nsw i32 %49, 60
  br label %52

51:                                               ; preds = %45
  br label %52

52:                                               ; preds = %51, %48
  %53 = phi i32 [ %50, %48 ], [ 7200, %51 ]
  store i32 %53, ptr getelementptr inbounds (%struct.person, ptr @tempperson, i32 0, i32 2), align 4, !tbaa !13
  %54 = load i32, ptr %12, align 4, !tbaa !5
  %55 = icmp eq i32 %54, 1
  %56 = zext i1 %55 to i64
  %57 = select i1 %55, i1 true, i1 false
  %58 = zext i1 %57 to i8
  store i8 %58, ptr getelementptr inbounds (%struct.person, ptr @tempperson, i32 0, i32 3), align 4, !tbaa !14
  call void @_ZNSt6vectorI6personSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @player, ptr noundef nonnull align 4 dereferenceable(16) @tempperson)
  store i32 0, ptr %7, align 4
  br label %59

59:                                               ; preds = %52, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  %60 = load i32, ptr %7, align 4
  switch i32 %60, label %406 [
    i32 0, label %61
    i32 4, label %62
  ]

61:                                               ; preds = %59
  br label %62

62:                                               ; preds = %61, %59
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %6, align 4, !tbaa !5
  br label %28, !llvm.loop !15

65:                                               ; preds = %32
  %66 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef %3, ptr noundef %4)
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  %69 = sext i32 %68 to i64
  call void @_ZNSt6vectorI9tablenodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %69)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %81, %65
  %71 = load i32, ptr %13, align 4, !tbaa !5
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %84

75:                                               ; preds = %70
  %76 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %5)
  %77 = load i32, ptr %5, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %78) #7
  %80 = getelementptr inbounds %struct.tablenode, ptr %79, i32 0, i32 2
  store i8 1, ptr %80, align 4, !tbaa !17
  br label %81

81:                                               ; preds = %75
  %82 = load i32, ptr %13, align 4, !tbaa !5
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %13, align 4, !tbaa !5
  br label %70, !llvm.loop !19

84:                                               ; preds = %74
  %85 = call ptr @_ZNSt6vectorI6personSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  %87 = call ptr @_ZNSt6vectorI6personSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %92 = load ptr, ptr %91, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6personSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %90, ptr %92, ptr noundef @_Z4cmp16personS_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 -1, ptr %17, align 4, !tbaa !5
  %93 = load i32, ptr %17, align 4, !tbaa !5
  %94 = call noundef i32 @_Z11findnextvipi(i32 noundef %93)
  store i32 %94, ptr %17, align 4, !tbaa !5
  br label %95

95:                                               ; preds = %300, %298, %84
  %96 = load i32, ptr %16, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %99 = icmp ult i64 %97, %98
  br i1 %99, label %100, label %301

100:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 -1, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 999999999, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %122, %100
  %102 = load i32, ptr %20, align 4, !tbaa !5
  %103 = load i32, ptr %3, align 4, !tbaa !5
  %104 = icmp sle i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 10, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %125

106:                                              ; preds = %101
  %107 = load i32, ptr %20, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %108) #7
  %110 = getelementptr inbounds %struct.tablenode, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 4, !tbaa !20
  %112 = load i32, ptr %19, align 4, !tbaa !5
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %114, label %121

114:                                              ; preds = %106
  %115 = load i32, ptr %20, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %116) #7
  %118 = getelementptr inbounds %struct.tablenode, ptr %117, i32 0, i32 0
  %119 = load i32, ptr %118, align 4, !tbaa !20
  store i32 %119, ptr %19, align 4, !tbaa !5
  %120 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %120, ptr %18, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %114, %106
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %20, align 4, !tbaa !5
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %20, align 4, !tbaa !5
  br label %101, !llvm.loop !21

125:                                              ; preds = %105
  %126 = load i32, ptr %18, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %127) #7
  %129 = getelementptr inbounds %struct.tablenode, ptr %128, i32 0, i32 0
  %130 = load i32, ptr %129, align 4, !tbaa !20
  %131 = icmp sge i32 %130, 75600
  br i1 %131, label %132, label %133

132:                                              ; preds = %125
  store i32 9, ptr %7, align 4
  br label %298

133:                                              ; preds = %125
  %134 = load i32, ptr %16, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %135) #7
  %137 = getelementptr inbounds %struct.person, ptr %136, i32 0, i32 3
  %138 = load i8, ptr %137, align 4, !tbaa !14, !range !22, !noundef !23
  %139 = trunc i8 %138 to i1
  %140 = zext i1 %139 to i32
  %141 = icmp eq i32 %140, 1
  br i1 %141, label %142, label %149

142:                                              ; preds = %133
  %143 = load i32, ptr %16, align 4, !tbaa !5
  %144 = load i32, ptr %17, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %146, label %149

146:                                              ; preds = %142
  %147 = load i32, ptr %16, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %16, align 4, !tbaa !5
  store i32 8, ptr %7, align 4
  br label %298, !llvm.loop !24

149:                                              ; preds = %142, %133
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %151) #7
  %153 = getelementptr inbounds %struct.tablenode, ptr %152, i32 0, i32 2
  %154 = load i8, ptr %153, align 4, !tbaa !17, !range !22, !noundef !23
  %155 = trunc i8 %154 to i1
  %156 = zext i1 %155 to i32
  %157 = icmp eq i32 %156, 1
  br i1 %157, label %158, label %208

158:                                              ; preds = %149
  %159 = load i32, ptr %16, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %160) #7
  %162 = getelementptr inbounds %struct.person, ptr %161, i32 0, i32 3
  %163 = load i8, ptr %162, align 4, !tbaa !14, !range !22, !noundef !23
  %164 = trunc i8 %163 to i1
  %165 = zext i1 %164 to i32
  %166 = icmp eq i32 %165, 1
  br i1 %166, label %167, label %179

167:                                              ; preds = %158
  %168 = load i32, ptr %16, align 4, !tbaa !5
  %169 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %168, i32 noundef %169)
  %170 = load i32, ptr %17, align 4, !tbaa !5
  %171 = load i32, ptr %16, align 4, !tbaa !5
  %172 = icmp eq i32 %170, %171
  br i1 %172, label %173, label %176

173:                                              ; preds = %167
  %174 = load i32, ptr %17, align 4, !tbaa !5
  %175 = call noundef i32 @_Z11findnextvipi(i32 noundef %174)
  store i32 %175, ptr %17, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %173, %167
  %177 = load i32, ptr %16, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  store i32 %178, ptr %16, align 4, !tbaa !5
  br label %207

179:                                              ; preds = %158
  %180 = load i32, ptr %17, align 4, !tbaa !5
  %181 = sext i32 %180 to i64
  %182 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %183 = icmp ult i64 %181, %182
  br i1 %183, label %184, label %201

184:                                              ; preds = %179
  %185 = load i32, ptr %17, align 4, !tbaa !5
  %186 = sext i32 %185 to i64
  %187 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %186) #7
  %188 = getelementptr inbounds %struct.person, ptr %187, i32 0, i32 0
  %189 = load i32, ptr %188, align 4, !tbaa !9
  %190 = load i32, ptr %18, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %191) #7
  %193 = getelementptr inbounds %struct.tablenode, ptr %192, i32 0, i32 0
  %194 = load i32, ptr %193, align 4, !tbaa !20
  %195 = icmp sle i32 %189, %194
  br i1 %195, label %196, label %201

196:                                              ; preds = %184
  %197 = load i32, ptr %17, align 4, !tbaa !5
  %198 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %197, i32 noundef %198)
  %199 = load i32, ptr %17, align 4, !tbaa !5
  %200 = call noundef i32 @_Z11findnextvipi(i32 noundef %199)
  store i32 %200, ptr %17, align 4, !tbaa !5
  br label %206

201:                                              ; preds = %184, %179
  %202 = load i32, ptr %16, align 4, !tbaa !5
  %203 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %202, i32 noundef %203)
  %204 = load i32, ptr %16, align 4, !tbaa !5
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %16, align 4, !tbaa !5
  br label %206

206:                                              ; preds = %201, %196
  br label %207

207:                                              ; preds = %206, %176
  br label %297

208:                                              ; preds = %149
  %209 = load i32, ptr %16, align 4, !tbaa !5
  %210 = sext i32 %209 to i64
  %211 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %210) #7
  %212 = getelementptr inbounds %struct.person, ptr %211, i32 0, i32 3
  %213 = load i8, ptr %212, align 4, !tbaa !14, !range !22, !noundef !23
  %214 = trunc i8 %213 to i1
  %215 = zext i1 %214 to i32
  %216 = icmp eq i32 %215, 0
  br i1 %216, label %217, label %222

217:                                              ; preds = %208
  %218 = load i32, ptr %16, align 4, !tbaa !5
  %219 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %218, i32 noundef %219)
  %220 = load i32, ptr %16, align 4, !tbaa !5
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %16, align 4, !tbaa !5
  br label %296

222:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 -1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 999999999, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 1, ptr %23, align 4, !tbaa !5
  br label %223

223:                                              ; preds = %253, %222
  %224 = load i32, ptr %23, align 4, !tbaa !5
  %225 = load i32, ptr %3, align 4, !tbaa !5
  %226 = icmp sle i32 %224, %225
  br i1 %226, label %228, label %227

227:                                              ; preds = %223
  store i32 13, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %256

228:                                              ; preds = %223
  %229 = load i32, ptr %23, align 4, !tbaa !5
  %230 = sext i32 %229 to i64
  %231 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %230) #7
  %232 = getelementptr inbounds %struct.tablenode, ptr %231, i32 0, i32 2
  %233 = load i8, ptr %232, align 4, !tbaa !17, !range !22, !noundef !23
  %234 = trunc i8 %233 to i1
  %235 = zext i1 %234 to i32
  %236 = icmp eq i32 %235, 1
  br i1 %236, label %237, label %252

237:                                              ; preds = %228
  %238 = load i32, ptr %23, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %239) #7
  %241 = getelementptr inbounds %struct.tablenode, ptr %240, i32 0, i32 0
  %242 = load i32, ptr %241, align 4, !tbaa !20
  %243 = load i32, ptr %22, align 4, !tbaa !5
  %244 = icmp slt i32 %242, %243
  br i1 %244, label %245, label %252

245:                                              ; preds = %237
  %246 = load i32, ptr %23, align 4, !tbaa !5
  %247 = sext i32 %246 to i64
  %248 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %247) #7
  %249 = getelementptr inbounds %struct.tablenode, ptr %248, i32 0, i32 0
  %250 = load i32, ptr %249, align 4, !tbaa !20
  store i32 %250, ptr %22, align 4, !tbaa !5
  %251 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %251, ptr %21, align 4, !tbaa !5
  br label %252

252:                                              ; preds = %245, %237, %228
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %23, align 4, !tbaa !5
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %23, align 4, !tbaa !5
  br label %223, !llvm.loop !25

256:                                              ; preds = %227
  %257 = load i32, ptr %21, align 4, !tbaa !5
  %258 = icmp ne i32 %257, -1
  br i1 %258, label %259, label %283

259:                                              ; preds = %256
  %260 = load i32, ptr %16, align 4, !tbaa !5
  %261 = sext i32 %260 to i64
  %262 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %261) #7
  %263 = getelementptr inbounds %struct.person, ptr %262, i32 0, i32 0
  %264 = load i32, ptr %263, align 4, !tbaa !9
  %265 = load i32, ptr %21, align 4, !tbaa !5
  %266 = sext i32 %265 to i64
  %267 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %266) #7
  %268 = getelementptr inbounds %struct.tablenode, ptr %267, i32 0, i32 0
  %269 = load i32, ptr %268, align 4, !tbaa !20
  %270 = icmp sge i32 %264, %269
  br i1 %270, label %271, label %283

271:                                              ; preds = %259
  %272 = load i32, ptr %16, align 4, !tbaa !5
  %273 = load i32, ptr %21, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %272, i32 noundef %273)
  %274 = load i32, ptr %17, align 4, !tbaa !5
  %275 = load i32, ptr %16, align 4, !tbaa !5
  %276 = icmp eq i32 %274, %275
  br i1 %276, label %277, label %280

277:                                              ; preds = %271
  %278 = load i32, ptr %17, align 4, !tbaa !5
  %279 = call noundef i32 @_Z11findnextvipi(i32 noundef %278)
  store i32 %279, ptr %17, align 4, !tbaa !5
  br label %280

280:                                              ; preds = %277, %271
  %281 = load i32, ptr %16, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  store i32 %282, ptr %16, align 4, !tbaa !5
  br label %295

283:                                              ; preds = %259, %256
  %284 = load i32, ptr %16, align 4, !tbaa !5
  %285 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10alloctableii(i32 noundef %284, i32 noundef %285)
  %286 = load i32, ptr %17, align 4, !tbaa !5
  %287 = load i32, ptr %16, align 4, !tbaa !5
  %288 = icmp eq i32 %286, %287
  br i1 %288, label %289, label %292

289:                                              ; preds = %283
  %290 = load i32, ptr %17, align 4, !tbaa !5
  %291 = call noundef i32 @_Z11findnextvipi(i32 noundef %290)
  store i32 %291, ptr %17, align 4, !tbaa !5
  br label %292

292:                                              ; preds = %289, %283
  %293 = load i32, ptr %16, align 4, !tbaa !5
  %294 = add nsw i32 %293, 1
  store i32 %294, ptr %16, align 4, !tbaa !5
  br label %295

295:                                              ; preds = %292, %280
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %296

296:                                              ; preds = %295, %217
  br label %297

297:                                              ; preds = %296, %207
  store i32 0, ptr %7, align 4
  br label %298

298:                                              ; preds = %297, %146, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %299 = load i32, ptr %7, align 4
  switch i32 %299, label %406 [
    i32 0, label %300
    i32 9, label %301
    i32 8, label %95
  ]

300:                                              ; preds = %298
  br label %95, !llvm.loop !24

301:                                              ; preds = %298, %95
  %302 = call ptr @_ZNSt6vectorI6personSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %303 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %302, ptr %303, align 8
  %304 = call ptr @_ZNSt6vectorI6personSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %305 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %304, ptr %305, align 8
  %306 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %307 = load ptr, ptr %306, align 8
  %308 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %309 = load ptr, ptr %308, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6personSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %307, ptr %309, ptr noundef @_Z4cmp26personS_)
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %310

310:                                              ; preds = %380, %301
  %311 = load i32, ptr %16, align 4, !tbaa !5
  %312 = sext i32 %311 to i64
  %313 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %314 = icmp ult i64 %312, %313
  br i1 %314, label %315, label %322

315:                                              ; preds = %310
  %316 = load i32, ptr %16, align 4, !tbaa !5
  %317 = sext i32 %316 to i64
  %318 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %317) #7
  %319 = getelementptr inbounds %struct.person, ptr %318, i32 0, i32 1
  %320 = load i32, ptr %319, align 4, !tbaa !12
  %321 = icmp slt i32 %320, 75600
  br label %322

322:                                              ; preds = %315, %310
  %323 = phi i1 [ false, %310 ], [ %321, %315 ]
  br i1 %323, label %324, label %383

324:                                              ; preds = %322
  %325 = load i32, ptr %16, align 4, !tbaa !5
  %326 = sext i32 %325 to i64
  %327 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %326) #7
  %328 = getelementptr inbounds %struct.person, ptr %327, i32 0, i32 0
  %329 = load i32, ptr %328, align 4, !tbaa !9
  %330 = sdiv i32 %329, 3600
  %331 = load i32, ptr %16, align 4, !tbaa !5
  %332 = sext i32 %331 to i64
  %333 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %332) #7
  %334 = getelementptr inbounds %struct.person, ptr %333, i32 0, i32 0
  %335 = load i32, ptr %334, align 4, !tbaa !9
  %336 = srem i32 %335, 3600
  %337 = sdiv i32 %336, 60
  %338 = load i32, ptr %16, align 4, !tbaa !5
  %339 = sext i32 %338 to i64
  %340 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %339) #7
  %341 = getelementptr inbounds %struct.person, ptr %340, i32 0, i32 0
  %342 = load i32, ptr %341, align 4, !tbaa !9
  %343 = srem i32 %342, 60
  %344 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %330, i32 noundef %337, i32 noundef %343)
  %345 = load i32, ptr %16, align 4, !tbaa !5
  %346 = sext i32 %345 to i64
  %347 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %346) #7
  %348 = getelementptr inbounds %struct.person, ptr %347, i32 0, i32 1
  %349 = load i32, ptr %348, align 4, !tbaa !12
  %350 = sdiv i32 %349, 3600
  %351 = load i32, ptr %16, align 4, !tbaa !5
  %352 = sext i32 %351 to i64
  %353 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %352) #7
  %354 = getelementptr inbounds %struct.person, ptr %353, i32 0, i32 1
  %355 = load i32, ptr %354, align 4, !tbaa !12
  %356 = srem i32 %355, 3600
  %357 = sdiv i32 %356, 60
  %358 = load i32, ptr %16, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %359) #7
  %361 = getelementptr inbounds %struct.person, ptr %360, i32 0, i32 1
  %362 = load i32, ptr %361, align 4, !tbaa !12
  %363 = srem i32 %362, 60
  %364 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %350, i32 noundef %357, i32 noundef %363)
  %365 = load i32, ptr %16, align 4, !tbaa !5
  %366 = sext i32 %365 to i64
  %367 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %366) #7
  %368 = getelementptr inbounds %struct.person, ptr %367, i32 0, i32 1
  %369 = load i32, ptr %368, align 4, !tbaa !12
  %370 = load i32, ptr %16, align 4, !tbaa !5
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %371) #7
  %373 = getelementptr inbounds %struct.person, ptr %372, i32 0, i32 0
  %374 = load i32, ptr %373, align 4, !tbaa !9
  %375 = sub nsw i32 %369, %374
  %376 = sitofp i32 %375 to double
  %377 = fdiv double %376, 6.000000e+01
  %378 = call double @llvm.round.f64(double %377)
  %379 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %378)
  br label %380

380:                                              ; preds = %324
  %381 = load i32, ptr %16, align 4, !tbaa !5
  %382 = add nsw i32 %381, 1
  store i32 %382, ptr %16, align 4, !tbaa !5
  br label %310, !llvm.loop !26

383:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 1, ptr %26, align 4, !tbaa !5
  br label %384

384:                                              ; preds = %401, %383
  %385 = load i32, ptr %26, align 4, !tbaa !5
  %386 = load i32, ptr %3, align 4, !tbaa !5
  %387 = icmp sle i32 %385, %386
  br i1 %387, label %389, label %388

388:                                              ; preds = %384
  store i32 19, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %404

389:                                              ; preds = %384
  %390 = load i32, ptr %26, align 4, !tbaa !5
  %391 = icmp ne i32 %390, 1
  br i1 %391, label %392, label %394

392:                                              ; preds = %389
  %393 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  br label %394

394:                                              ; preds = %392, %389
  %395 = load i32, ptr %26, align 4, !tbaa !5
  %396 = sext i32 %395 to i64
  %397 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %396) #7
  %398 = getelementptr inbounds %struct.tablenode, ptr %397, i32 0, i32 1
  %399 = load i32, ptr %398, align 4, !tbaa !27
  %400 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %399)
  br label %401

401:                                              ; preds = %394
  %402 = load i32, ptr %26, align 4, !tbaa !5
  %403 = add nsw i32 %402, 1
  store i32 %403, ptr %26, align 4, !tbaa !5
  br label %384, !llvm.loop !28

404:                                              ; preds = %388
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %405 = load i32, ptr %1, align 4
  ret i32 %405

406:                                              ; preds = %298, %59
  unreachable
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorI6personSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #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 = { 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS6person", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12}
!11 = !{!"bool", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !11, i64 12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !11, i64 8}
!18 = !{!"_ZTS9tablenode", !6, i64 0, !6, i64 4, !11, i64 8}
!19 = distinct !{!19, !16}
!20 = !{!18, !6, i64 0}
!21 = distinct !{!21, !16}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = !{!18, !6, i64 4}
!28 = distinct !{!28, !16}


; 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.person = type { i32, i32, i32, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl" }
%"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl" = type { %"struct.std::_Vector_base<person, std::allocator<person>>::_Vector_impl_data" }
%"struct.std::_Vector_base<person, std::allocator<person>>::_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<tablenode, std::allocator<tablenode>>::_Vector_impl" }
%"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl" = type { %"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<tablenode, std::allocator<tablenode>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@tempperson = external dso_local global %struct.person, align 4
@player = external dso_local global %"class.std::vector", align 8
@table = external dso_local global %"class.std::vector.0", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4cmp16personS_(i64, i64, i64, i64) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z4cmp26personS_(i64, i64, i64, i64) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z10alloctableii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_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 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_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 i32 @_Z11findnextvipi(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %11 = load i32, ptr %1, align 4, !tbaa !5
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %36, %0
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  %16 = sext i32 %15 to i64
  call void @_ZNSt6vectorI9tablenodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %16)
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph119, label %._crit_edge120

.lr.ph:                                           ; preds = %0, %36
  %.080116 = phi i32 [ %37, %36 ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.3, ptr noundef nonnull %5, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %21 = mul nsw i32 %20, 3600
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = mul nsw i32 %22, 60
  %24 = add nsw i32 %23, %21
  %25 = load i32, ptr %7, align 4, !tbaa !5
  %26 = add nsw i32 %24, %25
  store i32 %26, ptr @tempperson, align 4, !tbaa !9
  store i32 75600, ptr getelementptr inbounds (i8, ptr @tempperson, i64 4), align 4, !tbaa !12
  %27 = icmp sgt i32 %26, 75599
  br i1 %27, label %36, label %28

28:                                               ; preds = %.lr.ph
  %29 = load i32, ptr %8, align 4
  %30 = icmp slt i32 %29, 121
  %31 = mul nsw i32 %29, 60
  %32 = select i1 %30, i32 %31, i32 7200
  store i32 %32, ptr getelementptr inbounds (i8, ptr @tempperson, i64 8), align 4, !tbaa !13
  %33 = load i32, ptr %9, align 4, !tbaa !5
  %34 = icmp eq i32 %33, 1
  %35 = zext i1 %34 to i8
  store i8 %35, ptr getelementptr inbounds (i8, ptr @tempperson, i64 12), align 4, !tbaa !14
  call void @_ZNSt6vectorI6personSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) @player, ptr noundef nonnull align 4 dereferenceable(16) @tempperson)
  br label %36

36:                                               ; preds = %.lr.ph, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %37 = add nuw nsw i32 %.080116, 1
  %38 = load i32, ptr %1, align 4, !tbaa !5
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %.lr.ph, label %._crit_edge, !llvm.loop !15

._crit_edge120:                                   ; preds = %.lr.ph119, %._crit_edge
  %40 = call ptr @_ZNSt6vectorI6personSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %41 = call ptr @_ZNSt6vectorI6personSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6personSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %40, ptr %41, ptr noundef nonnull @_Z4cmp16personS_)
  %42 = call noundef i32 @_Z11findnextvipi(i32 noundef -1)
  %43 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %.not144 = icmp eq i64 %43, 0
  br i1 %.not144, label %.thread, label %.preheader115

.lr.ph119:                                        ; preds = %._crit_edge, %.lr.ph119
  %.098117 = phi i32 [ %49, %.lr.ph119 ], [ 0, %._crit_edge ]
  %44 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %4)
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %46) #7
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  store i8 1, ptr %48, align 4, !tbaa !17
  %49 = add nuw nsw i32 %.098117, 1
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %.lr.ph119, label %._crit_edge120, !llvm.loop !19

.preheader115:                                    ; preds = %._crit_edge120, %136
  %52 = phi i64 [ %137, %136 ], [ 0, %._crit_edge120 ]
  %.090135 = phi i32 [ %.6, %136 ], [ %42, %._crit_edge120 ]
  %.092134 = phi i32 [ %.395, %136 ], [ 0, %._crit_edge120 ]
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %.not121 = icmp slt i32 %53, 1
  br i1 %.not121, label %._crit_edge126, label %.lr.ph125

._crit_edge126:                                   ; preds = %65, %.preheader115
  %.088.lcssa = phi i32 [ -1, %.preheader115 ], [ %.189, %65 ]
  %54 = sext i32 %.088.lcssa to i64
  %55 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %54) #7
  %56 = load i32, ptr %55, align 4, !tbaa !20
  %57 = icmp sgt i32 %56, 75599
  br i1 %57, label %.thread, label %68

.lr.ph125:                                        ; preds = %.preheader115, %65
  %indvars.iv = phi i64 [ %indvars.iv.next, %65 ], [ 1, %.preheader115 ]
  %.086123 = phi i32 [ %.187, %65 ], [ 999999999, %.preheader115 ]
  %.088122 = phi i32 [ %.189, %65 ], [ -1, %.preheader115 ]
  %58 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv) #7
  %59 = load i32, ptr %58, align 4, !tbaa !20
  %60 = icmp slt i32 %59, %.086123
  br i1 %60, label %61, label %65

61:                                               ; preds = %.lr.ph125
  %62 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv) #7
  %63 = load i32, ptr %62, align 4, !tbaa !20
  %64 = trunc nuw nsw i64 %indvars.iv to i32
  br label %65

65:                                               ; preds = %.lr.ph125, %61
  %.189 = phi i32 [ %64, %61 ], [ %.088122, %.lr.ph125 ]
  %.187 = phi i32 [ %63, %61 ], [ %.086123, %.lr.ph125 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %.not.not = icmp slt i64 %indvars.iv, %67
  br i1 %.not.not, label %.lr.ph125, label %._crit_edge126, !llvm.loop !21

68:                                               ; preds = %._crit_edge126
  %69 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %52) #7
  %70 = getelementptr inbounds i8, ptr %69, i64 12
  %71 = load i8, ptr %70, align 4, !tbaa !14, !range !22, !noundef !23
  %72 = trunc nuw i8 %71 to i1
  %73 = icmp slt i32 %.092134, %.090135
  %or.cond = select i1 %72, i1 %73, i1 false
  br i1 %or.cond, label %74, label %76

74:                                               ; preds = %68
  %75 = add nsw i32 %.092134, 1
  br label %136, !llvm.loop !24

76:                                               ; preds = %68
  %77 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %54) #7
  %78 = getelementptr inbounds i8, ptr %77, i64 8
  %79 = load i8, ptr %78, align 4, !tbaa !17, !range !22, !noundef !23
  %80 = trunc nuw i8 %79 to i1
  %81 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %52) #7
  %82 = getelementptr inbounds i8, ptr %81, i64 12
  %83 = load i8, ptr %82, align 4, !tbaa !14, !range !22, !noundef !23
  br i1 %80, label %84, label %105

84:                                               ; preds = %76
  %85 = trunc nuw i8 %83 to i1
  br i1 %85, label %86, label %92

86:                                               ; preds = %84
  call void @_Z10alloctableii(i32 noundef %.092134, i32 noundef %.088.lcssa)
  %87 = icmp eq i32 %.090135, %.092134
  br i1 %87, label %88, label %90

88:                                               ; preds = %86
  %89 = call noundef i32 @_Z11findnextvipi(i32 noundef %.090135)
  br label %90

90:                                               ; preds = %88, %86
  %.191 = phi i32 [ %89, %88 ], [ %.090135, %86 ]
  %91 = add nsw i32 %.092134, 1
  br label %136

92:                                               ; preds = %84
  %93 = sext i32 %.090135 to i64
  %94 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %95 = icmp ugt i64 %94, %93
  br i1 %95, label %96, label %103

96:                                               ; preds = %92
  %97 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %93) #7
  %98 = load i32, ptr %97, align 4, !tbaa !9
  %99 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %54) #7
  %100 = load i32, ptr %99, align 4, !tbaa !20
  %.not105 = icmp sgt i32 %98, %100
  br i1 %.not105, label %103, label %101

101:                                              ; preds = %96
  call void @_Z10alloctableii(i32 noundef %.090135, i32 noundef %.088.lcssa)
  %102 = call noundef i32 @_Z11findnextvipi(i32 noundef %.090135)
  br label %136

103:                                              ; preds = %96, %92
  call void @_Z10alloctableii(i32 noundef %.092134, i32 noundef %.088.lcssa)
  %104 = add nsw i32 %.092134, 1
  br label %136

105:                                              ; preds = %76
  %106 = icmp eq i8 %83, 0
  br i1 %106, label %108, label %.preheader

.preheader:                                       ; preds = %105
  %107 = load i32, ptr %2, align 4, !tbaa !5
  %.not102127 = icmp slt i32 %107, 1
  br i1 %.not102127, label %._crit_edge132.thread, label %.lr.ph131

108:                                              ; preds = %105
  call void @_Z10alloctableii(i32 noundef %.092134, i32 noundef %.088.lcssa)
  %109 = add nsw i32 %.092134, 1
  br label %136

._crit_edge132:                                   ; preds = %122
  %.not103 = icmp eq i32 %.184, -1
  br i1 %.not103, label %._crit_edge132.thread, label %125

.lr.ph131:                                        ; preds = %.preheader, %122
  %indvars.iv146 = phi i64 [ %indvars.iv.next147, %122 ], [ 1, %.preheader ]
  %.082129 = phi i32 [ %.1, %122 ], [ 999999999, %.preheader ]
  %.083128 = phi i32 [ %.184, %122 ], [ -1, %.preheader ]
  %110 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv146) #7
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = load i8, ptr %111, align 4, !tbaa !17, !range !22, !noundef !23
  %113 = trunc nuw i8 %112 to i1
  br i1 %113, label %114, label %122

114:                                              ; preds = %.lr.ph131
  %115 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv146) #7
  %116 = load i32, ptr %115, align 4, !tbaa !20
  %117 = icmp slt i32 %116, %.082129
  br i1 %117, label %118, label %122

118:                                              ; preds = %114
  %119 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv146) #7
  %120 = load i32, ptr %119, align 4, !tbaa !20
  %121 = trunc nuw nsw i64 %indvars.iv146 to i32
  br label %122

122:                                              ; preds = %.lr.ph131, %114, %118
  %.184 = phi i32 [ %121, %118 ], [ %.083128, %114 ], [ %.083128, %.lr.ph131 ]
  %.1 = phi i32 [ %120, %118 ], [ %.082129, %114 ], [ %.082129, %.lr.ph131 ]
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  %123 = load i32, ptr %2, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %.not102.not = icmp slt i64 %indvars.iv146, %124
  br i1 %.not102.not, label %.lr.ph131, label %._crit_edge132, !llvm.loop !25

125:                                              ; preds = %._crit_edge132
  %126 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %52) #7
  %127 = load i32, ptr %126, align 4, !tbaa !9
  %128 = sext i32 %.184 to i64
  %129 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %128) #7
  %130 = load i32, ptr %129, align 4, !tbaa !20
  %.not104 = icmp slt i32 %127, %130
  br i1 %.not104, label %._crit_edge132.thread, label %131

131:                                              ; preds = %125
  call void @_Z10alloctableii(i32 noundef %.092134, i32 noundef %.184)
  %132 = icmp eq i32 %.090135, %.092134
  br i1 %132, label %.sink.split, label %135

._crit_edge132.thread:                            ; preds = %.preheader, %125, %._crit_edge132
  call void @_Z10alloctableii(i32 noundef %.092134, i32 noundef %.088.lcssa)
  %133 = icmp eq i32 %.090135, %.092134
  br i1 %133, label %.sink.split, label %135

.sink.split:                                      ; preds = %._crit_edge132.thread, %131
  %134 = call noundef i32 @_Z11findnextvipi(i32 noundef %.090135)
  br label %135

135:                                              ; preds = %.sink.split, %._crit_edge132.thread, %131
  %.4 = phi i32 [ %.090135, %131 ], [ %.090135, %._crit_edge132.thread ], [ %134, %.sink.split ]
  %.193 = add nsw i32 %.092134, 1
  br label %136

136:                                              ; preds = %101, %103, %90, %135, %108, %74
  %.395 = phi i32 [ %75, %74 ], [ %91, %90 ], [ %.092134, %101 ], [ %104, %103 ], [ %109, %108 ], [ %.193, %135 ]
  %.6 = phi i32 [ %.090135, %74 ], [ %.191, %90 ], [ %102, %101 ], [ %.090135, %103 ], [ %.090135, %108 ], [ %.4, %135 ]
  %137 = sext i32 %.395 to i64
  %138 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %139 = icmp ugt i64 %138, %137
  br i1 %139, label %.preheader115, label %.thread

.thread:                                          ; preds = %136, %._crit_edge126, %._crit_edge120
  %140 = call ptr @_ZNSt6vectorI6personSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %141 = call ptr @_ZNSt6vectorI6personSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6personSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %140, ptr %141, ptr noundef nonnull @_Z4cmp26personS_)
  %142 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %.not = icmp eq i64 %142, 0
  br i1 %.not, label %.critedge, label %.lr.ph138

.lr.ph138:                                        ; preds = %.thread, %147
  %indvars.iv149 = phi i64 [ %indvars.iv.next150, %147 ], [ 0, %.thread ]
  %143 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %144 = getelementptr inbounds i8, ptr %143, i64 4
  %145 = load i32, ptr %144, align 4, !tbaa !12
  %146 = icmp slt i32 %145, 75600
  br i1 %146, label %147, label %.critedge

147:                                              ; preds = %.lr.ph138
  %148 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %149 = load i32, ptr %148, align 4, !tbaa !9
  %150 = sdiv i32 %149, 3600
  %151 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = srem i32 %152, 3600
  %.lhs.trunc = trunc nsw i32 %153 to i16
  %154 = sdiv i16 %.lhs.trunc, 60
  %.sext = sext i16 %154 to i32
  %155 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %156 = load i32, ptr %155, align 4, !tbaa !9
  %157 = srem i32 %156, 60
  %158 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %150, i32 noundef %.sext, i32 noundef %157)
  %159 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %160 = getelementptr inbounds i8, ptr %159, i64 4
  %161 = load i32, ptr %160, align 4, !tbaa !12
  %162 = sdiv i32 %161, 3600
  %163 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %164 = getelementptr inbounds i8, ptr %163, i64 4
  %165 = load i32, ptr %164, align 4, !tbaa !12
  %166 = srem i32 %165, 3600
  %.lhs.trunc113 = trunc nsw i32 %166 to i16
  %167 = sdiv i16 %.lhs.trunc113, 60
  %.sext114 = sext i16 %167 to i32
  %168 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %169 = getelementptr inbounds i8, ptr %168, i64 4
  %170 = load i32, ptr %169, align 4, !tbaa !12
  %171 = srem i32 %170, 60
  %172 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %162, i32 noundef %.sext114, i32 noundef %171)
  %173 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %174 = getelementptr inbounds i8, ptr %173, i64 4
  %175 = load i32, ptr %174, align 4, !tbaa !12
  %176 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6personSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @player, i64 noundef %indvars.iv149) #7
  %177 = load i32, ptr %176, align 4, !tbaa !9
  %178 = sub nsw i32 %175, %177
  %179 = sitofp i32 %178 to double
  %180 = fdiv double %179, 6.000000e+01
  %181 = call double @llvm.round.f64(double %180)
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %181)
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %183 = call noundef i64 @_ZNKSt6vectorI6personSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @player) #7
  %184 = icmp ugt i64 %183, %indvars.iv.next150
  br i1 %184, label %.lr.ph138, label %.critedge, !llvm.loop !26

.critedge:                                        ; preds = %.lr.ph138, %147, %.thread
  %185 = load i32, ptr %2, align 4, !tbaa !5
  %.not106140 = icmp slt i32 %185, 1
  br i1 %.not106140, label %._crit_edge143, label %.lr.ph142.preheader

.lr.ph142.preheader:                              ; preds = %.critedge
  %186 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef 1) #7
  %187 = getelementptr inbounds i8, ptr %186, i64 4
  %188 = load i32, ptr %187, align 4, !tbaa !27
  %189 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %188)
  %190 = load i32, ptr %2, align 4, !tbaa !5
  %.not106.not.peel = icmp sgt i32 %190, 1
  br i1 %.not106.not.peel, label %.lr.ph142.peel.next, label %._crit_edge143

._crit_edge143:                                   ; preds = %.lr.ph142.peel.next, %.lr.ph142.preheader, %.critedge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

.lr.ph142.peel.next:                              ; preds = %.lr.ph142.preheader, %.lr.ph142.peel.next
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %.lr.ph142.peel.next ], [ 2, %.lr.ph142.preheader ]
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %192 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9tablenodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @table, i64 noundef %indvars.iv152) #7
  %193 = getelementptr inbounds i8, ptr %192, i64 4
  %194 = load i32, ptr %193, align 4, !tbaa !27
  %195 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %194)
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %196 = load i32, ptr %2, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %.not106.not = icmp slt i64 %indvars.iv152, %197
  br i1 %.not106.not, label %.lr.ph142.peel.next, label %._crit_edge143, !llvm.loop !28
}

; 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 uwtable
declare dso_local void @_ZNSt6vectorI6personSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; 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 uwtable
declare dso_local void @_ZNSt6vectorI9tablenodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorI6personSaIS0_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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #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 = { mustprogress 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS6person", !6, i64 0, !6, i64 4, !6, i64 8, !11, i64 12}
!11 = !{!"bool", !7, i64 0}
!12 = !{!10, !6, i64 4}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !11, i64 12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !11, i64 8}
!18 = !{!"_ZTS9tablenode", !6, i64 0, !6, i64 4, !11, i64 8}
!19 = distinct !{!19, !16}
!20 = !{!18, !6, i64 0}
!21 = distinct !{!21, !16}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = !{!18, !6, i64 4}
!28 = distinct !{!28, !16, !29}
!29 = !{!"llvm.loop.peeled.count", i32 1}


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