; LLVM IR from SoloGameDevGitHub/AIEngine :: AdversarialSearch/Minimax/MinimaxTester.ll (ZN16TicTacToeMinimax15RunMinimaxTestsEv)

; 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_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl" }
%"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%struct.MinimaxTestCase = type <{ i32, [4 x i8], %"class.std::vector.0", i8, [7 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.5" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@_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 [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16TicTacToeMinimax15RunMinimaxTestsEv() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca %"class.std::initializer_list", align 8
  %3 = alloca [8 x %struct.MinimaxTestCase], align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::initializer_list.5", align 8
  %7 = alloca [1 x i32], align 4
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::initializer_list.5", align 8
  %13 = alloca [1 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca %"class.std::initializer_list.5", align 8
  %17 = alloca [1 x i32], align 4
  %18 = alloca %"class.std::allocator.2", align 1
  %19 = alloca %"class.std::vector.0", align 8
  %20 = alloca %"class.std::initializer_list.5", align 8
  %21 = alloca [1 x i32], align 4
  %22 = alloca %"class.std::allocator.2", align 1
  %23 = alloca %"class.std::vector.0", align 8
  %24 = alloca %"class.std::initializer_list.5", align 8
  %25 = alloca [1 x i32], align 4
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca %"class.std::initializer_list.5", align 8
  %29 = alloca [1 x i32], align 4
  %30 = alloca %"class.std::allocator.2", align 1
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca %"class.std::initializer_list.5", align 8
  %33 = alloca [3 x i32], align 4
  %34 = alloca %"class.std::allocator.2", align 1
  %35 = alloca %"class.std::vector.0", align 8
  %36 = alloca %"class.std::initializer_list.5", align 8
  %37 = alloca [3 x i32], align 4
  %38 = alloca %"class.std::allocator.2", align 1
  %39 = alloca i1, align 1
  %40 = alloca %"class.std::allocator", align 1
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %struct.MinimaxTestCase, align 8
  %44 = alloca i8, align 1
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 24, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 320, ptr %3) #6
  store i1 true, ptr %39, align 1
  store ptr %3, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 176896, ptr %7, align 4, !tbaa !5
  %48 = getelementptr inbounds %"class.std::initializer_list.5", ptr %6, i32 0, i32 0
  store ptr %7, ptr %48, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.std::initializer_list.5", ptr %6, i32 0, i32 1
  store i64 1, ptr %49, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  %50 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = getelementptr inbounds { ptr, i64 }, ptr %6, i32 0, i32 1
  %53 = load i64, ptr %52, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr %51, i64 %53, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %54 unwind label %143

54:                                               ; preds = %0
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %3, i32 noundef 164608, i1 noundef zeroext true, ptr noundef %5)
          to label %55 unwind label %147

55:                                               ; preds = %54
  %56 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 1
  store ptr %56, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 254464, ptr %13, align 4, !tbaa !5
  %57 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 0
  store ptr %13, ptr %57, align 8, !tbaa !9
  %58 = getelementptr inbounds %"class.std::initializer_list.5", ptr %12, i32 0, i32 1
  store i64 1, ptr %58, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  %59 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8
  %61 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %62 = load i64, ptr %61, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr %60, i64 %62, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %63 unwind label %151

63:                                               ; preds = %55
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %56, i32 noundef 246272, i1 noundef zeroext false, ptr noundef %11)
          to label %64 unwind label %155

64:                                               ; preds = %63
  %65 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 2
  store ptr %65, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 826, ptr %17, align 4, !tbaa !5
  %66 = getelementptr inbounds %"class.std::initializer_list.5", ptr %16, i32 0, i32 0
  store ptr %17, ptr %66, align 8, !tbaa !9
  %67 = getelementptr inbounds %"class.std::initializer_list.5", ptr %16, i32 0, i32 1
  store i64 1, ptr %67, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  %68 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %71 = load i64, ptr %70, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr %69, i64 %71, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %72 unwind label %159

72:                                               ; preds = %64
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %65, i32 noundef 778, i1 noundef zeroext true, ptr noundef %15)
          to label %73 unwind label %163

73:                                               ; preds = %72
  %74 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 3
  store ptr %74, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 559, ptr %21, align 4, !tbaa !5
  %75 = getelementptr inbounds %"class.std::initializer_list.5", ptr %20, i32 0, i32 0
  store ptr %21, ptr %75, align 8, !tbaa !9
  %76 = getelementptr inbounds %"class.std::initializer_list.5", ptr %20, i32 0, i32 1
  store i64 1, ptr %76, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  %77 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8
  %79 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %80 = load i64, ptr %79, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %78, i64 %80, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %81 unwind label %167

81:                                               ; preds = %73
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %74, i32 noundef 527, i1 noundef zeroext false, ptr noundef %19)
          to label %82 unwind label %171

82:                                               ; preds = %81
  %83 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 4
  store ptr %83, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  store i32 44992, ptr %25, align 4, !tbaa !5
  %84 = getelementptr inbounds %"class.std::initializer_list.5", ptr %24, i32 0, i32 0
  store ptr %25, ptr %84, align 8, !tbaa !9
  %85 = getelementptr inbounds %"class.std::initializer_list.5", ptr %24, i32 0, i32 1
  store i64 1, ptr %85, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  %86 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8
  %88 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %89 = load i64, ptr %88, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr %87, i64 %89, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %90 unwind label %175

90:                                               ; preds = %82
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %83, i32 noundef 41920, i1 noundef zeroext true, ptr noundef %23)
          to label %91 unwind label %179

91:                                               ; preds = %90
  %92 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 5
  store ptr %92, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #6
  store i32 64128, ptr %29, align 4, !tbaa !5
  %93 = getelementptr inbounds %"class.std::initializer_list.5", ptr %28, i32 0, i32 0
  store ptr %29, ptr %93, align 8, !tbaa !9
  %94 = getelementptr inbounds %"class.std::initializer_list.5", ptr %28, i32 0, i32 1
  store i64 1, ptr %94, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  %95 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8
  %97 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %98 = load i64, ptr %97, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %96, i64 %98, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %99 unwind label %183

99:                                               ; preds = %91
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %92, i32 noundef 62080, i1 noundef zeroext false, ptr noundef %27)
          to label %100 unwind label %187

100:                                              ; preds = %99
  %101 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 6
  store ptr %101, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #6
  store i32 249570, ptr %33, align 4, !tbaa !5
  %102 = getelementptr inbounds i32, ptr %33, i64 1
  store i32 65250, ptr %102, align 4, !tbaa !5
  %103 = getelementptr inbounds i32, ptr %33, i64 2
  store i32 52974, ptr %103, align 4, !tbaa !5
  %104 = getelementptr inbounds %"class.std::initializer_list.5", ptr %32, i32 0, i32 0
  store ptr %33, ptr %104, align 8, !tbaa !9
  %105 = getelementptr inbounds %"class.std::initializer_list.5", ptr %32, i32 0, i32 1
  store i64 3, ptr %105, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  %106 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8
  %108 = getelementptr inbounds { ptr, i64 }, ptr %32, i32 0, i32 1
  %109 = load i64, ptr %108, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr %107, i64 %109, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %110 unwind label %191

110:                                              ; preds = %100
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %101, i32 noundef 52962, i1 noundef zeroext true, ptr noundef %31)
          to label %111 unwind label %195

111:                                              ; preds = %110
  %112 = getelementptr inbounds %struct.MinimaxTestCase, ptr %3, i64 7
  store ptr %112, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %37) #6
  store i32 166835, ptr %37, align 4, !tbaa !5
  %113 = getelementptr inbounds i32, ptr %37, i64 1
  store i32 43955, ptr %113, align 4, !tbaa !5
  %114 = getelementptr inbounds i32, ptr %37, i64 2
  store i32 35771, ptr %114, align 4, !tbaa !5
  %115 = getelementptr inbounds %"class.std::initializer_list.5", ptr %36, i32 0, i32 0
  store ptr %37, ptr %115, align 8, !tbaa !9
  %116 = getelementptr inbounds %"class.std::initializer_list.5", ptr %36, i32 0, i32 1
  store i64 3, ptr %116, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  %117 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %120 = load i64, ptr %119, align 8
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr %118, i64 %120, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %121 unwind label %199

121:                                              ; preds = %111
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %112, i32 noundef 35763, i1 noundef zeroext false, ptr noundef %35)
          to label %122 unwind label %203

122:                                              ; preds = %121
  store i1 false, ptr %39, align 1
  %123 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 0
  store ptr %3, ptr %123, align 8, !tbaa !14
  %124 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 1
  store i64 8, ptr %124, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  call void @_ZNSaI15MinimaxTestCaseEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  %125 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 1
  %128 = load i64, ptr %127, align 8
  invoke void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %126, i64 %128, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %129 unwind label %207

129:                                              ; preds = %122
  call void @_ZNSt15__new_allocatorI15MinimaxTestCaseED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  %130 = getelementptr inbounds [8 x %struct.MinimaxTestCase], ptr %3, i32 0, i32 0
  %131 = getelementptr inbounds %struct.MinimaxTestCase, ptr %130, i64 8
  br label %132

132:                                              ; preds = %132, %129
  %133 = phi ptr [ %131, %129 ], [ %134, %132 ]
  %134 = getelementptr inbounds %struct.MinimaxTestCase, ptr %133, i64 -1
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %134) #6
  %135 = icmp eq ptr %134, %130
  br i1 %135, label %136, label %132

136:                                              ; preds = %132
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  store i32 0, ptr %41, align 4, !tbaa !5
  br label %137

137:                                              ; preds = %382, %136
  %138 = load i32, ptr %41, align 4, !tbaa !5
  %139 = zext i32 %138 to i64
  %140 = call noundef i64 @_ZNKSt6vectorI15MinimaxTestCaseSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %141 = icmp ult i64 %139, %140
  br i1 %141, label %244, label %142

142:                                              ; preds = %137
  store i32 2, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  br label %389

143:                                              ; preds = %0
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  br label %233

147:                                              ; preds = %54
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  br label %232

151:                                              ; preds = %55
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %9, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %10, align 4
  br label %231

155:                                              ; preds = %63
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %9, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %10, align 4
  br label %230

159:                                              ; preds = %64
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %9, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %10, align 4
  br label %229

163:                                              ; preds = %72
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %9, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %10, align 4
  br label %228

167:                                              ; preds = %73
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %9, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %10, align 4
  br label %227

171:                                              ; preds = %81
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %9, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %10, align 4
  br label %226

175:                                              ; preds = %82
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  br label %225

179:                                              ; preds = %90
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %9, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %10, align 4
  br label %224

183:                                              ; preds = %91
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %9, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %10, align 4
  br label %223

187:                                              ; preds = %99
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %9, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %10, align 4
  br label %222

191:                                              ; preds = %100
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %9, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %10, align 4
  br label %221

195:                                              ; preds = %110
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %9, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %10, align 4
  br label %220

199:                                              ; preds = %111
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %9, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %10, align 4
  br label %219

203:                                              ; preds = %121
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %9, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %10, align 4
  br label %218

207:                                              ; preds = %122
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %9, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %10, align 4
  call void @_ZNSt15__new_allocatorI15MinimaxTestCaseED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  %211 = getelementptr inbounds [8 x %struct.MinimaxTestCase], ptr %3, i32 0, i32 0
  %212 = getelementptr inbounds %struct.MinimaxTestCase, ptr %211, i64 8
  br label %213

213:                                              ; preds = %213, %207
  %214 = phi ptr [ %212, %207 ], [ %215, %213 ]
  %215 = getelementptr inbounds %struct.MinimaxTestCase, ptr %214, i64 -1
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %215) #6
  %216 = icmp eq ptr %215, %211
  br i1 %216, label %217, label %213

217:                                              ; preds = %213
  br label %218

218:                                              ; preds = %217, %203
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #6
  br label %219

219:                                              ; preds = %218, %199
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %37) #6
  br label %220

220:                                              ; preds = %219, %195
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #6
  br label %221

221:                                              ; preds = %220, %191
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #6
  br label %222

222:                                              ; preds = %221, %187
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  br label %223

223:                                              ; preds = %222, %183
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #6
  br label %224

224:                                              ; preds = %223, %179
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #6
  br label %225

225:                                              ; preds = %224, %175
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  br label %226

226:                                              ; preds = %225, %171
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %227

227:                                              ; preds = %226, %167
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %228

228:                                              ; preds = %227, %163
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %229

229:                                              ; preds = %228, %159
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %230

230:                                              ; preds = %229, %155
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %231

231:                                              ; preds = %230, %151
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %232

232:                                              ; preds = %231, %147
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  br label %233

233:                                              ; preds = %232, %143
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  %234 = load i1, ptr %39, align 1
  br i1 %234, label %235, label %243

235:                                              ; preds = %233
  %236 = load ptr, ptr %4, align 8
  %237 = icmp eq ptr %3, %236
  br i1 %237, label %242, label %238

238:                                              ; preds = %238, %235
  %239 = phi ptr [ %236, %235 ], [ %240, %238 ]
  %240 = getelementptr inbounds %struct.MinimaxTestCase, ptr %239, i64 -1
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %240) #6
  %241 = icmp eq ptr %240, %3
  br i1 %241, label %242, label %238

242:                                              ; preds = %238, %235
  br label %243

243:                                              ; preds = %242, %233
  call void @llvm.lifetime.end.p0(i64 320, ptr %3) #6
  br label %390

244:                                              ; preds = %137
  %245 = 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 %246 unwind label %292

246:                                              ; preds = %244
  %247 = load i32, ptr %41, align 4, !tbaa !5
  %248 = add i32 %247, 1
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %245, i32 noundef %248)
          to label %250 unwind label %292

250:                                              ; preds = %246
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %249, ptr noundef @.str.1)
          to label %252 unwind label %292

252:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 40, ptr %43) #6
  %253 = load i32, ptr %41, align 4, !tbaa !5
  %254 = zext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %254) #6
  invoke void @_ZN15MinimaxTestCaseC2ERKS_(ptr noundef nonnull align 8 dereferenceable(33) %43, ptr noundef nonnull align 8 dereferenceable(33) %255)
          to label %256 unwind label %296

256:                                              ; preds = %252
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt9boolalphaRSt8ios_base)
          to label %258 unwind label %300

258:                                              ; preds = %256
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %260 unwind label %300

260:                                              ; preds = %258
  %261 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 3
  %262 = load i8, ptr %261, align 8, !tbaa !17, !range !24, !noundef !25
  %263 = trunc i8 %262 to i1
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %259, i1 noundef zeroext %263)
          to label %265 unwind label %300

265:                                              ; preds = %260
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef @.str.3)
          to label %267 unwind label %300

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
          to label %269 unwind label %300

269:                                              ; preds = %267
  %270 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 0
  %271 = load i32, ptr %270, align 8, !tbaa !26
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %268, i32 noundef %271)
          to label %273 unwind label %300

273:                                              ; preds = %269
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @.str.3)
          to label %275 unwind label %300

275:                                              ; preds = %273
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
          to label %277 unwind label %300

277:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #6
  store i8 0, ptr %44, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #6
  %278 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 0
  %279 = load i32, ptr %278, align 8, !tbaa !26
  %280 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 3
  %281 = load i8, ptr %280, align 8, !tbaa !17, !range !24, !noundef !25
  %282 = trunc i8 %281 to i1
  %283 = invoke noundef i32 @_ZN16TicTacToeMinimax7predictEibi(i32 noundef %279, i1 noundef zeroext %282, i32 noundef 6)
          to label %284 unwind label %304

284:                                              ; preds = %277
  store i32 %283, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #6
  store i32 0, ptr %46, align 4, !tbaa !5
  br label %285

285:                                              ; preds = %344, %284
  %286 = load i32, ptr %46, align 4, !tbaa !5
  %287 = zext i32 %286 to i64
  %288 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 2
  %289 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #6
  %290 = icmp ult i64 %287, %289
  br i1 %290, label %308, label %291

291:                                              ; preds = %285
  store i32 5, ptr %42, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %352

292:                                              ; preds = %250, %246, %244
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %9, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %10, align 4
  br label %388

296:                                              ; preds = %252
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %9, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %10, align 4
  br label %387

300:                                              ; preds = %275, %273, %269, %267, %265, %260, %258, %256
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %9, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %10, align 4
  br label %386

304:                                              ; preds = %379, %376, %374, %372, %369, %367, %365, %362, %360, %357, %352, %277
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %9, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %10, align 4
  br label %385

308:                                              ; preds = %285
  %309 = load i32, ptr %41, align 4, !tbaa !5
  %310 = icmp ugt i32 %309, 0
  br i1 %310, label %311, label %325

311:                                              ; preds = %308
  %312 = load i32, ptr %41, align 4, !tbaa !5
  %313 = zext i32 %312 to i64
  %314 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 2
  %315 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %314) #6
  %316 = sub i64 %315, 1
  %317 = icmp ult i64 %313, %316
  br i1 %317, label %318, label %325

318:                                              ; preds = %311
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
          to label %320 unwind label %321

320:                                              ; preds = %318
  br label %325

321:                                              ; preds = %318
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %9, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %10, align 4
  br label %351

325:                                              ; preds = %320, %311, %308
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #6
  %326 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 2
  %327 = load i32, ptr %46, align 4, !tbaa !5
  %328 = zext i32 %327 to i64
  %329 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %326, i64 noundef %328) #6
  %330 = load i32, ptr %329, align 4, !tbaa !5
  store i32 %330, ptr %47, align 4, !tbaa !5
  %331 = load i32, ptr %47, align 4, !tbaa !5
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %331)
          to label %333 unwind label %347

333:                                              ; preds = %325
  %334 = load i32, ptr %45, align 4, !tbaa !5
  %335 = load i32, ptr %47, align 4, !tbaa !5
  %336 = icmp eq i32 %334, %335
  %337 = zext i1 %336 to i32
  %338 = load i8, ptr %44, align 1, !tbaa !27, !range !24, !noundef !25
  %339 = trunc i8 %338 to i1
  %340 = zext i1 %339 to i32
  %341 = or i32 %340, %337
  %342 = icmp ne i32 %341, 0
  %343 = zext i1 %342 to i8
  store i8 %343, ptr %44, align 1, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  br label %344

344:                                              ; preds = %333
  %345 = load i32, ptr %46, align 4, !tbaa !5
  %346 = add i32 %345, 1
  store i32 %346, ptr %46, align 4, !tbaa !5
  br label %285, !llvm.loop !28

347:                                              ; preds = %325
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %9, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #6
  br label %351

351:                                              ; preds = %347, %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #6
  br label %385

352:                                              ; preds = %291
  %353 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
          to label %354 unwind label %304

354:                                              ; preds = %352
  %355 = load i8, ptr %44, align 1, !tbaa !27, !range !24, !noundef !25
  %356 = trunc i8 %355 to i1
  br i1 %356, label %357, label %360

357:                                              ; preds = %354
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %359 unwind label %304

359:                                              ; preds = %357
  br label %379

360:                                              ; preds = %354
  %361 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %362 unwind label %304

362:                                              ; preds = %360
  %363 = load i32, ptr %45, align 4, !tbaa !5
  %364 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %361, i32 noundef %363)
          to label %365 unwind label %304

365:                                              ; preds = %362
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
          to label %367 unwind label %304

367:                                              ; preds = %365
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %369 unwind label %304

369:                                              ; preds = %367
  %370 = getelementptr inbounds %struct.MinimaxTestCase, ptr %43, i32 0, i32 0
  %371 = load i32, ptr %370, align 8, !tbaa !26
  invoke void @_ZN16TicTacToeMinimax10printBoardEi(i32 noundef %371)
          to label %372 unwind label %304

372:                                              ; preds = %369
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %374 unwind label %304

374:                                              ; preds = %372
  %375 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %373, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %376 unwind label %304

376:                                              ; preds = %374
  %377 = load i32, ptr %45, align 4, !tbaa !5
  invoke void @_ZN16TicTacToeMinimax10printBoardEi(i32 noundef %377)
          to label %378 unwind label %304

378:                                              ; preds = %376
  br label %379

379:                                              ; preds = %378, %359
  %380 = 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 %381 unwind label %304

381:                                              ; preds = %379
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #6
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %43) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  br label %382

382:                                              ; preds = %381
  %383 = load i32, ptr %41, align 4, !tbaa !5
  %384 = add i32 %383, 1
  store i32 %384, ptr %41, align 4, !tbaa !5
  br label %137, !llvm.loop !30

385:                                              ; preds = %351, %304
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #6
  br label %386

386:                                              ; preds = %385, %300
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %43) #6
  br label %387

387:                                              ; preds = %386, %296
  call void @llvm.lifetime.end.p0(i64 40, ptr %43) #6
  br label %388

388:                                              ; preds = %387, %292
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  call void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %390

389:                                              ; preds = %142
  call void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  ret void

390:                                              ; preds = %388, %243
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  br label %391

391:                                              ; preds = %390
  %392 = load ptr, ptr %9, align 8
  %393 = load i32, ptr %10, align 4
  %394 = insertvalue { ptr, i32 } poison, ptr %392, 0
  %395 = insertvalue { ptr, i32 } %394, i32 %393, 1
  resume { ptr, i32 } %395
}

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, i1 noundef zeroext, ptr noundef) unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15MinimaxTestCaseC2ERKS_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt9boolalphaRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

declare noundef i32 @_ZN16TicTacToeMinimax7predictEibi(i32 noundef, i1 noundef zeroext, i32 noundef) #5

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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)) #4

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

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

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint 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 #4 = { 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 #5 = { "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, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIiE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSSt16initializer_listI15MinimaxTestCaseE", !11, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}
!17 = !{!18, !23, i64 32}
!18 = !{!"_ZTS15MinimaxTestCase", !6, i64 0, !19, i64 8, !23, i64 32}
!19 = !{!"_ZTSSt6vectorIiSaIiEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!"bool", !7, i64 0}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!18, !6, i64 0}
!27 = !{!23, !23, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}


; 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_ostream" = type { ptr, %"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl" }
%"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl" = type { %"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MinimaxTestCase, std::allocator<MinimaxTestCase>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.MinimaxTestCase = type <{ i32, [4 x i8], %"class.std::vector.0", i8, [7 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::allocator" = type { i8 }

@_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 [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16TicTacToeMinimax15RunMinimaxTestsEv() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector", align 8
  %2 = alloca [8 x %struct.MinimaxTestCase], align 8
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca [1 x i32], align 4
  %5 = alloca %"class.std::allocator.2", align 1
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca [1 x i32], align 4
  %8 = alloca %"class.std::allocator.2", align 1
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca [1 x i32], align 4
  %11 = alloca %"class.std::allocator.2", align 1
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca [1 x i32], align 4
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca [1 x i32], align 4
  %17 = alloca %"class.std::allocator.2", align 1
  %18 = alloca %"class.std::vector.0", align 8
  %19 = alloca [1 x i32], align 4
  %20 = alloca %"class.std::allocator.2", align 1
  %21 = alloca %"class.std::vector.0", align 8
  %22 = alloca [3 x i32], align 4
  %23 = alloca %"class.std::allocator.2", align 1
  %24 = alloca %"class.std::vector.0", align 8
  %25 = alloca [3 x i32], align 4
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %struct.MinimaxTestCase, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 320, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 176896, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr nonnull %4, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %29 unwind label %.thread

29:                                               ; preds = %0
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %2, i32 noundef 164608, i1 noundef zeroext true, ptr noundef nonnull %3)
          to label %30 unwind label %68

30:                                               ; preds = %29
  %31 = getelementptr inbounds i8, ptr %2, i64 40
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 254464, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr nonnull %7, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %32 unwind label %70

32:                                               ; preds = %30
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %31, i32 noundef 246272, i1 noundef zeroext false, ptr noundef nonnull %6)
          to label %33 unwind label %72

33:                                               ; preds = %32
  %34 = getelementptr inbounds i8, ptr %2, i64 80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  store i32 826, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr nonnull %10, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %35 unwind label %74

35:                                               ; preds = %33
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %34, i32 noundef 778, i1 noundef zeroext true, ptr noundef nonnull %9)
          to label %36 unwind label %76

36:                                               ; preds = %35
  %37 = getelementptr inbounds i8, ptr %2, i64 120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store i32 559, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr nonnull %13, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %38 unwind label %78

38:                                               ; preds = %36
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %37, i32 noundef 527, i1 noundef zeroext false, ptr noundef nonnull %12)
          to label %39 unwind label %80

39:                                               ; preds = %38
  %40 = getelementptr inbounds i8, ptr %2, i64 160
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  store i32 44992, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr nonnull %16, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %41 unwind label %82

41:                                               ; preds = %39
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %40, i32 noundef 41920, i1 noundef zeroext true, ptr noundef nonnull %15)
          to label %42 unwind label %84

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %2, i64 200
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  store i32 64128, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr nonnull %19, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %44 unwind label %86

44:                                               ; preds = %42
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %43, i32 noundef 62080, i1 noundef zeroext false, ptr noundef nonnull %18)
          to label %45 unwind label %88

45:                                               ; preds = %44
  %46 = getelementptr inbounds i8, ptr %2, i64 240
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #6
  store i32 249570, ptr %22, align 4, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %22, i64 4
  store i32 65250, ptr %47, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %22, i64 8
  store i32 52974, ptr %48, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr nonnull %22, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %49 unwind label %90

49:                                               ; preds = %45
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %46, i32 noundef 52962, i1 noundef zeroext true, ptr noundef nonnull %21)
          to label %50 unwind label %92

50:                                               ; preds = %49
  %51 = getelementptr inbounds i8, ptr %2, i64 280
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #6
  store i32 166835, ptr %25, align 4, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %25, i64 4
  store i32 43955, ptr %52, align 4, !tbaa !5
  %53 = getelementptr inbounds i8, ptr %25, i64 8
  store i32 35771, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2ESt16initializer_listIiERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr nonnull %25, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %54 unwind label %94

54:                                               ; preds = %50
  invoke void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33) %51, i32 noundef 35763, i1 noundef zeroext false, ptr noundef nonnull %24)
          to label %55 unwind label %96

55:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #6
  call void @_ZNSaI15MinimaxTestCaseEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  invoke void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %2, i64 8, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %56 unwind label %.loopexit123.loopexit

56:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorI15MinimaxTestCaseED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  %57 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %57) #6
  %58 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %58) #6
  %59 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %59) #6
  %60 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %60) #6
  %61 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %61) #6
  %62 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %62) #6
  %63 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %63) #6
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #6
  %64 = call noundef i64 @_ZNKSt6vectorI15MinimaxTestCaseSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not133 = icmp eq i64 %64, 0
  br i1 %.not133, label %._crit_edge132, label %.lr.ph131

.lr.ph131:                                        ; preds = %56
  %65 = getelementptr inbounds i8, ptr %28, i64 32
  %66 = getelementptr inbounds i8, ptr %28, i64 8
  br label %125

._crit_edge132:                                   ; preds = %221, %56
  call void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret void

.thread:                                          ; preds = %0
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %.loopexit

68:                                               ; preds = %29
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %120

70:                                               ; preds = %30
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %119

72:                                               ; preds = %32
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %118

74:                                               ; preds = %33
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %117

76:                                               ; preds = %35
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %116

78:                                               ; preds = %36
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %115

80:                                               ; preds = %38
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %114

82:                                               ; preds = %39
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %113

84:                                               ; preds = %41
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %112

86:                                               ; preds = %42
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %111

88:                                               ; preds = %44
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %110

90:                                               ; preds = %45
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %109

92:                                               ; preds = %49
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %108

94:                                               ; preds = %50
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %107

96:                                               ; preds = %54
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit123

.loopexit123.loopexit:                            ; preds = %55
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI15MinimaxTestCaseED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #6
  %99 = getelementptr inbounds i8, ptr %2, i64 280
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %99) #6
  %100 = getelementptr inbounds i8, ptr %2, i64 240
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %100) #6
  %101 = getelementptr inbounds i8, ptr %2, i64 200
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %101) #6
  %102 = getelementptr inbounds i8, ptr %2, i64 160
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %102) #6
  %103 = getelementptr inbounds i8, ptr %2, i64 120
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %103) #6
  %104 = getelementptr inbounds i8, ptr %2, i64 80
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %104) #6
  %105 = getelementptr inbounds i8, ptr %2, i64 40
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %105) #6
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %2) #6
  br label %.loopexit123

.loopexit123:                                     ; preds = %.loopexit123.loopexit, %96
  %.pn = phi { ptr, i32 } [ %97, %96 ], [ %98, %.loopexit123.loopexit ]
  %106 = phi i1 [ false, %96 ], [ true, %.loopexit123.loopexit ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #6
  br label %107

107:                                              ; preds = %.loopexit123, %94
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit123 ], [ %95, %94 ]
  %.154 = phi i1 [ %106, %.loopexit123 ], [ false, %94 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  br label %108

108:                                              ; preds = %107, %92
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %107 ], [ %93, %92 ]
  %.255 = phi i1 [ %.154, %107 ], [ false, %92 ]
  %.0 = phi ptr [ %51, %107 ], [ %46, %92 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %109

109:                                              ; preds = %108, %90
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %108 ], [ %91, %90 ]
  %.356 = phi i1 [ %.255, %108 ], [ false, %90 ]
  %.1 = phi ptr [ %.0, %108 ], [ %46, %90 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #6
  br label %110

110:                                              ; preds = %109, %88
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %109 ], [ %89, %88 ]
  %.457 = phi i1 [ %.356, %109 ], [ false, %88 ]
  %.2 = phi ptr [ %.1, %109 ], [ %43, %88 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %111

111:                                              ; preds = %110, %86
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %110 ], [ %87, %86 ]
  %.558 = phi i1 [ %.457, %110 ], [ false, %86 ]
  %.3 = phi ptr [ %.2, %110 ], [ %43, %86 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  br label %112

112:                                              ; preds = %111, %84
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %111 ], [ %85, %84 ]
  %.659 = phi i1 [ %.558, %111 ], [ false, %84 ]
  %.4 = phi ptr [ %.3, %111 ], [ %40, %84 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %113

113:                                              ; preds = %112, %82
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %112 ], [ %83, %82 ]
  %.760 = phi i1 [ %.659, %112 ], [ false, %82 ]
  %.5 = phi ptr [ %.4, %112 ], [ %40, %82 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %114

114:                                              ; preds = %113, %80
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %113 ], [ %81, %80 ]
  %.861 = phi i1 [ %.760, %113 ], [ false, %80 ]
  %.6 = phi ptr [ %.5, %113 ], [ %37, %80 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %115

115:                                              ; preds = %114, %78
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %114 ], [ %79, %78 ]
  %.962 = phi i1 [ %.861, %114 ], [ false, %78 ]
  %.7 = phi ptr [ %.6, %114 ], [ %37, %78 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %116

116:                                              ; preds = %115, %76
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %115 ], [ %77, %76 ]
  %.1063 = phi i1 [ %.962, %115 ], [ false, %76 ]
  %.8 = phi ptr [ %.7, %115 ], [ %34, %76 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %117

117:                                              ; preds = %116, %74
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %116 ], [ %75, %74 ]
  %.1164 = phi i1 [ %.1063, %116 ], [ false, %74 ]
  %.9 = phi ptr [ %.8, %116 ], [ %34, %74 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %118

118:                                              ; preds = %117, %72
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %117 ], [ %73, %72 ]
  %.1265 = phi i1 [ %.1164, %117 ], [ false, %72 ]
  %.10 = phi ptr [ %.9, %117 ], [ %31, %72 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %119

119:                                              ; preds = %118, %70
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %118 ], [ %71, %70 ]
  %.1366 = phi i1 [ %.1265, %118 ], [ false, %70 ]
  %.11 = phi ptr [ %.10, %118 ], [ %31, %70 ]
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  br label %120

120:                                              ; preds = %68, %119
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %119 ], [ %69, %68 ]
  %.1467 = phi i1 [ %.1366, %119 ], [ false, %68 ]
  %.12 = phi ptr [ %.11, %119 ], [ %2, %68 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %121 = icmp eq ptr %2, %.12
  %or.cond = select i1 %.1467, i1 true, i1 %121
  br i1 %or.cond, label %.loopexit, label %.preheader122

.preheader122:                                    ; preds = %120, %.preheader122
  %122 = phi ptr [ %123, %.preheader122 ], [ %.12, %120 ]
  %123 = getelementptr inbounds i8, ptr %122, i64 -40
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %123) #6
  %124 = icmp eq ptr %123, %2
  br i1 %124, label %.loopexit, label %.preheader122

.loopexit:                                        ; preds = %.preheader122, %.thread, %120
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn121 = phi { ptr, i32 } [ %67, %.thread ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %120 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %.preheader122 ]
  call void @llvm.lifetime.end.p0(i64 320, ptr nonnull %2) #6
  br label %228

125:                                              ; preds = %.lr.ph131, %221
  %126 = phi i64 [ 0, %.lr.ph131 ], [ %222, %221 ]
  %.052129 = phi i32 [ 0, %.lr.ph131 ], [ %129, %221 ]
  %127 = 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 %128 unwind label %173

128:                                              ; preds = %125
  %129 = add i32 %.052129, 1
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %127, i32 noundef %129)
          to label %131 unwind label %173

131:                                              ; preds = %128
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull @.str.1)
          to label %133 unwind label %173

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %28) #6
  %134 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %126) #6
  invoke void @_ZN15MinimaxTestCaseC2ERKS_(ptr noundef nonnull align 8 dereferenceable(33) %28, ptr noundef nonnull align 8 dereferenceable(33) %134)
          to label %135 unwind label %175

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt9boolalphaRSt8ios_base)
          to label %137 unwind label %177

137:                                              ; preds = %135
  %138 = 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.2)
          to label %139 unwind label %177

139:                                              ; preds = %137
  %140 = load i8, ptr %65, align 8, !tbaa !9, !range !17, !noundef !18
  %141 = trunc nuw i8 %140 to i1
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEb(ptr noundef nonnull align 8 dereferenceable(8) %138, i1 noundef zeroext %141)
          to label %143 unwind label %177

143:                                              ; preds = %139
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull @.str.3)
          to label %145 unwind label %177

145:                                              ; preds = %143
  %146 = 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.4)
          to label %147 unwind label %177

147:                                              ; preds = %145
  %148 = load i32, ptr %28, align 8, !tbaa !19
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %146, i32 noundef %148)
          to label %150 unwind label %177

150:                                              ; preds = %147
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @.str.3)
          to label %152 unwind label %177

152:                                              ; preds = %150
  %153 = 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.5)
          to label %154 unwind label %177

154:                                              ; preds = %152
  %155 = load i32, ptr %28, align 8, !tbaa !19
  %156 = load i8, ptr %65, align 8, !tbaa !9, !range !17, !noundef !18
  %157 = trunc nuw i8 %156 to i1
  %158 = invoke noundef i32 @_ZN16TicTacToeMinimax7predictEibi(i32 noundef %155, i1 noundef zeroext %157, i32 noundef 6)
          to label %.preheader unwind label %179

.preheader:                                       ; preds = %154
  %159 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %.not134 = icmp eq i64 %159, 0
  br i1 %.not134, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %.not = icmp eq i32 %.052129, 0
  br i1 %.not, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %164
  %160 = phi i64 [ %168, %164 ], [ 0, %.lr.ph ]
  %.036127.us = phi i32 [ %167, %164 ], [ 0, %.lr.ph ]
  %.051126.us = phi i1 [ %166, %164 ], [ false, %.lr.ph ]
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %160) #6
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %162)
          to label %164 unwind label %.split.us

164:                                              ; preds = %.lr.ph.split.us
  %165 = icmp eq i32 %158, %162
  %166 = or i1 %.051126.us, %165
  %167 = add i32 %.036127.us, 1
  %168 = zext i32 %167 to i64
  %169 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %170 = icmp ugt i64 %169, %168
  br i1 %170, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !20

.split.us:                                        ; preds = %.lr.ph.split.us
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %225

._crit_edge:                                      ; preds = %193, %164, %.preheader
  %.051.lcssa = phi i1 [ false, %.preheader ], [ %166, %164 ], [ %195, %193 ]
  %172 = 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.7)
          to label %201 unwind label %179

173:                                              ; preds = %131, %128, %125
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %227

175:                                              ; preds = %133
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %226

177:                                              ; preds = %152, %150, %147, %145, %143, %139, %137, %135
  %178 = landingpad { ptr, i32 }
          cleanup
  br label %225

179:                                              ; preds = %219, %218, %216, %214, %212, %210, %208, %206, %204, %202, %._crit_edge, %154
  %180 = landingpad { ptr, i32 }
          cleanup
  br label %225

.lr.ph.split:                                     ; preds = %.lr.ph, %193
  %181 = phi i64 [ %197, %193 ], [ 0, %.lr.ph ]
  %.036127 = phi i32 [ %196, %193 ], [ 0, %.lr.ph ]
  %.051126 = phi i1 [ %195, %193 ], [ false, %.lr.ph ]
  %182 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %183 = add i64 %182, -1
  %184 = icmp ugt i64 %183, %126
  br i1 %184, label %185, label %189

185:                                              ; preds = %.lr.ph.split
  %186 = 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.6)
          to label %189 unwind label %187

187:                                              ; preds = %185
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %225

189:                                              ; preds = %185, %.lr.ph.split
  %190 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %181) #6
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %191)
          to label %193 unwind label %.split

193:                                              ; preds = %189
  %194 = icmp eq i32 %158, %191
  %195 = or i1 %.051126, %194
  %196 = add i32 %.036127, 1
  %197 = zext i32 %196 to i64
  %198 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %66) #6
  %199 = icmp ugt i64 %198, %197
  br i1 %199, label %.lr.ph.split, label %._crit_edge, !llvm.loop !20

.split:                                           ; preds = %189
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %225

201:                                              ; preds = %._crit_edge
  br i1 %.051.lcssa, label %202, label %204

202:                                              ; preds = %201
  %203 = 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.8)
          to label %219 unwind label %179

204:                                              ; preds = %201
  %205 = 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.9)
          to label %206 unwind label %179

206:                                              ; preds = %204
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %205, i32 noundef %158)
          to label %208 unwind label %179

208:                                              ; preds = %206
  %209 = 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.10)
          to label %210 unwind label %179

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %209, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %212 unwind label %179

212:                                              ; preds = %210
  %213 = load i32, ptr %28, align 8, !tbaa !19
  invoke void @_ZN16TicTacToeMinimax10printBoardEi(i32 noundef %213)
          to label %214 unwind label %179

214:                                              ; preds = %212
  %215 = 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.11)
          to label %216 unwind label %179

216:                                              ; preds = %214
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %218 unwind label %179

218:                                              ; preds = %216
  invoke void @_ZN16TicTacToeMinimax10printBoardEi(i32 noundef %158)
          to label %219 unwind label %179

219:                                              ; preds = %218, %202
  %220 = 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 %221 unwind label %179

221:                                              ; preds = %219
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %28) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #6
  %222 = zext i32 %129 to i64
  %223 = call noundef i64 @_ZNKSt6vectorI15MinimaxTestCaseSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %224 = icmp ugt i64 %223, %222
  br i1 %224, label %125, label %._crit_edge132, !llvm.loop !22

225:                                              ; preds = %.split, %.split.us, %179, %187, %177
  %.pn110.pn.pn = phi { ptr, i32 } [ %178, %177 ], [ %180, %179 ], [ %188, %187 ], [ %200, %.split ], [ %171, %.split.us ]
  call void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33) %28) #6
  br label %226

226:                                              ; preds = %225, %175
  %.pn110.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn, %225 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %28) #6
  br label %227

227:                                              ; preds = %226, %173
  %.pn110.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn, %226 ], [ %174, %173 ]
  call void @_ZNSt6vectorI15MinimaxTestCaseSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %228

228:                                              ; preds = %227, %.loopexit
  %.pn110.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn110.pn.pn.pn.pn, %227 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn121, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn110.pn.pn.pn.pn.pn
}

; 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 nounwind uwtable
declare dso_local void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15MinimaxTestCaseC2EibSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(33), i32 noundef, i1 noundef zeroext, ptr noundef) unnamed_addr #0 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN15MinimaxTestCaseD2Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15MinimaxTestCaseC2ERKS_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt9boolalphaRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

declare noundef i32 @_ZN16TicTacToeMinimax7predictEibi(i32 noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #5

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

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

; 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 #0 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)) #4

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

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint 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 #4 = { 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 #5 = { "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, !16, i64 32}
!10 = !{!"_ZTS15MinimaxTestCase", !6, i64 0, !11, i64 8, !16, i64 32}
!11 = !{!"_ZTSSt6vectorIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!10, !6, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass