; LLVM IR from tangjz/acm-icpc :: codeforces/complete (314B)

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

@a = external dso_local global [101 x i8], align 16
@c = external dso_local global [101 x i8], align 16
@b = external dso_local global i32, align 4
@d = external dso_local global i32, align 4
@alen = external dso_local global i32, align 4
@clen = external dso_local global i32, align 4
@cnt = external dso_local global [101 x i32], align 16
@nxt = external dso_local global [101 x i32], align 16
@sum = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = 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 i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @b, ptr noundef @d, ptr noundef @a, ptr noundef @c)
  %9 = call i64 @strlen(ptr noundef @a) #4
  %10 = trunc i64 %9 to i32
  store i32 %10, ptr @alen, align 4, !tbaa !5
  %11 = call i64 @strlen(ptr noundef @c) #4
  %12 = trunc i64 %11 to i32
  store i32 %12, ptr @clen, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %59, %0
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = load i32, ptr @clen, align 4, !tbaa !5
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %62

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

20:                                               ; preds = %51, %18
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = load i32, ptr @alen, align 4, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %25, label %24

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

25:                                               ; preds = %20
  %26 = load i32, ptr %4, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [101 x i8], ptr @c, i64 0, i64 %27
  %29 = load i8, ptr %28, align 1, !tbaa !9
  %30 = sext i8 %29 to i32
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [101 x i8], ptr @a, i64 0, i64 %32
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = sext i8 %34 to i32
  %36 = icmp eq i32 %30, %35
  br i1 %36, label %37, label %50

37:                                               ; preds = %25
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %4, align 4, !tbaa !5
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = load i32, ptr @clen, align 4, !tbaa !5
  %42 = icmp sge i32 %40, %41
  br i1 %42, label %43, label %49

43:                                               ; preds = %37
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %46, align 4, !tbaa !5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %43, %37
  br label %50

50:                                               ; preds = %49, %25
  br label %51

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

54:                                               ; preds = %24
  %55 = load i32, ptr %4, align 4, !tbaa !5
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %57
  store i32 %55, ptr %58, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %59

59:                                               ; preds = %54
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %2, align 4, !tbaa !5
  br label %13, !llvm.loop !12

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

63:                                               ; preds = %75, %62
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = load i32, ptr @b, align 4, !tbaa !5
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %82

68:                                               ; preds = %63
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = load i32, ptr @sum, align 4, !tbaa !5
  %74 = add nsw i32 %73, %72
  store i32 %74, ptr @sum, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %68
  %76 = load i32, ptr %6, align 4, !tbaa !5
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %6, align 4, !tbaa !5
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  store i32 %81, ptr %7, align 4, !tbaa !5
  br label %63, !llvm.loop !13

82:                                               ; preds = %67
  %83 = load i32, ptr @sum, align 4, !tbaa !5
  %84 = load i32, ptr @d, align 4, !tbaa !5
  %85 = sdiv i32 %83, %84
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %85)
  ret i32 0
}

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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 = { nounwind willreturn memory(read) "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind willreturn memory(read) }
attributes #5 = { 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}


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

@a = external dso_local global [101 x i8], align 16
@c = external dso_local global [101 x i8], align 16
@b = external dso_local global i32, align 4
@d = external dso_local global i32, align 4
@alen = external dso_local local_unnamed_addr global i32, align 4
@clen = external dso_local local_unnamed_addr global i32, align 4
@cnt = external dso_local local_unnamed_addr global [101 x i32], align 16
@nxt = external dso_local local_unnamed_addr global [101 x i32], align 16
@sum = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @b, ptr noundef nonnull @d, ptr noundef nonnull @a, ptr noundef nonnull @c)
  %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @a) #3
  %3 = trunc i64 %2 to i32
  store i32 %3, ptr @alen, align 4, !tbaa !5
  %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @c) #3
  %5 = trunc i64 %4 to i32
  store i32 %5, ptr @clen, align 4, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.preheader21.lr.ph, label %.preheader

.preheader21.lr.ph:                               ; preds = %0
  %7 = icmp sgt i32 %3, 0
  %wide.trip.count37 = and i64 %4, 2147483647
  br i1 %7, label %.preheader21.us.preheader, label %.preheader21.preheader

.preheader21.preheader:                           ; preds = %.preheader21.lr.ph
  %min.iters.check = icmp ult i64 %wide.trip.count37, 8
  br i1 %min.iters.check, label %.preheader21.preheader43, label %vector.ph

.preheader21.preheader43:                         ; preds = %middle.block, %.preheader21.preheader
  %indvars.iv.ph = phi i64 [ 0, %.preheader21.preheader ], [ %n.vec, %middle.block ]
  br label %.preheader21

vector.ph:                                        ; preds = %.preheader21.preheader
  %n.mod.vf = and i64 %4, 7
  %n.vec = sub nsw i64 %wide.trip.count37, %n.mod.vf
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %8 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %index
  %9 = getelementptr inbounds i8, ptr %8, i64 16
  store <4 x i32> %vec.ind, ptr %8, align 16, !tbaa !5
  store <4 x i32> %step.add, ptr %9, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %10 = icmp eq i64 %index.next, %n.vec
  br i1 %10, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.mod.vf, 0
  br i1 %cmp.n, label %.preheader, label %.preheader21.preheader43

.preheader21.us.preheader:                        ; preds = %.preheader21.lr.ph
  %wide.trip.count32 = and i64 %2, 2147483647
  br label %.preheader21.us

.preheader21.us:                                  ; preds = %.preheader21.us.preheader, %._crit_edge.us
  %indvars.iv34 = phi i64 [ 0, %.preheader21.us.preheader ], [ %indvars.iv.next35, %._crit_edge.us ]
  %11 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %indvars.iv34
  %12 = trunc nuw nsw i64 %indvars.iv34 to i32
  br label %13

13:                                               ; preds = %.preheader21.us, %25
  %indvars.iv29 = phi i64 [ 0, %.preheader21.us ], [ %indvars.iv.next30, %25 ]
  %.01822.us = phi i32 [ %12, %.preheader21.us ], [ %.1.us, %25 ]
  %14 = sext i32 %.01822.us to i64
  %15 = getelementptr inbounds [101 x i8], ptr @c, i64 0, i64 %14
  %16 = load i8, ptr %15, align 1, !tbaa !13
  %17 = getelementptr inbounds [101 x i8], ptr @a, i64 0, i64 %indvars.iv29
  %18 = load i8, ptr %17, align 1, !tbaa !13
  %19 = icmp eq i8 %16, %18
  br i1 %19, label %20, label %25

20:                                               ; preds = %13
  %21 = add nsw i32 %.01822.us, 1
  %.not.us = icmp slt i32 %21, %5
  br i1 %.not.us, label %25, label %22

22:                                               ; preds = %20
  %23 = load i32, ptr %11, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %11, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %22, %20, %13
  %.1.us = phi i32 [ 0, %22 ], [ %21, %20 ], [ %.01822.us, %13 ]
  %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29, 1
  %exitcond33.not = icmp eq i64 %indvars.iv.next30, %wide.trip.count32
  br i1 %exitcond33.not, label %._crit_edge.us, label %13, !llvm.loop !14

._crit_edge.us:                                   ; preds = %25
  %26 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %indvars.iv34
  store i32 %.1.us, ptr %26, align 4, !tbaa !5
  %indvars.iv.next35 = add nuw nsw i64 %indvars.iv34, 1
  %exitcond38.not = icmp eq i64 %indvars.iv.next35, %wide.trip.count37
  br i1 %exitcond38.not, label %.preheader, label %.preheader21.us, !llvm.loop !15

.preheader21:                                     ; preds = %.preheader21.preheader43, %.preheader21
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader21 ], [ %indvars.iv.ph, %.preheader21.preheader43 ]
  %27 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %indvars.iv
  %28 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %28, ptr %27, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count37
  br i1 %exitcond.not, label %.preheader, label %.preheader21, !llvm.loop !16

.preheader:                                       ; preds = %.preheader21, %._crit_edge.us, %middle.block, %0
  %29 = load i32, ptr @b, align 4, !tbaa !5
  %sum.promoted = load i32, ptr @sum, align 4, !tbaa !5
  %30 = icmp sgt i32 %29, 0
  br i1 %30, label %.lr.ph.preheader, label %39

.lr.ph.preheader:                                 ; preds = %.preheader
  %xtraiter = and i32 %29, 3
  %31 = icmp ult i32 %29, 4
  br i1 %31, label %._crit_edge.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %29, 2147483644
  br label %.lr.ph

._crit_edge.unr-lcssa:                            ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa.ph = phi i32 [ poison, %.lr.ph.preheader ], [ %66, %.lr.ph ]
  %.026.unr = phi i32 [ 0, %.lr.ph.preheader ], [ %68, %.lr.ph ]
  %.unr = phi i32 [ %sum.promoted, %.lr.ph.preheader ], [ %66, %.lr.ph ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.unr-lcssa, %.lr.ph.epil
  %.026.epil = phi i32 [ %38, %.lr.ph.epil ], [ %.026.unr, %._crit_edge.unr-lcssa ]
  %32 = phi i32 [ %36, %.lr.ph.epil ], [ %.unr, %._crit_edge.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %._crit_edge.unr-lcssa ]
  %33 = sext i32 %.026.epil to i64
  %34 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = add nsw i32 %32, %35
  %37 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %33
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph.epil, !llvm.loop !17

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.unr-lcssa
  %.lcssa = phi i32 [ %.lcssa.ph, %._crit_edge.unr-lcssa ], [ %36, %.lr.ph.epil ]
  store i32 %.lcssa, ptr @sum, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %._crit_edge, %.preheader
  %40 = phi i32 [ %.lcssa, %._crit_edge ], [ %sum.promoted, %.preheader ]
  %41 = load i32, ptr @d, align 4, !tbaa !5
  %42 = sdiv i32 %40, %41
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %42)
  ret i32 0

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.026 = phi i32 [ 0, %.lr.ph.preheader.new ], [ %68, %.lr.ph ]
  %44 = phi i32 [ %sum.promoted, %.lr.ph.preheader.new ], [ %66, %.lr.ph ]
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %45 = sext i32 %.026 to i64
  %46 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = add nsw i32 %44, %47
  %49 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %45
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %51
  %53 = load i32, ptr %52, align 4, !tbaa !5
  %54 = add nsw i32 %48, %53
  %55 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %51
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = add nsw i32 %54, %59
  %61 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %57
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [101 x i32], ptr @cnt, i64 0, i64 %63
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = add nsw i32 %60, %65
  %67 = getelementptr inbounds [101 x i32], ptr @nxt, i64 0, i64 %63
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.unr-lcssa, label %.lr.ph, !llvm.loop !19
}

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

attributes #0 = { mustprogress nofree norecurse 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 #1 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nounwind willreturn memory(read) }

!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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10, !12, !11}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass