; LLVM IR from wesley-a-leung/Resources :: Tests/C++/string/SuffixArrayFuzzTest.ll (Z5test1v)

; 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<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::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%struct.LongestCommonPrefix = type { %struct.SuffixArray, %struct.FischerHeunStructure }
%struct.SuffixArray = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%struct.FischerHeunStructure = type <{ i32, i32, %"class.std::vector", %"class.std::vector.1", %"class.std::vector.6", [8 x i8] }>
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.LongestCommonPrefix.11 = type { %struct.SAISSuffixArray, %struct.FischerHeunStructure }
%struct.SAISSuffixArray = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }
%"struct.std::_Setprecision" = type { i32 }
%"struct.std::pair" = type <{ %"class.std::vector", i32, [4 x i8] }>

@.str = external hidden unnamed_addr constant [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %struct.LongestCommonPrefix, align 8
  %18 = alloca %struct.LongestCommonPrefix.11, align 8
  %19 = alloca %"class.std::vector.12", align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %24 = alloca %"class.std::vector", align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca %"class.std::chrono::time_point", align 8
  %37 = alloca double, align 8
  %38 = alloca %"class.std::chrono::duration", align 8
  %39 = alloca %"struct.std::_Setprecision", align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #7
  %40 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  %41 = getelementptr inbounds %"class.std::chrono::time_point", ptr %1, i32 0, i32 0
  %42 = getelementptr inbounds %"class.std::chrono::duration", ptr %41, i32 0, i32 0
  store i64 %40, ptr %42, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr %2) #7
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 100000, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 0, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %435, %0
  %44 = load i32, ptr %5, align 4, !tbaa !5
  %45 = icmp slt i32 %44, 100000
  br i1 %45, label %47, label %46

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

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %48 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %49 = urem i64 %48, 11
  %50 = trunc i64 %49 to i32
  store i32 %50, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %52, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %53 unwind label %63

53:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store ptr %8, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %54 = load ptr, ptr %13, align 8, !tbaa !11
  %55 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  %56 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %14, i32 0, i32 0
  store ptr %55, ptr %56, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %57 = load ptr, ptr %13, align 8, !tbaa !11
  %58 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #7
  %59 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %15, i32 0, i32 0
  store ptr %58, ptr %59, align 8
  br label %60

60:                                               ; preds = %76, %53
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br i1 %61, label %67, label %62

62:                                               ; preds = %60
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %82

63:                                               ; preds = %47
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %11, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %444

67:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %68, ptr %16, align 8, !tbaa !11
  %69 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %70 unwind label %78

70:                                               ; preds = %67
  %71 = urem i64 %69, 10
  %72 = uitofp i64 %71 to double
  %73 = fadd double %72, 1.000000e+05
  %74 = fptosi double %73 to i32
  %75 = load ptr, ptr %16, align 8, !tbaa !11
  store i32 %74, ptr %75, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %76

76:                                               ; preds = %70
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %60

78:                                               ; preds = %67
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %11, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %443

82:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 168, ptr %17) #7
  invoke void @_ZN19LongestCommonPrefixI11SuffixArrayIiEEC2ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(168) %17, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %83 unwind label %90

83:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 168, ptr %18) #7
  invoke void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEEC2ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(168) %18, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %84 unwind label %94

84:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %85

85:                                               ; preds = %103, %84
  %86 = load i32, ptr %20, align 4, !tbaa !5
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %98, label %89

89:                                               ; preds = %85
  store i32 7, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %115

90:                                               ; preds = %82
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %11, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %12, align 4
  br label %442

94:                                               ; preds = %83
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %11, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %12, align 4
  br label %441

98:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  %99 = load i32, ptr %20, align 4, !tbaa !5
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %99)
          to label %100 unwind label %106

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE12emplace_backIJS2_RiEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %102 unwind label %110

102:                                              ; preds = %100
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %20, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %20, align 4, !tbaa !5
  br label %85, !llvm.loop !13

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %11, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %12, align 4
  br label %114

110:                                              ; preds = %100
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #7
  br label %114

114:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %440

115:                                              ; preds = %89
  %116 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %22, i32 0, i32 0
  store ptr %116, ptr %117, align 8
  %118 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %23, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  %120 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %22, i32 0, i32 0
  %121 = load ptr, ptr %120, align 8
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %23, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEEiES3_IS6_SaIS6_EEEEEvT_SB_(ptr %121, ptr %123)
          to label %124 unwind label %133

124:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  %125 = load i32, ptr %7, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 -1, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %126, ptr noundef nonnull align 4 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %127 unwind label %137

127:                                              ; preds = %124
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %128

128:                                              ; preds = %192, %127
  %129 = load i32, ptr %27, align 4, !tbaa !5
  %130 = load i32, ptr %7, align 4, !tbaa !5
  %131 = icmp slt i32 %129, %130
  br i1 %131, label %141, label %132

132:                                              ; preds = %128
  store i32 10, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %195

133:                                              ; preds = %115
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %11, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %12, align 4
  br label %440

137:                                              ; preds = %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %11, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %439

141:                                              ; preds = %128
  %142 = load i32, ptr %27, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %143) #7
  %145 = getelementptr inbounds %"struct.std::pair", ptr %144, i32 0, i32 1
  %146 = load i32, ptr %145, align 8, !tbaa !15
  %147 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %148 = getelementptr inbounds %struct.SuffixArray, ptr %147, i32 0, i32 1
  %149 = load i32, ptr %27, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %148, i64 noundef %150) #7
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = icmp eq i32 %146, %152
  br i1 %153, label %154, label %155

154:                                              ; preds = %141
  br label %157

155:                                              ; preds = %141
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 33, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

156:                                              ; No predecessors!
  br label %157

157:                                              ; preds = %156, %154
  %158 = load i32, ptr %27, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %159) #7
  %161 = getelementptr inbounds %"struct.std::pair", ptr %160, i32 0, i32 1
  %162 = load i32, ptr %161, align 8, !tbaa !15
  %163 = getelementptr inbounds %struct.LongestCommonPrefix.11, ptr %18, i32 0, i32 0
  %164 = getelementptr inbounds %struct.SAISSuffixArray, ptr %163, i32 0, i32 1
  %165 = load i32, ptr %27, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef %166) #7
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = icmp eq i32 %162, %168
  br i1 %169, label %170, label %171

170:                                              ; preds = %157
  br label %173

171:                                              ; preds = %157
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 34, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

172:                                              ; No predecessors!
  br label %173

173:                                              ; preds = %172, %170
  %174 = load i32, ptr %27, align 4, !tbaa !5
  %175 = load i32, ptr %27, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %176) #7
  %178 = getelementptr inbounds %"struct.std::pair", ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 8, !tbaa !15
  %180 = sext i32 %179 to i64
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %180) #7
  store i32 %174, ptr %181, align 4, !tbaa !5
  %182 = load i64, ptr %4, align 8, !tbaa !9
  %183 = mul nsw i64 31, %182
  %184 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %185 = getelementptr inbounds %struct.SuffixArray, ptr %184, i32 0, i32 1
  %186 = load i32, ptr %27, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef %187) #7
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = add nsw i64 %183, %190
  store i64 %191, ptr %4, align 8, !tbaa !9
  br label %192

192:                                              ; preds = %173
  %193 = load i32, ptr %27, align 4, !tbaa !5
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %27, align 4, !tbaa !5
  br label %128, !llvm.loop !21

195:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  br label %196

196:                                              ; preds = %242, %195
  %197 = load i32, ptr %28, align 4, !tbaa !5
  %198 = load i32, ptr %7, align 4, !tbaa !5
  %199 = icmp slt i32 %197, %198
  br i1 %199, label %201, label %200

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

201:                                              ; preds = %196
  %202 = load i32, ptr %28, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %203) #7
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %207 = getelementptr inbounds %struct.SuffixArray, ptr %206, i32 0, i32 2
  %208 = load i32, ptr %28, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %207, i64 noundef %209) #7
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = icmp eq i32 %205, %211
  br i1 %212, label %213, label %214

213:                                              ; preds = %201
  br label %216

214:                                              ; preds = %201
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 39, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

215:                                              ; No predecessors!
  br label %216

216:                                              ; preds = %215, %213
  %217 = load i32, ptr %28, align 4, !tbaa !5
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %218) #7
  %220 = load i32, ptr %219, align 4, !tbaa !5
  %221 = getelementptr inbounds %struct.LongestCommonPrefix.11, ptr %18, i32 0, i32 0
  %222 = getelementptr inbounds %struct.SAISSuffixArray, ptr %221, i32 0, i32 2
  %223 = load i32, ptr %28, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %224) #7
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = icmp eq i32 %220, %226
  br i1 %227, label %228, label %229

228:                                              ; preds = %216
  br label %231

229:                                              ; preds = %216
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 40, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

230:                                              ; No predecessors!
  br label %231

231:                                              ; preds = %230, %228
  %232 = load i64, ptr %4, align 8, !tbaa !9
  %233 = mul nsw i64 31, %232
  %234 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %235 = getelementptr inbounds %struct.SuffixArray, ptr %234, i32 0, i32 2
  %236 = load i32, ptr %28, align 4, !tbaa !5
  %237 = sext i32 %236 to i64
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %235, i64 noundef %237) #7
  %239 = load i32, ptr %238, align 4, !tbaa !5
  %240 = sext i32 %239 to i64
  %241 = add nsw i64 %233, %240
  store i64 %241, ptr %4, align 8, !tbaa !9
  br label %242

242:                                              ; preds = %231
  %243 = load i32, ptr %28, align 4, !tbaa !5
  %244 = add nsw i32 %243, 1
  store i32 %244, ptr %28, align 4, !tbaa !5
  br label %196, !llvm.loop !22

245:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  br label %246

246:                                              ; preds = %311, %245
  %247 = load i32, ptr %29, align 4, !tbaa !5
  %248 = load i32, ptr %7, align 4, !tbaa !5
  %249 = sub nsw i32 %248, 1
  %250 = icmp slt i32 %247, %249
  br i1 %250, label %252, label %251

251:                                              ; preds = %246
  store i32 16, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %314

252:                                              ; preds = %246
  %253 = load i32, ptr %29, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %254) #7
  %256 = getelementptr inbounds %"struct.std::pair", ptr %255, i32 0, i32 0
  %257 = load i32, ptr %29, align 4, !tbaa !5
  %258 = add nsw i32 %257, 1
  %259 = sext i32 %258 to i64
  %260 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %259) #7
  %261 = getelementptr inbounds %"struct.std::pair", ptr %260, i32 0, i32 0
  %262 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %256, ptr noundef nonnull align 8 dereferenceable(24) %261)
          to label %263 unwind label %273

263:                                              ; preds = %252
  %264 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %265 = getelementptr inbounds %struct.SuffixArray, ptr %264, i32 0, i32 3
  %266 = load i32, ptr %29, align 4, !tbaa !5
  %267 = sext i32 %266 to i64
  %268 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %265, i64 noundef %267) #7
  %269 = load i32, ptr %268, align 4, !tbaa !5
  %270 = icmp eq i32 %262, %269
  br i1 %270, label %271, label %272

271:                                              ; preds = %263
  br label %278

272:                                              ; preds = %263
  call void @__assert_fail(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 44, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

273:                                              ; preds = %278, %252
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %11, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %438

277:                                              ; No predecessors!
  br label %278

278:                                              ; preds = %277, %271
  %279 = load i32, ptr %29, align 4, !tbaa !5
  %280 = sext i32 %279 to i64
  %281 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %280) #7
  %282 = getelementptr inbounds %"struct.std::pair", ptr %281, i32 0, i32 0
  %283 = load i32, ptr %29, align 4, !tbaa !5
  %284 = add nsw i32 %283, 1
  %285 = sext i32 %284 to i64
  %286 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %285) #7
  %287 = getelementptr inbounds %"struct.std::pair", ptr %286, i32 0, i32 0
  %288 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %282, ptr noundef nonnull align 8 dereferenceable(24) %287)
          to label %289 unwind label %273

289:                                              ; preds = %278
  %290 = getelementptr inbounds %struct.LongestCommonPrefix.11, ptr %18, i32 0, i32 0
  %291 = getelementptr inbounds %struct.SAISSuffixArray, ptr %290, i32 0, i32 3
  %292 = load i32, ptr %29, align 4, !tbaa !5
  %293 = sext i32 %292 to i64
  %294 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %291, i64 noundef %293) #7
  %295 = load i32, ptr %294, align 4, !tbaa !5
  %296 = icmp eq i32 %288, %295
  br i1 %296, label %297, label %298

297:                                              ; preds = %289
  br label %300

298:                                              ; preds = %289
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

299:                                              ; No predecessors!
  br label %300

300:                                              ; preds = %299, %297
  %301 = load i64, ptr %4, align 8, !tbaa !9
  %302 = mul nsw i64 31, %301
  %303 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %304 = getelementptr inbounds %struct.SuffixArray, ptr %303, i32 0, i32 3
  %305 = load i32, ptr %29, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %304, i64 noundef %306) #7
  %308 = load i32, ptr %307, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = add nsw i64 %302, %309
  store i64 %310, ptr %4, align 8, !tbaa !9
  br label %311

311:                                              ; preds = %300
  %312 = load i32, ptr %29, align 4, !tbaa !5
  %313 = add nsw i32 %312, 1
  store i32 %313, ptr %29, align 4, !tbaa !5
  br label %246, !llvm.loop !23

314:                                              ; preds = %251
  %315 = load i32, ptr %7, align 4, !tbaa !5
  %316 = icmp sgt i32 %315, 0
  br i1 %316, label %317, label %342

317:                                              ; preds = %314
  %318 = getelementptr inbounds %struct.LongestCommonPrefix, ptr %17, i32 0, i32 0
  %319 = getelementptr inbounds %struct.SuffixArray, ptr %318, i32 0, i32 3
  %320 = load i32, ptr %7, align 4, !tbaa !5
  %321 = sub nsw i32 %320, 1
  %322 = sext i32 %321 to i64
  %323 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %319, i64 noundef %322) #7
  %324 = load i32, ptr %323, align 4, !tbaa !5
  %325 = icmp eq i32 %324, 0
  br i1 %325, label %326, label %327

326:                                              ; preds = %317
  br label %329

327:                                              ; preds = %317
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 49, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

328:                                              ; No predecessors!
  br label %329

329:                                              ; preds = %328, %326
  %330 = getelementptr inbounds %struct.LongestCommonPrefix.11, ptr %18, i32 0, i32 0
  %331 = getelementptr inbounds %struct.SAISSuffixArray, ptr %330, i32 0, i32 3
  %332 = load i32, ptr %7, align 4, !tbaa !5
  %333 = sub nsw i32 %332, 1
  %334 = sext i32 %333 to i64
  %335 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %331, i64 noundef %334) #7
  %336 = load i32, ptr %335, align 4, !tbaa !5
  %337 = icmp eq i32 %336, 0
  br i1 %337, label %338, label %339

338:                                              ; preds = %329
  br label %341

339:                                              ; preds = %329
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 50, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

340:                                              ; No predecessors!
  br label %341

341:                                              ; preds = %340, %338
  br label %342

342:                                              ; preds = %341, %314
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !5
  br label %343

343:                                              ; preds = %431, %342
  %344 = load i32, ptr %30, align 4, !tbaa !5
  %345 = load i32, ptr %7, align 4, !tbaa !5
  %346 = icmp slt i32 %344, %345
  br i1 %346, label %348, label %347

347:                                              ; preds = %343
  store i32 19, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %434

348:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %349 = load i32, ptr %30, align 4, !tbaa !5
  store i32 %349, ptr %31, align 4, !tbaa !5
  br label %350

350:                                              ; preds = %420, %348
  %351 = load i32, ptr %31, align 4, !tbaa !5
  %352 = load i32, ptr %7, align 4, !tbaa !5
  %353 = icmp slt i32 %351, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %350
  store i32 22, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %430

355:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  %356 = load i32, ptr %30, align 4, !tbaa !5
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %32, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %356)
          to label %357 unwind label %369

357:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %358 = load i32, ptr %31, align 4, !tbaa !5
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %358)
          to label %359 unwind label %373

359:                                              ; preds = %357
  %360 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %361 unwind label %377

361:                                              ; preds = %359
  %362 = load i32, ptr %30, align 4, !tbaa !5
  %363 = load i32, ptr %31, align 4, !tbaa !5
  %364 = invoke noundef i32 @_ZN19LongestCommonPrefixI11SuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %17, i32 noundef %362, i32 noundef %363)
          to label %365 unwind label %377

365:                                              ; preds = %361
  %366 = icmp eq i32 %360, %364
  br i1 %366, label %367, label %368

367:                                              ; preds = %365
  br label %382

368:                                              ; preds = %365
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 53, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

369:                                              ; preds = %355
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %11, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %12, align 4
  br label %397

373:                                              ; preds = %357
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %11, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %12, align 4
  br label %396

377:                                              ; preds = %361, %359
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %11, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %12, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br label %396

381:                                              ; No predecessors!
  br label %382

382:                                              ; preds = %381, %367
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #7
  %383 = load i32, ptr %30, align 4, !tbaa !5
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %383)
          to label %384 unwind label %398

384:                                              ; preds = %382
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #7
  %385 = load i32, ptr %31, align 4, !tbaa !5
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %35, ptr noundef nonnull align 8 dereferenceable(24) %8, i32 noundef %385)
          to label %386 unwind label %402

386:                                              ; preds = %384
  %387 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %388 unwind label %406

388:                                              ; preds = %386
  %389 = load i32, ptr %30, align 4, !tbaa !5
  %390 = load i32, ptr %31, align 4, !tbaa !5
  %391 = invoke noundef i32 @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %18, i32 noundef %389, i32 noundef %390)
          to label %392 unwind label %406

392:                                              ; preds = %388
  %393 = icmp eq i32 %387, %391
  br i1 %393, label %394, label %395

394:                                              ; preds = %392
  br label %411

395:                                              ; preds = %392
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 54, ptr noundef @__PRETTY_FUNCTION__._Z5test1v) #8
  unreachable

396:                                              ; preds = %377, %373
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  br label %397

397:                                              ; preds = %396, %369
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %429

398:                                              ; preds = %382
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %11, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %12, align 4
  br label %424

402:                                              ; preds = %384
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %11, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %12, align 4
  br label %423

406:                                              ; preds = %388, %386
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %11, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %12, align 4
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  br label %423

410:                                              ; No predecessors!
  br label %411

411:                                              ; preds = %410, %394
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  %412 = load i64, ptr %4, align 8, !tbaa !9
  %413 = mul nsw i64 31, %412
  %414 = load i32, ptr %30, align 4, !tbaa !5
  %415 = load i32, ptr %31, align 4, !tbaa !5
  %416 = invoke noundef i32 @_ZN19LongestCommonPrefixI11SuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %17, i32 noundef %414, i32 noundef %415)
          to label %417 unwind label %425

417:                                              ; preds = %411
  %418 = sext i32 %416 to i64
  %419 = add nsw i64 %413, %418
  store i64 %419, ptr %4, align 8, !tbaa !9
  br label %420

420:                                              ; preds = %417
  %421 = load i32, ptr %31, align 4, !tbaa !5
  %422 = add nsw i32 %421, 1
  store i32 %422, ptr %31, align 4, !tbaa !5
  br label %350, !llvm.loop !24

423:                                              ; preds = %406, %402
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  br label %424

424:                                              ; preds = %423, %398
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  br label %429

425:                                              ; preds = %411
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %11, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %12, align 4
  br label %429

429:                                              ; preds = %425, %424, %397
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %438

430:                                              ; preds = %354
  br label %431

431:                                              ; preds = %430
  %432 = load i32, ptr %30, align 4, !tbaa !5
  %433 = add nsw i32 %432, 1
  store i32 %433, ptr %30, align 4, !tbaa !5
  br label %343, !llvm.loop !25

434:                                              ; preds = %347
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %18) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %18) #7
  call void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %17) #7
  call void @llvm.lifetime.end.p0(i64 168, ptr %17) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %435

435:                                              ; preds = %434
  %436 = load i32, ptr %5, align 4, !tbaa !5
  %437 = add nsw i32 %436, 1
  store i32 %437, ptr %5, align 4, !tbaa !5
  br label %43, !llvm.loop !26

438:                                              ; preds = %429, %273
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  br label %439

439:                                              ; preds = %438, %137
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  br label %440

440:                                              ; preds = %439, %133, %114
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %18) #7
  br label %441

441:                                              ; preds = %440, %94
  call void @llvm.lifetime.end.p0(i64 168, ptr %18) #7
  call void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %17) #7
  br label %442

442:                                              ; preds = %441, %90
  call void @llvm.lifetime.end.p0(i64 168, ptr %17) #7
  br label %443

443:                                              ; preds = %442, %78
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  br label %444

444:                                              ; preds = %443, %63
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  br label %471

445:                                              ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %446 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #7
  %447 = getelementptr inbounds %"class.std::chrono::time_point", ptr %36, i32 0, i32 0
  %448 = getelementptr inbounds %"class.std::chrono::duration", ptr %447, i32 0, i32 0
  store i64 %446, ptr %448, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #7
  %449 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %450 = getelementptr inbounds %"class.std::chrono::duration", ptr %38, i32 0, i32 0
  store i64 %449, ptr %450, align 8
  %451 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %38)
  %452 = sitofp i64 %451 to double
  %453 = fdiv double %452, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #7
  store double %453, ptr %37, align 8, !tbaa !27
  %454 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
  %455 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %454, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %456 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
  %457 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %456, ptr noundef @_ZSt5fixedRSt8ios_base)
  %458 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %459 = getelementptr inbounds %"struct.std::_Setprecision", ptr %39, i32 0, i32 0
  store i32 %458, ptr %459, align 4
  %460 = getelementptr inbounds %"struct.std::_Setprecision", ptr %39, i32 0, i32 0
  %461 = load i32, ptr %460, align 4
  %462 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %457, i32 %461)
  %463 = load double, ptr %37, align 8, !tbaa !27
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %462, double noundef %463)
  %465 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %464, ptr noundef @.str.13)
  %466 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %465, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %467 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
  %468 = load i64, ptr %4, align 8, !tbaa !9
  %469 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %467, i64 noundef %468)
  %470 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %469, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 2504, ptr %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #7
  ret void

471:                                              ; preds = %444
  %472 = load ptr, ptr %11, align 8
  %473 = load i32, ptr %12, align 4
  %474 = insertvalue { ptr, i32 } poison, ptr %472, 0
  %475 = insertvalue { ptr, i32 } %474, i32 %473, 1
  resume { ptr, i32 } %475
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE12emplace_backIJS2_RiEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEEiES3_IS6_SaIS6_EEEEEvT_SB_(ptr, ptr) #5

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #4 align 2

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

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

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

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

; 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 @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #4

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!16, !6, i64 24}
!16 = !{!"_ZTSSt4pairISt6vectorIiSaIiEEiE", !17, i64 0, !6, i64 24}
!17 = !{!"_ZTSSt6vectorIiSaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !12, i64 0, !12, i64 8, !12, i64 16}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = !{!28, !28, i64 0}
!28 = !{!"double", !7, i64 0}


; 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<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::chrono::time_point" = type { %"class.std::chrono::duration" }
%"class.std::chrono::duration" = type { i64 }
%"class.std::mersenne_twister_engine" = type { [312 x i64], i64 }
%"class.std::allocator" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%struct.LongestCommonPrefix = type { %struct.SuffixArray, %struct.FischerHeunStructure }
%struct.SuffixArray = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%struct.FischerHeunStructure = type <{ i32, i32, %"class.std::vector", %"class.std::vector.1", %"class.std::vector.6", [8 x i8] }>
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.LongestCommonPrefix.11 = type { %struct.SAISSuffixArray, %struct.FischerHeunStructure }
%struct.SAISSuffixArray = type { i32, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<std::vector<int>, int>, std::allocator<std::pair<std::vector<int>, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [37 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@__PRETTY_FUNCTION__._Z5test1v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test1v() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::chrono::time_point", align 8
  %2 = alloca %"class.std::mersenne_twister_engine", align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %8 = alloca %struct.LongestCommonPrefix, align 8
  %9 = alloca %struct.LongestCommonPrefix.11, align 8
  %10 = alloca %"class.std::vector.12", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::chrono::time_point", align 8
  %21 = alloca %"class.std::chrono::duration", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %22 = tail call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %22, ptr %1, align 8
  call void @llvm.lifetime.start.p0(i64 2504, ptr nonnull %2) #8
  call void @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEC2Em(ptr noundef nonnull align 8 dereferenceable(2504) %2, i64 noundef 0)
  %23 = getelementptr inbounds i8, ptr %8, i64 8
  %24 = getelementptr inbounds i8, ptr %9, i64 8
  %25 = getelementptr inbounds i8, ptr %8, i64 32
  %26 = getelementptr inbounds i8, ptr %9, i64 32
  %27 = getelementptr inbounds i8, ptr %8, i64 56
  %28 = getelementptr inbounds i8, ptr %9, i64 56
  br label %47

29:                                               ; preds = %._crit_edge188
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %30 = call i64 @_ZNSt6chrono3_V212system_clock3nowEv() #8
  store i64 %30, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %31 = call i64 @_ZNSt6chronomiINS_3_V212system_clockENS_8durationIlSt5ratioILl1ELl1000000000EEEES6_EENSt11common_typeIJT0_T1_EE4typeERKNS_10time_pointIT_S8_EERKNSC_ISD_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %1)
  store i64 %31, ptr %21, align 8
  %32 = call noundef i64 @_ZNKSt6chrono8durationIlSt5ratioILl1ELl1000000000EEE5countEv(ptr noundef nonnull align 8 dereferenceable(8) %21)
  %33 = sitofp i64 %32 to double
  %34 = fdiv double %33, 1.000000e+09
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  %35 = call 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)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %37 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %39 = call i32 @_ZSt12setprecisioni(i32 noundef 3)
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 %39)
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %40, double noundef %34)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @.str.13)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %44, i64 noundef %.4.lcssa)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret void

47:                                               ; preds = %0, %._crit_edge188
  %.0191 = phi i64 [ 0, %0 ], [ %.4.lcssa, %._crit_edge188 ]
  %.065190 = phi i32 [ 0, %0 ], [ %175, %._crit_edge188 ]
  %48 = call noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
  %49 = urem i64 %48, 11
  %50 = trunc nuw nsw i64 %49 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %49, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %51 unwind label %55

51:                                               ; preds = %47
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %52 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  store ptr %52, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %53 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  store ptr %53, ptr %7, align 8
  %54 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br i1 %54, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %59, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %8) #8
  invoke void @_ZN19LongestCommonPrefixI11SuffixArrayIiEEC2ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(168) %8, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %67 unwind label %71

55:                                               ; preds = %47
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  br label %228

.lr.ph:                                           ; preds = %51, %59
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %58 = invoke noundef i64 @_ZNSt23mersenne_twister_engineImLm64ELm312ELm156ELm31ELm13043109905998158313ELm29ELm6148914691236517205ELm17ELm8202884508482404352ELm37ELm18444473444759240704ELm43ELm6364136223846793005EEclEv(ptr noundef nonnull align 8 dereferenceable(2504) %2)
          to label %59 unwind label %65

59:                                               ; preds = %.lr.ph
  %60 = urem i64 %58, 10
  %61 = trunc nuw nsw i64 %60 to i32
  %62 = or disjoint i32 %61, 100000
  store i32 %62, ptr %57, align 4, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %64 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br i1 %64, label %.lr.ph, label %._crit_edge

65:                                               ; preds = %.lr.ph
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %227

67:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %9) #8
  invoke void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEEC2ERKSt6vectorIiSaIiEE(ptr noundef nonnull align 8 dereferenceable(168) %9, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %68 unwind label %73

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #8
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  store i32 0, ptr %11, align 4, !tbaa !5
  %.not192 = icmp eq i64 %49, 0
  br i1 %.not192, label %._crit_edge169, label %.lr.ph168

._crit_edge169:                                   ; preds = %77, %68
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  %69 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  %70 = call ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEEiES3_IS6_SaIS6_EEEEEvT_SB_(ptr %69, ptr %70)
          to label %86 unwind label %88

71:                                               ; preds = %._crit_edge
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %226

73:                                               ; preds = %67
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %225

.lr.ph168:                                        ; preds = %68, %77
  %storemerge166 = phi i32 [ %79, %77 ], [ 0, %68 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #8
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %storemerge166)
          to label %75 unwind label %81

75:                                               ; preds = %.lr.ph168
  %76 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE12emplace_backIJS2_RiEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %77 unwind label %83

77:                                               ; preds = %75
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  %78 = load i32, ptr %11, align 4, !tbaa !5
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %11, align 4, !tbaa !5
  %80 = icmp slt i32 %79, %50
  br i1 %80, label %.lr.ph168, label %._crit_edge169, !llvm.loop !9

81:                                               ; preds = %.lr.ph168
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %85

83:                                               ; preds = %75
  %84 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %85

85:                                               ; preds = %83, %81
  %.pn102 = phi { ptr, i32 } [ %84, %83 ], [ %82, %81 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  br label %224

86:                                               ; preds = %._crit_edge169
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  store i32 -1, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %49, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %87 unwind label %90

87:                                               ; preds = %86
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  br i1 %.not192, label %._crit_edge188, label %.lr.ph173.preheader

.lr.ph173.preheader:                              ; preds = %87
  %umax = call i32 @llvm.umax.i32(i32 %50, i32 1)
  %wide.trip.count = zext nneg i32 %umax to i64
  br label %.lr.ph173

.preheader111:                                    ; preds = %107
  br i1 %.not192, label %._crit_edge188, label %.lr.ph176.preheader

.lr.ph176.preheader:                              ; preds = %.preheader111
  %umax203 = call i32 @llvm.umax.i32(i32 %50, i32 1)
  %wide.trip.count204 = zext nneg i32 %umax203 to i64
  br label %.lr.ph176

88:                                               ; preds = %._crit_edge169
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %224

90:                                               ; preds = %86
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  br label %223

.lr.ph173:                                        ; preds = %.lr.ph173.preheader, %107
  %indvars.iv = phi i64 [ 0, %.lr.ph173.preheader ], [ %indvars.iv.next, %107 ]
  %.1171 = phi i64 [ %.0191, %.lr.ph173.preheader ], [ %118, %107 ]
  %92 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #8
  %93 = getelementptr inbounds i8, ptr %92, i64 24
  %94 = load i32, ptr %93, align 8, !tbaa !11
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv) #8
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = icmp eq i32 %94, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %.lr.ph173
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 33, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

99:                                               ; preds = %.lr.ph173
  %100 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #8
  %101 = getelementptr inbounds i8, ptr %100, i64 24
  %102 = load i32, ptr %101, align 8, !tbaa !11
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %indvars.iv) #8
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = icmp eq i32 %102, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %99
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 34, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

107:                                              ; preds = %99
  %108 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv) #8
  %109 = getelementptr inbounds i8, ptr %108, i64 24
  %110 = load i32, ptr %109, align 8, !tbaa !11
  %111 = sext i32 %110 to i64
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %111) #8
  %113 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %113, ptr %112, align 4, !tbaa !5
  %114 = mul nsw i64 %.1171, 31
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %indvars.iv) #8
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = add nsw i64 %114, %117
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader111, label %.lr.ph173, !llvm.loop !18

.preheader110:                                    ; preds = %133
  %119 = add nsw i32 %50, -1
  %.not = icmp eq i64 %49, 1
  br i1 %.not, label %._crit_edge181, label %.lr.ph180.preheader

.lr.ph180.preheader:                              ; preds = %.preheader110
  %smax = call i32 @llvm.smax.i32(i32 %119, i32 1)
  %wide.trip.count209 = zext nneg i32 %smax to i64
  br label %.lr.ph180

.lr.ph176:                                        ; preds = %.lr.ph176.preheader, %133
  %indvars.iv200 = phi i64 [ 0, %.lr.ph176.preheader ], [ %indvars.iv.next201, %133 ]
  %.2175 = phi i64 [ %118, %.lr.ph176.preheader ], [ %138, %133 ]
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv200) #8
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv200) #8
  %123 = load i32, ptr %122, align 4, !tbaa !5
  %124 = icmp eq i32 %121, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %.lr.ph176
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 39, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

126:                                              ; preds = %.lr.ph176
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %indvars.iv200) #8
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %indvars.iv200) #8
  %130 = load i32, ptr %129, align 4, !tbaa !5
  %131 = icmp eq i32 %128, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %126
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 40, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

133:                                              ; preds = %126
  %134 = mul nsw i64 %.2175, 31
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %25, i64 noundef %indvars.iv200) #8
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = add nsw i64 %134, %137
  %indvars.iv.next201 = add nuw nsw i64 %indvars.iv200, 1
  %exitcond205.not = icmp eq i64 %indvars.iv.next201, %wide.trip.count204
  br i1 %exitcond205.not, label %.preheader110, label %.lr.ph176, !llvm.loop !19

._crit_edge181:                                   ; preds = %158, %.preheader110
  %.3.lcssa = phi i64 [ %138, %.preheader110 ], [ %163, %158 ]
  br i1 %.not192, label %._crit_edge188, label %164

.lr.ph180:                                        ; preds = %.lr.ph180.preheader, %158
  %indvars.iv206 = phi i64 [ 0, %.lr.ph180.preheader ], [ %indvars.iv.next207, %158 ]
  %.3179 = phi i64 [ %138, %.lr.ph180.preheader ], [ %163, %158 ]
  %139 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv206) #8
  %indvars.iv.next207 = add nuw nsw i64 %indvars.iv206, 1
  %140 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv.next207) #8
  %141 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 8 dereferenceable(24) %140)
          to label %142 unwind label %147

142:                                              ; preds = %.lr.ph180
  %143 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv206) #8
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = icmp eq i32 %141, %144
  br i1 %145, label %149, label %146

146:                                              ; preds = %142
  call void @__assert_fail(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 44, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

147:                                              ; preds = %149, %.lr.ph180
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %222

149:                                              ; preds = %142
  %150 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv206) #8
  %151 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %10, i64 noundef %indvars.iv.next207) #8
  %152 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %150, ptr noundef nonnull align 8 dereferenceable(24) %151)
          to label %153 unwind label %147

153:                                              ; preds = %149
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %indvars.iv206) #8
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = icmp eq i32 %152, %155
  br i1 %156, label %158, label %157

157:                                              ; preds = %153
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 45, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

158:                                              ; preds = %153
  %159 = mul nsw i64 %.3179, 31
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %indvars.iv206) #8
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = sext i32 %161 to i64
  %163 = add nsw i64 %159, %162
  %exitcond210.not = icmp eq i64 %indvars.iv.next207, %wide.trip.count209
  br i1 %exitcond210.not, label %._crit_edge181, label %.lr.ph180, !llvm.loop !20

164:                                              ; preds = %._crit_edge181
  %165 = sext i32 %119 to i64
  %166 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %165) #8
  %167 = load i32, ptr %166, align 4, !tbaa !5
  %168 = icmp eq i32 %167, 0
  br i1 %168, label %170, label %169

169:                                              ; preds = %164
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 49, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

170:                                              ; preds = %164
  %171 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %165) #8
  %172 = load i32, ptr %171, align 4, !tbaa !5
  %173 = icmp eq i32 %172, 0
  br i1 %173, label %.preheader.preheader, label %174

174:                                              ; preds = %170
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 50, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

.preheader.preheader:                             ; preds = %170
  %umax211 = call i32 @llvm.umax.i32(i32 %50, i32 1)
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %176
  %.4187 = phi i64 [ %215, %176 ], [ %.3.lcssa, %.preheader.preheader ]
  %.067186 = phi i32 [ %177, %176 ], [ 0, %.preheader.preheader ]
  br label %178

._crit_edge188:                                   ; preds = %176, %.preheader111, %87, %._crit_edge181
  %.4.lcssa = phi i64 [ %.3.lcssa, %._crit_edge181 ], [ %118, %.preheader111 ], [ %.0191, %87 ], [ %215, %176 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %9) #8
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %9) #8
  call void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %8) #8
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %8) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  %175 = add nuw nsw i32 %.065190, 1
  %exitcond213.not = icmp eq i32 %175, 100000
  br i1 %exitcond213.not, label %29, label %47, !llvm.loop !21

176:                                              ; preds = %212
  %177 = add nuw i32 %.067186, 1
  %exitcond212.not = icmp eq i32 %177, %umax211
  br i1 %exitcond212.not, label %._crit_edge188, label %.preheader, !llvm.loop !22

178:                                              ; preds = %.preheader, %212
  %.5185 = phi i64 [ %.4187, %.preheader ], [ %215, %212 ]
  %.066184 = phi i32 [ %.067186, %.preheader ], [ %216, %212 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %.067186)
          to label %179 unwind label %187

179:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %.066184)
          to label %180 unwind label %189

180:                                              ; preds = %179
  %181 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %182 unwind label %191

182:                                              ; preds = %180
  %183 = invoke noundef i32 @_ZN19LongestCommonPrefixI11SuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %8, i32 noundef %.067186, i32 noundef %.066184)
          to label %184 unwind label %191

184:                                              ; preds = %182
  %185 = icmp eq i32 %181, %183
  br i1 %185, label %193, label %186

186:                                              ; preds = %184
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 53, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

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

189:                                              ; preds = %179
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %202

191:                                              ; preds = %182, %180
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %202

193:                                              ; preds = %184
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %.067186)
          to label %194 unwind label %204

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  invoke void @_Z6suffixRKSt6vectorIiSaIiEEi(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef %.066184)
          to label %195 unwind label %206

195:                                              ; preds = %194
  %196 = invoke noundef i32 @_Z3lcpRKSt6vectorIiSaIiEES3_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %197 unwind label %208

197:                                              ; preds = %195
  %198 = invoke noundef i32 @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %9, i32 noundef %.067186, i32 noundef %.066184)
          to label %199 unwind label %208

199:                                              ; preds = %197
  %200 = icmp eq i32 %196, %198
  br i1 %200, label %210, label %201

201:                                              ; preds = %199
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 54, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test1v) #9
  unreachable

202:                                              ; preds = %191, %189
  %.pn = phi { ptr, i32 } [ %192, %191 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %203

203:                                              ; preds = %202, %187
  %.pn.pn = phi { ptr, i32 } [ %.pn, %202 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  br label %222

204:                                              ; preds = %193
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %219

206:                                              ; preds = %194
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %218

208:                                              ; preds = %197, %195
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %218

210:                                              ; preds = %199
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  %211 = invoke noundef i32 @_ZN19LongestCommonPrefixI11SuffixArrayIiEE3lcpEii(ptr noundef nonnull align 8 dereferenceable(168) %8, i32 noundef %.067186, i32 noundef %.066184)
          to label %212 unwind label %220

212:                                              ; preds = %210
  %213 = mul nsw i64 %.5185, 31
  %214 = sext i32 %211 to i64
  %215 = add nsw i64 %213, %214
  %216 = add nuw nsw i32 %.066184, 1
  %217 = icmp ult i32 %216, %50
  br i1 %217, label %178, label %176, !llvm.loop !23

218:                                              ; preds = %208, %206
  %.pn94 = phi { ptr, i32 } [ %209, %208 ], [ %207, %206 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  br label %219

219:                                              ; preds = %218, %204
  %.pn94.pn = phi { ptr, i32 } [ %.pn94, %218 ], [ %205, %204 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %222

220:                                              ; preds = %210
  %221 = landingpad { ptr, i32 }
          cleanup
  br label %222

222:                                              ; preds = %203, %219, %220, %147
  %.pn99 = phi { ptr, i32 } [ %148, %147 ], [ %221, %220 ], [ %.pn94.pn, %219 ], [ %.pn.pn, %203 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  br label %223

223:                                              ; preds = %222, %90
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %222 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #8
  br label %224

224:                                              ; preds = %223, %88, %85
  %.pn102.pn = phi { ptr, i32 } [ %.pn102, %85 ], [ %.pn99.pn, %223 ], [ %89, %88 ]
  call void @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #8
  call void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %9) #8
  br label %225

225:                                              ; preds = %224, %73
  %.pn102.pn.pn = phi { ptr, i32 } [ %.pn102.pn, %224 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %9) #8
  call void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168) %8) #8
  br label %226

226:                                              ; preds = %225, %71
  %.pn102.pn.pn.pn = phi { ptr, i32 } [ %.pn102.pn.pn, %225 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %8) #8
  br label %227

227:                                              ; preds = %226, %65
  %.pn107 = phi { ptr, i32 } [ %66, %65 ], [ %.pn102.pn.pn.pn, %226 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  br label %228

228:                                              ; preds = %227, %55
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %227 ], [ %56, %55 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 2504, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn107.pn
}

; Function Attrs: nounwind
declare i64 @_ZNSt6chrono3_V212system_clock3nowEv() local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(28) ptr @_ZNSt6vectorISt4pairIS_IiSaIiEEiESaIS3_EE12emplace_backIJS2_RiEEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt4pairISt6vectorIiSaIiEEiES3_IS6_SaIS6_EEEEEvT_SB_(ptr, ptr) local_unnamed_addr #5

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

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

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #6

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19LongestCommonPrefixI15SAISSuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN19LongestCommonPrefixI11SuffixArrayIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #4 align 2

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

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

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

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

; 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 @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #7

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


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