; LLVM IR from imteekay/algorithms :: competitive-programming/uri (spurs_rock)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl" }
%"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl" = type { %"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl_data" }
%"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, team>, std::_Select1st<std::pair<const int, team>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, team>, std::_Select1st<std::pair<const int, team>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%struct.team = type { i32, i32, float, float, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { i32, %struct.team }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5untieRK4teamS1_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %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 float, align 4
  %7 = alloca float, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::map", align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %17 = alloca %struct.team, align 4
  %18 = alloca %struct.team, align 4
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %21 = alloca %struct.team, align 4
  %22 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %23 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %26 = alloca %struct.team, align 4
  %27 = alloca %struct.team, align 4
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %30 = alloca %struct.team, align 4
  %31 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = 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
  store i32 1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %36 = 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)
  br label %37

37:                                               ; preds = %455, %0
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %457

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  call void @_ZNSt6vectorI4teamSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #7
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %372, %40
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = load i32, ptr %2, align 4, !tbaa !5
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sub nsw i32 %44, 1
  %46 = mul nsw i32 %43, %45
  %47 = sdiv i32 %46, 2
  %48 = icmp slt i32 %42, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %376

50:                                               ; preds = %41
  %51 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %52 unwind label %121

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %54 unwind label %121

54:                                               ; preds = %52
  %55 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %56 unwind label %121

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %58 unwind label %121

58:                                               ; preds = %56
  %59 = load float, ptr %6, align 4, !tbaa !9
  %60 = load float, ptr %7, align 4, !tbaa !9
  %61 = fcmp ogt float %59, %60
  br i1 %61, label %62, label %215

62:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %63 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %64 unwind label %125

64:                                               ; preds = %62
  %65 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %13, i32 0, i32 0
  store ptr %63, ptr %65, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %66 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %67 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %14, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  %68 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br i1 %68, label %69, label %149

69:                                               ; preds = %64
  %70 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %71 unwind label %121

71:                                               ; preds = %69
  %72 = getelementptr inbounds %struct.team, ptr %70, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !11
  %74 = add nsw i32 %73, 2
  store i32 %74, ptr %72, align 4, !tbaa !11
  %75 = load float, ptr %6, align 4, !tbaa !9
  %76 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %77 unwind label %121

77:                                               ; preds = %71
  %78 = getelementptr inbounds %struct.team, ptr %76, i32 0, i32 2
  %79 = load float, ptr %78, align 4, !tbaa !13
  %80 = fadd float %79, %75
  store float %80, ptr %78, align 4, !tbaa !13
  %81 = load float, ptr %7, align 4, !tbaa !9
  %82 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %83 unwind label %121

83:                                               ; preds = %77
  %84 = getelementptr inbounds %struct.team, ptr %82, i32 0, i32 3
  %85 = load float, ptr %84, align 4, !tbaa !14
  %86 = fadd float %85, %81
  store float %86, ptr %84, align 4, !tbaa !14
  %87 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %88 unwind label %121

88:                                               ; preds = %83
  %89 = getelementptr inbounds %struct.team, ptr %87, i32 0, i32 4
  %90 = load i32, ptr %89, align 4, !tbaa !15
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %89, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %92 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %93 unwind label %129

93:                                               ; preds = %88
  %94 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %15, i32 0, i32 0
  store ptr %92, ptr %94, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %95 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %96 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %16, i32 0, i32 0
  store ptr %95, ptr %96, align 8
  %97 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br i1 %97, label %98, label %133

98:                                               ; preds = %93
  %99 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %100 unwind label %121

100:                                              ; preds = %98
  %101 = getelementptr inbounds %struct.team, ptr %99, i32 0, i32 1
  %102 = load i32, ptr %101, align 4, !tbaa !11
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %101, align 4, !tbaa !11
  %104 = load float, ptr %7, align 4, !tbaa !9
  %105 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %106 unwind label %121

106:                                              ; preds = %100
  %107 = getelementptr inbounds %struct.team, ptr %105, i32 0, i32 2
  %108 = load float, ptr %107, align 4, !tbaa !13
  %109 = fadd float %108, %104
  store float %109, ptr %107, align 4, !tbaa !13
  %110 = load float, ptr %6, align 4, !tbaa !9
  %111 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %112 unwind label %121

112:                                              ; preds = %106
  %113 = getelementptr inbounds %struct.team, ptr %111, i32 0, i32 3
  %114 = load float, ptr %113, align 4, !tbaa !14
  %115 = fadd float %114, %110
  store float %115, ptr %113, align 4, !tbaa !14
  %116 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %117 unwind label %121

117:                                              ; preds = %112
  %118 = getelementptr inbounds %struct.team, ptr %116, i32 0, i32 4
  %119 = load i32, ptr %118, align 4, !tbaa !15
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %118, align 4, !tbaa !15
  br label %148

121:                                              ; preds = %269, %263, %257, %255, %240, %234, %228, %226, %112, %106, %100, %98, %83, %77, %71, %69, %56, %54, %52, %50
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %11, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %12, align 4
  br label %375

125:                                              ; preds = %62
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %11, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %375

129:                                              ; preds = %88
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %11, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %375

133:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 20, ptr %17) #7
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = getelementptr inbounds %struct.team, ptr %17, i32 0, i32 0
  store i32 %134, ptr %135, align 4, !tbaa !16
  %136 = getelementptr inbounds %struct.team, ptr %17, i32 0, i32 1
  store i32 1, ptr %136, align 4, !tbaa !11
  %137 = load float, ptr %7, align 4, !tbaa !9
  %138 = getelementptr inbounds %struct.team, ptr %17, i32 0, i32 2
  store float %137, ptr %138, align 4, !tbaa !13
  %139 = load float, ptr %6, align 4, !tbaa !9
  %140 = getelementptr inbounds %struct.team, ptr %17, i32 0, i32 3
  store float %139, ptr %140, align 4, !tbaa !14
  %141 = getelementptr inbounds %struct.team, ptr %17, i32 0, i32 4
  store i32 1, ptr %141, align 4, !tbaa !15
  %142 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %143 unwind label %144

143:                                              ; preds = %133
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %142, ptr align 4 %17, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 20, ptr %17) #7
  br label %148

144:                                              ; preds = %133
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %11, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %17) #7
  br label %375

148:                                              ; preds = %143, %117
  br label %214

149:                                              ; preds = %64
  call void @llvm.lifetime.start.p0(i64 20, ptr %18) #7
  %150 = load i32, ptr %3, align 4, !tbaa !5
  %151 = getelementptr inbounds %struct.team, ptr %18, i32 0, i32 0
  store i32 %150, ptr %151, align 4, !tbaa !16
  %152 = getelementptr inbounds %struct.team, ptr %18, i32 0, i32 1
  store i32 2, ptr %152, align 4, !tbaa !11
  %153 = load float, ptr %6, align 4, !tbaa !9
  %154 = getelementptr inbounds %struct.team, ptr %18, i32 0, i32 2
  store float %153, ptr %154, align 4, !tbaa !13
  %155 = load float, ptr %7, align 4, !tbaa !9
  %156 = getelementptr inbounds %struct.team, ptr %18, i32 0, i32 3
  store float %155, ptr %156, align 4, !tbaa !14
  %157 = getelementptr inbounds %struct.team, ptr %18, i32 0, i32 4
  store i32 1, ptr %157, align 4, !tbaa !15
  %158 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %159 unwind label %189

159:                                              ; preds = %149
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %158, ptr align 4 %18, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %160 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %161 unwind label %193

161:                                              ; preds = %159
  %162 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %19, i32 0, i32 0
  store ptr %160, ptr %162, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %163 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %164 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %20, i32 0, i32 0
  store ptr %163, ptr %164, align 8
  %165 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br i1 %165, label %166, label %197

166:                                              ; preds = %161
  %167 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %168 unwind label %189

168:                                              ; preds = %166
  %169 = getelementptr inbounds %struct.team, ptr %167, i32 0, i32 1
  %170 = load i32, ptr %169, align 4, !tbaa !11
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %169, align 4, !tbaa !11
  %172 = load float, ptr %7, align 4, !tbaa !9
  %173 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %174 unwind label %189

174:                                              ; preds = %168
  %175 = getelementptr inbounds %struct.team, ptr %173, i32 0, i32 2
  %176 = load float, ptr %175, align 4, !tbaa !13
  %177 = fadd float %176, %172
  store float %177, ptr %175, align 4, !tbaa !13
  %178 = load float, ptr %6, align 4, !tbaa !9
  %179 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %180 unwind label %189

180:                                              ; preds = %174
  %181 = getelementptr inbounds %struct.team, ptr %179, i32 0, i32 3
  %182 = load float, ptr %181, align 4, !tbaa !14
  %183 = fadd float %182, %178
  store float %183, ptr %181, align 4, !tbaa !14
  %184 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %185 unwind label %189

185:                                              ; preds = %180
  %186 = getelementptr inbounds %struct.team, ptr %184, i32 0, i32 4
  %187 = load i32, ptr %186, align 4, !tbaa !15
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %186, align 4, !tbaa !15
  br label %212

189:                                              ; preds = %180, %174, %168, %166, %149
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %11, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %12, align 4
  br label %213

193:                                              ; preds = %159
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %11, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %213

197:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 20, ptr %21) #7
  %198 = load i32, ptr %4, align 4, !tbaa !5
  %199 = getelementptr inbounds %struct.team, ptr %21, i32 0, i32 0
  store i32 %198, ptr %199, align 4, !tbaa !16
  %200 = getelementptr inbounds %struct.team, ptr %21, i32 0, i32 1
  store i32 1, ptr %200, align 4, !tbaa !11
  %201 = load float, ptr %7, align 4, !tbaa !9
  %202 = getelementptr inbounds %struct.team, ptr %21, i32 0, i32 2
  store float %201, ptr %202, align 4, !tbaa !13
  %203 = load float, ptr %6, align 4, !tbaa !9
  %204 = getelementptr inbounds %struct.team, ptr %21, i32 0, i32 3
  store float %203, ptr %204, align 4, !tbaa !14
  %205 = getelementptr inbounds %struct.team, ptr %21, i32 0, i32 4
  store i32 1, ptr %205, align 4, !tbaa !15
  %206 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %207 unwind label %208

207:                                              ; preds = %197
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %206, ptr align 4 %21, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 20, ptr %21) #7
  br label %212

208:                                              ; preds = %197
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %11, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %21) #7
  br label %213

212:                                              ; preds = %207, %185
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #7
  br label %214

213:                                              ; preds = %208, %193, %189
  call void @llvm.lifetime.end.p0(i64 20, ptr %18) #7
  br label %375

214:                                              ; preds = %212, %148
  br label %371

215:                                              ; preds = %58
  %216 = load float, ptr %6, align 4, !tbaa !9
  %217 = load float, ptr %7, align 4, !tbaa !9
  %218 = fcmp olt float %216, %217
  br i1 %218, label %219, label %370

219:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %220 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %221 unwind label %278

221:                                              ; preds = %219
  %222 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %22, i32 0, i32 0
  store ptr %220, ptr %222, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %223 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %224 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %23, i32 0, i32 0
  store ptr %223, ptr %224, align 8
  %225 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br i1 %225, label %226, label %302

226:                                              ; preds = %221
  %227 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %228 unwind label %121

228:                                              ; preds = %226
  %229 = getelementptr inbounds %struct.team, ptr %227, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !11
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %229, align 4, !tbaa !11
  %232 = load float, ptr %6, align 4, !tbaa !9
  %233 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %234 unwind label %121

234:                                              ; preds = %228
  %235 = getelementptr inbounds %struct.team, ptr %233, i32 0, i32 2
  %236 = load float, ptr %235, align 4, !tbaa !13
  %237 = fadd float %236, %232
  store float %237, ptr %235, align 4, !tbaa !13
  %238 = load float, ptr %7, align 4, !tbaa !9
  %239 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %240 unwind label %121

240:                                              ; preds = %234
  %241 = getelementptr inbounds %struct.team, ptr %239, i32 0, i32 3
  %242 = load float, ptr %241, align 4, !tbaa !14
  %243 = fadd float %242, %238
  store float %243, ptr %241, align 4, !tbaa !14
  %244 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %245 unwind label %121

245:                                              ; preds = %240
  %246 = getelementptr inbounds %struct.team, ptr %244, i32 0, i32 4
  %247 = load i32, ptr %246, align 4, !tbaa !15
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %246, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %249 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %250 unwind label %282

250:                                              ; preds = %245
  %251 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %24, i32 0, i32 0
  store ptr %249, ptr %251, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %252 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %253 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %25, i32 0, i32 0
  store ptr %252, ptr %253, align 8
  %254 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br i1 %254, label %255, label %286

255:                                              ; preds = %250
  %256 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %257 unwind label %121

257:                                              ; preds = %255
  %258 = getelementptr inbounds %struct.team, ptr %256, i32 0, i32 1
  %259 = load i32, ptr %258, align 4, !tbaa !11
  %260 = add nsw i32 %259, 2
  store i32 %260, ptr %258, align 4, !tbaa !11
  %261 = load float, ptr %7, align 4, !tbaa !9
  %262 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %263 unwind label %121

263:                                              ; preds = %257
  %264 = getelementptr inbounds %struct.team, ptr %262, i32 0, i32 2
  %265 = load float, ptr %264, align 4, !tbaa !13
  %266 = fadd float %265, %261
  store float %266, ptr %264, align 4, !tbaa !13
  %267 = load float, ptr %6, align 4, !tbaa !9
  %268 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %269 unwind label %121

269:                                              ; preds = %263
  %270 = getelementptr inbounds %struct.team, ptr %268, i32 0, i32 3
  %271 = load float, ptr %270, align 4, !tbaa !14
  %272 = fadd float %271, %267
  store float %272, ptr %270, align 4, !tbaa !14
  %273 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %274 unwind label %121

274:                                              ; preds = %269
  %275 = getelementptr inbounds %struct.team, ptr %273, i32 0, i32 4
  %276 = load i32, ptr %275, align 4, !tbaa !15
  %277 = add nsw i32 %276, 1
  store i32 %277, ptr %275, align 4, !tbaa !15
  br label %301

278:                                              ; preds = %219
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %11, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %375

282:                                              ; preds = %245
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %11, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %375

286:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 20, ptr %26) #7
  %287 = load i32, ptr %4, align 4, !tbaa !5
  %288 = getelementptr inbounds %struct.team, ptr %26, i32 0, i32 0
  store i32 %287, ptr %288, align 4, !tbaa !16
  %289 = getelementptr inbounds %struct.team, ptr %26, i32 0, i32 1
  store i32 2, ptr %289, align 4, !tbaa !11
  %290 = load float, ptr %7, align 4, !tbaa !9
  %291 = getelementptr inbounds %struct.team, ptr %26, i32 0, i32 2
  store float %290, ptr %291, align 4, !tbaa !13
  %292 = load float, ptr %6, align 4, !tbaa !9
  %293 = getelementptr inbounds %struct.team, ptr %26, i32 0, i32 3
  store float %292, ptr %293, align 4, !tbaa !14
  %294 = getelementptr inbounds %struct.team, ptr %26, i32 0, i32 4
  store i32 1, ptr %294, align 4, !tbaa !15
  %295 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %296 unwind label %297

296:                                              ; preds = %286
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %295, ptr align 4 %26, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 20, ptr %26) #7
  br label %301

297:                                              ; preds = %286
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %11, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %26) #7
  br label %375

301:                                              ; preds = %296, %274
  br label %369

302:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 20, ptr %27) #7
  %303 = load i32, ptr %3, align 4, !tbaa !5
  %304 = getelementptr inbounds %struct.team, ptr %27, i32 0, i32 0
  store i32 %303, ptr %304, align 4, !tbaa !16
  %305 = getelementptr inbounds %struct.team, ptr %27, i32 0, i32 1
  store i32 1, ptr %305, align 4, !tbaa !11
  %306 = load float, ptr %6, align 4, !tbaa !9
  %307 = getelementptr inbounds %struct.team, ptr %27, i32 0, i32 2
  store float %306, ptr %307, align 4, !tbaa !13
  %308 = load float, ptr %7, align 4, !tbaa !9
  %309 = getelementptr inbounds %struct.team, ptr %27, i32 0, i32 3
  store float %308, ptr %309, align 4, !tbaa !14
  %310 = getelementptr inbounds %struct.team, ptr %27, i32 0, i32 4
  store i32 1, ptr %310, align 4, !tbaa !15
  %311 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %312 unwind label %342

312:                                              ; preds = %302
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %311, ptr align 4 %27, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %313 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %314 unwind label %346

314:                                              ; preds = %312
  %315 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %28, i32 0, i32 0
  store ptr %313, ptr %315, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %316 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %317 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %29, i32 0, i32 0
  store ptr %316, ptr %317, align 8
  %318 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br i1 %318, label %319, label %350

319:                                              ; preds = %314
  %320 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %321 unwind label %342

321:                                              ; preds = %319
  %322 = getelementptr inbounds %struct.team, ptr %320, i32 0, i32 1
  %323 = load i32, ptr %322, align 4, !tbaa !11
  %324 = add nsw i32 %323, 2
  store i32 %324, ptr %322, align 4, !tbaa !11
  %325 = load float, ptr %7, align 4, !tbaa !9
  %326 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %327 unwind label %342

327:                                              ; preds = %321
  %328 = getelementptr inbounds %struct.team, ptr %326, i32 0, i32 2
  %329 = load float, ptr %328, align 4, !tbaa !13
  %330 = fadd float %329, %325
  store float %330, ptr %328, align 4, !tbaa !13
  %331 = load float, ptr %6, align 4, !tbaa !9
  %332 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %333 unwind label %342

333:                                              ; preds = %327
  %334 = getelementptr inbounds %struct.team, ptr %332, i32 0, i32 3
  %335 = load float, ptr %334, align 4, !tbaa !14
  %336 = fadd float %335, %331
  store float %336, ptr %334, align 4, !tbaa !14
  %337 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %338 unwind label %342

338:                                              ; preds = %333
  %339 = getelementptr inbounds %struct.team, ptr %337, i32 0, i32 4
  %340 = load i32, ptr %339, align 4, !tbaa !15
  %341 = add nsw i32 %340, 1
  store i32 %341, ptr %339, align 4, !tbaa !15
  br label %367

342:                                              ; preds = %333, %327, %321, %319, %302
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %11, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %12, align 4
  br label %368

346:                                              ; preds = %312
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %11, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %368

350:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 20, ptr %30) #7
  %351 = load i32, ptr %4, align 4, !tbaa !5
  %352 = getelementptr inbounds %struct.team, ptr %30, i32 0, i32 0
  store i32 %351, ptr %352, align 4, !tbaa !16
  %353 = getelementptr inbounds %struct.team, ptr %30, i32 0, i32 1
  store i32 2, ptr %353, align 4, !tbaa !11
  %354 = load float, ptr %7, align 4, !tbaa !9
  %355 = getelementptr inbounds %struct.team, ptr %30, i32 0, i32 2
  store float %354, ptr %355, align 4, !tbaa !13
  %356 = load float, ptr %6, align 4, !tbaa !9
  %357 = getelementptr inbounds %struct.team, ptr %30, i32 0, i32 3
  %358 = load float, ptr %357, align 4, !tbaa !14
  %359 = fadd float %358, %356
  store float %359, ptr %357, align 4, !tbaa !14
  %360 = getelementptr inbounds %struct.team, ptr %30, i32 0, i32 4
  store i32 1, ptr %360, align 4, !tbaa !15
  %361 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %9, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %362 unwind label %363

362:                                              ; preds = %350
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %361, ptr align 4 %30, i64 20, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 20, ptr %30) #7
  br label %367

363:                                              ; preds = %350
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %11, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 20, ptr %30) #7
  br label %368

367:                                              ; preds = %362, %338
  call void @llvm.lifetime.end.p0(i64 20, ptr %27) #7
  br label %369

368:                                              ; preds = %363, %346, %342
  call void @llvm.lifetime.end.p0(i64 20, ptr %27) #7
  br label %375

369:                                              ; preds = %367, %301
  br label %370

370:                                              ; preds = %369, %215
  br label %371

371:                                              ; preds = %370, %214
  br label %372

372:                                              ; preds = %371
  %373 = load i32, ptr %10, align 4, !tbaa !5
  %374 = add nsw i32 %373, 1
  store i32 %374, ptr %10, align 4, !tbaa !5
  br label %41, !llvm.loop !18

375:                                              ; preds = %368, %297, %282, %278, %213, %144, %129, %125, %121
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %456

376:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %377 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %378 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %31, i32 0, i32 0
  store ptr %377, ptr %378, align 8
  br label %379

379:                                              ; preds = %388, %376
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %380 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  %381 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %32, i32 0, i32 0
  store ptr %380, ptr %381, align 8
  %382 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br i1 %382, label %384, label %383

383:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %394

384:                                              ; preds = %379
  %385 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKi4teamEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  %386 = getelementptr inbounds %"struct.std::pair", ptr %385, i32 0, i32 1
  invoke void @_ZNSt6vectorI4teamSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(20) %386)
          to label %387 unwind label %390

387:                                              ; preds = %384
  br label %388

388:                                              ; preds = %387
  %389 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKi4teamEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #7
  br label %379, !llvm.loop !20

390:                                              ; preds = %384
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %11, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %456

394:                                              ; preds = %383
  %395 = call ptr @_ZNSt6vectorI4teamSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %396 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %395, ptr %396, align 8
  %397 = call ptr @_ZNSt6vectorI4teamSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %398 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %397, ptr %398, align 8
  %399 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  %400 = load ptr, ptr %399, align 8
  %401 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4teamSt6vectorIS2_SaIS2_EEEEPFbRKS2_S9_EEvT_SC_T0_(ptr %400, ptr %402, ptr noundef @_Z5untieRK4teamS1_)
          to label %403 unwind label %422

403:                                              ; preds = %394
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
          to label %405 unwind label %422

405:                                              ; preds = %403
  %406 = load i32, ptr %5, align 4, !tbaa !5
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %404, i32 noundef %406)
          to label %408 unwind label %422

408:                                              ; preds = %405
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %407, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %410 unwind label %422

410:                                              ; preds = %408
  %411 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorI4teamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #7
  %412 = getelementptr inbounds %struct.team, ptr %411, i32 0, i32 0
  %413 = load i32, ptr %412, align 4, !tbaa !16
  %414 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %413)
          to label %415 unwind label %422

415:                                              ; preds = %410
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 1, ptr %35, align 4, !tbaa !5
  br label %416

416:                                              ; preds = %436, %415
  %417 = load i32, ptr %35, align 4, !tbaa !5
  %418 = sext i32 %417 to i64
  %419 = call noundef i64 @_ZNKSt6vectorI4teamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %420 = icmp ult i64 %418, %419
  br i1 %420, label %426, label %421

421:                                              ; preds = %416
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %443

422:                                              ; preds = %452, %445, %443, %410, %408, %405, %403, %394
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %11, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %12, align 4
  br label %456

426:                                              ; preds = %416
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
          to label %428 unwind label %439

428:                                              ; preds = %426
  %429 = load i32, ptr %35, align 4, !tbaa !5
  %430 = sext i32 %429 to i64
  %431 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorI4teamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %430) #7
  %432 = getelementptr inbounds %struct.team, ptr %431, i32 0, i32 0
  %433 = load i32, ptr %432, align 4, !tbaa !16
  %434 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %427, i32 noundef %433)
          to label %435 unwind label %439

435:                                              ; preds = %428
  br label %436

436:                                              ; preds = %435
  %437 = load i32, ptr %35, align 4, !tbaa !5
  %438 = add nsw i32 %437, 1
  store i32 %438, ptr %35, align 4, !tbaa !5
  br label %416, !llvm.loop !21

439:                                              ; preds = %428, %426
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %11, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %456

443:                                              ; preds = %421
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %445 unwind label %422

445:                                              ; preds = %443
  %446 = load i32, ptr %5, align 4, !tbaa !5
  %447 = add nsw i32 %446, 1
  store i32 %447, ptr %5, align 4, !tbaa !5
  %448 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %449 unwind label %422

449:                                              ; preds = %445
  %450 = load i32, ptr %2, align 4, !tbaa !5
  %451 = icmp ne i32 %450, 0
  br i1 %451, label %452, label %455

452:                                              ; preds = %449
  %453 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %454 unwind label %422

454:                                              ; preds = %452
  br label %455

455:                                              ; preds = %454, %449
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  call void @_ZNSt6vectorI4teamSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  br label %37, !llvm.loop !22

456:                                              ; preds = %439, %422, %390, %375
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #7
  call void @_ZNSt6vectorI4teamSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #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
  br label %458

457:                                              ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #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
  ret i32 0

458:                                              ; preds = %456
  %459 = load ptr, ptr %11, align 8
  %460 = load i32, ptr %12, align 4
  %461 = insertvalue { ptr, i32 } poison, ptr %459, 0
  %462 = insertvalue { ptr, i32 } %461, i32 %460, 1
  resume { ptr, i32 } %462
}

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) #4 align 2

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"_ZTS4team", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 12, !6, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 16}
!16 = !{!12, !6, i64 0}
!17 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !5}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl" }
%"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl" = type { %"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl_data" }
%"struct.std::_Vector_base<team, std::allocator<team>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, team>, std::_Select1st<std::pair<const int, team>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, team>, std::_Select1st<std::pair<const int, team>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5untieRK4teamS1_(ptr noundef nonnull align 4 dereferenceable(20), ptr noundef nonnull align 4 dereferenceable(20)) #0

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::map", align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %11 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %12 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %13 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %17 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  %22 = 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)
  %23 = load i32, ptr %1, align 4, !tbaa !5
  %.not72 = icmp eq i32 %23, 0
  br i1 %.not72, label %._crit_edge77, label %.lr.ph76

.lr.ph76:                                         ; preds = %0, %320
  %.03474 = phi i32 [ %314, %320 ], [ 1, %0 ]
  %.sroa.7.073 = phi float [ %.sroa.7.1.lcssa, %320 ], [ undef, %0 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZNSt6vectorI4teamSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = add nsw i32 %24, -1
  %26 = mul nsw i32 %25, %24
  %27 = icmp sgt i32 %26, 1
  br i1 %27, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %271, %.lr.ph76
  %.sroa.7.1.lcssa = phi float [ %.sroa.7.073, %.lr.ph76 ], [ %.sroa.7.3, %271 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %28 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %28, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %29 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %29, ptr %21, align 8
  %30 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br i1 %30, label %.lr.ph67, label %._crit_edge68

.lr.ph:                                           ; preds = %.lr.ph76, %271
  %.03565 = phi i32 [ %272, %271 ], [ 0, %.lr.ph76 ]
  %.sroa.7.164 = phi float [ %.sroa.7.3, %271 ], [ %.sroa.7.073, %.lr.ph76 ]
  %31 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %32 unwind label %97

32:                                               ; preds = %.lr.ph
  %33 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %34 unwind label %97

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %36 unwind label %97

36:                                               ; preds = %34
  %37 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %38 unwind label %97

38:                                               ; preds = %36
  %39 = load float, ptr %4, align 4, !tbaa !9
  %40 = load float, ptr %5, align 4, !tbaa !9
  %41 = fcmp ogt float %39, %40
  br i1 %41, label %42, label %156

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %43 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %44 unwind label %99

44:                                               ; preds = %42
  store ptr %43, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %45 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %45, ptr %9, align 8
  %46 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br i1 %46, label %47, label %111

47:                                               ; preds = %44
  %48 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %49 unwind label %97

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %48, i64 4
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = add nsw i32 %51, 2
  store i32 %52, ptr %50, align 4, !tbaa !11
  %53 = load float, ptr %4, align 4, !tbaa !9
  %54 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %55 unwind label %97

55:                                               ; preds = %49
  %56 = getelementptr inbounds i8, ptr %54, i64 8
  %57 = load float, ptr %56, align 4, !tbaa !13
  %58 = fadd float %53, %57
  store float %58, ptr %56, align 4, !tbaa !13
  %59 = load float, ptr %5, align 4, !tbaa !9
  %60 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %61 unwind label %97

61:                                               ; preds = %55
  %62 = getelementptr inbounds i8, ptr %60, i64 12
  %63 = load float, ptr %62, align 4, !tbaa !14
  %64 = fadd float %59, %63
  store float %64, ptr %62, align 4, !tbaa !14
  %65 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %66 unwind label %97

66:                                               ; preds = %61
  %67 = getelementptr inbounds i8, ptr %65, i64 16
  %68 = load i32, ptr %67, align 4, !tbaa !15
  %69 = add nsw i32 %68, 1
  store i32 %69, ptr %67, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %70 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %71 unwind label %101

71:                                               ; preds = %66
  store ptr %70, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %72 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %72, ptr %11, align 8
  %73 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %73, label %74, label %103

74:                                               ; preds = %71
  %75 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %76 unwind label %97

76:                                               ; preds = %74
  %77 = getelementptr inbounds i8, ptr %75, i64 4
  %78 = load i32, ptr %77, align 4, !tbaa !11
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %77, align 4, !tbaa !11
  %80 = load float, ptr %5, align 4, !tbaa !9
  %81 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %82 unwind label %97

82:                                               ; preds = %76
  %83 = getelementptr inbounds i8, ptr %81, i64 8
  %84 = load float, ptr %83, align 4, !tbaa !13
  %85 = fadd float %80, %84
  store float %85, ptr %83, align 4, !tbaa !13
  %86 = load float, ptr %4, align 4, !tbaa !9
  %87 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %88 unwind label %97

88:                                               ; preds = %82
  %89 = getelementptr inbounds i8, ptr %87, i64 12
  %90 = load float, ptr %89, align 4, !tbaa !14
  %91 = fadd float %86, %90
  store float %91, ptr %89, align 4, !tbaa !14
  %92 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %93 unwind label %97

93:                                               ; preds = %88
  %94 = getelementptr inbounds i8, ptr %92, i64 16
  %95 = load i32, ptr %94, align 4, !tbaa !15
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %94, align 4, !tbaa !15
  br label %271

97:                                               ; preds = %204, %198, %192, %190, %177, %171, %165, %163, %88, %82, %76, %74, %61, %55, %49, %47, %36, %34, %32, %.lr.ph
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %322

99:                                               ; preds = %42
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %322

101:                                              ; preds = %66
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %322

103:                                              ; preds = %71
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = load float, ptr %5, align 4, !tbaa !9
  %106 = load float, ptr %4, align 4, !tbaa !9
  %107 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %108 unwind label %109

108:                                              ; preds = %103
  store i32 %104, ptr %107, align 4, !tbaa !5
  %.sroa.525.0..sroa_idx = getelementptr inbounds i8, ptr %107, i64 4
  store i32 1, ptr %.sroa.525.0..sroa_idx, align 4, !tbaa !5
  %.sroa.626.0..sroa_idx = getelementptr inbounds i8, ptr %107, i64 8
  store float %105, ptr %.sroa.626.0..sroa_idx, align 4, !tbaa !9
  %.sroa.727.0..sroa_idx = getelementptr inbounds i8, ptr %107, i64 12
  store float %106, ptr %.sroa.727.0..sroa_idx, align 4, !tbaa !9
  %.sroa.828.0..sroa_idx = getelementptr inbounds i8, ptr %107, i64 16
  store i32 1, ptr %.sroa.828.0..sroa_idx, align 4, !tbaa !5
  br label %271

109:                                              ; preds = %103
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %322

111:                                              ; preds = %44
  %112 = load i32, ptr %2, align 4, !tbaa !5
  %113 = load float, ptr %4, align 4, !tbaa !9
  %114 = load float, ptr %5, align 4, !tbaa !9
  %115 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %116 unwind label %144

116:                                              ; preds = %111
  store i32 %112, ptr %115, align 4, !tbaa !5
  %.sroa.520.0..sroa_idx = getelementptr inbounds i8, ptr %115, i64 4
  store i32 2, ptr %.sroa.520.0..sroa_idx, align 4, !tbaa !5
  %.sroa.621.0..sroa_idx = getelementptr inbounds i8, ptr %115, i64 8
  store float %113, ptr %.sroa.621.0..sroa_idx, align 4, !tbaa !9
  %.sroa.722.0..sroa_idx = getelementptr inbounds i8, ptr %115, i64 12
  store float %114, ptr %.sroa.722.0..sroa_idx, align 4, !tbaa !9
  %.sroa.823.0..sroa_idx = getelementptr inbounds i8, ptr %115, i64 16
  store i32 1, ptr %.sroa.823.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %117 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %118 unwind label %146

118:                                              ; preds = %116
  store ptr %117, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %119 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %119, ptr %13, align 8
  %120 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br i1 %120, label %121, label %148

121:                                              ; preds = %118
  %122 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %123 unwind label %144

123:                                              ; preds = %121
  %124 = getelementptr inbounds i8, ptr %122, i64 4
  %125 = load i32, ptr %124, align 4, !tbaa !11
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %124, align 4, !tbaa !11
  %127 = load float, ptr %5, align 4, !tbaa !9
  %128 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %129 unwind label %144

129:                                              ; preds = %123
  %130 = getelementptr inbounds i8, ptr %128, i64 8
  %131 = load float, ptr %130, align 4, !tbaa !13
  %132 = fadd float %127, %131
  store float %132, ptr %130, align 4, !tbaa !13
  %133 = load float, ptr %4, align 4, !tbaa !9
  %134 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %135 unwind label %144

135:                                              ; preds = %129
  %136 = getelementptr inbounds i8, ptr %134, i64 12
  %137 = load float, ptr %136, align 4, !tbaa !14
  %138 = fadd float %133, %137
  store float %138, ptr %136, align 4, !tbaa !14
  %139 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %140 unwind label %144

140:                                              ; preds = %135
  %141 = getelementptr inbounds i8, ptr %139, i64 16
  %142 = load i32, ptr %141, align 4, !tbaa !15
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %141, align 4, !tbaa !15
  br label %271

144:                                              ; preds = %135, %129, %123, %121, %111
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %322

146:                                              ; preds = %116
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  br label %322

148:                                              ; preds = %118
  %149 = load i32, ptr %3, align 4, !tbaa !5
  %150 = load float, ptr %5, align 4, !tbaa !9
  %151 = load float, ptr %4, align 4, !tbaa !9
  %152 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %153 unwind label %154

153:                                              ; preds = %148
  store i32 %149, ptr %152, align 4, !tbaa !5
  %.sroa.515.0..sroa_idx = getelementptr inbounds i8, ptr %152, i64 4
  store i32 1, ptr %.sroa.515.0..sroa_idx, align 4, !tbaa !5
  %.sroa.616.0..sroa_idx = getelementptr inbounds i8, ptr %152, i64 8
  store float %150, ptr %.sroa.616.0..sroa_idx, align 4, !tbaa !9
  %.sroa.717.0..sroa_idx = getelementptr inbounds i8, ptr %152, i64 12
  store float %151, ptr %.sroa.717.0..sroa_idx, align 4, !tbaa !9
  %.sroa.818.0..sroa_idx = getelementptr inbounds i8, ptr %152, i64 16
  store i32 1, ptr %.sroa.818.0..sroa_idx, align 4, !tbaa !5
  br label %271

154:                                              ; preds = %148
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %322

156:                                              ; preds = %38
  %157 = fcmp olt float %39, %40
  br i1 %157, label %158, label %271

158:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %159 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %160 unwind label %213

160:                                              ; preds = %158
  store ptr %159, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  %161 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %161, ptr %15, align 8
  %162 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br i1 %162, label %163, label %225

163:                                              ; preds = %160
  %164 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %165 unwind label %97

165:                                              ; preds = %163
  %166 = getelementptr inbounds i8, ptr %164, i64 4
  %167 = load i32, ptr %166, align 4, !tbaa !11
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %166, align 4, !tbaa !11
  %169 = load float, ptr %4, align 4, !tbaa !9
  %170 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %171 unwind label %97

171:                                              ; preds = %165
  %172 = getelementptr inbounds i8, ptr %170, i64 8
  %173 = load float, ptr %172, align 4, !tbaa !13
  %174 = fadd float %169, %173
  store float %174, ptr %172, align 4, !tbaa !13
  %175 = load float, ptr %5, align 4, !tbaa !9
  %176 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %177 unwind label %97

177:                                              ; preds = %171
  %178 = getelementptr inbounds i8, ptr %176, i64 12
  %179 = load float, ptr %178, align 4, !tbaa !14
  %180 = fadd float %175, %179
  store float %180, ptr %178, align 4, !tbaa !14
  %181 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %182 unwind label %97

182:                                              ; preds = %177
  %183 = getelementptr inbounds i8, ptr %181, i64 16
  %184 = load i32, ptr %183, align 4, !tbaa !15
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %183, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %186 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %187 unwind label %215

187:                                              ; preds = %182
  store ptr %186, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #6
  %188 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %188, ptr %17, align 8
  %189 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br i1 %189, label %190, label %217

190:                                              ; preds = %187
  %191 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %192 unwind label %97

192:                                              ; preds = %190
  %193 = getelementptr inbounds i8, ptr %191, i64 4
  %194 = load i32, ptr %193, align 4, !tbaa !11
  %195 = add nsw i32 %194, 2
  store i32 %195, ptr %193, align 4, !tbaa !11
  %196 = load float, ptr %5, align 4, !tbaa !9
  %197 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %198 unwind label %97

198:                                              ; preds = %192
  %199 = getelementptr inbounds i8, ptr %197, i64 8
  %200 = load float, ptr %199, align 4, !tbaa !13
  %201 = fadd float %196, %200
  store float %201, ptr %199, align 4, !tbaa !13
  %202 = load float, ptr %4, align 4, !tbaa !9
  %203 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %204 unwind label %97

204:                                              ; preds = %198
  %205 = getelementptr inbounds i8, ptr %203, i64 12
  %206 = load float, ptr %205, align 4, !tbaa !14
  %207 = fadd float %202, %206
  store float %207, ptr %205, align 4, !tbaa !14
  %208 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %209 unwind label %97

209:                                              ; preds = %204
  %210 = getelementptr inbounds i8, ptr %208, i64 16
  %211 = load i32, ptr %210, align 4, !tbaa !15
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %210, align 4, !tbaa !15
  br label %271

213:                                              ; preds = %158
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  br label %322

215:                                              ; preds = %182
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br label %322

217:                                              ; preds = %187
  %218 = load i32, ptr %3, align 4, !tbaa !5
  %219 = load float, ptr %5, align 4, !tbaa !9
  %220 = load float, ptr %4, align 4, !tbaa !9
  %221 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %222 unwind label %223

222:                                              ; preds = %217
  store i32 %218, ptr %221, align 4, !tbaa !5
  %.sroa.510.0..sroa_idx = getelementptr inbounds i8, ptr %221, i64 4
  store i32 2, ptr %.sroa.510.0..sroa_idx, align 4, !tbaa !5
  %.sroa.611.0..sroa_idx = getelementptr inbounds i8, ptr %221, i64 8
  store float %219, ptr %.sroa.611.0..sroa_idx, align 4, !tbaa !9
  %.sroa.712.0..sroa_idx = getelementptr inbounds i8, ptr %221, i64 12
  store float %220, ptr %.sroa.712.0..sroa_idx, align 4, !tbaa !9
  %.sroa.813.0..sroa_idx = getelementptr inbounds i8, ptr %221, i64 16
  store i32 1, ptr %.sroa.813.0..sroa_idx, align 4, !tbaa !5
  br label %271

223:                                              ; preds = %217
  %224 = landingpad { ptr, i32 }
          cleanup
  br label %322

225:                                              ; preds = %160
  %226 = load i32, ptr %2, align 4, !tbaa !5
  %227 = load float, ptr %4, align 4, !tbaa !9
  %228 = load float, ptr %5, align 4, !tbaa !9
  %229 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %230 unwind label %258

230:                                              ; preds = %225
  store i32 %226, ptr %229, align 4, !tbaa !5
  %.sroa.56.0..sroa_idx = getelementptr inbounds i8, ptr %229, i64 4
  store i32 1, ptr %.sroa.56.0..sroa_idx, align 4, !tbaa !5
  %.sroa.67.0..sroa_idx = getelementptr inbounds i8, ptr %229, i64 8
  store float %227, ptr %.sroa.67.0..sroa_idx, align 4, !tbaa !9
  %.sroa.78.0..sroa_idx = getelementptr inbounds i8, ptr %229, i64 12
  store float %228, ptr %.sroa.78.0..sroa_idx, align 4, !tbaa !9
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %229, i64 16
  store i32 1, ptr %.sroa.8.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #6
  %231 = invoke ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %232 unwind label %260

232:                                              ; preds = %230
  store ptr %231, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #6
  %233 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %233, ptr %19, align 8
  %234 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br i1 %234, label %235, label %262

235:                                              ; preds = %232
  %236 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %237 unwind label %258

237:                                              ; preds = %235
  %238 = getelementptr inbounds i8, ptr %236, i64 4
  %239 = load i32, ptr %238, align 4, !tbaa !11
  %240 = add nsw i32 %239, 2
  store i32 %240, ptr %238, align 4, !tbaa !11
  %241 = load float, ptr %5, align 4, !tbaa !9
  %242 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %243 unwind label %258

243:                                              ; preds = %237
  %244 = getelementptr inbounds i8, ptr %242, i64 8
  %245 = load float, ptr %244, align 4, !tbaa !13
  %246 = fadd float %241, %245
  store float %246, ptr %244, align 4, !tbaa !13
  %247 = load float, ptr %4, align 4, !tbaa !9
  %248 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %249 unwind label %258

249:                                              ; preds = %243
  %250 = getelementptr inbounds i8, ptr %248, i64 12
  %251 = load float, ptr %250, align 4, !tbaa !14
  %252 = fadd float %247, %251
  store float %252, ptr %250, align 4, !tbaa !14
  %253 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %254 unwind label %258

254:                                              ; preds = %249
  %255 = getelementptr inbounds i8, ptr %253, i64 16
  %256 = load i32, ptr %255, align 4, !tbaa !15
  %257 = add nsw i32 %256, 1
  store i32 %257, ptr %255, align 4, !tbaa !15
  br label %271

258:                                              ; preds = %249, %243, %237, %235, %225
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %322

260:                                              ; preds = %230
  %261 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #6
  br label %322

262:                                              ; preds = %232
  %263 = load i32, ptr %3, align 4, !tbaa !5
  %264 = load float, ptr %5, align 4, !tbaa !9
  %265 = load float, ptr %4, align 4, !tbaa !9
  %266 = invoke noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %267 unwind label %269

267:                                              ; preds = %262
  %268 = fadd float %.sroa.7.164, %265
  store i32 %263, ptr %266, align 4, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %266, i64 4
  store i32 2, ptr %.sroa.5.0..sroa_idx, align 4, !tbaa !5
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %266, i64 8
  store float %264, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !9
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %266, i64 12
  store float %268, ptr %.sroa.7.0..sroa_idx, align 4, !tbaa !9
  %.sroa.9.0..sroa_idx = getelementptr inbounds i8, ptr %266, i64 16
  store i32 1, ptr %.sroa.9.0..sroa_idx, align 4, !tbaa !5
  br label %271

269:                                              ; preds = %262
  %270 = landingpad { ptr, i32 }
          cleanup
  br label %322

271:                                              ; preds = %254, %267, %140, %153, %93, %108, %222, %209, %156
  %.sroa.7.3 = phi float [ %.sroa.7.164, %93 ], [ %.sroa.7.164, %108 ], [ %.sroa.7.164, %209 ], [ %.sroa.7.164, %222 ], [ %.sroa.7.164, %156 ], [ %.sroa.7.164, %153 ], [ %.sroa.7.164, %140 ], [ %.sroa.7.164, %254 ], [ %268, %267 ]
  %272 = add nuw nsw i32 %.03565, 1
  %273 = load i32, ptr %1, align 4, !tbaa !5
  %274 = add nsw i32 %273, -1
  %275 = mul nsw i32 %274, %273
  %276 = sdiv i32 %275, 2
  %277 = icmp slt i32 %272, %276
  br i1 %277, label %.lr.ph, label %._crit_edge, !llvm.loop !16

._crit_edge68:                                    ; preds = %282, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  %278 = call ptr @_ZNSt6vectorI4teamSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %279 = call ptr @_ZNSt6vectorI4teamSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP4teamSt6vectorIS2_SaIS2_EEEEPFbRKS2_S9_EEvT_SC_T0_(ptr %278, ptr %279, ptr noundef nonnull @_Z5untieRK4teamS1_)
          to label %288 unwind label %301

.lr.ph67:                                         ; preds = %._crit_edge, %282
  %280 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKi4teamEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  %281 = getelementptr inbounds i8, ptr %280, i64 4
  invoke void @_ZNSt6vectorI4teamSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 4 dereferenceable(20) %281)
          to label %282 unwind label %286

282:                                              ; preds = %.lr.ph67
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKi4teamEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #6
  %284 = call ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  store ptr %284, ptr %21, align 8
  %285 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #6
  br i1 %285, label %.lr.ph67, label %._crit_edge68, !llvm.loop !18

286:                                              ; preds = %.lr.ph67
  %287 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %322

288:                                              ; preds = %._crit_edge68
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
          to label %290 unwind label %301

290:                                              ; preds = %288
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %289, i32 noundef %.03474)
          to label %292 unwind label %301

292:                                              ; preds = %290
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %291, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %294 unwind label %301

294:                                              ; preds = %292
  %295 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorI4teamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #6
  %296 = load i32, ptr %295, align 4, !tbaa !19
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %296)
          to label %.preheader unwind label %301

.preheader:                                       ; preds = %294
  %298 = call noundef i64 @_ZNKSt6vectorI4teamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %299 = icmp ugt i64 %298, 1
  br i1 %299, label %.lr.ph70, label %._crit_edge71

._crit_edge71:                                    ; preds = %308, %.preheader
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %313 unwind label %301

301:                                              ; preds = %318, %313, %._crit_edge71, %294, %292, %290, %288, %._crit_edge68
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %322

.lr.ph70:                                         ; preds = %.preheader, %308
  %indvars.iv = phi i64 [ %indvars.iv.next, %308 ], [ 1, %.preheader ]
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
          to label %304 unwind label %311

304:                                              ; preds = %.lr.ph70
  %305 = call noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt6vectorI4teamSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #6
  %306 = load i32, ptr %305, align 4, !tbaa !19
  %307 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %303, i32 noundef %306)
          to label %308 unwind label %311

308:                                              ; preds = %304
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %309 = call noundef i64 @_ZNKSt6vectorI4teamSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %310 = icmp ugt i64 %309, %indvars.iv.next
  br i1 %310, label %.lr.ph70, label %._crit_edge71, !llvm.loop !20

311:                                              ; preds = %304, %.lr.ph70
  %312 = landingpad { ptr, i32 }
          cleanup
  br label %322

313:                                              ; preds = %._crit_edge71
  %314 = add nuw nsw i32 %.03474, 1
  %315 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
          to label %316 unwind label %301

316:                                              ; preds = %313
  %317 = load i32, ptr %1, align 4, !tbaa !5
  %.not44 = icmp eq i32 %317, 0
  br i1 %.not44, label %320, label %318

318:                                              ; preds = %316
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %320 unwind label %301

320:                                              ; preds = %318, %316
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt6vectorI4teamSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  %321 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %321, 0
  br i1 %.not, label %._crit_edge77, label %.lr.ph76, !llvm.loop !21

322:                                              ; preds = %97, %99, %101, %109, %213, %215, %223, %154, %146, %144, %269, %260, %258, %311, %301, %286
  %.pn48.pn = phi { ptr, i32 } [ %287, %286 ], [ %312, %311 ], [ %302, %301 ], [ %98, %97 ], [ %110, %109 ], [ %102, %101 ], [ %100, %99 ], [ %224, %223 ], [ %216, %215 ], [ %214, %213 ], [ %145, %144 ], [ %155, %154 ], [ %147, %146 ], [ %259, %258 ], [ %270, %269 ], [ %261, %260 ]
  call void @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  call void @_ZNSt6vectorI4teamSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn48.pn

._crit_edge77:                                    ; preds = %320, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

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 #3

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKi4teamEES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEE4findERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(20) ptr @_ZNSt3mapIi4teamSt4lessIiESaISt4pairIKiS0_EEEixERS4_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 4}
!12 = !{!"_ZTS4team", !6, i64 0, !6, i64 4, !10, i64 8, !10, i64 12, !6, i64 16}
!13 = !{!12, !10, i64 8}
!14 = !{!12, !10, i64 12}
!15 = !{!12, !6, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!12, !6, i64 0}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}


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