; LLVM IR from eyangch/competitive-programming :: Codeforces/1496 (d)

; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<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
@p = external dso_local global [100000 x i64], align 16
@lmax = external dso_local global %"class.std::vector", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %18 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %19 = getelementptr i8, ptr %18, i64 -24
  %20 = load i64, ptr %19, align 8
  %21 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %20
  %22 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %21, ptr noundef null)
  %23 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %24 = 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)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  store i64 0, ptr %2, align 8, !tbaa !8
  br label %25

25:                                               ; preds = %34, %0
  %26 = load i64, ptr %2, align 8, !tbaa !8
  %27 = load i64, ptr @N, align 8, !tbaa !8
  %28 = icmp slt i64 %26, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %37

30:                                               ; preds = %25
  %31 = load i64, ptr %2, align 8, !tbaa !8
  %32 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %31
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %32)
  br label %34

34:                                               ; preds = %30
  %35 = load i64, ptr %2, align 8, !tbaa !8
  %36 = add nsw i64 %35, 1
  store i64 %36, ptr %2, align 8, !tbaa !8
  br label %25, !llvm.loop !11

37:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 1, ptr %4, align 8, !tbaa !8
  br label %38

38:                                               ; preds = %64, %37
  %39 = load i64, ptr %4, align 8, !tbaa !8
  %40 = load i64, ptr @N, align 8, !tbaa !8
  %41 = sub nsw i64 %40, 1
  %42 = icmp slt i64 %39, %41
  br i1 %42, label %44, label %43

43:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %67

44:                                               ; preds = %38
  %45 = load i64, ptr %4, align 8, !tbaa !8
  %46 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %45
  %47 = load i64, ptr %46, align 8, !tbaa !8
  %48 = load i64, ptr %4, align 8, !tbaa !8
  %49 = sub nsw i64 %48, 1
  %50 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %49
  %51 = load i64, ptr %50, align 8, !tbaa !8
  %52 = icmp sgt i64 %47, %51
  br i1 %52, label %53, label %63

53:                                               ; preds = %44
  %54 = load i64, ptr %4, align 8, !tbaa !8
  %55 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %54
  %56 = load i64, ptr %55, align 8, !tbaa !8
  %57 = load i64, ptr %4, align 8, !tbaa !8
  %58 = add nsw i64 %57, 1
  %59 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !8
  %61 = icmp sgt i64 %56, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %53
  call void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %4)
  br label %63

63:                                               ; preds = %62, %53, %44
  br label %64

64:                                               ; preds = %63
  %65 = load i64, ptr %4, align 8, !tbaa !8
  %66 = add nsw i64 %65, 1
  store i64 %66, ptr %4, align 8, !tbaa !8
  br label %38, !llvm.loop !13

67:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %68 = load i64, ptr @N, align 8, !tbaa !8
  %69 = sub nsw i64 %68, 1
  store i64 %69, ptr %5, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  store i64 0, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 0, ptr %7, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  store ptr @lmax, ptr %8, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %70 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @lmax) #7
  %71 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %9, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %72 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @lmax) #7
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  br label %74

74:                                               ; preds = %174, %67
  %75 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  br i1 %75, label %77, label %76

76:                                               ; preds = %74
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %176

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  %79 = load i64, ptr %78, align 8, !tbaa !8
  store i64 %79, ptr %12, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %80 = load i64, ptr %12, align 8, !tbaa !8
  store i64 %80, ptr %13, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %81 = load i64, ptr %12, align 8, !tbaa !8
  store i64 %81, ptr %14, align 8, !tbaa !8
  br label %82

82:                                               ; preds = %98, %77
  %83 = load i64, ptr %13, align 8, !tbaa !8
  %84 = icmp sgt i64 %83, 0
  br i1 %84, label %85, label %99

85:                                               ; preds = %82
  %86 = load i64, ptr %13, align 8, !tbaa !8
  %87 = sub nsw i64 %86, 1
  %88 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %87
  %89 = load i64, ptr %88, align 8, !tbaa !8
  %90 = load i64, ptr %13, align 8, !tbaa !8
  %91 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %90
  %92 = load i64, ptr %91, align 8, !tbaa !8
  %93 = icmp slt i64 %89, %92
  br i1 %93, label %94, label %97

94:                                               ; preds = %85
  %95 = load i64, ptr %13, align 8, !tbaa !8
  %96 = add nsw i64 %95, -1
  store i64 %96, ptr %13, align 8, !tbaa !8
  br label %98

97:                                               ; preds = %85
  br label %99

98:                                               ; preds = %94
  br label %82, !llvm.loop !18

99:                                               ; preds = %97, %82
  br label %100

100:                                              ; preds = %118, %99
  %101 = load i64, ptr %14, align 8, !tbaa !8
  %102 = load i64, ptr @N, align 8, !tbaa !8
  %103 = sub nsw i64 %102, 1
  %104 = icmp slt i64 %101, %103
  br i1 %104, label %105, label %119

105:                                              ; preds = %100
  %106 = load i64, ptr %14, align 8, !tbaa !8
  %107 = add nsw i64 %106, 1
  %108 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %107
  %109 = load i64, ptr %108, align 8, !tbaa !8
  %110 = load i64, ptr %14, align 8, !tbaa !8
  %111 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !8
  %113 = icmp slt i64 %109, %112
  br i1 %113, label %114, label %117

114:                                              ; preds = %105
  %115 = load i64, ptr %14, align 8, !tbaa !8
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %14, align 8, !tbaa !8
  br label %118

117:                                              ; preds = %105
  br label %119

118:                                              ; preds = %114
  br label %100, !llvm.loop !19

119:                                              ; preds = %117, %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %120 = load i64, ptr %12, align 8, !tbaa !8
  %121 = load i64, ptr %13, align 8, !tbaa !8
  %122 = sub nsw i64 %120, %121
  store i64 %122, ptr %15, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %123 = load i64, ptr %14, align 8, !tbaa !8
  %124 = load i64, ptr %12, align 8, !tbaa !8
  %125 = sub nsw i64 %123, %124
  store i64 %125, ptr %16, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16)
  %127 = load i64, ptr %126, align 8, !tbaa !8
  store i64 %127, ptr %17, align 8, !tbaa !8
  %128 = load i64, ptr %12, align 8, !tbaa !8
  %129 = icmp eq i64 %128, 0
  br i1 %129, label %130, label %137

130:                                              ; preds = %119
  %131 = load i64, ptr %16, align 8, !tbaa !8
  %132 = load i64, ptr %6, align 8, !tbaa !8
  %133 = icmp sge i64 %131, %132
  br i1 %133, label %134, label %136

134:                                              ; preds = %130
  %135 = load i64, ptr %16, align 8, !tbaa !8
  store i64 %135, ptr %6, align 8, !tbaa !8
  store i8 0, ptr %7, align 1, !tbaa !14
  br label %136

136:                                              ; preds = %134, %130
  store i32 9, ptr %11, align 4
  br label %168

137:                                              ; preds = %119
  %138 = load i64, ptr %12, align 8, !tbaa !8
  %139 = load i64, ptr @N, align 8, !tbaa !8
  %140 = sub nsw i64 %139, 1
  %141 = icmp eq i64 %138, %140
  br i1 %141, label %142, label %149

142:                                              ; preds = %137
  %143 = load i64, ptr %15, align 8, !tbaa !8
  %144 = load i64, ptr %6, align 8, !tbaa !8
  %145 = icmp sge i64 %143, %144
  br i1 %145, label %146, label %148

146:                                              ; preds = %142
  %147 = load i64, ptr %15, align 8, !tbaa !8
  store i64 %147, ptr %6, align 8, !tbaa !8
  store i8 0, ptr %7, align 1, !tbaa !14
  br label %148

148:                                              ; preds = %146, %142
  store i32 9, ptr %11, align 4
  br label %168

149:                                              ; preds = %137
  %150 = load i64, ptr %17, align 8, !tbaa !8
  %151 = load i64, ptr %6, align 8, !tbaa !8
  %152 = icmp sgt i64 %150, %151
  br i1 %152, label %153, label %161

153:                                              ; preds = %149
  %154 = load i64, ptr %17, align 8, !tbaa !8
  store i64 %154, ptr %6, align 8, !tbaa !8
  %155 = load i64, ptr %15, align 8, !tbaa !8
  %156 = load i64, ptr %16, align 8, !tbaa !8
  %157 = icmp eq i64 %155, %156
  br i1 %157, label %158, label %159

158:                                              ; preds = %153
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %160

159:                                              ; preds = %153
  store i8 0, ptr %7, align 1, !tbaa !14
  br label %160

160:                                              ; preds = %159, %158
  br label %167

161:                                              ; preds = %149
  %162 = load i64, ptr %17, align 8, !tbaa !8
  %163 = load i64, ptr %6, align 8, !tbaa !8
  %164 = icmp eq i64 %162, %163
  br i1 %164, label %165, label %166

165:                                              ; preds = %161
  store i8 0, ptr %7, align 1, !tbaa !14
  br label %166

166:                                              ; preds = %165, %161
  br label %167

167:                                              ; preds = %166, %160
  store i32 0, ptr %11, align 4
  br label %168

168:                                              ; preds = %167, %148, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  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
  %169 = load i32, ptr %11, align 4
  switch i32 %169, label %171 [
    i32 0, label %170
  ]

170:                                              ; preds = %168
  store i32 0, ptr %11, align 4
  br label %171

171:                                              ; preds = %170, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %172 = load i32, ptr %11, align 4
  switch i32 %172, label %190 [
    i32 0, label %173
    i32 9, label %174
  ]

173:                                              ; preds = %171
  br label %174

174:                                              ; preds = %173, %171
  %175 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  br label %74

176:                                              ; preds = %76
  %177 = load i8, ptr %7, align 1, !tbaa !14, !range !20, !noundef !21
  %178 = trunc i8 %177 to i1
  br i1 %178, label %179, label %183

179:                                              ; preds = %176
  %180 = load i64, ptr %6, align 8, !tbaa !8
  %181 = srem i64 %180, 2
  %182 = icmp eq i64 %181, 0
  br label %183

183:                                              ; preds = %179, %176
  %184 = phi i1 [ false, %176 ], [ %182, %179 ]
  %185 = zext i1 %184 to i64
  %186 = select i1 %184, i32 1, i32 0
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %186)
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @.str)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #7
  %189 = load i32, ptr %1, align 4
  ret i32 %189

190:                                              ; preds = %171
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #1 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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<long long, std::allocator<long long>>::_Vector_impl" }
%"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<long long, std::allocator<long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<long long, std::allocator<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
@p = external dso_local global [100000 x i64], align 16
@lmax = external dso_local global %"class.std::vector", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %10
  %12 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  %13 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %14 = 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)
  %15 = load i64, ptr @N, align 8, !tbaa !8
  %16 = icmp sgt i64 %15, 0
  br i1 %16, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  store i64 0, ptr %1, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store i64 1, ptr %2, align 8, !tbaa !8
  %17 = load i64, ptr @N, align 8, !tbaa !8
  %18 = add nsw i64 %17, -1
  %19 = icmp sgt i64 %17, 2
  br i1 %19, label %.lr.ph54, label %._crit_edge55

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.051 = phi i64 [ %22, %.lr.ph ], [ 0, %0 ]
  %20 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %.051
  %21 = 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) %20)
  %22 = add nuw nsw i64 %.051, 1
  %23 = load i64, ptr @N, align 8, !tbaa !8
  %24 = icmp slt i64 %22, %23
  br i1 %24, label %.lr.ph, label %._crit_edge, !llvm.loop !11

._crit_edge55:                                    ; preds = %41, %._crit_edge
  %.lcssa = phi i64 [ %18, %._crit_edge ], [ %45, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 %.lcssa, ptr %3, align 8, !tbaa !8
  call void @_ZNSt6vectorIxSaIxEE9push_backEOx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %25 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) @lmax) #8
  store ptr %25, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %26 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) @lmax) #8
  store ptr %26, ptr %5, align 8
  %27 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %27, label %.lr.ph59, label %._crit_edge60

.lr.ph54:                                         ; preds = %._crit_edge, %41
  %28 = phi i64 [ %42, %41 ], [ %17, %._crit_edge ]
  %storemerge52 = phi i64 [ %44, %41 ], [ 1, %._crit_edge ]
  %29 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %storemerge52
  %30 = load i64, ptr %29, align 8, !tbaa !8
  %31 = add nsw i64 %storemerge52, -1
  %32 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %31
  %33 = load i64, ptr %32, align 8, !tbaa !8
  %34 = icmp sgt i64 %30, %33
  br i1 %34, label %35, label %41

35:                                               ; preds = %.lr.ph54
  %36 = add nsw i64 %storemerge52, 1
  %37 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !8
  %39 = icmp sgt i64 %30, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %35
  call void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) @lmax, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %.pre = load i64, ptr %2, align 8, !tbaa !8
  %.pre64 = load i64, ptr @N, align 8, !tbaa !8
  br label %41

41:                                               ; preds = %.lr.ph54, %35, %40
  %42 = phi i64 [ %28, %.lr.ph54 ], [ %28, %35 ], [ %.pre64, %40 ]
  %43 = phi i64 [ %storemerge52, %.lr.ph54 ], [ %storemerge52, %35 ], [ %.pre, %40 ]
  %44 = add nsw i64 %43, 1
  store i64 %44, ptr %2, align 8, !tbaa !8
  %45 = add nsw i64 %42, -1
  %46 = icmp slt i64 %44, %45
  br i1 %46, label %.lr.ph54, label %._crit_edge55, !llvm.loop !13

._crit_edge60.loopexit:                           ; preds = %98
  %47 = trunc i64 %.4 to i32
  %48 = and i32 %47, 1
  %49 = xor i32 %48, 1
  %50 = select i1 %.438, i32 %49, i32 0
  br label %._crit_edge60

._crit_edge60:                                    ; preds = %._crit_edge60.loopexit, %._crit_edge55
  %.034.lcssa = phi i32 [ 0, %._crit_edge55 ], [ %50, %._crit_edge60.loopexit ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.034.lcssa)
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @.str)
  ret i32 0

.lr.ph59:                                         ; preds = %._crit_edge55, %98
  %.03257 = phi i64 [ %.4, %98 ], [ 0, %._crit_edge55 ]
  %.03456 = phi i1 [ %.438, %98 ], [ false, %._crit_edge55 ]
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %54 = load i64, ptr %53, align 8, !tbaa !8
  %smin = call i64 @llvm.smin.i64(i64 %54, i64 0)
  br label %55

55:                                               ; preds = %57, %.lr.ph59
  %.031 = phi i64 [ %54, %.lr.ph59 ], [ %58, %57 ]
  %56 = icmp sgt i64 %.031, 0
  br i1 %56, label %57, label %64

57:                                               ; preds = %55
  %58 = add nsw i64 %.031, -1
  %59 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !8
  %61 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %.031
  %62 = load i64, ptr %61, align 8, !tbaa !8
  %63 = icmp slt i64 %60, %62
  br i1 %63, label %55, label %64, !llvm.loop !14

64:                                               ; preds = %57, %55
  %.031.lcssa = phi i64 [ %.031, %57 ], [ %smin, %55 ]
  %65 = load i64, ptr @N, align 8, !tbaa !8
  %66 = add nsw i64 %65, -1
  %smax = call i64 @llvm.smax.i64(i64 %54, i64 %66)
  br label %67

67:                                               ; preds = %69, %64
  %.030 = phi i64 [ %54, %64 ], [ %70, %69 ]
  %68 = icmp slt i64 %.030, %66
  br i1 %68, label %69, label %76

69:                                               ; preds = %67
  %70 = add nsw i64 %.030, 1
  %71 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %70
  %72 = load i64, ptr %71, align 8, !tbaa !8
  %73 = getelementptr inbounds [100000 x i64], ptr @p, i64 0, i64 %.030
  %74 = load i64, ptr %73, align 8, !tbaa !8
  %75 = icmp slt i64 %72, %74
  br i1 %75, label %67, label %76, !llvm.loop !15

76:                                               ; preds = %69, %67
  %.030.lcssa = phi i64 [ %.030, %69 ], [ %smax, %67 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %77 = sub nsw i64 %54, %.031.lcssa
  store i64 %77, ptr %6, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %78 = sub nsw i64 %.030.lcssa, %54
  store i64 %78, ptr %7, align 8, !tbaa !8
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %80 = load i64, ptr %79, align 8, !tbaa !8
  %81 = icmp eq i64 %54, 0
  br i1 %81, label %82, label %84

82:                                               ; preds = %76
  %83 = load i64, ptr %7, align 8, !tbaa !8
  %.not46 = icmp slt i64 %83, %.03257
  %spec.select = select i1 %.not46, i1 %.03456, i1 false
  %spec.select47 = call i64 @llvm.smax.i64(i64 %83, i64 %.03257)
  br label %98

84:                                               ; preds = %76
  %85 = load i64, ptr @N, align 8, !tbaa !8
  %86 = add nsw i64 %85, -1
  %87 = icmp eq i64 %54, %86
  br i1 %87, label %88, label %90

88:                                               ; preds = %84
  %89 = load i64, ptr %6, align 8, !tbaa !8
  %.not = icmp slt i64 %89, %.03257
  %spec.select48 = select i1 %.not, i1 %.03456, i1 false
  %spec.select49 = call i64 @llvm.smax.i64(i64 %89, i64 %.03257)
  br label %98

90:                                               ; preds = %84
  %91 = icmp sgt i64 %80, %.03257
  br i1 %91, label %92, label %96

92:                                               ; preds = %90
  %93 = load i64, ptr %6, align 8, !tbaa !8
  %94 = load i64, ptr %7, align 8, !tbaa !8
  %95 = icmp eq i64 %93, %94
  br label %98

96:                                               ; preds = %90
  %97 = icmp ne i64 %80, %.03257
  %spec.select50 = select i1 %97, i1 %.03456, i1 false
  br label %98

98:                                               ; preds = %96, %92, %88, %82
  %.438 = phi i1 [ %spec.select, %82 ], [ %spec.select48, %88 ], [ %95, %92 ], [ %spec.select50, %96 ]
  %.4 = phi i64 [ %spec.select47, %82 ], [ %spec.select49, %88 ], [ %80, %92 ], [ %.03257, %96 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  %100 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %100, label %.lr.ph59, label %._crit_edge60.loopexit
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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