; LLVM IR from eyangch/competitive-programming :: USACOcontests/platinum/2019.02 (cowdate)

; 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"

@N = external dso_local global i32, align 4
@p = external dso_local global [1000000 x double], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store i32 0, ptr %1, align 4
  %12 = load ptr, ptr @stdin, align 8, !tbaa !5
  %13 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %12)
  %14 = load ptr, ptr @stdout, align 8, !tbaa !5
  %15 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %14)
  %16 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.4, ptr noundef @N)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %32, %0
  %18 = load i32, ptr %2, align 4, !tbaa !9
  %19 = load i32, ptr @N, align 4, !tbaa !9
  %20 = icmp slt i32 %18, %19
  br i1 %20, label %22, label %21

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

22:                                               ; preds = %17
  %23 = load i32, ptr %2, align 4, !tbaa !9
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %24
  %26 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.5, ptr noundef %25)
  %27 = load i32, ptr %2, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = fdiv double %30, 1.000000e+06
  store double %31, ptr %29, align 8, !tbaa !11
  br label %32

32:                                               ; preds = %22
  %33 = load i32, ptr %2, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %2, align 4, !tbaa !9
  br label %17, !llvm.loop !13

35:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store double 0.000000e+00, ptr %3, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %36 = load double, ptr @p, align 16, !tbaa !11
  %37 = load double, ptr @p, align 16, !tbaa !11
  %38 = fsub double 1.000000e+00, %37
  %39 = fdiv double %36, %38
  store double %39, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %40 = load double, ptr @p, align 16, !tbaa !11
  %41 = fsub double 1.000000e+00, %40
  store double %41, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %117, %35
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = load i32, ptr @N, align 4, !tbaa !9
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %120

47:                                               ; preds = %42
  br label %48

48:                                               ; preds = %91, %47
  %49 = load i32, ptr %4, align 4, !tbaa !9
  %50 = load i32, ptr @N, align 4, !tbaa !9
  %51 = sub nsw i32 %50, 1
  %52 = icmp slt i32 %49, %51
  br i1 %52, label %53, label %92

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %54 = load double, ptr %5, align 8, !tbaa !11
  %55 = load i32, ptr %4, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !11
  %60 = load i32, ptr %4, align 4, !tbaa !9
  %61 = add nsw i32 %60, 1
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = fsub double 1.000000e+00, %64
  %66 = fdiv double %59, %65
  %67 = fadd double %54, %66
  store double %67, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %68 = load double, ptr %6, align 8, !tbaa !11
  %69 = load i32, ptr %4, align 4, !tbaa !9
  %70 = add nsw i32 %69, 1
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = fsub double 1.000000e+00, %73
  %75 = fmul double %68, %74
  store double %75, ptr %10, align 8, !tbaa !11
  %76 = load double, ptr %6, align 8, !tbaa !11
  %77 = load double, ptr %5, align 8, !tbaa !11
  %78 = fmul double %76, %77
  %79 = load double, ptr %9, align 8, !tbaa !11
  %80 = load double, ptr %10, align 8, !tbaa !11
  %81 = fmul double %79, %80
  %82 = fcmp ogt double %78, %81
  br i1 %82, label %83, label %84

83:                                               ; preds = %53
  store i32 9, ptr %8, align 4
  br label %89

84:                                               ; preds = %53
  %85 = load i32, ptr %4, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %4, align 4, !tbaa !9
  %87 = load double, ptr %9, align 8, !tbaa !11
  store double %87, ptr %5, align 8, !tbaa !11
  %88 = load double, ptr %10, align 8, !tbaa !11
  store double %88, ptr %6, align 8, !tbaa !11
  store i32 0, ptr %8, align 4
  br label %89

89:                                               ; preds = %84, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  %90 = load i32, ptr %8, align 4
  switch i32 %90, label %126 [
    i32 0, label %91
    i32 9, label %92
  ]

91:                                               ; preds = %89
  br label %48, !llvm.loop !15

92:                                               ; preds = %89, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %93 = load double, ptr %6, align 8, !tbaa !11
  %94 = load double, ptr %5, align 8, !tbaa !11
  %95 = fmul double %93, %94
  store double %95, ptr %11, align 8, !tbaa !11
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %97 = load double, ptr %96, align 8, !tbaa !11
  store double %97, ptr %3, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !11
  %102 = load i32, ptr %7, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %103
  %105 = load double, ptr %104, align 8, !tbaa !11
  %106 = fsub double 1.000000e+00, %105
  %107 = fdiv double %101, %106
  %108 = load double, ptr %5, align 8, !tbaa !11
  %109 = fsub double %108, %107
  store double %109, ptr %5, align 8, !tbaa !11
  %110 = load i32, ptr %7, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !11
  %114 = fsub double 1.000000e+00, %113
  %115 = load double, ptr %6, align 8, !tbaa !11
  %116 = fdiv double %115, %114
  store double %116, ptr %6, align 8, !tbaa !11
  br label %117

117:                                              ; preds = %92
  %118 = load i32, ptr %7, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %7, align 4, !tbaa !9
  br label %42, !llvm.loop !16

120:                                              ; preds = %46
  %121 = load double, ptr %3, align 8, !tbaa !11
  %122 = fmul double %121, 1.000000e+06
  %123 = fptosi double %122 to i32
  %124 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %123)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  %125 = load i32, ptr %1, align 4
  ret i32 %125

126:                                              ; preds = %89
  unreachable
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

declare i32 @__isoc99_scanf(ptr noundef, ...) #1

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

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

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

declare i32 @printf(ptr noundef, ...) #1

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


; 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"

@N = external dso_local global i32, align 4
@p = external dso_local global [1000000 x double], align 16
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  %3 = load ptr, ptr @stdin, align 8, !tbaa !5
  %4 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %3)
  %5 = load ptr, ptr @stdout, align 8, !tbaa !5
  %6 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %5)
  %7 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.4, ptr noundef nonnull @N)
  %8 = load i32, ptr @N, align 4, !tbaa !9
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  store double 0.000000e+00, ptr %1, align 8, !tbaa !11
  br label %._crit_edge43

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  store double 0.000000e+00, ptr %1, align 8, !tbaa !11
  %10 = icmp sgt i32 %18, 0
  br i1 %10, label %.preheader.preheader, label %._crit_edge43

.preheader.preheader:                             ; preds = %._crit_edge
  %11 = load double, ptr @p, align 16, !tbaa !11
  %12 = fsub double 1.000000e+00, %11
  %13 = fdiv double %11, %12
  br label %.preheader

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %14 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %indvars.iv
  %15 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.5, ptr noundef nonnull %14)
  %16 = load double, ptr %14, align 8, !tbaa !11
  %17 = fdiv double %16, 1.000000e+06
  store double %17, ptr %14, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = load i32, ptr @N, align 4, !tbaa !9
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next, %19
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.preheader:                                       ; preds = %.preheader.preheader, %split
  %indvars.iv48 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next49, %split ]
  %21 = phi i32 [ %18, %.preheader.preheader ], [ %50, %split ]
  %.02742 = phi i32 [ 0, %.preheader.preheader ], [ %.1.lcssa, %split ]
  %.03040 = phi double [ %12, %.preheader.preheader ], [ %49, %split ]
  %.03439 = phi double [ %13, %.preheader.preheader ], [ %48, %split ]
  %22 = add nsw i32 %21, -1
  %23 = sext i32 %.02742 to i64
  %24 = sext i32 %22 to i64
  %smax = call i32 @llvm.smax.i32(i32 %.02742, i32 %22)
  br label %29

._crit_edge43.loopexit:                           ; preds = %split
  %25 = fmul double %43, 1.000000e+06
  %26 = fptosi double %25 to i32
  br label %._crit_edge43

._crit_edge43:                                    ; preds = %._crit_edge.thread, %._crit_edge43.loopexit, %._crit_edge
  %27 = phi i32 [ %26, %._crit_edge43.loopexit ], [ 0, %._crit_edge ], [ 0, %._crit_edge.thread ]
  %28 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %27)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  ret i32 0

29:                                               ; preds = %.preheader, %31
  %indvars.iv45 = phi i64 [ %23, %.preheader ], [ %indvars.iv.next46, %31 ]
  %.135 = phi double [ %.03439, %.preheader ], [ %36, %31 ]
  %.131 = phi double [ %.03040, %.preheader ], [ %37, %31 ]
  %30 = icmp slt i64 %indvars.iv45, %24
  br i1 %30, label %31, label %._crit_edge51

._crit_edge51:                                    ; preds = %29
  %.pre = fmul double %.135, %.131
  br label %split

31:                                               ; preds = %29
  %indvars.iv.next46 = add nsw i64 %indvars.iv45, 1
  %32 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %indvars.iv.next46
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = fsub double 1.000000e+00, %33
  %35 = fdiv double %33, %34
  %36 = fadd double %.135, %35
  %37 = fmul double %.131, %34
  %38 = fmul double %.135, %.131
  %39 = fmul double %37, %36
  %40 = fcmp ogt double %38, %39
  br i1 %40, label %split.loopexit, label %29

split.loopexit:                                   ; preds = %31
  %41 = trunc nsw i64 %indvars.iv45 to i32
  br label %split

split:                                            ; preds = %split.loopexit, %._crit_edge51
  %.pre-phi = phi double [ %.pre, %._crit_edge51 ], [ %38, %split.loopexit ]
  %.1.lcssa = phi i32 [ %smax, %._crit_edge51 ], [ %41, %split.loopexit ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  store double %.pre-phi, ptr %2, align 8, !tbaa !11
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIdERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %43 = load double, ptr %42, align 8, !tbaa !11
  store double %43, ptr %1, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  %44 = getelementptr inbounds [1000000 x double], ptr @p, i64 0, i64 %indvars.iv48
  %45 = load double, ptr %44, align 8, !tbaa !11
  %46 = fsub double 1.000000e+00, %45
  %47 = fdiv double %45, %46
  %48 = fsub double %.135, %47
  %49 = fdiv double %.131, %46
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %50 = load i32, ptr @N, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = icmp slt i64 %indvars.iv.next49, %51
  br i1 %52, label %.preheader, label %._crit_edge43.loopexit, !llvm.loop !15
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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 = { "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 = { nofree nounwind "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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