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

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

@ans = external dso_local global i32, align 4
@mod = external dso_local global i32, align 4
@n = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@n2 = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [8 x i32], align 16
@t = external dso_local global i32, align 4
@pr = external dso_local global i32, align 4
@tot = external dso_local global i32, align 4
@p = external dso_local global [5 x i32], align 16
@e = external dso_local global [5 x i32], align 16
@pp = external dso_local global [5 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %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
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t, ptr noundef @pr)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 2, ptr %2, align 4, !tbaa !5
  br label %7

7:                                                ; preds = %51, %0
  %8 = load i32, ptr %2, align 4, !tbaa !5
  %9 = icmp slt i32 %8, 10202
  br i1 %9, label %11, label %10

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

11:                                               ; preds = %7
  %12 = load i32, ptr @pr, align 4, !tbaa !5
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = srem i32 %12, %13
  %15 = icmp ne i32 %14, 0
  br i1 %15, label %16, label %17

16:                                               ; preds = %11
  br label %51

17:                                               ; preds = %11
  %18 = load i32, ptr @tot, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [5 x i32], ptr @e, i64 0, i64 %19
  store i32 0, ptr %20, align 4, !tbaa !5
  %21 = load i32, ptr @tot, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [5 x i32], ptr @pp, i64 0, i64 %22
  store i32 1, ptr %23, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %30, %17
  %25 = load i32, ptr @pr, align 4, !tbaa !5
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = srem i32 %25, %26
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %45

29:                                               ; preds = %24
  br label %30

30:                                               ; preds = %29
  %31 = load i32, ptr @tot, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [5 x i32], ptr @e, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %33, align 4, !tbaa !5
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = load i32, ptr @tot, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [5 x i32], ptr @pp, i64 0, i64 %38
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = mul nsw i32 %40, %36
  store i32 %41, ptr %39, align 4, !tbaa !5
  %42 = load i32, ptr %2, align 4, !tbaa !5
  %43 = load i32, ptr @pr, align 4, !tbaa !5
  %44 = sdiv i32 %43, %42
  store i32 %44, ptr @pr, align 4, !tbaa !5
  br label %24, !llvm.loop !9

45:                                               ; preds = %24
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = load i32, ptr @tot, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr @tot, align 4, !tbaa !5
  %49 = sext i32 %47 to i64
  %50 = getelementptr inbounds [5 x i32], ptr @p, i64 0, i64 %49
  store i32 %46, ptr %50, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %45, %16
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %2, align 4, !tbaa !5
  br label %7, !llvm.loop !11

54:                                               ; preds = %10
  br label %55

55:                                               ; preds = %113, %89, %54
  %56 = load i32, ptr @t, align 4, !tbaa !5
  %57 = add nsw i32 %56, -1
  store i32 %57, ptr @t, align 4, !tbaa !5
  %58 = icmp ne i32 %56, 0
  br i1 %58, label %59, label %116

59:                                               ; preds = %55
  %60 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef @n, ptr noundef @n1, ptr noundef @n2, ptr noundef @m)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %71, %59
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = load i32, ptr @n1, align 4, !tbaa !5
  %64 = icmp slt i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %74

66:                                               ; preds = %61
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds i32, ptr @a, i64 %68
  %70 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %69)
  br label %71

71:                                               ; preds = %66
  %72 = load i32, ptr %3, align 4, !tbaa !5
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %3, align 4, !tbaa !5
  br label %61, !llvm.loop !12

74:                                               ; preds = %65
  br label %75

75:                                               ; preds = %79, %74
  %76 = load i32, ptr @n2, align 4, !tbaa !5
  %77 = add nsw i32 %76, -1
  store i32 %77, ptr @n2, align 4, !tbaa !5
  %78 = icmp ne i32 %76, 0
  br i1 %78, label %79, label %85

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %80 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %4)
  %81 = load i32, ptr %4, align 4, !tbaa !5
  %82 = sub nsw i32 %81, 1
  %83 = load i32, ptr @m, align 4, !tbaa !5
  %84 = sub nsw i32 %83, %82
  store i32 %84, ptr @m, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %75, !llvm.loop !13

85:                                               ; preds = %75
  %86 = load i32, ptr @m, align 4, !tbaa !5
  %87 = load i32, ptr @n, align 4, !tbaa !5
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %89, label %91

89:                                               ; preds = %85
  %90 = call i32 @puts(ptr noundef @.str.3)
  br label %55, !llvm.loop !14

91:                                               ; preds = %85
  store i32 0, ptr @ans, align 4, !tbaa !5
  store i32 1, ptr @mod, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %92

92:                                               ; preds = %110, %91
  %93 = load i32, ptr %5, align 4, !tbaa !5
  %94 = load i32, ptr @tot, align 4, !tbaa !5
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %113

97:                                               ; preds = %92
  %98 = load i32, ptr %5, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [5 x i32], ptr @p, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = load i32, ptr %5, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [5 x i32], ptr @e, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = load i32, ptr %5, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [5 x i32], ptr @pp, i64 0, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !5
  call void @_Z5solveiii(i32 noundef %101, i32 noundef %105, i32 noundef %109)
  br label %110

110:                                              ; preds = %97
  %111 = load i32, ptr %5, align 4, !tbaa !5
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %5, align 4, !tbaa !5
  br label %92, !llvm.loop !15

113:                                              ; preds = %96
  %114 = load i32, ptr @ans, align 4, !tbaa !5
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %114)
  br label %55, !llvm.loop !14

116:                                              ; preds = %55
  ret i32 0
}

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

declare i32 @puts(ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!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"

@ans = external dso_local local_unnamed_addr global i32, align 4
@mod = external dso_local local_unnamed_addr global i32, align 4
@n = external dso_local global i32, align 4
@n1 = external dso_local global i32, align 4
@n2 = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [8 x i32], align 16
@t = external dso_local global i32, align 4
@pr = external dso_local global i32, align 4
@tot = external dso_local local_unnamed_addr global i32, align 4
@p = external dso_local local_unnamed_addr global [5 x i32], align 16
@e = external dso_local local_unnamed_addr global [5 x i32], align 16
@pp = external dso_local local_unnamed_addr global [5 x i32], align 16
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t, ptr noundef nonnull @pr)
  %pr.promoted24 = load i32, ptr @pr, align 4, !tbaa !5
  %tot.promoted = load i32, ptr @tot, align 4, !tbaa !5
  br label %5

.preheader20:                                     ; preds = %23
  %3 = load i32, ptr @t, align 4, !tbaa !5
  %4 = add nsw i32 %3, -1
  store i32 %4, ptr @t, align 4, !tbaa !5
  %.not40 = icmp eq i32 %3, 0
  br i1 %.not40, label %._crit_edge42, label %.lr.ph41

5:                                                ; preds = %0, %23
  %.01629 = phi i32 [ 2, %0 ], [ %25, %23 ]
  %.lcssa232728 = phi i32 [ %pr.promoted24, %0 ], [ %.lcssa2325, %23 ]
  %6 = phi i32 [ %tot.promoted, %0 ], [ %24, %23 ]
  %7 = srem i32 %.lcssa232728, %.01629
  %.not18 = icmp eq i32 %7, 0
  br i1 %.not18, label %.lr.ph, label %23

.lr.ph:                                           ; preds = %5
  %8 = sext i32 %6 to i64
  %9 = getelementptr inbounds [5 x i32], ptr @e, i64 0, i64 %8
  %10 = getelementptr inbounds [5 x i32], ptr @pp, i64 0, i64 %8
  br label %11

11:                                               ; preds = %.lr.ph, %11
  %12 = phi i32 [ 1, %.lr.ph ], [ %16, %11 ]
  %13 = phi i32 [ 0, %.lr.ph ], [ %15, %11 ]
  %14 = phi i32 [ %.lcssa232728, %.lr.ph ], [ %17, %11 ]
  %15 = add nuw nsw i32 %13, 1
  %16 = mul nuw nsw i32 %12, %.01629
  %17 = sdiv i32 %14, %.01629
  %18 = srem i32 %17, %.01629
  %19 = icmp eq i32 %18, 0
  br i1 %19, label %11, label %20, !llvm.loop !9

20:                                               ; preds = %11
  store i32 %15, ptr %9, align 4, !tbaa !5
  store i32 %16, ptr %10, align 4, !tbaa !5
  store i32 %17, ptr @pr, align 4, !tbaa !5
  %21 = add nsw i32 %6, 1
  store i32 %21, ptr @tot, align 4, !tbaa !5
  %22 = getelementptr inbounds [5 x i32], ptr @p, i64 0, i64 %8
  store i32 %.01629, ptr %22, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %5, %20
  %24 = phi i32 [ %6, %5 ], [ %21, %20 ]
  %.lcssa2325 = phi i32 [ %.lcssa232728, %5 ], [ %17, %20 ]
  %25 = add nuw nsw i32 %.01629, 1
  %exitcond.not = icmp eq i32 %25, 10202
  br i1 %exitcond.not, label %.preheader20, label %5, !llvm.loop !11

.lr.ph41:                                         ; preds = %.preheader20, %.backedge
  %26 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @n, ptr noundef nonnull @n1, ptr noundef nonnull @n2, ptr noundef nonnull @m)
  %27 = load i32, ptr @n1, align 4, !tbaa !5
  %28 = icmp sgt i32 %27, 0
  br i1 %28, label %.lr.ph32, label %.preheader

.preheader:                                       ; preds = %.lr.ph32, %.lr.ph41
  %29 = load i32, ptr @n2, align 4, !tbaa !5
  %30 = add nsw i32 %29, -1
  store i32 %30, ptr @n2, align 4, !tbaa !5
  %.not1733 = icmp eq i32 %29, 0
  br i1 %.not1733, label %.preheader.._crit_edge35_crit_edge, label %.lr.ph34

.preheader.._crit_edge35_crit_edge:               ; preds = %.preheader
  %.pre = load i32, ptr @m, align 4, !tbaa !5
  br label %._crit_edge35

.lr.ph32:                                         ; preds = %.lr.ph41, %.lr.ph32
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph32 ], [ 0, %.lr.ph41 ]
  %31 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %32 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %31)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %33 = load i32, ptr @n1, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = icmp slt i64 %indvars.iv.next, %34
  br i1 %35, label %.lr.ph32, label %.preheader, !llvm.loop !12

.lr.ph34:                                         ; preds = %.preheader, %.lr.ph34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  %36 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %1)
  %37 = load i32, ptr %1, align 4, !tbaa !5
  %38 = load i32, ptr @m, align 4, !tbaa !5
  %reass.sub = sub i32 %38, %37
  %39 = add i32 %reass.sub, 1
  store i32 %39, ptr @m, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %40 = load i32, ptr @n2, align 4, !tbaa !5
  %41 = add nsw i32 %40, -1
  store i32 %41, ptr @n2, align 4, !tbaa !5
  %.not17 = icmp eq i32 %40, 0
  br i1 %.not17, label %._crit_edge35, label %.lr.ph34, !llvm.loop !13

._crit_edge35:                                    ; preds = %.lr.ph34, %.preheader.._crit_edge35_crit_edge
  %42 = phi i32 [ %.pre, %.preheader.._crit_edge35_crit_edge ], [ %39, %.lr.ph34 ]
  %43 = load i32, ptr @n, align 4, !tbaa !5
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %45, label %49

45:                                               ; preds = %._crit_edge35
  %46 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %.backedge

.backedge:                                        ; preds = %45, %._crit_edge39
  %47 = load i32, ptr @t, align 4, !tbaa !5
  %48 = add nsw i32 %47, -1
  store i32 %48, ptr @t, align 4, !tbaa !5
  %.not = icmp eq i32 %47, 0
  br i1 %.not, label %._crit_edge42, label %.lr.ph41, !llvm.loop !14

49:                                               ; preds = %._crit_edge35
  store i32 0, ptr @ans, align 4, !tbaa !5
  store i32 1, ptr @mod, align 4, !tbaa !5
  %50 = load i32, ptr @tot, align 4, !tbaa !5
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %.lr.ph38, label %._crit_edge39

._crit_edge39.loopexit:                           ; preds = %.lr.ph38
  %.pre50 = load i32, ptr @ans, align 4, !tbaa !5
  br label %._crit_edge39

._crit_edge39:                                    ; preds = %._crit_edge39.loopexit, %49
  %52 = phi i32 [ %.pre50, %._crit_edge39.loopexit ], [ 0, %49 ]
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %52)
  br label %.backedge

.lr.ph38:                                         ; preds = %49, %.lr.ph38
  %indvars.iv46 = phi i64 [ %indvars.iv.next47, %.lr.ph38 ], [ 0, %49 ]
  %54 = getelementptr inbounds [5 x i32], ptr @p, i64 0, i64 %indvars.iv46
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = getelementptr inbounds [5 x i32], ptr @e, i64 0, i64 %indvars.iv46
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = getelementptr inbounds [5 x i32], ptr @pp, i64 0, i64 %indvars.iv46
  %59 = load i32, ptr %58, align 4, !tbaa !5
  call void @_Z5solveiii(i32 noundef %55, i32 noundef %57, i32 noundef %59)
  %indvars.iv.next47 = add nuw nsw i64 %indvars.iv46, 1
  %60 = load i32, ptr @tot, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = icmp slt i64 %indvars.iv.next47, %61
  br i1 %62, label %.lr.ph38, label %._crit_edge39.loopexit, !llvm.loop !15

._crit_edge42:                                    ; preds = %.backedge, %.preheader20
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


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