; LLVM IR from tangjz/acm-icpc :: self_training/2015-04-30 (G)

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

@q = external dso_local global i32, align 4
@top1 = external dso_local global i32, align 4
@stack1 = external dso_local global [1000010 x i32], align 16
@top2 = external dso_local global i32, align 4
@stack2 = external dso_local global [1000010 x i32], align 16
@s = external dso_local global [1000010 x i32], align 16
@f = external dso_local global [1000010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z3maxii(i32 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 [2 x i8], align 1
  %4 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  store i32 -2333, ptr @f, align 16, !tbaa !5
  br label %5

5:                                                ; preds = %143, %0
  %6 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @q)
  %7 = icmp eq i32 %6, 1
  br i1 %7, label %8, label %144

8:                                                ; preds = %5
  store i32 0, ptr @top2, align 4, !tbaa !5
  store i32 0, ptr @top1, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %142, %140, %8
  %10 = load i32, ptr @q, align 4, !tbaa !5
  %11 = add nsw i32 %10, -1
  store i32 %11, ptr @q, align 4, !tbaa !5
  %12 = icmp ne i32 %10, 0
  br i1 %12, label %13, label %143

13:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr %3) #4
  %14 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %15 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %14)
  %16 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %17 = load i8, ptr %16, align 1, !tbaa !9
  %18 = sext i8 %17 to i32
  %19 = icmp eq i32 %18, 73
  br i1 %19, label %20, label %53

20:                                               ; preds = %13
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = load i32, ptr @top1, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr @top1, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %25
  store i32 %22, ptr %26, align 4, !tbaa !5
  %27 = load i32, ptr @top1, align 4, !tbaa !5
  %28 = sub nsw i32 %27, 1
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = load i32, ptr @top1, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = add nsw i32 %31, %35
  %37 = load i32, ptr @top1, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %38
  store i32 %36, ptr %39, align 4, !tbaa !5
  %40 = load i32, ptr @top1, align 4, !tbaa !5
  %41 = sub nsw i32 %40, 1
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = load i32, ptr @top1, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = call noundef i32 @_Z3maxii(i32 noundef %44, i32 noundef %48)
  %50 = load i32, ptr @top1, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %51
  store i32 %49, ptr %52, align 4, !tbaa !5
  br label %139

53:                                               ; preds = %13
  %54 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %55 = load i8, ptr %54, align 1, !tbaa !9
  %56 = sext i8 %55 to i32
  %57 = icmp eq i32 %56, 68
  br i1 %57, label %58, label %65

58:                                               ; preds = %53
  %59 = load i32, ptr @top1, align 4, !tbaa !5
  %60 = icmp ne i32 %59, 0
  br i1 %60, label %62, label %61

61:                                               ; preds = %58
  store i32 4, ptr %4, align 4
  br label %140, !llvm.loop !10

62:                                               ; preds = %58
  %63 = load i32, ptr @top1, align 4, !tbaa !5
  %64 = add nsw i32 %63, -1
  store i32 %64, ptr @top1, align 4, !tbaa !5
  br label %138

65:                                               ; preds = %53
  %66 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %67 = load i8, ptr %66, align 1, !tbaa !9
  %68 = sext i8 %67 to i32
  %69 = icmp eq i32 %68, 76
  br i1 %69, label %70, label %84

70:                                               ; preds = %65
  %71 = load i32, ptr @top1, align 4, !tbaa !5
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 4, ptr %4, align 4
  br label %140, !llvm.loop !10

74:                                               ; preds = %70
  %75 = load i32, ptr @top1, align 4, !tbaa !5
  %76 = add nsw i32 %75, -1
  store i32 %76, ptr @top1, align 4, !tbaa !5
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = load i32, ptr @top2, align 4, !tbaa !5
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr @top2, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [1000010 x i32], ptr @stack2, i64 0, i64 %82
  store i32 %79, ptr %83, align 4, !tbaa !5
  br label %137

84:                                               ; preds = %65
  %85 = getelementptr inbounds [2 x i8], ptr %3, i64 0, i64 0
  %86 = load i8, ptr %85, align 1, !tbaa !9
  %87 = sext i8 %86 to i32
  %88 = icmp eq i32 %87, 82
  br i1 %88, label %89, label %129

89:                                               ; preds = %84
  %90 = load i32, ptr @top2, align 4, !tbaa !5
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %93, label %92

92:                                               ; preds = %89
  store i32 4, ptr %4, align 4
  br label %140, !llvm.loop !10

93:                                               ; preds = %89
  %94 = load i32, ptr @top2, align 4, !tbaa !5
  %95 = add nsw i32 %94, -1
  store i32 %95, ptr @top2, align 4, !tbaa !5
  %96 = sext i32 %94 to i64
  %97 = getelementptr inbounds [1000010 x i32], ptr @stack2, i64 0, i64 %96
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = load i32, ptr @top1, align 4, !tbaa !5
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr @top1, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %101
  store i32 %98, ptr %102, align 4, !tbaa !5
  %103 = load i32, ptr @top1, align 4, !tbaa !5
  %104 = sub nsw i32 %103, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !5
  %108 = load i32, ptr @top1, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %109
  %111 = load i32, ptr %110, align 4, !tbaa !5
  %112 = add nsw i32 %107, %111
  %113 = load i32, ptr @top1, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %114
  store i32 %112, ptr %115, align 4, !tbaa !5
  %116 = load i32, ptr @top1, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %118
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = load i32, ptr @top1, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = call noundef i32 @_Z3maxii(i32 noundef %120, i32 noundef %124)
  %126 = load i32, ptr @top1, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %127
  store i32 %125, ptr %128, align 4, !tbaa !5
  br label %136

129:                                              ; preds = %84
  %130 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2)
  %131 = load i32, ptr %2, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %134)
  br label %136

136:                                              ; preds = %129, %93
  br label %137

137:                                              ; preds = %136, %74
  br label %138

138:                                              ; preds = %137, %62
  br label %139

139:                                              ; preds = %138, %20
  store i32 0, ptr %4, align 4
  br label %140

140:                                              ; preds = %139, %92, %73, %61
  call void @llvm.lifetime.end.p0(i64 2, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %141 = load i32, ptr %4, align 4
  switch i32 %141, label %145 [
    i32 0, label %142
    i32 4, label %9
  ]

142:                                              ; preds = %140
  br label %9, !llvm.loop !10

143:                                              ; preds = %9
  br label %5, !llvm.loop !12

144:                                              ; preds = %5
  ret i32 0

145:                                              ; preds = %140
  unreachable
}

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

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

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

attributes #0 = { mustprogress 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 = { 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 = { 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}


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

@q = external dso_local global i32, align 4
@top1 = external dso_local local_unnamed_addr global i32, align 4
@stack1 = external dso_local local_unnamed_addr global [1000010 x i32], align 16
@top2 = external dso_local local_unnamed_addr global i32, align 4
@stack2 = external dso_local local_unnamed_addr global [1000010 x i32], align 16
@s = external dso_local local_unnamed_addr global [1000010 x i32], align 16
@f = external dso_local local_unnamed_addr global [1000010 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1

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

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i32, align 4
  %2 = alloca [2 x i8], align 1
  store i32 -2333, ptr @f, align 16, !tbaa !5
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @q)
  %4 = icmp eq i32 %3, 1
  br i1 %4, label %.lr.ph8, label %._crit_edge

.loopexit:                                        ; preds = %73, %.lr.ph8
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @q)
  %6 = icmp eq i32 %5, 1
  br i1 %6, label %.lr.ph8, label %._crit_edge, !llvm.loop !9

.lr.ph8:                                          ; preds = %0, %.loopexit
  store i32 0, ptr @top2, align 4, !tbaa !5
  store i32 0, ptr @top1, align 4, !tbaa !5
  %7 = load i32, ptr @q, align 4, !tbaa !5
  %8 = add nsw i32 %7, -1
  store i32 %8, ptr @q, align 4, !tbaa !5
  %.not7 = icmp eq i32 %7, 0
  br i1 %.not7, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph8, %73
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %2) #4
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %2)
  %10 = load i8, ptr %2, align 1, !tbaa !11
  switch i8 %10, label %66 [
    i8 73, label %11
    i8 68, label %29
    i8 76, label %33
    i8 82, label %44
  ]

11:                                               ; preds = %.lr.ph
  %12 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = load i32, ptr @top1, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @top1, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %16
  store i32 %13, ptr %17, align 4, !tbaa !5
  %18 = sext i32 %14 to i64
  %19 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = add nsw i32 %20, %13
  %22 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %16
  store i32 %21, ptr %22, align 4, !tbaa !5
  %23 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %18
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = call noundef i32 @_Z3maxii(i32 noundef %24, i32 noundef %21)
  %26 = load i32, ptr @top1, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %27
  store i32 %25, ptr %28, align 4, !tbaa !5
  br label %73

29:                                               ; preds = %.lr.ph
  %30 = load i32, ptr @top1, align 4, !tbaa !5
  %.not6 = icmp eq i32 %30, 0
  br i1 %.not6, label %73, label %31, !llvm.loop !12

31:                                               ; preds = %29
  %32 = add nsw i32 %30, -1
  store i32 %32, ptr @top1, align 4, !tbaa !5
  br label %73

33:                                               ; preds = %.lr.ph
  %34 = load i32, ptr @top1, align 4, !tbaa !5
  %.not5 = icmp eq i32 %34, 0
  br i1 %.not5, label %73, label %35, !llvm.loop !12

35:                                               ; preds = %33
  %36 = add nsw i32 %34, -1
  store i32 %36, ptr @top1, align 4, !tbaa !5
  %37 = sext i32 %34 to i64
  %38 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = load i32, ptr @top2, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr @top2, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [1000010 x i32], ptr @stack2, i64 0, i64 %42
  store i32 %39, ptr %43, align 4, !tbaa !5
  br label %73

44:                                               ; preds = %.lr.ph
  %45 = load i32, ptr @top2, align 4, !tbaa !5
  %.not4 = icmp eq i32 %45, 0
  br i1 %.not4, label %73, label %46, !llvm.loop !12

46:                                               ; preds = %44
  %47 = add nsw i32 %45, -1
  store i32 %47, ptr @top2, align 4, !tbaa !5
  %48 = sext i32 %45 to i64
  %49 = getelementptr inbounds [1000010 x i32], ptr @stack2, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !5
  %51 = load i32, ptr @top1, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr @top1, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1000010 x i32], ptr @stack1, i64 0, i64 %53
  store i32 %50, ptr %54, align 4, !tbaa !5
  %55 = sext i32 %51 to i64
  %56 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = add nsw i32 %57, %50
  %59 = getelementptr inbounds [1000010 x i32], ptr @s, i64 0, i64 %53
  store i32 %58, ptr %59, align 4, !tbaa !5
  %60 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %55
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = call noundef i32 @_Z3maxii(i32 noundef %61, i32 noundef %58)
  %63 = load i32, ptr @top1, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %64
  store i32 %62, ptr %65, align 4, !tbaa !5
  br label %73

66:                                               ; preds = %.lr.ph
  %67 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %68 = load i32, ptr %1, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [1000010 x i32], ptr @f, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %71)
  br label %73

73:                                               ; preds = %11, %35, %66, %46, %31, %44, %33, %29
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  %74 = load i32, ptr @q, align 4, !tbaa !5
  %75 = add nsw i32 %74, -1
  store i32 %75, ptr @q, align 4, !tbaa !5
  %.not = icmp eq i32 %74, 0
  br i1 %.not, label %.loopexit, label %.lr.ph

._crit_edge:                                      ; preds = %.loopexit, %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: nofree nounwind
declare noundef i32 @printf(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) #3

attributes #0 = { mustprogress 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 = { mustprogress 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 #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 = { 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass