; LLVM IR from kazunetakahashi/atcoder :: 2019/0602_AGC034 (C2)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@N = external dso_local global i64, align 8
@X = external dso_local global i64, align 8
@b = external dso_local global [100010 x i64], align 16
@l = external dso_local global [100010 x i64], align 16
@u = external dso_local global [100010 x i64], align 16
@base = external dso_local global i64, align 8
@V = external dso_local global %"class.std::vector", align 8
@sum = external dso_local global [100010 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i64, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %14 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) @X)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %35, %0
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = load i64, ptr @N, align 8, !tbaa !9
  %20 = icmp slt i64 %18, %19
  br i1 %20, label %22, label %21

21:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %38

22:                                               ; preds = %16
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %24
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %25)
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %28
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %29)
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [100010 x i64], ptr @u, i64 0, i64 %32
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(8) %33)
  br label %35

35:                                               ; preds = %22
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %2, align 4, !tbaa !5
  br label %16, !llvm.loop !11

38:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %57, %38
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = load i64, ptr @N, align 8, !tbaa !9
  %43 = icmp slt i64 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %60

45:                                               ; preds = %39
  %46 = load i32, ptr %3, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %47
  %49 = load i64, ptr %48, align 8, !tbaa !9
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !9
  %54 = mul nsw i64 %49, %53
  %55 = load i64, ptr @base, align 8, !tbaa !9
  %56 = sub nsw i64 %55, %54
  store i64 %56, ptr @base, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %45
  %58 = load i32, ptr %3, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %3, align 4, !tbaa !5
  br label %39, !llvm.loop !13

60:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %99, %60
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = load i64, ptr @N, align 8, !tbaa !9
  %65 = icmp slt i64 %63, %64
  br i1 %65, label %67, label %66

66:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %102

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %68 = load i32, ptr %4, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !9
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %73
  %75 = load i64, ptr %74, align 8, !tbaa !9
  %76 = mul nsw i64 %71, %75
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [100010 x i64], ptr @u, i64 0, i64 %78
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = load i64, ptr @X, align 8, !tbaa !9
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %83
  %85 = load i64, ptr %84, align 8, !tbaa !9
  %86 = sub nsw i64 %81, %85
  %87 = mul nsw i64 %80, %86
  %88 = add nsw i64 %76, %87
  store i64 %88, ptr %5, align 8, !tbaa !9
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %90
  %92 = load i32, ptr %4, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %93
  %95 = load i32, ptr %4, align 4, !tbaa !5
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [100010 x i64], ptr @u, i64 0, i64 %96
  %98 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE12emplace_backIJRxS5_S5_S5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @V, ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 8 dereferenceable(8) %97)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %99

99:                                               ; preds = %67
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %4, align 4, !tbaa !5
  br label %61, !llvm.loop !14

102:                                              ; preds = %66
  %103 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #6
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #6
  %106 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %105, ptr %106, align 8
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %6, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %108, ptr %110)
  %111 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #6
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  %113 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #6
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  %115 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  %116 = load ptr, ptr %115, align 8
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  call void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %116, ptr %118)
  %119 = load i64, ptr @base, align 8, !tbaa !9
  store i64 %119, ptr @sum, align 16, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %141, %102
  %121 = load i32, ptr %10, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = load i64, ptr @N, align 8, !tbaa !9
  %124 = icmp slt i64 %122, %123
  br i1 %124, label %126, label %125

125:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %144

126:                                              ; preds = %120
  %127 = load i32, ptr %10, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %128
  %130 = load i64, ptr %129, align 8, !tbaa !9
  %131 = load i32, ptr %10, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %132) #6
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxxxxEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(32) %133) #6
  %135 = load i64, ptr %134, align 8, !tbaa !9
  %136 = add nsw i64 %130, %135
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = add nsw i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %139
  store i64 %136, ptr %140, align 8, !tbaa !9
  br label %141

141:                                              ; preds = %126
  %142 = load i32, ptr %10, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %10, align 4, !tbaa !5
  br label %120, !llvm.loop !15

144:                                              ; preds = %125
  %145 = load i64, ptr @N, align 8, !tbaa !9
  %146 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %145
  %147 = load i64, ptr %146, align 8, !tbaa !9
  %148 = load i64, ptr @N, align 8, !tbaa !9
  %149 = add nsw i64 %148, 1
  %150 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %149
  store i64 %147, ptr %150, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %151 = load i64, ptr @N, align 8, !tbaa !9
  %152 = load i64, ptr @X, align 8, !tbaa !9
  %153 = mul nsw i64 %151, %152
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 -1, ptr %12, align 8, !tbaa !9
  br label %155

155:                                              ; preds = %172, %144
  %156 = load i64, ptr %11, align 8, !tbaa !9
  %157 = load i64, ptr %12, align 8, !tbaa !9
  %158 = sub nsw i64 %156, %157
  %159 = call noundef i64 @_ZSt3absx(i64 noundef %158)
  %160 = icmp sgt i64 %159, 1
  br i1 %160, label %161, label %173

161:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %162 = load i64, ptr %11, align 8, !tbaa !9
  %163 = load i64, ptr %12, align 8, !tbaa !9
  %164 = add nsw i64 %162, %163
  %165 = sdiv i64 %164, 2
  store i64 %165, ptr %13, align 8, !tbaa !9
  %166 = load i64, ptr %13, align 8, !tbaa !9
  %167 = call noundef zeroext i1 @_Z5solvex(i64 noundef %166)
  br i1 %167, label %168, label %170

168:                                              ; preds = %161
  %169 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %169, ptr %11, align 8, !tbaa !9
  br label %172

170:                                              ; preds = %161
  %171 = load i64, ptr %13, align 8, !tbaa !9
  store i64 %171, ptr %12, align 8, !tbaa !9
  br label %172

172:                                              ; preds = %170, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %155, !llvm.loop !16

173:                                              ; preds = %155
  %174 = load i64, ptr %11, align 8, !tbaa !9
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %174)
  %176 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %177 = load i32, ptr %1, align 4
  ret i32 %177
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) #5

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

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

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

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

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


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<long long, long long, long long, long long>, std::allocator<std::tuple<long long, long long, long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@N = external dso_local global i64, align 8
@X = external dso_local global i64, align 8
@b = external dso_local global [100010 x i64], align 16
@l = external dso_local global [100010 x i64], align 16
@u = external dso_local global [100010 x i64], align 16
@base = external dso_local local_unnamed_addr global i64, align 8
@V = external dso_local global %"class.std::vector", align 8
@sum = external dso_local local_unnamed_addr global [100010 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z5solvex(i64 noundef) 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i64, align 8
  %2 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @N)
  %3 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(8) @X)
  %4 = load i64, ptr @N, align 8, !tbaa !5
  %5 = icmp sgt i64 %4, 0
  br i1 %5, label %.lr.ph, label %._crit_edge

.preheader46:                                     ; preds = %.lr.ph
  %6 = icmp sgt i64 %24, 0
  br i1 %6, label %.lr.ph50.preheader, label %._crit_edge

.lr.ph50.preheader:                               ; preds = %.preheader46
  %base.promoted = load i64, ptr @base, align 8, !tbaa !5
  %min.iters.check = icmp ult i64 %24, 4
  br i1 %min.iters.check, label %.lr.ph50.preheader89, label %vector.ph

.lr.ph50.preheader89:                             ; preds = %middle.block, %.lr.ph50.preheader
  %indvars.iv69.ph = phi i64 [ 0, %.lr.ph50.preheader ], [ %n.vec, %middle.block ]
  %.ph = phi i64 [ %base.promoted, %.lr.ph50.preheader ], [ %17, %middle.block ]
  br label %.lr.ph50

vector.ph:                                        ; preds = %.lr.ph50.preheader
  %n.vec = and i64 %24, 9223372036854775804
  %7 = insertelement <2 x i64> <i64 poison, i64 0>, i64 %base.promoted, i64 0
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <2 x i64> [ %7, %vector.ph ], [ %14, %vector.body ]
  %vec.phi84 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %15, %vector.body ]
  %8 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %index
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  %wide.load = load <2 x i64>, ptr %8, align 16, !tbaa !5
  %wide.load85 = load <2 x i64>, ptr %9, align 16, !tbaa !5
  %10 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %index
  %11 = getelementptr inbounds i8, ptr %10, i64 16
  %wide.load86 = load <2 x i64>, ptr %10, align 16, !tbaa !5
  %wide.load87 = load <2 x i64>, ptr %11, align 16, !tbaa !5
  %12 = mul nsw <2 x i64> %wide.load86, %wide.load
  %13 = mul nsw <2 x i64> %wide.load87, %wide.load85
  %14 = sub <2 x i64> %vec.phi, %12
  %15 = sub <2 x i64> %vec.phi84, %13
  %index.next = add nuw i64 %index, 4
  %16 = icmp eq i64 %index.next, %n.vec
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %15, %14
  %17 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %cmp.n = icmp eq i64 %24, %n.vec
  br i1 %cmp.n, label %.preheader, label %.lr.ph50.preheader89

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %18 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %indvars.iv
  %19 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %18)
  %20 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %indvars.iv
  %21 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %22 = getelementptr inbounds [100010 x i64], ptr @u, i64 0, i64 %indvars.iv
  %23 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(8) %22)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i64, ptr @N, align 8, !tbaa !5
  %25 = icmp sgt i64 %24, %indvars.iv.next
  br i1 %25, label %.lr.ph, label %.preheader46, !llvm.loop !13

.preheader:                                       ; preds = %.lr.ph50, %middle.block
  %.lcssa82 = phi i64 [ %17, %middle.block ], [ %32, %.lr.ph50 ]
  store i64 %.lcssa82, ptr @base, align 8, !tbaa !5
  br i1 %6, label %.lr.ph53, label %._crit_edge

.lr.ph50:                                         ; preds = %.lr.ph50.preheader89, %.lr.ph50
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %.lr.ph50 ], [ %indvars.iv69.ph, %.lr.ph50.preheader89 ]
  %26 = phi i64 [ %32, %.lr.ph50 ], [ %.ph, %.lr.ph50.preheader89 ]
  %27 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %indvars.iv69
  %28 = load i64, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %indvars.iv69
  %30 = load i64, ptr %29, align 8, !tbaa !5
  %31 = mul nsw i64 %30, %28
  %32 = sub nsw i64 %26, %31
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next70, %24
  br i1 %exitcond.not, label %.preheader, label %.lr.ph50, !llvm.loop !14

._crit_edge:                                      ; preds = %.lr.ph53, %0, %.preheader46, %.preheader
  %33 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #7
  %34 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #7
  call void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %33, ptr %34)
  %35 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #7
  %36 = call ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @V) #7
  call void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %35, ptr %36)
  %37 = load i64, ptr @base, align 8, !tbaa !5
  store i64 %37, ptr @sum, align 16, !tbaa !5
  %38 = load i64, ptr @N, align 8, !tbaa !5
  %39 = icmp sgt i64 %38, 0
  br i1 %39, label %.lr.ph56, label %._crit_edge57

.lr.ph53:                                         ; preds = %.preheader, %.lr.ph53
  %indvars.iv72 = phi i64 [ %indvars.iv.next73, %.lr.ph53 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %40 = getelementptr inbounds [100010 x i64], ptr @l, i64 0, i64 %indvars.iv72
  %41 = load i64, ptr %40, align 8, !tbaa !5
  %42 = getelementptr inbounds [100010 x i64], ptr @b, i64 0, i64 %indvars.iv72
  %43 = load i64, ptr %42, align 8, !tbaa !5
  %44 = mul nsw i64 %43, %41
  %45 = getelementptr inbounds [100010 x i64], ptr @u, i64 0, i64 %indvars.iv72
  %46 = load i64, ptr %45, align 8, !tbaa !5
  %47 = load i64, ptr @X, align 8, !tbaa !5
  %48 = sub nsw i64 %47, %43
  %49 = mul nsw i64 %48, %46
  %50 = add nsw i64 %49, %44
  store i64 %50, ptr %1, align 8, !tbaa !5
  %51 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EE12emplace_backIJRxS5_S5_S5_EEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) @V, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %45)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %52 = load i64, ptr @N, align 8, !tbaa !5
  %53 = icmp sgt i64 %52, %indvars.iv.next73
  br i1 %53, label %.lr.ph53, label %._crit_edge, !llvm.loop !15

._crit_edge57:                                    ; preds = %.lr.ph56, %._crit_edge
  %.lcssa = phi i64 [ %38, %._crit_edge ], [ %70, %.lr.ph56 ]
  %54 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %.lcssa
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %56 = add nsw i64 %.lcssa, 1
  %57 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %56
  store i64 %55, ptr %57, align 8, !tbaa !5
  %58 = load i64, ptr @X, align 8, !tbaa !5
  %59 = mul nsw i64 %58, %.lcssa
  %60 = add nsw i64 %59, 1
  %61 = add nsw i64 %59, 2
  %62 = call noundef i64 @_ZSt3absx(i64 noundef %61)
  %63 = icmp sgt i64 %62, 1
  br i1 %63, label %.lr.ph62, label %._crit_edge63

.lr.ph56:                                         ; preds = %._crit_edge, %.lr.ph56
  %64 = phi i64 [ %68, %.lr.ph56 ], [ %37, %._crit_edge ]
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %.lr.ph56 ], [ 0, %._crit_edge ]
  %65 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorISt5tupleIJxxxxEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %indvars.iv75) #7
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3getILm0EJxxxxEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 8 dereferenceable(32) %65) #7
  %67 = load i64, ptr %66, align 8, !tbaa !5
  %68 = add nsw i64 %67, %64
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %69 = getelementptr inbounds [100010 x i64], ptr @sum, i64 0, i64 %indvars.iv.next76
  store i64 %68, ptr %69, align 8, !tbaa !5
  %70 = load i64, ptr @N, align 8, !tbaa !5
  %71 = icmp sgt i64 %70, %indvars.iv.next76
  br i1 %71, label %.lr.ph56, label %._crit_edge57, !llvm.loop !16

.lr.ph62:                                         ; preds = %._crit_edge57, %.lr.ph62
  %.03560 = phi i64 [ %.035., %.lr.ph62 ], [ -1, %._crit_edge57 ]
  %.03659 = phi i64 [ %..036, %.lr.ph62 ], [ %60, %._crit_edge57 ]
  %72 = add nsw i64 %.03560, %.03659
  %73 = sdiv i64 %72, 2
  %74 = call noundef zeroext i1 @_Z5solvex(i64 noundef %73)
  %..036 = select i1 %74, i64 %73, i64 %.03659
  %.035. = select i1 %74, i64 %.03560, i64 %73
  %75 = sub nsw i64 %..036, %.035.
  %76 = call noundef i64 @_ZSt3absx(i64 noundef %75)
  %77 = icmp sgt i64 %76, 1
  br i1 %77, label %.lr.ph62, label %._crit_edge63, !llvm.loop !17

._crit_edge63:                                    ; preds = %.lr.ph62, %._crit_edge57
  %.036.lcssa = phi i64 [ %60, %._crit_edge57 ], [ %..036, %.lr.ph62 ]
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.036.lcssa)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJxxxxEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZSt3absx(i64 noundef) local_unnamed_addr #5

; 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 uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #6

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

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

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


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass