; LLVM IR from tangjz/acm-icpc :: codeforces/complete (1030F)

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

%struct.Segment = type { i64, i32 }

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_Z7seg_queiii(i32 noundef, i32 noundef, i32 noundef) #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.Segment, align 8
  %6 = alloca %struct.Segment, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.Segment, align 8
  %9 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %10 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %11

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

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

16:                                               ; preds = %11
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds i32, ptr @a, i64 %18
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %19)
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [200001 x i32], ptr @a, i64 0, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = sub nsw i32 %25, %21
  store i32 %26, ptr %24, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %16
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !9

30:                                               ; preds = %15
  %31 = load i32, ptr @n, align 4, !tbaa !5
  call void @_Z9seg_buildii(i32 noundef 1, i32 noundef %31)
  br label %32

32:                                               ; preds = %135, %30
  %33 = load i32, ptr @m, align 4, !tbaa !5
  %34 = add nsw i32 %33, -1
  store i32 %34, ptr @m, align 4, !tbaa !5
  %35 = icmp ne i32 %33, 0
  br i1 %35, label %36, label %136

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4)
  %38 = load i32, ptr %3, align 4, !tbaa !5
  %39 = icmp slt i32 %38, 0
  br i1 %39, label %40, label %45

40:                                               ; preds = %36
  %41 = load i32, ptr @n, align 4, !tbaa !5
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = sub nsw i32 0, %42
  %44 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z7seg_updiiii(i32 noundef 1, i32 noundef %41, i32 noundef %43, i32 noundef %44)
  br label %135

45:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %46 = load i32, ptr %3, align 4, !tbaa !5
  %47 = icmp sgt i32 %46, 1
  br i1 %47, label %48, label %57

48:                                               ; preds = %45
  %49 = load i32, ptr @n, align 4, !tbaa !5
  %50 = load i32, ptr %3, align 4, !tbaa !5
  %51 = sub nsw i32 %50, 1
  %52 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %49, i32 noundef %51)
  %53 = getelementptr inbounds { i64, i32 }, ptr %5, i32 0, i32 0
  %54 = extractvalue { i64, i32 } %52, 0
  store i64 %54, ptr %53, align 8
  %55 = getelementptr inbounds { i64, i32 }, ptr %5, i32 0, i32 1
  %56 = extractvalue { i64, i32 } %52, 1
  store i32 %56, ptr %55, align 8
  br label %60

57:                                               ; preds = %45
  %58 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 0
  store i64 0, ptr %58, align 8, !tbaa !11
  %59 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 1
  store i32 0, ptr %59, align 8, !tbaa !14
  br label %60

60:                                               ; preds = %57, %48
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #4
  %61 = load i32, ptr @n, align 4, !tbaa !5
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %61, i32 noundef %62)
  %64 = getelementptr inbounds { i64, i32 }, ptr %6, i32 0, i32 0
  %65 = extractvalue { i64, i32 } %63, 0
  store i64 %65, ptr %64, align 8
  %66 = getelementptr inbounds { i64, i32 }, ptr %6, i32 0, i32 1
  %67 = extractvalue { i64, i32 } %63, 1
  store i32 %67, ptr %66, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %68 = load i32, ptr @n, align 4, !tbaa !5
  %69 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 0
  %70 = load i64, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds %struct.Segment, ptr %6, i32 0, i32 0
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = add nsw i64 %70, %72
  %74 = add nsw i64 %73, 1
  %75 = ashr i64 %74, 1
  %76 = call noundef i32 @_Z8seg_findiix(i32 noundef 1, i32 noundef %68, i64 noundef %75)
  store i32 %76, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #4
  %77 = load i32, ptr @n, align 4, !tbaa !5
  %78 = load i32, ptr %7, align 4, !tbaa !5
  %79 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %77, i32 noundef %78)
  %80 = getelementptr inbounds { i64, i32 }, ptr %8, i32 0, i32 0
  %81 = extractvalue { i64, i32 } %79, 0
  store i64 %81, ptr %80, align 8
  %82 = getelementptr inbounds { i64, i32 }, ptr %8, i32 0, i32 1
  %83 = extractvalue { i64, i32 } %79, 1
  store i32 %83, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %84 = getelementptr inbounds %struct.Segment, ptr %8, i32 0, i32 0
  %85 = load i64, ptr %84, align 8, !tbaa !11
  %86 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 0
  %87 = load i64, ptr %86, align 8, !tbaa !11
  %88 = sub nsw i64 %85, %87
  %89 = srem i64 %88, 1000000007
  %90 = load i32, ptr %7, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [200001 x i32], ptr @a, i64 0, i64 %91
  %93 = load i32, ptr %92, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = mul nsw i64 %89, %94
  %96 = getelementptr inbounds %struct.Segment, ptr %8, i32 0, i32 1
  %97 = load i32, ptr %96, align 8, !tbaa !14
  %98 = getelementptr inbounds %struct.Segment, ptr %5, i32 0, i32 1
  %99 = load i32, ptr %98, align 8, !tbaa !14
  %100 = sub nsw i32 %97, %99
  %101 = sext i32 %100 to i64
  %102 = sub nsw i64 %95, %101
  %103 = getelementptr inbounds %struct.Segment, ptr %6, i32 0, i32 1
  %104 = load i32, ptr %103, align 8, !tbaa !14
  %105 = getelementptr inbounds %struct.Segment, ptr %8, i32 0, i32 1
  %106 = load i32, ptr %105, align 8, !tbaa !14
  %107 = sub nsw i32 %104, %106
  %108 = sext i32 %107 to i64
  %109 = add nsw i64 %102, %108
  %110 = getelementptr inbounds %struct.Segment, ptr %6, i32 0, i32 0
  %111 = load i64, ptr %110, align 8, !tbaa !11
  %112 = getelementptr inbounds %struct.Segment, ptr %8, i32 0, i32 0
  %113 = load i64, ptr %112, align 8, !tbaa !11
  %114 = sub nsw i64 %111, %113
  %115 = srem i64 %114, 1000000007
  %116 = load i32, ptr %7, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [200001 x i32], ptr @a, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = mul nsw i64 %115, %120
  %122 = sub nsw i64 %109, %121
  %123 = srem i64 %122, 1000000007
  %124 = trunc i64 %123 to i32
  store i32 %124, ptr %9, align 4, !tbaa !5
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = icmp slt i32 %125, 0
  br i1 %126, label %127, label %130

127:                                              ; preds = %60
  %128 = load i32, ptr %9, align 4, !tbaa !5
  %129 = add nsw i32 %128, 1000000007
  br label %132

130:                                              ; preds = %60
  %131 = load i32, ptr %9, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %130, %127
  %133 = phi i32 [ %129, %127 ], [ %131, %130 ]
  %134 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %133)
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  br label %135

135:                                              ; preds = %132, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %32, !llvm.loop !15

136:                                              ; preds = %32
  ret i32 0
}

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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 = !{!12, !13, i64 0}
!12 = !{!"_ZTS7Segment", !13, i64 0, !6, i64 8}
!13 = !{!"long long", !7, i64 0}
!14 = !{!12, !6, i64 8}
!15 = distinct !{!15, !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
@a = external dso_local global [200001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #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.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_Z7seg_queiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n, ptr noundef nonnull @m)
  %4 = load i32, ptr @n, align 4, !tbaa !5
  %.not23 = icmp slt i32 %4, 1
  br i1 %.not23, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %0
  %.lcssa = phi i32 [ %4, %0 ], [ %12, %.lr.ph ]
  tail call void @_Z9seg_buildii(i32 noundef 1, i32 noundef %.lcssa)
  %5 = load i32, ptr @m, align 4, !tbaa !5
  %6 = add nsw i32 %5, -1
  store i32 %6, ptr @m, align 4, !tbaa !5
  %.not2025 = icmp eq i32 %5, 0
  br i1 %.not2025, label %._crit_edge28, label %.lr.ph27

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %7 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %7)
  %9 = load i32, ptr %7, align 4, !tbaa !5
  %10 = trunc nuw nsw i64 %indvars.iv to i32
  %11 = sub nsw i32 %9, %10
  store i32 %11, ptr %7, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %.not.not = icmp slt i64 %indvars.iv, %13
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.lr.ph27:                                         ; preds = %._crit_edge, %64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %1, ptr noundef nonnull %2)
  %15 = load i32, ptr %1, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 0
  br i1 %16, label %17, label %21

17:                                               ; preds = %.lr.ph27
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = sub nsw i32 0, %15
  %20 = load i32, ptr %2, align 4, !tbaa !5
  call void @_Z7seg_updiiii(i32 noundef 1, i32 noundef %18, i32 noundef %19, i32 noundef %20)
  br label %64

21:                                               ; preds = %.lr.ph27
  %22 = icmp ugt i32 %15, 1
  br i1 %22, label %23, label %29

23:                                               ; preds = %21
  %24 = load i32, ptr @n, align 4, !tbaa !5
  %25 = add nsw i32 %15, -1
  %26 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %24, i32 noundef %25)
  %27 = extractvalue { i64, i32 } %26, 0
  %28 = extractvalue { i64, i32 } %26, 1
  br label %29

29:                                               ; preds = %21, %23
  %.sroa.011.0 = phi i64 [ %27, %23 ], [ 0, %21 ]
  %.sroa.6.0 = phi i32 [ %28, %23 ], [ 0, %21 ]
  %30 = load i32, ptr @n, align 4, !tbaa !5
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %30, i32 noundef %31)
  %33 = extractvalue { i64, i32 } %32, 0
  %34 = extractvalue { i64, i32 } %32, 1
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = add i64 %.sroa.011.0, 1
  %37 = add i64 %36, %33
  %38 = ashr i64 %37, 1
  %39 = call noundef i32 @_Z8seg_findiix(i32 noundef 1, i32 noundef %35, i64 noundef %38)
  %40 = load i32, ptr @n, align 4, !tbaa !5
  %41 = call { i64, i32 } @_Z7seg_queiii(i32 noundef 1, i32 noundef %40, i32 noundef %39)
  %42 = extractvalue { i64, i32 } %41, 0
  %43 = extractvalue { i64, i32 } %41, 1
  %44 = sub nsw i64 %42, %.sroa.011.0
  %45 = srem i64 %44, 1000000007
  %46 = sext i32 %39 to i64
  %47 = getelementptr inbounds [200001 x i32], ptr @a, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = sub nsw i32 %43, %.sroa.6.0
  %51 = sext i32 %50 to i64
  %52 = sub nsw i32 %34, %43
  %53 = sext i32 %52 to i64
  %54 = sub nsw i64 %33, %42
  %55 = srem i64 %54, 1000000007
  %reass.add = sub nsw i64 %45, %55
  %reass.mul = mul nsw i64 %reass.add, %49
  %56 = sub nsw i64 %53, %51
  %57 = add nsw i64 %56, %reass.mul
  %58 = srem i64 %57, 1000000007
  %59 = trunc nsw i64 %58 to i32
  %60 = icmp slt i64 %58, 0
  %61 = add nsw i32 %59, 1000000007
  %62 = select i1 %60, i32 %61, i32 %59
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %62)
  br label %64

64:                                               ; preds = %29, %17
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %65 = load i32, ptr @m, align 4, !tbaa !5
  %66 = add nsw i32 %65, -1
  store i32 %66, ptr @m, align 4, !tbaa !5
  %.not20 = icmp eq i32 %65, 0
  br i1 %.not20, label %._crit_edge28, label %.lr.ph27, !llvm.loop !11

._crit_edge28:                                    ; preds = %64, %._crit_edge
  ret i32 0
}

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #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: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass