; LLVM IR from manishbisht/Competitive-Programming :: Codeforces/Practice/CPP (Beautiful Divisors-893B)

; 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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 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 %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 1, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %15 = 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 %16 unwind label %39

16:                                               ; preds = %0
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %45, %16
  %18 = load i64, ptr %3, align 8, !tbaa !5
  %19 = icmp slt i64 %18, 18
  br i1 %19, label %20, label %48

20:                                               ; preds = %17
  store i64 0, ptr %5, align 8, !tbaa !5
  %21 = load i64, ptr %3, align 8, !tbaa !5
  store i64 %21, ptr %4, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %36, %20
  %23 = load i64, ptr %4, align 8, !tbaa !5
  %24 = load i64, ptr %3, align 8, !tbaa !5
  %25 = sdiv i64 %24, 2
  %26 = icmp sgt i64 %23, %25
  br i1 %26, label %27, label %43

27:                                               ; preds = %22
  %28 = load i64, ptr %4, align 8, !tbaa !5
  %29 = sub nsw i64 %28, 1
  %30 = invoke noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef %29)
          to label %31 unwind label %39

31:                                               ; preds = %27
  %32 = load i64, ptr %5, align 8, !tbaa !5
  %33 = sitofp i64 %32 to double
  %34 = fadd double %33, %30
  %35 = fptosi double %34 to i64
  store i64 %35, ptr %5, align 8, !tbaa !5
  br label %36

36:                                               ; preds = %31
  %37 = load i64, ptr %4, align 8, !tbaa !5
  %38 = add nsw i64 %37, -1
  store i64 %38, ptr %4, align 8, !tbaa !5
  br label %22, !llvm.loop !9

39:                                               ; preds = %43, %27, %0
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %7, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %8, align 4
  br label %102

43:                                               ; preds = %22
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %44 unwind label %39

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = load i64, ptr %3, align 8, !tbaa !5
  %47 = add nsw i64 %46, 2
  store i64 %47, ptr %3, align 8, !tbaa !5
  br label %17, !llvm.loop !11

48:                                               ; preds = %17
  store i64 1, ptr %3, align 8, !tbaa !5
  br label %49

49:                                               ; preds = %97, %48
  %50 = load i64, ptr %3, align 8, !tbaa !5
  %51 = load i64, ptr %2, align 8, !tbaa !5
  %52 = icmp sle i64 %50, %51
  br i1 %52, label %53, label %100

53:                                               ; preds = %49
  %54 = load i64, ptr %2, align 8, !tbaa !5
  %55 = load i64, ptr %3, align 8, !tbaa !5
  %56 = srem i64 %54, %55
  %57 = icmp eq i64 %56, 0
  br i1 %57, label %58, label %97

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %59 = load i64, ptr %2, align 8, !tbaa !5
  %60 = load i64, ptr %3, align 8, !tbaa !5
  %61 = sdiv i64 %59, %60
  store i64 %61, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %62 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  %64 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %65 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %64, ptr %65, align 8
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8
  %68 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8
  %70 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEExET_S7_S7_RKT0_(ptr %67, ptr %69, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %71 unwind label %84

71:                                               ; preds = %58
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %10, i32 0, i32 0
  store ptr %70, ptr %72, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %73 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  %74 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  %75 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br i1 %75, label %76, label %92

76:                                               ; preds = %71
  %77 = load i64, ptr %2, align 8, !tbaa !5
  %78 = load i64, ptr %3, align 8, !tbaa !5
  %79 = sdiv i64 %77, %78
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %79)
          to label %81 unwind label %88

81:                                               ; preds = %76
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %83 unwind label %88

83:                                               ; preds = %81
  store i32 9, ptr %14, align 4
  br label %93

84:                                               ; preds = %58
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %7, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %96

88:                                               ; preds = %81, %76
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %96

92:                                               ; preds = %71
  store i32 0, ptr %14, align 4
  br label %93

93:                                               ; preds = %92, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  %94 = load i32, ptr %14, align 4
  switch i32 %94, label %108 [
    i32 0, label %95
    i32 9, label %100
  ]

95:                                               ; preds = %93
  br label %97

96:                                               ; preds = %88, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %102

97:                                               ; preds = %95, %53
  %98 = load i64, ptr %3, align 8, !tbaa !5
  %99 = add nsw i64 %98, 1
  store i64 %99, ptr %3, align 8, !tbaa !5
  br label %49, !llvm.loop !12

100:                                              ; preds = %93, %49
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  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
  %101 = load i32, ptr %1, align 4
  ret i32 %101

102:                                              ; preds = %96, %39
  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 %103

103:                                              ; preds = %102
  %104 = load ptr, ptr %7, align 8
  %105 = load i32, ptr %8, align 4
  %106 = insertvalue { ptr, i32 } poison, ptr %104, 0
  %107 = insertvalue { ptr, i32 } %106, i32 %105, 1
  resume { ptr, i32 } %107

108:                                              ; preds = %93
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, i64 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)) #3 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)) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 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 = { 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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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}


; 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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  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 24, ptr nonnull %3) #6
  call void @_ZNSt6vectorIxSaIxEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %7 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %._crit_edge unwind label %.loopexit.split-lp

.loopexit30:                                      ; preds = %._crit_edge.8, %._crit_edge.7, %._crit_edge.6, %._crit_edge.5, %._crit_edge.4, %._crit_edge.3, %._crit_edge.2, %._crit_edge.1, %._crit_edge
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %260

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

._crit_edge:                                      ; preds = %0
  store i64 0, ptr %2, align 8, !tbaa !5
  %8 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 0)
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = sitofp i64 %9 to double
  %11 = fadd double %8, %10
  %12 = fptosi double %11 to i64
  store i64 %12, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.1 unwind label %.loopexit30

._crit_edge.1:                                    ; preds = %._crit_edge
  store i64 0, ptr %2, align 8, !tbaa !5
  %13 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 2)
  %14 = load i64, ptr %2, align 8, !tbaa !5
  %15 = sitofp i64 %14 to double
  %16 = fadd double %13, %15
  %17 = fptosi double %16 to i64
  store i64 %17, ptr %2, align 8, !tbaa !5
  %18 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 1)
  %19 = load i64, ptr %2, align 8, !tbaa !5
  %20 = sitofp i64 %19 to double
  %21 = fadd double %18, %20
  %22 = fptosi double %21 to i64
  store i64 %22, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.2 unwind label %.loopexit30

._crit_edge.2:                                    ; preds = %._crit_edge.1
  store i64 0, ptr %2, align 8, !tbaa !5
  %23 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 4)
  %24 = load i64, ptr %2, align 8, !tbaa !5
  %25 = sitofp i64 %24 to double
  %26 = fadd double %23, %25
  %27 = fptosi double %26 to i64
  store i64 %27, ptr %2, align 8, !tbaa !5
  %28 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 3)
  %29 = load i64, ptr %2, align 8, !tbaa !5
  %30 = sitofp i64 %29 to double
  %31 = fadd double %28, %30
  %32 = fptosi double %31 to i64
  store i64 %32, ptr %2, align 8, !tbaa !5
  %33 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 2)
  %34 = load i64, ptr %2, align 8, !tbaa !5
  %35 = sitofp i64 %34 to double
  %36 = fadd double %33, %35
  %37 = fptosi double %36 to i64
  store i64 %37, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.3 unwind label %.loopexit30

._crit_edge.3:                                    ; preds = %._crit_edge.2
  store i64 0, ptr %2, align 8, !tbaa !5
  %38 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 6)
  %39 = load i64, ptr %2, align 8, !tbaa !5
  %40 = sitofp i64 %39 to double
  %41 = fadd double %38, %40
  %42 = fptosi double %41 to i64
  store i64 %42, ptr %2, align 8, !tbaa !5
  %43 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 5)
  %44 = load i64, ptr %2, align 8, !tbaa !5
  %45 = sitofp i64 %44 to double
  %46 = fadd double %43, %45
  %47 = fptosi double %46 to i64
  store i64 %47, ptr %2, align 8, !tbaa !5
  %48 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 4)
  %49 = load i64, ptr %2, align 8, !tbaa !5
  %50 = sitofp i64 %49 to double
  %51 = fadd double %48, %50
  %52 = fptosi double %51 to i64
  store i64 %52, ptr %2, align 8, !tbaa !5
  %53 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 3)
  %54 = load i64, ptr %2, align 8, !tbaa !5
  %55 = sitofp i64 %54 to double
  %56 = fadd double %53, %55
  %57 = fptosi double %56 to i64
  store i64 %57, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.4 unwind label %.loopexit30

._crit_edge.4:                                    ; preds = %._crit_edge.3
  store i64 0, ptr %2, align 8, !tbaa !5
  %58 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 8)
  %59 = load i64, ptr %2, align 8, !tbaa !5
  %60 = sitofp i64 %59 to double
  %61 = fadd double %58, %60
  %62 = fptosi double %61 to i64
  store i64 %62, ptr %2, align 8, !tbaa !5
  %63 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 7)
  %64 = load i64, ptr %2, align 8, !tbaa !5
  %65 = sitofp i64 %64 to double
  %66 = fadd double %63, %65
  %67 = fptosi double %66 to i64
  store i64 %67, ptr %2, align 8, !tbaa !5
  %68 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 6)
  %69 = load i64, ptr %2, align 8, !tbaa !5
  %70 = sitofp i64 %69 to double
  %71 = fadd double %68, %70
  %72 = fptosi double %71 to i64
  store i64 %72, ptr %2, align 8, !tbaa !5
  %73 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 5)
  %74 = load i64, ptr %2, align 8, !tbaa !5
  %75 = sitofp i64 %74 to double
  %76 = fadd double %73, %75
  %77 = fptosi double %76 to i64
  store i64 %77, ptr %2, align 8, !tbaa !5
  %78 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 4)
  %79 = load i64, ptr %2, align 8, !tbaa !5
  %80 = sitofp i64 %79 to double
  %81 = fadd double %78, %80
  %82 = fptosi double %81 to i64
  store i64 %82, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.5 unwind label %.loopexit30

._crit_edge.5:                                    ; preds = %._crit_edge.4
  store i64 0, ptr %2, align 8, !tbaa !5
  %83 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 10)
  %84 = load i64, ptr %2, align 8, !tbaa !5
  %85 = sitofp i64 %84 to double
  %86 = fadd double %83, %85
  %87 = fptosi double %86 to i64
  store i64 %87, ptr %2, align 8, !tbaa !5
  %88 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 9)
  %89 = load i64, ptr %2, align 8, !tbaa !5
  %90 = sitofp i64 %89 to double
  %91 = fadd double %88, %90
  %92 = fptosi double %91 to i64
  store i64 %92, ptr %2, align 8, !tbaa !5
  %93 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 8)
  %94 = load i64, ptr %2, align 8, !tbaa !5
  %95 = sitofp i64 %94 to double
  %96 = fadd double %93, %95
  %97 = fptosi double %96 to i64
  store i64 %97, ptr %2, align 8, !tbaa !5
  %98 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 7)
  %99 = load i64, ptr %2, align 8, !tbaa !5
  %100 = sitofp i64 %99 to double
  %101 = fadd double %98, %100
  %102 = fptosi double %101 to i64
  store i64 %102, ptr %2, align 8, !tbaa !5
  %103 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 6)
  %104 = load i64, ptr %2, align 8, !tbaa !5
  %105 = sitofp i64 %104 to double
  %106 = fadd double %103, %105
  %107 = fptosi double %106 to i64
  store i64 %107, ptr %2, align 8, !tbaa !5
  %108 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 5)
  %109 = load i64, ptr %2, align 8, !tbaa !5
  %110 = sitofp i64 %109 to double
  %111 = fadd double %108, %110
  %112 = fptosi double %111 to i64
  store i64 %112, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.6 unwind label %.loopexit30

._crit_edge.6:                                    ; preds = %._crit_edge.5
  store i64 0, ptr %2, align 8, !tbaa !5
  %113 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 12)
  %114 = load i64, ptr %2, align 8, !tbaa !5
  %115 = sitofp i64 %114 to double
  %116 = fadd double %113, %115
  %117 = fptosi double %116 to i64
  store i64 %117, ptr %2, align 8, !tbaa !5
  %118 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 11)
  %119 = load i64, ptr %2, align 8, !tbaa !5
  %120 = sitofp i64 %119 to double
  %121 = fadd double %118, %120
  %122 = fptosi double %121 to i64
  store i64 %122, ptr %2, align 8, !tbaa !5
  %123 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 10)
  %124 = load i64, ptr %2, align 8, !tbaa !5
  %125 = sitofp i64 %124 to double
  %126 = fadd double %123, %125
  %127 = fptosi double %126 to i64
  store i64 %127, ptr %2, align 8, !tbaa !5
  %128 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 9)
  %129 = load i64, ptr %2, align 8, !tbaa !5
  %130 = sitofp i64 %129 to double
  %131 = fadd double %128, %130
  %132 = fptosi double %131 to i64
  store i64 %132, ptr %2, align 8, !tbaa !5
  %133 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 8)
  %134 = load i64, ptr %2, align 8, !tbaa !5
  %135 = sitofp i64 %134 to double
  %136 = fadd double %133, %135
  %137 = fptosi double %136 to i64
  store i64 %137, ptr %2, align 8, !tbaa !5
  %138 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 7)
  %139 = load i64, ptr %2, align 8, !tbaa !5
  %140 = sitofp i64 %139 to double
  %141 = fadd double %138, %140
  %142 = fptosi double %141 to i64
  store i64 %142, ptr %2, align 8, !tbaa !5
  %143 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 6)
  %144 = load i64, ptr %2, align 8, !tbaa !5
  %145 = sitofp i64 %144 to double
  %146 = fadd double %143, %145
  %147 = fptosi double %146 to i64
  store i64 %147, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.7 unwind label %.loopexit30

._crit_edge.7:                                    ; preds = %._crit_edge.6
  store i64 0, ptr %2, align 8, !tbaa !5
  %148 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 14)
  %149 = load i64, ptr %2, align 8, !tbaa !5
  %150 = sitofp i64 %149 to double
  %151 = fadd double %148, %150
  %152 = fptosi double %151 to i64
  store i64 %152, ptr %2, align 8, !tbaa !5
  %153 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 13)
  %154 = load i64, ptr %2, align 8, !tbaa !5
  %155 = sitofp i64 %154 to double
  %156 = fadd double %153, %155
  %157 = fptosi double %156 to i64
  store i64 %157, ptr %2, align 8, !tbaa !5
  %158 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 12)
  %159 = load i64, ptr %2, align 8, !tbaa !5
  %160 = sitofp i64 %159 to double
  %161 = fadd double %158, %160
  %162 = fptosi double %161 to i64
  store i64 %162, ptr %2, align 8, !tbaa !5
  %163 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 11)
  %164 = load i64, ptr %2, align 8, !tbaa !5
  %165 = sitofp i64 %164 to double
  %166 = fadd double %163, %165
  %167 = fptosi double %166 to i64
  store i64 %167, ptr %2, align 8, !tbaa !5
  %168 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 10)
  %169 = load i64, ptr %2, align 8, !tbaa !5
  %170 = sitofp i64 %169 to double
  %171 = fadd double %168, %170
  %172 = fptosi double %171 to i64
  store i64 %172, ptr %2, align 8, !tbaa !5
  %173 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 9)
  %174 = load i64, ptr %2, align 8, !tbaa !5
  %175 = sitofp i64 %174 to double
  %176 = fadd double %173, %175
  %177 = fptosi double %176 to i64
  store i64 %177, ptr %2, align 8, !tbaa !5
  %178 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 8)
  %179 = load i64, ptr %2, align 8, !tbaa !5
  %180 = sitofp i64 %179 to double
  %181 = fadd double %178, %180
  %182 = fptosi double %181 to i64
  store i64 %182, ptr %2, align 8, !tbaa !5
  %183 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 7)
  %184 = load i64, ptr %2, align 8, !tbaa !5
  %185 = sitofp i64 %184 to double
  %186 = fadd double %183, %185
  %187 = fptosi double %186 to i64
  store i64 %187, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %._crit_edge.8 unwind label %.loopexit30

._crit_edge.8:                                    ; preds = %._crit_edge.7
  store i64 0, ptr %2, align 8, !tbaa !5
  %188 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 16)
  %189 = load i64, ptr %2, align 8, !tbaa !5
  %190 = sitofp i64 %189 to double
  %191 = fadd double %188, %190
  %192 = fptosi double %191 to i64
  store i64 %192, ptr %2, align 8, !tbaa !5
  %193 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 15)
  %194 = load i64, ptr %2, align 8, !tbaa !5
  %195 = sitofp i64 %194 to double
  %196 = fadd double %193, %195
  %197 = fptosi double %196 to i64
  store i64 %197, ptr %2, align 8, !tbaa !5
  %198 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 14)
  %199 = load i64, ptr %2, align 8, !tbaa !5
  %200 = sitofp i64 %199 to double
  %201 = fadd double %198, %200
  %202 = fptosi double %201 to i64
  store i64 %202, ptr %2, align 8, !tbaa !5
  %203 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 13)
  %204 = load i64, ptr %2, align 8, !tbaa !5
  %205 = sitofp i64 %204 to double
  %206 = fadd double %203, %205
  %207 = fptosi double %206 to i64
  store i64 %207, ptr %2, align 8, !tbaa !5
  %208 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 12)
  %209 = load i64, ptr %2, align 8, !tbaa !5
  %210 = sitofp i64 %209 to double
  %211 = fadd double %208, %210
  %212 = fptosi double %211 to i64
  store i64 %212, ptr %2, align 8, !tbaa !5
  %213 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 11)
  %214 = load i64, ptr %2, align 8, !tbaa !5
  %215 = sitofp i64 %214 to double
  %216 = fadd double %213, %215
  %217 = fptosi double %216 to i64
  store i64 %217, ptr %2, align 8, !tbaa !5
  %218 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 10)
  %219 = load i64, ptr %2, align 8, !tbaa !5
  %220 = sitofp i64 %219 to double
  %221 = fadd double %218, %220
  %222 = fptosi double %221 to i64
  store i64 %222, ptr %2, align 8, !tbaa !5
  %223 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 9)
  %224 = load i64, ptr %2, align 8, !tbaa !5
  %225 = sitofp i64 %224 to double
  %226 = fadd double %223, %225
  %227 = fptosi double %226 to i64
  store i64 %227, ptr %2, align 8, !tbaa !5
  %228 = call noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef 2, i64 noundef 8)
  %229 = load i64, ptr %2, align 8, !tbaa !5
  %230 = sitofp i64 %229 to double
  %231 = fadd double %228, %230
  %232 = fptosi double %231 to i64
  store i64 %232, ptr %2, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIxSaIxEE9push_backERKx(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %.preheader unwind label %.loopexit30

.preheader:                                       ; preds = %._crit_edge.8
  %233 = load i64, ptr %1, align 8, !tbaa !5
  %.not35 = icmp slt i64 %233, 1
  br i1 %.not35, label %.loopexit, label %.lr.ph37

.lr.ph37:                                         ; preds = %.preheader, %257
  %234 = phi i64 [ %258, %257 ], [ %233, %.preheader ]
  %.136 = phi i64 [ %259, %257 ], [ 1, %.preheader ]
  %235 = srem i64 %234, %.136
  %236 = sdiv i64 %234, %.136
  %237 = icmp eq i64 %235, 0
  br i1 %237, label %238, label %257

238:                                              ; preds = %.lr.ph37
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  store i64 %236, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %239 = call ptr @_ZNSt6vectorIxSaIxEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %240 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  %241 = invoke ptr @_ZSt4findIN9__gnu_cxx17__normal_iteratorIPxSt6vectorIxSaIxEEEExET_S7_S7_RKT0_(ptr %239, ptr %240, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %242 unwind label %251

242:                                              ; preds = %238
  store ptr %241, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %243 = call ptr @_ZNSt6vectorIxSaIxEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  store ptr %243, ptr %6, align 8
  %244 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPxSt6vectorIxSaIxEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br i1 %244, label %245, label %.thread

.thread:                                          ; preds = %242
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %.pre = load i64, ptr %1, align 8, !tbaa !5
  br label %257

245:                                              ; preds = %242
  %246 = load i64, ptr %1, align 8, !tbaa !5
  %247 = sdiv i64 %246, %.136
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %247)
          to label %249 unwind label %253

249:                                              ; preds = %245
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %248, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %255 unwind label %253

251:                                              ; preds = %238
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %256

253:                                              ; preds = %249, %245
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %256

255:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %.loopexit

256:                                              ; preds = %253, %251
  %.pn = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %260

257:                                              ; preds = %.thread, %.lr.ph37
  %258 = phi i64 [ %.pre, %.thread ], [ %234, %.lr.ph37 ]
  %259 = add nuw nsw i64 %.136, 1
  %.not.not = icmp slt i64 %.136, %258
  br i1 %.not.not, label %.lr.ph37, label %.loopexit, !llvm.loop !9

.loopexit:                                        ; preds = %257, %.preheader, %255
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, 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

260:                                              ; preds = %.loopexit30, %.loopexit.split-lp, %256
  %.pn24 = phi { ptr, i32 } [ %.pn, %256 ], [ %lpad.loopexit, %.loopexit30 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, 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 } %.pn24
}

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIixEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, i64 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 #3 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 #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIxSaIxEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 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 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 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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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"}


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