; LLVM IR from MinaFaried3/Assiut-University-Training---Newcomers :: d-context2 (G-ConstructtheSum)

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

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

@_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 uwtable
declare dso_local void @_Z4fastv() #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 personality ptr @__gxx_personality_v0 {
  %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 %"class.std::vector", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, 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
  call void @_Z4fastv()
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i64 0, ptr %5, align 8, !tbaa !5
  %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) %2)
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  br label %15

15:                                               ; preds = %175, %0
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %17 = add nsw i64 %16, -1
  store i64 %17, ptr %2, align 8, !tbaa !5
  %18 = icmp ne i64 %16, 0
  br i1 %18, label %19, label %176

19:                                               ; preds = %15
  %20 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %21 unwind label %38

21:                                               ; preds = %19
  %22 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %23 unwind label %38

23:                                               ; preds = %21
  %24 = load i64, ptr %3, align 8, !tbaa !5
  %25 = load i64, ptr %4, align 8, !tbaa !5
  %26 = icmp sge i64 %24, %25
  br i1 %26, label %27, label %102

27:                                               ; preds = %23
  %28 = load i64, ptr %4, align 8, !tbaa !5
  %29 = load i64, ptr %4, align 8, !tbaa !5
  %30 = add nsw i64 %29, 1
  %31 = mul nsw i64 %28, %30
  %32 = sdiv i64 %31, 2
  %33 = load i64, ptr %3, align 8, !tbaa !5
  %34 = icmp slt i64 %32, %33
  br i1 %34, label %35, label %42

35:                                               ; preds = %27
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %37 unwind label %38

37:                                               ; preds = %35
  br label %75

38:                                               ; preds = %173, %110, %35, %21, %19
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %7, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %8, align 4
  br label %178

42:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %43 = load i64, ptr %4, align 8, !tbaa !5
  %44 = sub nsw i64 %43, 1
  store i64 %44, ptr %9, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %70, %42
  %46 = load i64, ptr %9, align 8, !tbaa !5
  %47 = icmp sge i64 %46, 1
  br i1 %47, label %49, label %48

48:                                               ; preds = %45
  store i32 4, ptr %10, align 4
  br label %73

49:                                               ; preds = %45
  %50 = load i64, ptr %5, align 8, !tbaa !5
  %51 = load i64, ptr %9, align 8, !tbaa !5
  %52 = add nsw i64 %50, %51
  %53 = load i64, ptr %4, align 8, !tbaa !5
  %54 = icmp sle i64 %52, %53
  br i1 %54, label %55, label %64

55:                                               ; preds = %49
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %56 unwind label %60

56:                                               ; preds = %55
  %57 = load i64, ptr %9, align 8, !tbaa !5
  %58 = load i64, ptr %5, align 8, !tbaa !5
  %59 = add nsw i64 %58, %57
  store i64 %59, ptr %5, align 8, !tbaa !5
  br label %64

60:                                               ; preds = %55
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %178

64:                                               ; preds = %56, %49
  %65 = load i64, ptr %5, align 8, !tbaa !5
  %66 = load i64, ptr %4, align 8, !tbaa !5
  %67 = icmp eq i64 %65, %66
  br i1 %67, label %68, label %69

68:                                               ; preds = %64
  store i32 4, ptr %10, align 4
  br label %73

69:                                               ; preds = %64
  br label %70

70:                                               ; preds = %69
  %71 = load i64, ptr %9, align 8, !tbaa !5
  %72 = add nsw i64 %71, -1
  store i64 %72, ptr %9, align 8, !tbaa !5
  br label %45, !llvm.loop !9

73:                                               ; preds = %68, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74, %37
  %76 = load i64, ptr %5, align 8, !tbaa !5
  %77 = load i64, ptr %4, align 8, !tbaa !5
  %78 = icmp eq i64 %76, %77
  br i1 %78, label %79, label %101

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %93, %79
  %81 = load i64, ptr %11, align 8, !tbaa !5
  %82 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %83 = icmp ult i64 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %100

85:                                               ; preds = %80
  %86 = load i64, ptr %11, align 8, !tbaa !5
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %86) #6
  %88 = load i64, ptr %87, align 8, !tbaa !5
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %88)
          to label %90 unwind label %96

90:                                               ; preds = %85
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @.str)
          to label %92 unwind label %96

92:                                               ; preds = %90
  br label %93

93:                                               ; preds = %92
  %94 = load i64, ptr %11, align 8, !tbaa !5
  %95 = add nsw i64 %94, 1
  store i64 %95, ptr %11, align 8, !tbaa !5
  br label %80, !llvm.loop !11

96:                                               ; preds = %90, %85
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %178

100:                                              ; preds = %84
  br label %101

101:                                              ; preds = %100, %75
  br label %173

102:                                              ; preds = %23
  %103 = load i64, ptr %3, align 8, !tbaa !5
  %104 = load i64, ptr %3, align 8, !tbaa !5
  %105 = add nsw i64 %104, 1
  %106 = mul nsw i64 %103, %105
  %107 = sdiv i64 %106, 2
  %108 = load i64, ptr %4, align 8, !tbaa !5
  %109 = icmp slt i64 %107, %108
  br i1 %109, label %110, label %113

110:                                              ; preds = %102
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %112 unwind label %38

112:                                              ; preds = %110
  br label %146

113:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %114 = load i64, ptr %3, align 8, !tbaa !5
  %115 = sub nsw i64 %114, 1
  store i64 %115, ptr %12, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %141, %113
  %117 = load i64, ptr %12, align 8, !tbaa !5
  %118 = icmp sge i64 %117, 1
  br i1 %118, label %120, label %119

119:                                              ; preds = %116
  store i32 10, ptr %10, align 4
  br label %144

120:                                              ; preds = %116
  %121 = load i64, ptr %5, align 8, !tbaa !5
  %122 = load i64, ptr %12, align 8, !tbaa !5
  %123 = add nsw i64 %121, %122
  %124 = load i64, ptr %4, align 8, !tbaa !5
  %125 = icmp sle i64 %123, %124
  br i1 %125, label %126, label %135

126:                                              ; preds = %120
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %127 unwind label %131

127:                                              ; preds = %126
  %128 = load i64, ptr %12, align 8, !tbaa !5
  %129 = load i64, ptr %5, align 8, !tbaa !5
  %130 = add nsw i64 %129, %128
  store i64 %130, ptr %5, align 8, !tbaa !5
  br label %135

131:                                              ; preds = %126
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %178

135:                                              ; preds = %127, %120
  %136 = load i64, ptr %5, align 8, !tbaa !5
  %137 = load i64, ptr %4, align 8, !tbaa !5
  %138 = icmp eq i64 %136, %137
  br i1 %138, label %139, label %140

139:                                              ; preds = %135
  store i32 10, ptr %10, align 4
  br label %144

140:                                              ; preds = %135
  br label %141

141:                                              ; preds = %140
  %142 = load i64, ptr %12, align 8, !tbaa !5
  %143 = add nsw i64 %142, -1
  store i64 %143, ptr %12, align 8, !tbaa !5
  br label %116, !llvm.loop !12

144:                                              ; preds = %139, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %145

145:                                              ; preds = %144
  br label %146

146:                                              ; preds = %145, %112
  %147 = load i64, ptr %5, align 8, !tbaa !5
  %148 = load i64, ptr %4, align 8, !tbaa !5
  %149 = icmp eq i64 %147, %148
  br i1 %149, label %150, label %172

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  store i64 0, ptr %13, align 8, !tbaa !5
  br label %151

151:                                              ; preds = %164, %150
  %152 = load i64, ptr %13, align 8, !tbaa !5
  %153 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %154 = icmp ult i64 %152, %153
  br i1 %154, label %156, label %155

155:                                              ; preds = %151
  store i32 13, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %171

156:                                              ; preds = %151
  %157 = load i64, ptr %13, align 8, !tbaa !5
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %157) #6
  %159 = load i64, ptr %158, align 8, !tbaa !5
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %159)
          to label %161 unwind label %167

161:                                              ; preds = %156
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef @.str)
          to label %163 unwind label %167

163:                                              ; preds = %161
  br label %164

164:                                              ; preds = %163
  %165 = load i64, ptr %13, align 8, !tbaa !5
  %166 = add nsw i64 %165, 1
  store i64 %166, ptr %13, align 8, !tbaa !5
  br label %151, !llvm.loop !13

167:                                              ; preds = %161, %156
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %7, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %178

171:                                              ; preds = %155
  br label %172

172:                                              ; preds = %171, %146
  br label %173

173:                                              ; preds = %172, %101
  call void @_ZNSt6vectorIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  store i64 0, ptr %5, align 8, !tbaa !5
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
          to label %175 unwind label %38

175:                                              ; preds = %173
  br label %15, !llvm.loop !14

176:                                              ; preds = %15
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  %177 = load i32, ptr %1, align 4
  ret i32 %177

178:                                              ; preds = %167, %131, %96, %60, %38
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %7, align 8
  %181 = load i32, ptr %8, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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)) #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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


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

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

@_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 uwtable
declare dso_local void @_Z4fastv() local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  tail call void @_Z4fastv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %8

8:                                                ; preds = %.loopexit, %0
  %9 = load i64, ptr %1, align 8, !tbaa !5
  %10 = add nsw i64 %9, -1
  store i64 %10, ptr %1, align 8, !tbaa !5
  %.not = icmp eq i64 %9, 0
  br i1 %.not, label %104, label %11

11:                                               ; preds = %8
  %12 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %13 unwind label %25

13:                                               ; preds = %11
  %14 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %15 unwind label %25

15:                                               ; preds = %13
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %17 = load i64, ptr %3, align 8, !tbaa !5
  %.not26 = icmp slt i64 %16, %17
  br i1 %.not26, label %60, label %18

18:                                               ; preds = %15
  %19 = add nsw i64 %17, 1
  %20 = mul nsw i64 %19, %17
  %21 = sdiv i64 %20, 2
  %22 = icmp slt i64 %21, %16
  br i1 %22, label %23, label %.peel.begin

23:                                               ; preds = %18
  %24 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %._crit_edge56 unwind label %25

._crit_edge56:                                    ; preds = %23
  %.pre57 = load i64, ptr %3, align 8, !tbaa !5
  br label %45

25:                                               ; preds = %.loopexit, %65, %23, %13, %11
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %105

.peel.begin:                                      ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %storemerge28.peel = add nsw i64 %17, -1
  store i64 %storemerge28.peel, ptr %5, align 8, !tbaa !5
  %27 = icmp sgt i64 %17, 1
  br i1 %27, label %28, label %.loopexit40

28:                                               ; preds = %.peel.begin
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %29 unwind label %.loopexit.split-lp

29:                                               ; preds = %28
  %30 = load i64, ptr %5, align 8, !tbaa !5
  %.pre = load i64, ptr %3, align 8, !tbaa !5
  %31 = icmp eq i64 %30, %.pre
  br i1 %31, label %.loopexit40, label %.peel.next

.peel.next:                                       ; preds = %29, %41
  %32 = phi i64 [ %42, %41 ], [ %.pre, %29 ]
  %storemerge28.in = phi i64 [ %storemerge28.in53, %41 ], [ %30, %29 ]
  %.1 = phi i64 [ %.2, %41 ], [ %30, %29 ]
  %storemerge28 = add nsw i64 %storemerge28.in, -1
  store i64 %storemerge28, ptr %5, align 8, !tbaa !5
  %33 = icmp sgt i64 %storemerge28.in, 1
  br i1 %33, label %34, label %.loopexit40

34:                                               ; preds = %.peel.next
  %35 = add nsw i64 %storemerge28, %.1
  %.not29 = icmp sgt i64 %35, %32
  br i1 %.not29, label %41, label %36

36:                                               ; preds = %34
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %37 unwind label %.loopexit41

37:                                               ; preds = %36
  %38 = load i64, ptr %5, align 8, !tbaa !5
  %39 = add nsw i64 %38, %.1
  %.pre55 = load i64, ptr %3, align 8, !tbaa !5
  br label %41

.loopexit41:                                      ; preds = %36
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %40

.loopexit.split-lp:                               ; preds = %28
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %40

40:                                               ; preds = %.loopexit.split-lp, %.loopexit41
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit41 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %105

41:                                               ; preds = %37, %34
  %42 = phi i64 [ %.pre55, %37 ], [ %32, %34 ]
  %storemerge28.in53 = phi i64 [ %38, %37 ], [ %storemerge28, %34 ]
  %.2 = phi i64 [ %39, %37 ], [ %.1, %34 ]
  %43 = icmp eq i64 %.2, %42
  br i1 %43, label %.loopexit40, label %.peel.next, !llvm.loop !9

.loopexit40:                                      ; preds = %41, %.peel.next, %29, %.peel.begin
  %44 = phi i64 [ %17, %.peel.begin ], [ %.pre, %29 ], [ %32, %.peel.next ], [ %42, %41 ]
  %.3 = phi i64 [ 0, %.peel.begin ], [ %.pre, %29 ], [ %.1, %.peel.next ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %45

45:                                               ; preds = %._crit_edge56, %.loopexit40
  %46 = phi i64 [ %.pre57, %._crit_edge56 ], [ %44, %.loopexit40 ]
  %.4 = phi i64 [ 0, %._crit_edge56 ], [ %.3, %.loopexit40 ]
  %47 = icmp eq i64 %.4, %46
  br i1 %47, label %.preheader31, label %.loopexit

.preheader31:                                     ; preds = %45
  %48 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %.not36 = icmp eq i64 %48, 0
  br i1 %.not36, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader31, %54
  %.01633 = phi i64 [ %55, %54 ], [ 0, %.preheader31 ]
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.01633) #6
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %50)
          to label %52 unwind label %58

52:                                               ; preds = %.lr.ph
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @.str)
          to label %54 unwind label %58

54:                                               ; preds = %52
  %55 = add nuw nsw i64 %.01633, 1
  %56 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %57 = icmp ult i64 %55, %56
  br i1 %57, label %.lr.ph, label %.loopexit, !llvm.loop !12

58:                                               ; preds = %52, %.lr.ph
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %105

60:                                               ; preds = %15
  %61 = add nsw i64 %16, 1
  %62 = mul nsw i64 %61, %16
  %63 = sdiv i64 %62, 2
  %64 = icmp slt i64 %63, %17
  br i1 %64, label %65, label %.peel.begin42

65:                                               ; preds = %60
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
          to label %._crit_edge63 unwind label %25

._crit_edge63:                                    ; preds = %65
  %.pre64 = load i64, ptr %3, align 8, !tbaa !5
  br label %88

.peel.begin42:                                    ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %storemerge.peel = add nsw i64 %16, -1
  store i64 %storemerge.peel, ptr %6, align 8, !tbaa !5
  %67 = icmp sgt i64 %16, 1
  br i1 %67, label %68, label %.loopexit46

68:                                               ; preds = %.peel.begin42
  %.not27.peel = icmp sgt i64 %storemerge.peel, %17
  br i1 %.not27.peel, label %72, label %69

69:                                               ; preds = %68
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %70 unwind label %.loopexit.split-lp48

70:                                               ; preds = %69
  %71 = load i64, ptr %6, align 8, !tbaa !5
  %.pre58 = load i64, ptr %3, align 8, !tbaa !5
  br label %72

72:                                               ; preds = %70, %68
  %storemerge.in59 = phi i64 [ %71, %70 ], [ %storemerge.peel, %68 ]
  %73 = phi i64 [ %.pre58, %70 ], [ %17, %68 ]
  %.6.peel = phi i64 [ %71, %70 ], [ 0, %68 ]
  %74 = icmp eq i64 %.6.peel, %73
  br i1 %74, label %.loopexit46, label %.peel.next43

.peel.next43:                                     ; preds = %72, %84
  %75 = phi i64 [ %85, %84 ], [ %73, %72 ]
  %storemerge.in = phi i64 [ %storemerge.in60, %84 ], [ %storemerge.in59, %72 ]
  %.5 = phi i64 [ %.6, %84 ], [ %.6.peel, %72 ]
  %storemerge = add nsw i64 %storemerge.in, -1
  store i64 %storemerge, ptr %6, align 8, !tbaa !5
  %76 = icmp sgt i64 %storemerge.in, 1
  br i1 %76, label %77, label %.loopexit46

77:                                               ; preds = %.peel.next43
  %78 = add nsw i64 %storemerge, %.5
  %.not27 = icmp sgt i64 %78, %75
  br i1 %.not27, label %84, label %79

79:                                               ; preds = %77
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %80 unwind label %.loopexit47

80:                                               ; preds = %79
  %81 = load i64, ptr %6, align 8, !tbaa !5
  %82 = add nsw i64 %81, %.5
  %.pre62 = load i64, ptr %3, align 8, !tbaa !5
  br label %84

.loopexit47:                                      ; preds = %79
  %lpad.loopexit49 = landingpad { ptr, i32 }
          cleanup
  br label %83

.loopexit.split-lp48:                             ; preds = %69
  %lpad.loopexit.split-lp50 = landingpad { ptr, i32 }
          cleanup
  br label %83

83:                                               ; preds = %.loopexit.split-lp48, %.loopexit47
  %lpad.phi51 = phi { ptr, i32 } [ %lpad.loopexit49, %.loopexit47 ], [ %lpad.loopexit.split-lp50, %.loopexit.split-lp48 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %105

84:                                               ; preds = %80, %77
  %85 = phi i64 [ %.pre62, %80 ], [ %75, %77 ]
  %storemerge.in60 = phi i64 [ %81, %80 ], [ %storemerge, %77 ]
  %.6 = phi i64 [ %82, %80 ], [ %.5, %77 ]
  %86 = icmp eq i64 %.6, %85
  br i1 %86, label %.loopexit46, label %.peel.next43, !llvm.loop !13

.loopexit46:                                      ; preds = %84, %.peel.next43, %72, %.peel.begin42
  %87 = phi i64 [ %17, %.peel.begin42 ], [ %73, %72 ], [ %75, %.peel.next43 ], [ %85, %84 ]
  %.7 = phi i64 [ 0, %.peel.begin42 ], [ %73, %72 ], [ %.5, %.peel.next43 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %88

88:                                               ; preds = %._crit_edge63, %.loopexit46
  %89 = phi i64 [ %.pre64, %._crit_edge63 ], [ %87, %.loopexit46 ]
  %.8 = phi i64 [ 0, %._crit_edge63 ], [ %.7, %.loopexit46 ]
  %90 = icmp eq i64 %.8, %89
  br i1 %90, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %88
  %91 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %.not37 = icmp eq i64 %91, 0
  br i1 %.not37, label %.loopexit, label %.lr.ph35

.lr.ph35:                                         ; preds = %.preheader, %97
  %.034 = phi i64 [ %98, %97 ], [ 0, %.preheader ]
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIxSaIxEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %.034) #6
  %93 = load i64, ptr %92, align 8, !tbaa !5
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %93)
          to label %95 unwind label %101

95:                                               ; preds = %.lr.ph35
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @.str)
          to label %97 unwind label %101

97:                                               ; preds = %95
  %98 = add nuw nsw i64 %.034, 1
  %99 = call noundef i64 @_ZNKSt6vectorIxSaIxEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %100 = icmp ult i64 %98, %99
  br i1 %100, label %.lr.ph35, label %.loopexit, !llvm.loop !14

101:                                              ; preds = %95, %.lr.ph35
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

.loopexit:                                        ; preds = %54, %97, %.preheader31, %.preheader, %88, %45
  call void @_ZNSt6vectorIxSaIxEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
          to label %8 unwind label %25, !llvm.loop !15

104:                                              ; preds = %8
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0

105:                                              ; preds = %101, %83, %58, %40, %25
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %26, %25 ], [ %lpad.phi, %40 ], [ %102, %101 ], [ %lpad.phi51, %83 ]
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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 #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass