; LLVM IR from tangjz/acm-icpc :: lydsy (1264)

; 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
@pos = external dso_local global [200001 x [6 x i32]], align 16
@mx = external dso_local global i32, align 4
@f = external dso_local global [1000001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 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
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %30, %0
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = mul nsw i32 %12, 5
  %14 = icmp sle i32 %11, %13
  br i1 %14, label %16, label %15

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

16:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %3)
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %20
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %23
  %25 = getelementptr inbounds [6 x i32], ptr %24, i64 0, i64 0
  %26 = load i32, ptr %25, align 8, !tbaa !5
  %27 = add nsw i32 %26, 1
  store i32 %27, ptr %25, align 8, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [6 x i32], ptr %21, i64 0, i64 %28
  store i32 %18, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %30

30:                                               ; preds = %16
  %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 %10, !llvm.loop !9

33:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %82, %33
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = load i32, ptr @n, align 4, !tbaa !5
  %37 = mul nsw i32 %36, 5
  %38 = icmp sle i32 %35, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %85

40:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %41 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 5, ptr %7, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %78, %40
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %46, label %45

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

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %47 = load i32, ptr @mx, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds i32, ptr @f, i64 %48
  %50 = getelementptr inbounds i32, ptr %49, i64 1
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %52
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [6 x i32], ptr %53, i64 0, i64 %55
  %57 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef @f, ptr noundef %50, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %58 = ptrtoint ptr %57 to i64
  %59 = sub i64 %58, ptrtoint (ptr @f to i64)
  %60 = sdiv exact i64 %59, 4
  %61 = trunc i64 %60 to i32
  store i32 %61, ptr %8, align 4, !tbaa !5
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %63
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [6 x i32], ptr %64, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = load i32, ptr %8, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %70
  store i32 %68, ptr %71, align 4, !tbaa !5
  %72 = load i32, ptr @mx, align 4, !tbaa !5
  %73 = load i32, ptr %8, align 4, !tbaa !5
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %75, label %77

75:                                               ; preds = %46
  %76 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %76, ptr @mx, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %75, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %7, align 4, !tbaa !5
  %80 = add nsw i32 %79, -1
  store i32 %80, ptr %7, align 4, !tbaa !5
  br label %42, !llvm.loop !11

81:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %4, align 4, !tbaa !5
  br label %34, !llvm.loop !12

85:                                               ; preds = %39
  %86 = load i32, ptr @mx, align 4, !tbaa !5
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %86)
  ret i32 0
}

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 uwtable
declare dso_local noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #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 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 = !{!"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}


; 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
@pos = external dso_local global [200001 x [6 x i32]], align 16
@mx = external dso_local local_unnamed_addr global i32, align 4
@f = external dso_local global [1000001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 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() local_unnamed_addr #0 {
  %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)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %.not16 = icmp slt i32 %4, 1
  br i1 %.not16, label %.preheader.._crit_edge_crit_edge, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph
  %5 = icmp slt i32 %15, 1
  br i1 %5, label %.preheader.._crit_edge_crit_edge, label %.lr.ph21

.preheader.._crit_edge_crit_edge:                 ; preds = %0, %.preheader
  %.pre = load i32, ptr @mx, align 4, !tbaa !5
  br label %._crit_edge

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.017 = phi i32 [ %14, %.lr.ph ], [ 1, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  %9 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %8
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %9, align 8, !tbaa !5
  %12 = sext i32 %11 to i64
  %13 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %8, i64 %12
  store i32 %.017, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %14 = add nuw nsw i32 %.017, 1
  %15 = load i32, ptr @n, align 4, !tbaa !5
  %16 = mul nsw i32 %15, 5
  %.not.not = icmp slt i32 %.017, %16
  br i1 %.not.not, label %.lr.ph, label %.preheader, !llvm.loop !9

._crit_edge:                                      ; preds = %111, %.preheader.._crit_edge_crit_edge
  %17 = phi i32 [ %.pre, %.preheader.._crit_edge_crit_edge ], [ %112, %111 ]
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %17)
  ret i32 0

.lr.ph21:                                         ; preds = %.preheader, %111
  %.01320 = phi i32 [ %113, %111 ], [ 1, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %2)
  %20 = load i32, ptr @mx, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %gep = getelementptr i32, ptr getelementptr inbounds (i8, ptr @f, i64 4), i64 %21
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %23, i64 5
  %25 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef nonnull @f, ptr noundef nonnull %gep, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %26 = ptrtoint ptr %25 to i64
  %27 = sub i64 %26, ptrtoint (ptr @f to i64)
  %28 = lshr exact i64 %27, 2
  %29 = trunc i64 %28 to i32
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %31, i64 5
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %sext = shl i64 %27, 30
  %34 = ashr i64 %sext, 32
  %35 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %34
  store i32 %33, ptr %35, align 4, !tbaa !5
  %36 = load i32, ptr @mx, align 4, !tbaa !5
  %37 = icmp slt i32 %36, %29
  br i1 %37, label %38, label %39

38:                                               ; preds = %.lr.ph21
  store i32 %29, ptr @mx, align 4, !tbaa !5
  br label %39

39:                                               ; preds = %38, %.lr.ph21
  %40 = phi i32 [ %29, %38 ], [ %36, %.lr.ph21 ]
  %41 = sext i32 %40 to i64
  %gep.1 = getelementptr i32, ptr getelementptr inbounds (i8, ptr @f, i64 4), i64 %41
  %42 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %31, i64 4
  %43 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef nonnull @f, ptr noundef nonnull %gep.1, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %44 = ptrtoint ptr %43 to i64
  %45 = sub i64 %44, ptrtoint (ptr @f to i64)
  %46 = lshr exact i64 %45, 2
  %47 = trunc i64 %46 to i32
  %48 = load i32, ptr %2, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %49, i64 4
  %51 = load i32, ptr %50, align 8, !tbaa !5
  %sext.1 = shl i64 %45, 30
  %52 = ashr i64 %sext.1, 32
  %53 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %52
  store i32 %51, ptr %53, align 4, !tbaa !5
  %54 = load i32, ptr @mx, align 4, !tbaa !5
  %55 = icmp slt i32 %54, %47
  br i1 %55, label %56, label %57

56:                                               ; preds = %39
  store i32 %47, ptr @mx, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %56, %39
  %58 = phi i32 [ %47, %56 ], [ %54, %39 ]
  %59 = sext i32 %58 to i64
  %gep.2 = getelementptr i32, ptr getelementptr inbounds (i8, ptr @f, i64 4), i64 %59
  %60 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %49, i64 3
  %61 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef nonnull @f, ptr noundef nonnull %gep.2, ptr noundef nonnull align 4 dereferenceable(4) %60)
  %62 = ptrtoint ptr %61 to i64
  %63 = sub i64 %62, ptrtoint (ptr @f to i64)
  %64 = lshr exact i64 %63, 2
  %65 = trunc i64 %64 to i32
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %67, i64 3
  %69 = load i32, ptr %68, align 4, !tbaa !5
  %sext.2 = shl i64 %63, 30
  %70 = ashr i64 %sext.2, 32
  %71 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %70
  store i32 %69, ptr %71, align 4, !tbaa !5
  %72 = load i32, ptr @mx, align 4, !tbaa !5
  %73 = icmp slt i32 %72, %65
  br i1 %73, label %74, label %75

74:                                               ; preds = %57
  store i32 %65, ptr @mx, align 4, !tbaa !5
  br label %75

75:                                               ; preds = %74, %57
  %76 = phi i32 [ %65, %74 ], [ %72, %57 ]
  %77 = sext i32 %76 to i64
  %gep.3 = getelementptr i32, ptr getelementptr inbounds (i8, ptr @f, i64 4), i64 %77
  %78 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %67, i64 2
  %79 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef nonnull @f, ptr noundef nonnull %gep.3, ptr noundef nonnull align 4 dereferenceable(4) %78)
  %80 = ptrtoint ptr %79 to i64
  %81 = sub i64 %80, ptrtoint (ptr @f to i64)
  %82 = lshr exact i64 %81, 2
  %83 = trunc i64 %82 to i32
  %84 = load i32, ptr %2, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %85, i64 2
  %87 = load i32, ptr %86, align 8, !tbaa !5
  %sext.3 = shl i64 %81, 30
  %88 = ashr i64 %sext.3, 32
  %89 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %88
  store i32 %87, ptr %89, align 4, !tbaa !5
  %90 = load i32, ptr @mx, align 4, !tbaa !5
  %91 = icmp slt i32 %90, %83
  br i1 %91, label %92, label %93

92:                                               ; preds = %75
  store i32 %83, ptr @mx, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %92, %75
  %94 = phi i32 [ %83, %92 ], [ %90, %75 ]
  %95 = sext i32 %94 to i64
  %gep.4 = getelementptr i32, ptr getelementptr inbounds (i8, ptr @f, i64 4), i64 %95
  %96 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %85, i64 1
  %97 = call noundef ptr @_ZSt11lower_boundIPiiET_S1_S1_RKT0_(ptr noundef nonnull @f, ptr noundef nonnull %gep.4, ptr noundef nonnull align 4 dereferenceable(4) %96)
  %98 = ptrtoint ptr %97 to i64
  %99 = sub i64 %98, ptrtoint (ptr @f to i64)
  %100 = lshr exact i64 %99, 2
  %101 = trunc i64 %100 to i32
  %102 = load i32, ptr %2, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [200001 x [6 x i32]], ptr @pos, i64 0, i64 %103, i64 1
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %sext.4 = shl i64 %99, 30
  %106 = ashr i64 %sext.4, 32
  %107 = getelementptr inbounds [1000001 x i32], ptr @f, i64 0, i64 %106
  store i32 %105, ptr %107, align 4, !tbaa !5
  %108 = load i32, ptr @mx, align 4, !tbaa !5
  %109 = icmp slt i32 %108, %101
  br i1 %109, label %110, label %111

110:                                              ; preds = %93
  store i32 %101, ptr @mx, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %110, %93
  %112 = phi i32 [ %101, %110 ], [ %108, %93 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  %113 = add nuw nsw i32 %.01320, 1
  %114 = load i32, ptr @n, align 4, !tbaa !5
  %115 = mul nsw i32 %114, 5
  %.not15.not = icmp slt i32 %.01320, %115
  br i1 %.not15.not, label %.lr.ph21, label %._crit_edge, !llvm.loop !11
}

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

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

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

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = !{!"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}


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