; LLVM IR from tangjz/acm-icpc :: codeforces/gym (100540A)

; 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
@m = external dso_local global i32, align 4
@L = external dso_local global [100002 x i32], align 16
@R = external dso_local global [100002 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findPii(ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %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
  store i32 0, ptr %1, align 4
  br label %6

6:                                                ; preds = %99, %0
  %7 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n, ptr noundef @m)
  %8 = icmp eq i32 %7, 2
  br i1 %8, label %9, label %14

9:                                                ; preds = %6
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = load i32, ptr @m, align 4, !tbaa !5
  %12 = add nsw i32 %10, %11
  %13 = icmp ne i32 %12, 0
  br label %14

14:                                               ; preds = %9, %6
  %15 = phi i1 [ false, %6 ], [ %13, %9 ]
  br i1 %15, label %16, label %102

16:                                               ; preds = %14
  store i32 0, ptr @L, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %17

17:                                               ; preds = %30, %16
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = load i32, ptr @n, align 4, !tbaa !5
  %20 = icmp sle i32 %18, %19
  br i1 %20, label %22, label %21

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

22:                                               ; preds = %17
  %23 = load i32, ptr %2, align 4, !tbaa !5
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %25
  store i32 %23, ptr %26, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [100002 x i32], ptr @L, i64 0, i64 %28
  store i32 %23, ptr %29, align 4, !tbaa !5
  br label %30

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

33:                                               ; preds = %21
  %34 = load i32, ptr @n, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  %36 = load i32, ptr @n, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %38
  store i32 %35, ptr %39, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %97, %33
  %41 = load i32, ptr @m, align 4, !tbaa !5
  %42 = add nsw i32 %41, -1
  store i32 %42, ptr @m, align 4, !tbaa !5
  %43 = icmp ne i32 %41, 0
  br i1 %43, label %44, label %99

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %45 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %3, ptr noundef %4)
  %46 = load i32, ptr %4, align 4, !tbaa !5
  %47 = call noundef i32 @_Z4findPii(ptr noundef @L, i32 noundef %46)
  store i32 %47, ptr %5, align 4, !tbaa !5
  br label %48

48:                                               ; preds = %59, %44
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = icmp sge i32 %49, %50
  br i1 %51, label %52, label %62

52:                                               ; preds = %48
  %53 = load i32, ptr %5, align 4, !tbaa !5
  %54 = sub nsw i32 %53, 1
  %55 = call noundef i32 @_Z4findPii(ptr noundef @L, i32 noundef %54)
  %56 = load i32, ptr %5, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [100002 x i32], ptr @L, i64 0, i64 %57
  store i32 %55, ptr %58, align 4, !tbaa !5
  br label %59

59:                                               ; preds = %52
  %60 = load i32, ptr %5, align 4, !tbaa !5
  %61 = call noundef i32 @_Z4findPii(ptr noundef @L, i32 noundef %60)
  store i32 %61, ptr %5, align 4, !tbaa !5
  br label %48, !llvm.loop !11

62:                                               ; preds = %48
  %63 = load i32, ptr %5, align 4, !tbaa !5
  %64 = icmp ne i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %62
  %66 = load i32, ptr %5, align 4, !tbaa !5
  %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %66)
  br label %70

68:                                               ; preds = %62
  %69 = call i32 @putchar(i32 noundef 42)
  br label %70

70:                                               ; preds = %68, %65
  %71 = call i32 @putchar(i32 noundef 32)
  %72 = load i32, ptr %3, align 4, !tbaa !5
  %73 = call noundef i32 @_Z4findPii(ptr noundef @R, i32 noundef %72)
  store i32 %73, ptr %5, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %85, %70
  %75 = load i32, ptr %5, align 4, !tbaa !5
  %76 = load i32, ptr %4, align 4, !tbaa !5
  %77 = icmp sle i32 %75, %76
  br i1 %77, label %78, label %88

78:                                               ; preds = %74
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  %81 = call noundef i32 @_Z4findPii(ptr noundef @R, i32 noundef %80)
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %83
  store i32 %81, ptr %84, align 4, !tbaa !5
  br label %85

85:                                               ; preds = %78
  %86 = load i32, ptr %5, align 4, !tbaa !5
  %87 = call noundef i32 @_Z4findPii(ptr noundef @R, i32 noundef %86)
  store i32 %87, ptr %5, align 4, !tbaa !5
  br label %74, !llvm.loop !12

88:                                               ; preds = %74
  %89 = load i32, ptr %5, align 4, !tbaa !5
  %90 = load i32, ptr @n, align 4, !tbaa !5
  %91 = icmp sle i32 %89, %90
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = load i32, ptr %5, align 4, !tbaa !5
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %93)
  br label %97

95:                                               ; preds = %88
  %96 = call i32 @putchar(i32 noundef 42)
  br label %97

97:                                               ; preds = %95, %92
  %98 = call i32 @putchar(i32 noundef 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %40, !llvm.loop !13

99:                                               ; preds = %40
  %100 = call i32 @putchar(i32 noundef 45)
  %101 = call i32 @putchar(i32 noundef 10)
  br label %6, !llvm.loop !14

102:                                              ; preds = %14
  ret i32 0
}

declare i32 @__isoc99_scanf(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, ...) #2

; Function Attrs: inlinehint mustprogress uwtable
declare i32 @putchar(i32 noundef) #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { 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 #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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@L = external dso_local global [100002 x i32], align 16
@R = external dso_local global [100002 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z4findPii(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %4 = icmp eq i32 %3, 2
  %5 = load i32, ptr @n, align 4
  %6 = load i32, ptr @m, align 4
  %7 = sub i32 0, %6
  %8 = icmp ne i32 %5, %7
  %9 = select i1 %4, i1 %8, i1 false
  br i1 %9, label %.lr.ph42, label %._crit_edge43

.lr.ph42:                                         ; preds = %0, %._crit_edge40
  %10 = phi i32 [ %63, %._crit_edge40 ], [ %6, %0 ]
  %11 = phi i32 [ %62, %._crit_edge40 ], [ %5, %0 ]
  store i32 0, ptr @L, align 16, !tbaa !5
  %.not24 = icmp slt i32 %11, 1
  %.pre = add i32 %11, 1
  br i1 %.not24, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph42
  %wide.trip.count = zext i32 %.pre to i64
  %12 = add nsw i64 %wide.trip.count, -1
  %min.iters.check = icmp ult i32 %.pre, 9
  br i1 %min.iters.check, label %.lr.ph.preheader49, label %vector.ph

.lr.ph.preheader49:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 1, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %12, -8
  %ind.end = or disjoint i64 %n.vec, 1
  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 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %offset.idx = or disjoint i64 %index, 1
  %13 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %offset.idx
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  store <4 x i32> %vec.ind, ptr %13, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %14, align 4, !tbaa !5
  %15 = getelementptr inbounds [100002 x i32], ptr @L, i64 0, i64 %offset.idx
  %16 = getelementptr inbounds i8, ptr %15, i64 16
  store <4 x i32> %vec.ind, ptr %15, align 4, !tbaa !5
  store <4 x i32> %step.add, ptr %16, align 4, !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>
  %17 = icmp eq i64 %index.next, %n.vec
  br i1 %17, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %12, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader49

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %.lr.ph42
  %18 = sext i32 %.pre to i64
  %19 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %18
  store i32 %.pre, ptr %19, align 4, !tbaa !5
  %20 = add nsw i32 %10, -1
  store i32 %20, ptr @m, align 4, !tbaa !5
  %.not1937 = icmp eq i32 %10, 0
  br i1 %.not1937, label %._crit_edge40, label %.lr.ph39

.lr.ph:                                           ; preds = %.lr.ph.preheader49, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader49 ]
  %21 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %indvars.iv
  %22 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %22, ptr %21, align 4, !tbaa !5
  %23 = getelementptr inbounds [100002 x i32], ptr @L, i64 0, i64 %indvars.iv
  store i32 %22, ptr %23, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

.lr.ph39:                                         ; preds = %._crit_edge, %54
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %24 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = call noundef i32 @_Z4findPii(ptr noundef nonnull @L, i32 noundef %25)
  %27 = load i32, ptr %1, align 4, !tbaa !5
  %.not2026 = icmp slt i32 %26, %27
  br i1 %.not2026, label %._crit_edge30, label %.lr.ph29

.lr.ph29:                                         ; preds = %.lr.ph39, %.lr.ph29
  %.027 = phi i32 [ %32, %.lr.ph29 ], [ %26, %.lr.ph39 ]
  %28 = add nsw i32 %.027, -1
  %29 = call noundef i32 @_Z4findPii(ptr noundef nonnull @L, i32 noundef %28)
  %30 = sext i32 %.027 to i64
  %31 = getelementptr inbounds [100002 x i32], ptr @L, i64 0, i64 %30
  store i32 %29, ptr %31, align 4, !tbaa !5
  %32 = call noundef i32 @_Z4findPii(ptr noundef nonnull @L, i32 noundef %.027)
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %.not20 = icmp slt i32 %32, %33
  br i1 %.not20, label %._crit_edge30, label %.lr.ph29, !llvm.loop !14

._crit_edge30:                                    ; preds = %.lr.ph29, %.lr.ph39
  %.0.lcssa = phi i32 [ %26, %.lr.ph39 ], [ %32, %.lr.ph29 ]
  %.not21 = icmp eq i32 %.0.lcssa, 0
  br i1 %.not21, label %36, label %34

34:                                               ; preds = %._crit_edge30
  %35 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %.0.lcssa)
  br label %38

36:                                               ; preds = %._crit_edge30
  %37 = call i32 @putchar(i32 noundef 42)
  br label %38

38:                                               ; preds = %36, %34
  %39 = call i32 @putchar(i32 noundef 32)
  %40 = load i32, ptr %1, align 4, !tbaa !5
  %41 = call noundef i32 @_Z4findPii(ptr noundef nonnull @R, i32 noundef %40)
  %42 = load i32, ptr %2, align 4, !tbaa !5
  %.not2231 = icmp sgt i32 %41, %42
  br i1 %.not2231, label %._crit_edge35, label %.lr.ph34

.lr.ph34:                                         ; preds = %38, %.lr.ph34
  %.132 = phi i32 [ %47, %.lr.ph34 ], [ %41, %38 ]
  %43 = add nsw i32 %.132, 1
  %44 = call noundef i32 @_Z4findPii(ptr noundef nonnull @R, i32 noundef %43)
  %45 = sext i32 %.132 to i64
  %46 = getelementptr inbounds [100002 x i32], ptr @R, i64 0, i64 %45
  store i32 %44, ptr %46, align 4, !tbaa !5
  %47 = call noundef i32 @_Z4findPii(ptr noundef nonnull @R, i32 noundef %.132)
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %.not22 = icmp sgt i32 %47, %48
  br i1 %.not22, label %._crit_edge35, label %.lr.ph34, !llvm.loop !15

._crit_edge35:                                    ; preds = %.lr.ph34, %38
  %.1.lcssa = phi i32 [ %41, %38 ], [ %47, %.lr.ph34 ]
  %49 = load i32, ptr @n, align 4, !tbaa !5
  %.not23 = icmp sgt i32 %.1.lcssa, %49
  br i1 %.not23, label %52, label %50

50:                                               ; preds = %._crit_edge35
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %.1.lcssa)
  br label %54

52:                                               ; preds = %._crit_edge35
  %53 = call i32 @putchar(i32 noundef 42)
  br label %54

54:                                               ; preds = %52, %50
  %55 = call i32 @putchar(i32 noundef 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  %56 = load i32, ptr @m, align 4, !tbaa !5
  %57 = add nsw i32 %56, -1
  store i32 %57, ptr @m, align 4, !tbaa !5
  %.not19 = icmp eq i32 %56, 0
  br i1 %.not19, label %._crit_edge40, label %.lr.ph39, !llvm.loop !16

._crit_edge40:                                    ; preds = %54, %._crit_edge
  %58 = call i32 @putchar(i32 noundef 45)
  %59 = call i32 @putchar(i32 noundef 10)
  %60 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %61 = icmp eq i32 %60, 2
  %62 = load i32, ptr @n, align 4
  %63 = load i32, ptr @m, align 4
  %64 = sub i32 0, %63
  %65 = icmp ne i32 %62, %64
  %66 = select i1 %61, i1 %65, i1 false
  br i1 %66, label %.lr.ph42, label %._crit_edge43, !llvm.loop !17

._crit_edge43:                                    ; preds = %._crit_edge40, %0
  ret i32 0
}

; 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind uwtable
declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 nofree 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 = { 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 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


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