; LLVM IR from upupming/algorithm :: upupming (1026)

; 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.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { 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
@players = external dso_local global %"class.std::vector", align 8
@tables = external dso_local global %"class.std::vector.0", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 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 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 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 uwtable
declare dso_local void @_Z10allocTableii(i32 noundef, i32 noundef) #1

; 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 norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %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 noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %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 = %60, %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 %63

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, 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 %57

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 i8
  store i8 %56, 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) @players, ptr noundef nonnull align 4 dereferenceable(16) @tempPerson)
  store i32 0, ptr %7, align 4
  br label %57

57:                                               ; 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
  %58 = load i32, ptr %7, align 4
  switch i32 %58, label %378 [
    i32 0, label %59
    i32 4, label %60
  ]

59:                                               ; preds = %57
  br label %60

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

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

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

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

74:                                               ; preds = %69
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = sext i32 %76 to i64
  %78 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %77) #7
  %79 = getelementptr inbounds %struct.TableNode, ptr %78, i32 0, i32 2
  store i8 1, ptr %79, align 4, !tbaa !17
  br label %80

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

83:                                               ; preds = %73
  %84 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %85 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %84, ptr %85, align 8
  %86 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %87 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %86, ptr %87, align 8
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6PersonSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %89, ptr %91, 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
  %92 = load i32, ptr %17, align 4, !tbaa !5
  %93 = call noundef i32 @_Z11findNextVipi(i32 noundef %92)
  store i32 %93, ptr %17, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %272, %270, %83
  %95 = load i32, ptr %16, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %98 = icmp ult i64 %96, %97
  br i1 %98, label %99, label %273

99:                                               ; preds = %94
  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 %100

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

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

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

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

120:                                              ; preds = %113, %105
  br label %121

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

124:                                              ; preds = %104
  %125 = load i32, ptr %19, align 4, !tbaa !5
  %126 = icmp sge i32 %125, 75600
  br i1 %126, label %127, label %128

127:                                              ; preds = %124
  store i32 9, ptr %7, align 4
  br label %270

128:                                              ; preds = %124
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = sext i32 %129 to i64
  %131 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %130) #7
  %132 = getelementptr inbounds %struct.Person, ptr %131, i32 0, i32 3
  %133 = load i8, ptr %132, align 4, !tbaa !14, !range !22, !noundef !23
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %142

135:                                              ; preds = %128
  %136 = load i32, ptr %16, align 4, !tbaa !5
  %137 = load i32, ptr %17, align 4, !tbaa !5
  %138 = icmp slt i32 %136, %137
  br i1 %138, label %139, label %142

139:                                              ; preds = %135
  %140 = load i32, ptr %16, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %16, align 4, !tbaa !5
  store i32 8, ptr %7, align 4
  br label %270, !llvm.loop !24

142:                                              ; preds = %135, %128
  %143 = load i32, ptr %18, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %144) #7
  %146 = getelementptr inbounds %struct.TableNode, ptr %145, i32 0, i32 2
  %147 = load i8, ptr %146, align 4, !tbaa !17, !range !22, !noundef !23
  %148 = trunc i8 %147 to i1
  br i1 %148, label %149, label %197

149:                                              ; preds = %142
  %150 = load i32, ptr %16, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %151) #7
  %153 = getelementptr inbounds %struct.Person, ptr %152, i32 0, i32 3
  %154 = load i8, ptr %153, align 4, !tbaa !14, !range !22, !noundef !23
  %155 = trunc i8 %154 to i1
  br i1 %155, label %156, label %168

156:                                              ; preds = %149
  %157 = load i32, ptr %16, align 4, !tbaa !5
  %158 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %157, i32 noundef %158)
  %159 = load i32, ptr %17, align 4, !tbaa !5
  %160 = load i32, ptr %16, align 4, !tbaa !5
  %161 = icmp eq i32 %159, %160
  br i1 %161, label %162, label %165

162:                                              ; preds = %156
  %163 = load i32, ptr %17, align 4, !tbaa !5
  %164 = call noundef i32 @_Z11findNextVipi(i32 noundef %163)
  store i32 %164, ptr %17, align 4, !tbaa !5
  br label %165

165:                                              ; preds = %162, %156
  %166 = load i32, ptr %16, align 4, !tbaa !5
  %167 = add nsw i32 %166, 1
  store i32 %167, ptr %16, align 4, !tbaa !5
  br label %196

168:                                              ; preds = %149
  %169 = load i32, ptr %17, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %172 = icmp ult i64 %170, %171
  br i1 %172, label %173, label %190

173:                                              ; preds = %168
  %174 = load i32, ptr %17, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %175) #7
  %177 = getelementptr inbounds %struct.Person, ptr %176, i32 0, i32 0
  %178 = load i32, ptr %177, align 4, !tbaa !9
  %179 = load i32, ptr %18, align 4, !tbaa !5
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %180) #7
  %182 = getelementptr inbounds %struct.TableNode, ptr %181, i32 0, i32 0
  %183 = load i32, ptr %182, align 4, !tbaa !20
  %184 = icmp sle i32 %178, %183
  br i1 %184, label %185, label %190

185:                                              ; preds = %173
  %186 = load i32, ptr %17, align 4, !tbaa !5
  %187 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %186, i32 noundef %187)
  %188 = load i32, ptr %17, align 4, !tbaa !5
  %189 = call noundef i32 @_Z11findNextVipi(i32 noundef %188)
  store i32 %189, ptr %17, align 4, !tbaa !5
  br label %195

190:                                              ; preds = %173, %168
  %191 = load i32, ptr %16, align 4, !tbaa !5
  %192 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %191, i32 noundef %192)
  %193 = load i32, ptr %16, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %16, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %190, %185
  br label %196

196:                                              ; preds = %195, %165
  br label %269

197:                                              ; preds = %142
  %198 = load i32, ptr %16, align 4, !tbaa !5
  %199 = sext i32 %198 to i64
  %200 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %199) #7
  %201 = getelementptr inbounds %struct.Person, ptr %200, i32 0, i32 3
  %202 = load i8, ptr %201, align 4, !tbaa !14, !range !22, !noundef !23
  %203 = trunc i8 %202 to i1
  br i1 %203, label %209, label %204

204:                                              ; preds = %197
  %205 = load i32, ptr %16, align 4, !tbaa !5
  %206 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %205, i32 noundef %206)
  %207 = load i32, ptr %16, align 4, !tbaa !5
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %16, align 4, !tbaa !5
  br label %268

209:                                              ; preds = %197
  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 %210

210:                                              ; preds = %238, %209
  %211 = load i32, ptr %23, align 4, !tbaa !5
  %212 = load i32, ptr %3, align 4, !tbaa !5
  %213 = icmp sle i32 %211, %212
  br i1 %213, label %215, label %214

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

215:                                              ; preds = %210
  %216 = load i32, ptr %23, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %217) #7
  %219 = getelementptr inbounds %struct.TableNode, ptr %218, i32 0, i32 2
  %220 = load i8, ptr %219, align 4, !tbaa !17, !range !22, !noundef !23
  %221 = trunc i8 %220 to i1
  br i1 %221, label %222, label %237

222:                                              ; preds = %215
  %223 = load i32, ptr %23, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %224) #7
  %226 = getelementptr inbounds %struct.TableNode, ptr %225, i32 0, i32 0
  %227 = load i32, ptr %226, align 4, !tbaa !20
  %228 = load i32, ptr %22, align 4, !tbaa !5
  %229 = icmp slt i32 %227, %228
  br i1 %229, label %230, label %237

230:                                              ; preds = %222
  %231 = load i32, ptr %23, align 4, !tbaa !5
  %232 = sext i32 %231 to i64
  %233 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %232) #7
  %234 = getelementptr inbounds %struct.TableNode, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 4, !tbaa !20
  store i32 %235, ptr %22, align 4, !tbaa !5
  %236 = load i32, ptr %23, align 4, !tbaa !5
  store i32 %236, ptr %21, align 4, !tbaa !5
  br label %237

237:                                              ; preds = %230, %222, %215
  br label %238

238:                                              ; preds = %237
  %239 = load i32, ptr %23, align 4, !tbaa !5
  %240 = add nsw i32 %239, 1
  store i32 %240, ptr %23, align 4, !tbaa !5
  br label %210, !llvm.loop !25

241:                                              ; preds = %214
  %242 = load i32, ptr %21, align 4, !tbaa !5
  %243 = icmp ne i32 %242, -1
  br i1 %243, label %244, label %255

244:                                              ; preds = %241
  %245 = load i32, ptr %16, align 4, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %246) #7
  %248 = getelementptr inbounds %struct.Person, ptr %247, i32 0, i32 0
  %249 = load i32, ptr %248, align 4, !tbaa !9
  %250 = load i32, ptr %22, align 4, !tbaa !5
  %251 = icmp sge i32 %249, %250
  br i1 %251, label %252, label %255

252:                                              ; preds = %244
  %253 = load i32, ptr %16, align 4, !tbaa !5
  %254 = load i32, ptr %21, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %253, i32 noundef %254)
  br label %258

255:                                              ; preds = %244, %241
  %256 = load i32, ptr %16, align 4, !tbaa !5
  %257 = load i32, ptr %18, align 4, !tbaa !5
  call void @_Z10allocTableii(i32 noundef %256, i32 noundef %257)
  br label %258

258:                                              ; preds = %255, %252
  %259 = load i32, ptr %17, align 4, !tbaa !5
  %260 = load i32, ptr %16, align 4, !tbaa !5
  %261 = icmp eq i32 %259, %260
  br i1 %261, label %262, label %265

262:                                              ; preds = %258
  %263 = load i32, ptr %17, align 4, !tbaa !5
  %264 = call noundef i32 @_Z11findNextVipi(i32 noundef %263)
  store i32 %264, ptr %17, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %262, %258
  %266 = load i32, ptr %16, align 4, !tbaa !5
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %268

268:                                              ; preds = %265, %204
  br label %269

269:                                              ; preds = %268, %196
  store i32 0, ptr %7, align 4
  br label %270

270:                                              ; preds = %269, %139, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %271 = load i32, ptr %7, align 4
  switch i32 %271, label %378 [
    i32 0, label %272
    i32 9, label %273
    i32 8, label %94
  ]

272:                                              ; preds = %270
  br label %94, !llvm.loop !24

273:                                              ; preds = %270, %94
  %274 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %275 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %274, ptr %275, align 8
  %276 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %277 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  store ptr %276, ptr %277, align 8
  %278 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8
  %280 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %25, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6PersonSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %279, ptr %281, ptr noundef @_Z4cmp26PersonS_)
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %282

282:                                              ; preds = %352, %273
  %283 = load i32, ptr %16, align 4, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #7
  %286 = icmp ult i64 %284, %285
  br i1 %286, label %287, label %294

287:                                              ; preds = %282
  %288 = load i32, ptr %16, align 4, !tbaa !5
  %289 = sext i32 %288 to i64
  %290 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %289) #7
  %291 = getelementptr inbounds %struct.Person, ptr %290, i32 0, i32 1
  %292 = load i32, ptr %291, align 4, !tbaa !12
  %293 = icmp slt i32 %292, 75600
  br label %294

294:                                              ; preds = %287, %282
  %295 = phi i1 [ false, %282 ], [ %293, %287 ]
  br i1 %295, label %296, label %355

296:                                              ; preds = %294
  %297 = load i32, ptr %16, align 4, !tbaa !5
  %298 = sext i32 %297 to i64
  %299 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %298) #7
  %300 = getelementptr inbounds %struct.Person, ptr %299, i32 0, i32 0
  %301 = load i32, ptr %300, align 4, !tbaa !9
  %302 = sdiv i32 %301, 3600
  %303 = load i32, ptr %16, align 4, !tbaa !5
  %304 = sext i32 %303 to i64
  %305 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %304) #7
  %306 = getelementptr inbounds %struct.Person, ptr %305, i32 0, i32 0
  %307 = load i32, ptr %306, align 4, !tbaa !9
  %308 = srem i32 %307, 3600
  %309 = sdiv i32 %308, 60
  %310 = load i32, ptr %16, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  %312 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %311) #7
  %313 = getelementptr inbounds %struct.Person, ptr %312, i32 0, i32 0
  %314 = load i32, ptr %313, align 4, !tbaa !9
  %315 = srem i32 %314, 60
  %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %302, i32 noundef %309, i32 noundef %315)
  %317 = load i32, ptr %16, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %318) #7
  %320 = getelementptr inbounds %struct.Person, ptr %319, i32 0, i32 1
  %321 = load i32, ptr %320, align 4, !tbaa !12
  %322 = sdiv i32 %321, 3600
  %323 = load i32, ptr %16, align 4, !tbaa !5
  %324 = sext i32 %323 to i64
  %325 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %324) #7
  %326 = getelementptr inbounds %struct.Person, ptr %325, i32 0, i32 1
  %327 = load i32, ptr %326, align 4, !tbaa !12
  %328 = srem i32 %327, 3600
  %329 = sdiv i32 %328, 60
  %330 = load i32, ptr %16, align 4, !tbaa !5
  %331 = sext i32 %330 to i64
  %332 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %331) #7
  %333 = getelementptr inbounds %struct.Person, ptr %332, i32 0, i32 1
  %334 = load i32, ptr %333, align 4, !tbaa !12
  %335 = srem i32 %334, 60
  %336 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %322, i32 noundef %329, i32 noundef %335)
  %337 = load i32, ptr %16, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %338) #7
  %340 = getelementptr inbounds %struct.Person, ptr %339, i32 0, i32 1
  %341 = load i32, ptr %340, align 4, !tbaa !12
  %342 = load i32, ptr %16, align 4, !tbaa !5
  %343 = sext i32 %342 to i64
  %344 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %343) #7
  %345 = getelementptr inbounds %struct.Person, ptr %344, i32 0, i32 0
  %346 = load i32, ptr %345, align 4, !tbaa !9
  %347 = sub nsw i32 %341, %346
  %348 = sitofp i32 %347 to double
  %349 = fdiv double %348, 6.000000e+01
  %350 = call double @llvm.round.f64(double %349)
  %351 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %350)
  br label %352

352:                                              ; preds = %296
  %353 = load i32, ptr %16, align 4, !tbaa !5
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %16, align 4, !tbaa !5
  br label %282, !llvm.loop !26

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

356:                                              ; preds = %373, %355
  %357 = load i32, ptr %26, align 4, !tbaa !5
  %358 = load i32, ptr %3, align 4, !tbaa !5
  %359 = icmp sle i32 %357, %358
  br i1 %359, label %361, label %360

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

361:                                              ; preds = %356
  %362 = load i32, ptr %26, align 4, !tbaa !5
  %363 = icmp ne i32 %362, 1
  br i1 %363, label %364, label %366

364:                                              ; preds = %361
  %365 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %366

366:                                              ; preds = %364, %361
  %367 = load i32, ptr %26, align 4, !tbaa !5
  %368 = sext i32 %367 to i64
  %369 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %368) #7
  %370 = getelementptr inbounds %struct.TableNode, ptr %369, i32 0, i32 1
  %371 = load i32, ptr %370, align 4, !tbaa !27
  %372 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %371)
  br label %373

373:                                              ; preds = %366
  %374 = load i32, ptr %26, align 4, !tbaa !5
  %375 = add nsw i32 %374, 1
  store i32 %375, ptr %26, align 4, !tbaa !5
  br label %356, !llvm.loop !28

376:                                              ; preds = %360
  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
  %377 = load i32, ptr %1, align 4
  ret i32 %377

378:                                              ; preds = %270, %57
  unreachable
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

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

; 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)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI9TableNodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 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, ...) #4

; 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 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 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 #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@tempPerson = external dso_local global %struct.Person, align 4
@players = external dso_local global %"class.std::vector", align 8
@tables = external dso_local global %"class.std::vector.0", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 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 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 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 uwtable
declare dso_local void @_Z10allocTableii(i32 noundef, i32 noundef) local_unnamed_addr #1

; 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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %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) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %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 = %37, %0
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = add nsw i32 %15, 1
  %17 = sext i32 %16 to i64
  call void @_ZNSt6vectorI9TableNodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %17)
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = icmp sgt i32 %18, 0
  br i1 %19, label %.lr.ph114, label %._crit_edge115

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

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

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

._crit_edge115:                                   ; preds = %.lr.ph114, %._crit_edge
  %41 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %42 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6PersonSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %41, ptr %42, ptr noundef nonnull @_Z4cmp16PersonS_)
  %43 = call noundef i32 @_Z11findNextVipi(i32 noundef -1)
  %44 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %.not141 = icmp eq i64 %44, 0
  br i1 %.not141, label %.thread, label %.preheader110

.lr.ph114:                                        ; preds = %._crit_edge, %.lr.ph114
  %.093112 = phi i32 [ %50, %.lr.ph114 ], [ 0, %._crit_edge ]
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %47) #8
  %49 = getelementptr inbounds i8, ptr %48, i64 8
  store i8 1, ptr %49, align 4, !tbaa !17
  %50 = add nuw nsw i32 %.093112, 1
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %.lr.ph114, label %._crit_edge115, !llvm.loop !19

.preheader110:                                    ; preds = %._crit_edge115, %132
  %53 = phi i64 [ %133, %132 ], [ 0, %._crit_edge115 ]
  %.087132 = phi i32 [ %.4, %132 ], [ %43, %._crit_edge115 ]
  %.089131 = phi i32 [ %.291, %132 ], [ 0, %._crit_edge115 ]
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %.not116 = icmp slt i32 %54, 1
  br i1 %.not116, label %.thread, label %.lr.ph120

._crit_edge121:                                   ; preds = %63
  %55 = icmp sgt i32 %.184, 75599
  br i1 %55, label %.thread, label %66

.lr.ph120:                                        ; preds = %.preheader110, %63
  %indvars.iv = phi i64 [ %indvars.iv.next, %63 ], [ 1, %.preheader110 ]
  %.083118 = phi i32 [ %.184, %63 ], [ 999999999, %.preheader110 ]
  %.085117 = phi i32 [ %.186, %63 ], [ -1, %.preheader110 ]
  %56 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv) #8
  %57 = load i32, ptr %56, align 4, !tbaa !20
  %58 = icmp slt i32 %57, %.083118
  br i1 %58, label %59, label %63

59:                                               ; preds = %.lr.ph120
  %60 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv) #8
  %61 = load i32, ptr %60, align 4, !tbaa !20
  %62 = trunc nuw nsw i64 %indvars.iv to i32
  br label %63

63:                                               ; preds = %.lr.ph120, %59
  %.186 = phi i32 [ %62, %59 ], [ %.085117, %.lr.ph120 ]
  %.184 = phi i32 [ %61, %59 ], [ %.083118, %.lr.ph120 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %64 = load i32, ptr %2, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %.not.not = icmp slt i64 %indvars.iv, %65
  br i1 %.not.not, label %.lr.ph120, label %._crit_edge121, !llvm.loop !21

66:                                               ; preds = %._crit_edge121
  %67 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %53) #8
  %68 = getelementptr inbounds i8, ptr %67, i64 12
  %69 = load i8, ptr %68, align 4, !tbaa !14, !range !22, !noundef !23
  %70 = trunc nuw i8 %69 to i1
  %71 = icmp slt i32 %.089131, %.087132
  %or.cond = select i1 %70, i1 %71, i1 false
  br i1 %or.cond, label %72, label %74

72:                                               ; preds = %66
  %73 = add nsw i32 %.089131, 1
  br label %132, !llvm.loop !24

74:                                               ; preds = %66
  %75 = sext i32 %.186 to i64
  %76 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %75) #8
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  %78 = load i8, ptr %77, align 4, !tbaa !17, !range !22, !noundef !23
  %79 = trunc nuw i8 %78 to i1
  %80 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %53) #8
  %81 = getelementptr inbounds i8, ptr %80, i64 12
  %82 = load i8, ptr %81, align 4, !tbaa !14, !range !22, !noundef !23
  %83 = trunc nuw i8 %82 to i1
  br i1 %79, label %84, label %104

84:                                               ; preds = %74
  br i1 %83, label %85, label %91

85:                                               ; preds = %84
  call void @_Z10allocTableii(i32 noundef %.089131, i32 noundef %.186)
  %86 = icmp eq i32 %.087132, %.089131
  br i1 %86, label %87, label %89

87:                                               ; preds = %85
  %88 = call noundef i32 @_Z11findNextVipi(i32 noundef %.087132)
  br label %89

89:                                               ; preds = %87, %85
  %.188 = phi i32 [ %88, %87 ], [ %.087132, %85 ]
  %90 = add nsw i32 %.089131, 1
  br label %132

91:                                               ; preds = %84
  %92 = sext i32 %.087132 to i64
  %93 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %94 = icmp ugt i64 %93, %92
  br i1 %94, label %95, label %102

95:                                               ; preds = %91
  %96 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %92) #8
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %75) #8
  %99 = load i32, ptr %98, align 4, !tbaa !20
  %.not100 = icmp sgt i32 %97, %99
  br i1 %.not100, label %102, label %100

100:                                              ; preds = %95
  call void @_Z10allocTableii(i32 noundef %.087132, i32 noundef %.186)
  %101 = call noundef i32 @_Z11findNextVipi(i32 noundef %.087132)
  br label %132

102:                                              ; preds = %95, %91
  call void @_Z10allocTableii(i32 noundef %.089131, i32 noundef %.186)
  %103 = add nsw i32 %.089131, 1
  br label %132

104:                                              ; preds = %74
  br i1 %83, label %.preheader, label %106

.preheader:                                       ; preds = %104
  %105 = load i32, ptr %2, align 4, !tbaa !5
  %.not97123 = icmp slt i32 %105, 1
  br i1 %.not97123, label %._crit_edge128.thread, label %.lr.ph127

106:                                              ; preds = %104
  call void @_Z10allocTableii(i32 noundef %.089131, i32 noundef %.186)
  %107 = add nsw i32 %.089131, 1
  br label %132

._crit_edge128:                                   ; preds = %120
  %.not98 = icmp eq i32 %.181, -1
  br i1 %.not98, label %._crit_edge128.thread, label %123

.lr.ph127:                                        ; preds = %.preheader, %120
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %120 ], [ 1, %.preheader ]
  %.079125 = phi i32 [ %.1, %120 ], [ 999999999, %.preheader ]
  %.080124 = phi i32 [ %.181, %120 ], [ -1, %.preheader ]
  %108 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv143) #8
  %109 = getelementptr inbounds i8, ptr %108, i64 8
  %110 = load i8, ptr %109, align 4, !tbaa !17, !range !22, !noundef !23
  %111 = trunc nuw i8 %110 to i1
  br i1 %111, label %112, label %120

112:                                              ; preds = %.lr.ph127
  %113 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv143) #8
  %114 = load i32, ptr %113, align 4, !tbaa !20
  %115 = icmp slt i32 %114, %.079125
  br i1 %115, label %116, label %120

116:                                              ; preds = %112
  %117 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv143) #8
  %118 = load i32, ptr %117, align 4, !tbaa !20
  %119 = trunc nuw nsw i64 %indvars.iv143 to i32
  br label %120

120:                                              ; preds = %.lr.ph127, %112, %116
  %.181 = phi i32 [ %119, %116 ], [ %.080124, %112 ], [ %.080124, %.lr.ph127 ]
  %.1 = phi i32 [ %118, %116 ], [ %.079125, %112 ], [ %.079125, %.lr.ph127 ]
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %121 = load i32, ptr %2, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %.not97.not = icmp slt i64 %indvars.iv143, %122
  br i1 %.not97.not, label %.lr.ph127, label %._crit_edge128, !llvm.loop !25

123:                                              ; preds = %._crit_edge128
  %124 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %53) #8
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %.not99 = icmp slt i32 %125, %.1
  br i1 %.not99, label %._crit_edge128.thread, label %126

._crit_edge128.thread:                            ; preds = %.preheader, %123, %._crit_edge128
  br label %126

126:                                              ; preds = %123, %._crit_edge128.thread
  %.186.lcssa.sink = phi i32 [ %.186, %._crit_edge128.thread ], [ %.181, %123 ]
  call void @_Z10allocTableii(i32 noundef %.089131, i32 noundef %.186.lcssa.sink)
  %127 = icmp eq i32 %.087132, %.089131
  br i1 %127, label %128, label %130

128:                                              ; preds = %126
  %129 = call noundef i32 @_Z11findNextVipi(i32 noundef %.087132)
  br label %130

130:                                              ; preds = %128, %126
  %.2 = phi i32 [ %129, %128 ], [ %.087132, %126 ]
  %131 = add nsw i32 %.089131, 1
  br label %132

132:                                              ; preds = %100, %102, %89, %130, %106, %72
  %.291 = phi i32 [ %73, %72 ], [ %90, %89 ], [ %.089131, %100 ], [ %103, %102 ], [ %131, %130 ], [ %107, %106 ]
  %.4 = phi i32 [ %.087132, %72 ], [ %.188, %89 ], [ %101, %100 ], [ %.087132, %102 ], [ %.2, %130 ], [ %.087132, %106 ]
  %133 = sext i32 %.291 to i64
  %134 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %135 = icmp ugt i64 %134, %133
  br i1 %135, label %.preheader110, label %.thread

.thread:                                          ; preds = %.preheader110, %132, %._crit_edge121, %._crit_edge115
  %136 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %137 = call ptr @_ZNSt6vectorI6PersonSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP6PersonSt6vectorIS2_SaIS2_EEEEPFbS2_S2_EEvT_SA_T0_(ptr %136, ptr %137, ptr noundef nonnull @_Z4cmp26PersonS_)
  %138 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %.not = icmp eq i64 %138, 0
  br i1 %.not, label %.critedge, label %.lr.ph135

.lr.ph135:                                        ; preds = %.thread, %143
  %indvars.iv146 = phi i64 [ %indvars.iv.next147, %143 ], [ 0, %.thread ]
  %139 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %140 = getelementptr inbounds i8, ptr %139, i64 4
  %141 = load i32, ptr %140, align 4, !tbaa !12
  %142 = icmp slt i32 %141, 75600
  br i1 %142, label %143, label %.critedge

143:                                              ; preds = %.lr.ph135
  %144 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %145 = load i32, ptr %144, align 4, !tbaa !9
  %146 = sdiv i32 %145, 3600
  %147 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %148 = load i32, ptr %147, align 4, !tbaa !9
  %149 = srem i32 %148, 3600
  %.lhs.trunc = trunc nsw i32 %149 to i16
  %150 = sdiv i16 %.lhs.trunc, 60
  %.sext = sext i16 %150 to i32
  %151 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %152 = load i32, ptr %151, align 4, !tbaa !9
  %153 = srem i32 %152, 60
  %154 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %146, i32 noundef %.sext, i32 noundef %153)
  %155 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %156 = getelementptr inbounds i8, ptr %155, i64 4
  %157 = load i32, ptr %156, align 4, !tbaa !12
  %158 = sdiv i32 %157, 3600
  %159 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %160 = getelementptr inbounds i8, ptr %159, i64 4
  %161 = load i32, ptr %160, align 4, !tbaa !12
  %162 = srem i32 %161, 3600
  %.lhs.trunc108 = trunc nsw i32 %162 to i16
  %163 = sdiv i16 %.lhs.trunc108, 60
  %.sext109 = sext i16 %163 to i32
  %164 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %165 = getelementptr inbounds i8, ptr %164, i64 4
  %166 = load i32, ptr %165, align 4, !tbaa !12
  %167 = srem i32 %166, 60
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %158, i32 noundef %.sext109, i32 noundef %167)
  %169 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %170 = getelementptr inbounds i8, ptr %169, i64 4
  %171 = load i32, ptr %170, align 4, !tbaa !12
  %172 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorI6PersonSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @players, i64 noundef %indvars.iv146) #8
  %173 = load i32, ptr %172, align 4, !tbaa !9
  %174 = sub nsw i32 %171, %173
  %175 = sitofp i32 %174 to double
  %176 = fdiv double %175, 6.000000e+01
  %177 = call double @llvm.round.f64(double %176)
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %177)
  %indvars.iv.next147 = add nuw nsw i64 %indvars.iv146, 1
  %179 = call noundef i64 @_ZNKSt6vectorI6PersonSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) @players) #8
  %180 = icmp ugt i64 %179, %indvars.iv.next147
  br i1 %180, label %.lr.ph135, label %.critedge, !llvm.loop !26

.critedge:                                        ; preds = %.lr.ph135, %143, %.thread
  %181 = load i32, ptr %2, align 4, !tbaa !5
  %.not101137 = icmp slt i32 %181, 1
  br i1 %.not101137, label %._crit_edge140, label %.lr.ph139.preheader

.lr.ph139.preheader:                              ; preds = %.critedge
  %182 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef 1) #8
  %183 = getelementptr inbounds i8, ptr %182, i64 4
  %184 = load i32, ptr %183, align 4, !tbaa !27
  %185 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %184)
  %186 = load i32, ptr %2, align 4, !tbaa !5
  %.not101.not.peel = icmp sgt i32 %186, 1
  br i1 %.not101.not.peel, label %.lr.ph139.peel.next, label %._crit_edge140

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

.lr.ph139.peel.next:                              ; preds = %.lr.ph139.preheader, %.lr.ph139.peel.next
  %indvars.iv149 = phi i64 [ %indvars.iv.next150, %.lr.ph139.peel.next ], [ 2, %.lr.ph139.preheader ]
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %188 = call noundef nonnull align 4 dereferenceable(9) ptr @_ZNSt6vectorI9TableNodeSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @tables, i64 noundef %indvars.iv149) #8
  %189 = getelementptr inbounds i8, ptr %188, i64 4
  %190 = load i32, ptr %189, align 4, !tbaa !27
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %190)
  %indvars.iv.next150 = add nuw nsw i64 %indvars.iv149, 1
  %192 = load i32, ptr %2, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %.not101.not = icmp slt i64 %indvars.iv149, %193
  br i1 %.not101.not, label %.lr.ph139.peel.next, label %._crit_edge140, !llvm.loop !28
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

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

; 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 #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI9TableNodeSaIS0_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 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 #6

; 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 #5

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #7

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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