; LLVM IR from abeaumont/competitive-programming :: kattis (moogle)

; 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<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@cache = external dso_local global [201 x [201 x [201 x double]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

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

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

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

15:                                               ; preds = %93, %0
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = add nsw i32 %16, -1
  store i32 %17, ptr %2, align 4, !tbaa !5
  %18 = icmp ne i32 %16, 0
  br i1 %18, label %19, label %100

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

20:                                               ; preds = %52, %19
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = icmp slt i32 %21, 201
  br i1 %22, label %24, label %23

23:                                               ; preds = %20
  store i32 4, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %55

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

25:                                               ; preds = %48, %24
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 201
  br i1 %27, label %29, label %28

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

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

30:                                               ; preds = %44, %29
  %31 = load i32, ptr %6, align 4, !tbaa !5
  %32 = icmp slt i32 %31, 201
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 10, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %47

34:                                               ; preds = %30
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %36
  %38 = load i32, ptr %5, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [201 x [201 x double]], ptr %37, i64 0, i64 %39
  %41 = load i32, ptr %6, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [201 x double], ptr %40, i64 0, i64 %42
  store double -1.000000e+00, ptr %43, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %34
  %45 = load i32, ptr %6, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %6, align 4, !tbaa !5
  br label %30, !llvm.loop !11

47:                                               ; preds = %33
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %5, align 4, !tbaa !5
  br label %25, !llvm.loop !13

51:                                               ; preds = %28
  br label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %3, align 4, !tbaa !5
  br label %20, !llvm.loop !14

55:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %57 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %56, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %60 unwind label %66

60:                                               ; preds = %55
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %76, %60
  %62 = load i32, ptr %13, align 4, !tbaa !5
  %63 = load i32, ptr %7, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %70, label %65

65:                                               ; preds = %61
  store i32 13, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %83

66:                                               ; preds = %55
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %11, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %99

70:                                               ; preds = %61
  %71 = load i32, ptr %13, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %72) #6
  %74 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %73)
          to label %75 unwind label %79

75:                                               ; preds = %70
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %13, align 4, !tbaa !5
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %13, align 4, !tbaa !5
  br label %61, !llvm.loop !15

79:                                               ; preds = %70
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %11, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %98

83:                                               ; preds = %65
  %84 = load i32, ptr %8, align 4, !tbaa !5
  %85 = invoke noundef double @_Z1sRKSt6vectorIiSaIiEEiiii(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %84, i32 noundef 0, i32 noundef 1, i32 noundef 1)
          to label %86 unwind label %94

86:                                               ; preds = %83
  %87 = load i32, ptr %7, align 4, !tbaa !5
  %88 = sitofp i32 %87 to double
  %89 = fdiv double %85, %88
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %89)
          to label %91 unwind label %94

91:                                               ; preds = %86
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %93 unwind label %94

93:                                               ; preds = %91
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %15, !llvm.loop !16

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

98:                                               ; preds = %94, %79
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %99

99:                                               ; preds = %98, %66
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %102

100:                                              ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %101 = load i32, ptr %1, align 4
  ret i32 %101

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #1 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) #1 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 @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


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

%"class.std::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<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@cache = external dso_local local_unnamed_addr global [201 x [201 x [201 x double]]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  %6 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %8 = add nsw i32 %7, -1
  store i32 %8, ptr %1, align 4, !tbaa !5
  %.not28 = icmp eq i32 %7, 0
  br i1 %.not28, label %._crit_edge29, label %.preheader22

.preheader22:                                     ; preds = %0, %.preheader22.backedge
  %indvars.iv35 = phi i64 [ %indvars.iv35.be, %.preheader22.backedge ], [ 0, %0 ]
  br label %vector.ph

9:                                                ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %13, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %116 unwind label %121

vector.ph:                                        ; preds = %vector.ph, %.preheader22
  %indvars.iv31 = phi i64 [ 0, %.preheader22 ], [ %indvars.iv.next32, %vector.ph ]
  %14 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 0
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %14, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %15, align 8, !tbaa !9
  %16 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 4
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %16, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %17, align 8, !tbaa !9
  %18 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 8
  %19 = getelementptr inbounds i8, ptr %18, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %18, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %19, align 8, !tbaa !9
  %20 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 12
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %20, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %21, align 8, !tbaa !9
  %22 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 16
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %22, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %23, align 8, !tbaa !9
  %24 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 20
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %24, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 24
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %26, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %27, align 8, !tbaa !9
  %28 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 28
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %28, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %29, align 8, !tbaa !9
  %30 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 32
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %30, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %31, align 8, !tbaa !9
  %32 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 36
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %32, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %33, align 8, !tbaa !9
  %34 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 40
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %34, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %35, align 8, !tbaa !9
  %36 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 44
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %36, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %37, align 8, !tbaa !9
  %38 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 48
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %38, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %39, align 8, !tbaa !9
  %40 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 52
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %40, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 56
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %42, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %43, align 8, !tbaa !9
  %44 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 60
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %44, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %45, align 8, !tbaa !9
  %46 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 64
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %46, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %47, align 8, !tbaa !9
  %48 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 68
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %48, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %49, align 8, !tbaa !9
  %50 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 72
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %50, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %51, align 8, !tbaa !9
  %52 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 76
  %53 = getelementptr inbounds i8, ptr %52, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %52, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %53, align 8, !tbaa !9
  %54 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 80
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %54, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %55, align 8, !tbaa !9
  %56 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 84
  %57 = getelementptr inbounds i8, ptr %56, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %56, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %57, align 8, !tbaa !9
  %58 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 88
  %59 = getelementptr inbounds i8, ptr %58, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %58, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %59, align 8, !tbaa !9
  %60 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 92
  %61 = getelementptr inbounds i8, ptr %60, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %60, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %61, align 8, !tbaa !9
  %62 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 96
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %62, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %63, align 8, !tbaa !9
  %64 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 100
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %64, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %65, align 8, !tbaa !9
  %66 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 104
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %66, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %67, align 8, !tbaa !9
  %68 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 108
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %68, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %69, align 8, !tbaa !9
  %70 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 112
  %71 = getelementptr inbounds i8, ptr %70, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %70, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %71, align 8, !tbaa !9
  %72 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 116
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %72, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %73, align 8, !tbaa !9
  %74 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 120
  %75 = getelementptr inbounds i8, ptr %74, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %74, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %75, align 8, !tbaa !9
  %76 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 124
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %76, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %77, align 8, !tbaa !9
  %78 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 128
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %78, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %79, align 8, !tbaa !9
  %80 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 132
  %81 = getelementptr inbounds i8, ptr %80, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %80, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %81, align 8, !tbaa !9
  %82 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 136
  %83 = getelementptr inbounds i8, ptr %82, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %82, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %83, align 8, !tbaa !9
  %84 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 140
  %85 = getelementptr inbounds i8, ptr %84, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %84, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %85, align 8, !tbaa !9
  %86 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 144
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %86, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %87, align 8, !tbaa !9
  %88 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 148
  %89 = getelementptr inbounds i8, ptr %88, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %88, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %89, align 8, !tbaa !9
  %90 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 152
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %90, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %91, align 8, !tbaa !9
  %92 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 156
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %92, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %93, align 8, !tbaa !9
  %94 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 160
  %95 = getelementptr inbounds i8, ptr %94, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %94, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %95, align 8, !tbaa !9
  %96 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 164
  %97 = getelementptr inbounds i8, ptr %96, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %96, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %97, align 8, !tbaa !9
  %98 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 168
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %98, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %99, align 8, !tbaa !9
  %100 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 172
  %101 = getelementptr inbounds i8, ptr %100, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %100, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %101, align 8, !tbaa !9
  %102 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 176
  %103 = getelementptr inbounds i8, ptr %102, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %102, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 180
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %104, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %105, align 8, !tbaa !9
  %106 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 184
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %106, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %107, align 8, !tbaa !9
  %108 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 188
  %109 = getelementptr inbounds i8, ptr %108, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %108, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %109, align 8, !tbaa !9
  %110 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 192
  %111 = getelementptr inbounds i8, ptr %110, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %110, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %111, align 8, !tbaa !9
  %112 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 196
  %113 = getelementptr inbounds i8, ptr %112, i64 16
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %112, align 8, !tbaa !9
  store <2 x double> <double -1.000000e+00, double -1.000000e+00>, ptr %113, align 8, !tbaa !9
  %114 = getelementptr inbounds [201 x [201 x [201 x double]]], ptr @cache, i64 0, i64 %indvars.iv35, i64 %indvars.iv31, i64 200
  store double -1.000000e+00, ptr %114, align 8, !tbaa !9
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %exitcond34.not = icmp eq i64 %indvars.iv.next32, 201
  br i1 %exitcond34.not, label %115, label %vector.ph, !llvm.loop !11

115:                                              ; preds = %vector.ph
  %indvars.iv.next36 = add nuw nsw i64 %indvars.iv35, 1
  %exitcond38.not = icmp eq i64 %indvars.iv.next36, 201
  br i1 %exitcond38.not, label %9, label %.preheader22.backedge

.preheader22.backedge:                            ; preds = %115, %138
  %indvars.iv35.be = phi i64 [ %indvars.iv.next36, %115 ], [ 0, %138 ]
  br label %.preheader22, !llvm.loop !13

116:                                              ; preds = %9
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  %117 = load i32, ptr %2, align 4, !tbaa !5
  %118 = icmp sgt i32 %117, 0
  br i1 %118, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %125, %116
  %119 = load i32, ptr %3, align 4, !tbaa !5
  %120 = invoke noundef double @_Z1sRKSt6vectorIiSaIiEEiiii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef %119, i32 noundef 0, i32 noundef 1, i32 noundef 1)
          to label %131 unwind label %141

121:                                              ; preds = %9
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %144

.lr.ph:                                           ; preds = %116, %125
  %indvars.iv39 = phi i64 [ %indvars.iv.next40, %125 ], [ 0, %116 ]
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %indvars.iv39) #6
  %124 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %123)
          to label %125 unwind label %129

125:                                              ; preds = %.lr.ph
  %indvars.iv.next40 = add nuw nsw i64 %indvars.iv39, 1
  %126 = load i32, ptr %2, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = icmp slt i64 %indvars.iv.next40, %127
  br i1 %128, label %.lr.ph, label %._crit_edge, !llvm.loop !14

129:                                              ; preds = %.lr.ph
  %130 = landingpad { ptr, i32 }
          cleanup
  br label %143

131:                                              ; preds = %._crit_edge
  %132 = load i32, ptr %2, align 4, !tbaa !5
  %133 = sitofp i32 %132 to double
  %134 = fdiv double %120, %133
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %134)
          to label %136 unwind label %141

136:                                              ; preds = %131
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %138 unwind label %141

138:                                              ; preds = %136
  call void @_ZNSt6vectorIiSaIiEED2Ev(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 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  %139 = load i32, ptr %1, align 4, !tbaa !5
  %140 = add nsw i32 %139, -1
  store i32 %140, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %139, 0
  br i1 %.not, label %._crit_edge29, label %.preheader22.backedge

141:                                              ; preds = %136, %131, %._crit_edge
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %143

143:                                              ; preds = %141, %129
  %.pn = phi { ptr, i32 } [ %130, %129 ], [ %142, %141 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %144

144:                                              ; preds = %143, %121
  %.pn.pn = phi { ptr, i32 } [ %.pn, %143 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn.pn

._crit_edge29:                                    ; preds = %138, %0
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret i32 0
}

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #1 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 #1 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 @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


; Effective O3 passes: GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass