; LLVM IR from tangjz/acm-icpc :: codeforces/complete (1091E)

; 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.std::greater" = type { i8 }

@n = external dso_local global i32, align 4
@a = external dso_local global [500001 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 [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

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

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

12:                                               ; preds = %33, %0
  %13 = load i32, ptr %3, align 4, !tbaa !9
  %14 = load i32, ptr @n, align 4, !tbaa !9
  %15 = icmp slt i32 %13, %14
  br i1 %15, label %17, label %16

16:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  br label %36

17:                                               ; preds = %12
  %18 = load i32, ptr %3, align 4, !tbaa !9
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds i32, ptr @a, i64 %19
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %20)
  %22 = load i32, ptr %3, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [500001 x i32], ptr @a, i64 0, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !9
  %26 = and i32 %25, 1
  %27 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %28 = trunc i8 %27 to i1
  %29 = zext i1 %28 to i32
  %30 = xor i32 %29, %26
  %31 = icmp ne i32 %30, 0
  %32 = zext i1 %31 to i8
  store i8 %32, ptr %2, align 1, !tbaa !5
  br label %33

33:                                               ; preds = %17
  %34 = load i32, ptr %3, align 4, !tbaa !9
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %3, align 4, !tbaa !9
  br label %12, !llvm.loop !13

36:                                               ; preds = %16
  %37 = load i32, ptr @n, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds i32, ptr @a, i64 %38
  call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef @a, ptr noundef %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %40 = load i32, ptr @n, align 4, !tbaa !9
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %6, align 4, !tbaa !9
  %42 = load i32, ptr %5, align 4, !tbaa !9
  %43 = and i32 %42, 1
  %44 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %45 = trunc i8 %44 to i1
  %46 = zext i1 %45 to i32
  %47 = icmp ne i32 %43, %46
  %48 = zext i1 %47 to i32
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = add nsw i32 %49, %48
  store i32 %50, ptr %5, align 4, !tbaa !9
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = and i32 %51, 1
  %53 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %54 = trunc i8 %53 to i1
  %55 = zext i1 %54 to i32
  %56 = icmp ne i32 %52, %55
  %57 = zext i1 %56 to i32
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = add nsw i32 %58, %57
  store i32 %59, ptr %6, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %80, %36
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %64, label %81

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %65 = load i32, ptr %5, align 4, !tbaa !9
  %66 = load i32, ptr %6, align 4, !tbaa !9
  %67 = load i32, ptr %5, align 4, !tbaa !9
  %68 = sub nsw i32 %66, %67
  %69 = sdiv i32 %68, 4
  %70 = mul nsw i32 %69, 2
  %71 = add nsw i32 %65, %70
  store i32 %71, ptr %7, align 4, !tbaa !9
  %72 = load i32, ptr %7, align 4, !tbaa !9
  %73 = call noundef i32 @_Z5checki(i32 noundef %72)
  %74 = icmp slt i32 %73, 0
  br i1 %74, label %75, label %78

75:                                               ; preds = %64
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = add nsw i32 %76, 2
  store i32 %77, ptr %5, align 4, !tbaa !9
  br label %80

78:                                               ; preds = %64
  %79 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %79, ptr %6, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %78, %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %60, !llvm.loop !15

81:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %82 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %82, ptr %8, align 4, !tbaa !9
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = sub nsw i32 %83, 2
  store i32 %84, ptr %5, align 4, !tbaa !9
  %85 = load i32, ptr @n, align 4, !tbaa !9
  store i32 %85, ptr %6, align 4, !tbaa !9
  %86 = load i32, ptr %6, align 4, !tbaa !9
  %87 = and i32 %86, 1
  %88 = load i8, ptr %2, align 1, !tbaa !5, !range !11, !noundef !12
  %89 = trunc i8 %88 to i1
  %90 = zext i1 %89 to i32
  %91 = icmp ne i32 %87, %90
  %92 = zext i1 %91 to i32
  %93 = load i32, ptr %6, align 4, !tbaa !9
  %94 = sub nsw i32 %93, %92
  store i32 %94, ptr %6, align 4, !tbaa !9
  br label %95

95:                                               ; preds = %116, %81
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = icmp slt i32 %96, %97
  br i1 %98, label %99, label %117

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %100 = load i32, ptr %5, align 4, !tbaa !9
  %101 = load i32, ptr %6, align 4, !tbaa !9
  %102 = load i32, ptr %5, align 4, !tbaa !9
  %103 = sub nsw i32 %101, %102
  %104 = add nsw i32 %103, 2
  %105 = sdiv i32 %104, 4
  %106 = mul nsw i32 %105, 2
  %107 = add nsw i32 %100, %106
  store i32 %107, ptr %9, align 4, !tbaa !9
  %108 = load i32, ptr %9, align 4, !tbaa !9
  %109 = call noundef i32 @_Z5checki(i32 noundef %108)
  %110 = icmp sgt i32 %109, 0
  br i1 %110, label %111, label %114

111:                                              ; preds = %99
  %112 = load i32, ptr %9, align 4, !tbaa !9
  %113 = sub nsw i32 %112, 2
  store i32 %113, ptr %6, align 4, !tbaa !9
  br label %116

114:                                              ; preds = %99
  %115 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %115, ptr %5, align 4, !tbaa !9
  br label %116

116:                                              ; preds = %114, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %95, !llvm.loop !16

117:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %118 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %118, ptr %10, align 4, !tbaa !9
  %119 = load i32, ptr %8, align 4, !tbaa !9
  %120 = icmp sle i32 0, %119
  br i1 %120, label %121, label %148

121:                                              ; preds = %117
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = icmp sle i32 %122, %123
  br i1 %124, label %125, label %148

125:                                              ; preds = %121
  %126 = load i32, ptr %10, align 4, !tbaa !9
  %127 = load i32, ptr @n, align 4, !tbaa !9
  %128 = icmp sle i32 %126, %127
  br i1 %128, label %129, label %148

129:                                              ; preds = %125
  br label %130

130:                                              ; preds = %144, %129
  %131 = load i32, ptr %8, align 4, !tbaa !9
  %132 = load i32, ptr %10, align 4, !tbaa !9
  %133 = icmp sle i32 %131, %132
  br i1 %133, label %134, label %147

134:                                              ; preds = %130
  %135 = load i32, ptr %8, align 4, !tbaa !9
  %136 = load i32, ptr %8, align 4, !tbaa !9
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = icmp eq i32 %136, %137
  %139 = zext i1 %138 to i64
  %140 = getelementptr inbounds [3 x i8], ptr @.str.2, i64 0, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !17
  %142 = sext i8 %141 to i32
  %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %135, i32 noundef %142)
  br label %144

144:                                              ; preds = %134
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = add nsw i32 %145, 2
  store i32 %146, ptr %8, align 4, !tbaa !9
  br label %130, !llvm.loop !18

147:                                              ; preds = %130
  br label %150

148:                                              ; preds = %125, %121, %117
  %149 = call i32 @puts(ptr noundef @.str.3)
  br label %150

150:                                              ; preds = %148, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %2) #5
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef, ptr noundef) #4

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

declare i32 @puts(ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = !{!7, !7, i64 0}
!18 = distinct !{!18, !14}


; 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
@a = external dso_local global [500001 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 [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre73 = sext i32 %2 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre73, %.._crit_edge_crit_edge ], [ %19, %.lr.ph ]
  %.0.lcssa = phi i1 [ false, %.._crit_edge_crit_edge ], [ %17, %.lr.ph ]
  %4 = getelementptr inbounds i32, ptr @a, i64 %.pre-phi
  tail call void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef nonnull @a, ptr noundef nonnull %4)
  %5 = load i32, ptr @n, align 4
  %6 = add nsw i32 %5, 1
  %7 = zext i1 %.0.lcssa to i32
  %8 = trunc i32 %6 to i1
  %9 = xor i1 %.0.lcssa, %8
  %10 = zext i1 %9 to i32
  %11 = add nsw i32 %6, %10
  %12 = icmp sgt i32 %11, %7
  br i1 %12, label %.lr.ph60, label %._crit_edge61

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %.055 = phi i1 [ %17, %.lr.ph ], [ false, %0 ]
  %13 = getelementptr inbounds i32, ptr @a, i64 %indvars.iv
  %14 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %13)
  %15 = load i32, ptr %13, align 4, !tbaa !5
  %16 = trunc i32 %15 to i1
  %17 = xor i1 %.055, %16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = icmp slt i64 %indvars.iv.next, %19
  br i1 %20, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.lr.ph60:                                         ; preds = %._crit_edge, %.lr.ph60
  %.04558 = phi i32 [ %.1, %.lr.ph60 ], [ %7, %._crit_edge ]
  %.04657 = phi i32 [ %.147, %.lr.ph60 ], [ %11, %._crit_edge ]
  %21 = sub nsw i32 %.04657, %.04558
  %22 = sdiv i32 %21, 4
  %23 = shl nsw i32 %22, 1
  %24 = add nsw i32 %23, %.04558
  %25 = tail call noundef i32 @_Z5checki(i32 noundef %24)
  %26 = icmp slt i32 %25, 0
  %27 = add nsw i32 %24, 2
  %.147 = select i1 %26, i32 %.04657, i32 %24
  %.1 = select i1 %26, i32 %27, i32 %.04558
  %28 = icmp slt i32 %.1, %.147
  br i1 %28, label %.lr.ph60, label %._crit_edge61.loopexit, !llvm.loop !11

._crit_edge61.loopexit:                           ; preds = %.lr.ph60
  %.pre = load i32, ptr @n, align 4
  br label %._crit_edge61

._crit_edge61:                                    ; preds = %._crit_edge61.loopexit, %._crit_edge
  %29 = phi i32 [ %5, %._crit_edge ], [ %.pre, %._crit_edge61.loopexit ]
  %.045.lcssa = phi i32 [ %7, %._crit_edge ], [ %.1, %._crit_edge61.loopexit ]
  %30 = add nsw i32 %.045.lcssa, -2
  %31 = trunc i32 %29 to i1
  %32 = xor i1 %.0.lcssa, %31
  %.neg = sext i1 %32 to i32
  %33 = add i32 %29, %.neg
  %34 = icmp slt i32 %30, %33
  br i1 %34, label %.lr.ph66, label %._crit_edge67

.lr.ph66:                                         ; preds = %._crit_edge61, %.lr.ph66
  %.264 = phi i32 [ %.3, %.lr.ph66 ], [ %30, %._crit_edge61 ]
  %.24863 = phi i32 [ %.349, %.lr.ph66 ], [ %33, %._crit_edge61 ]
  %35 = add i32 %.24863, 2
  %36 = sub i32 %35, %.264
  %37 = sdiv i32 %36, 4
  %38 = shl nsw i32 %37, 1
  %39 = add nsw i32 %38, %.264
  %40 = tail call noundef i32 @_Z5checki(i32 noundef %39)
  %41 = icmp sgt i32 %40, 0
  %42 = add nsw i32 %39, -2
  %.349 = select i1 %41, i32 %42, i32 %.24863
  %.3 = select i1 %41, i32 %.264, i32 %39
  %43 = icmp slt i32 %.3, %.349
  br i1 %43, label %.lr.ph66, label %._crit_edge67.loopexit, !llvm.loop !12

._crit_edge67.loopexit:                           ; preds = %.lr.ph66
  %.pre72 = load i32, ptr @n, align 4
  br label %._crit_edge67

._crit_edge67:                                    ; preds = %._crit_edge67.loopexit, %._crit_edge61
  %44 = phi i32 [ %29, %._crit_edge61 ], [ %.pre72, %._crit_edge67.loopexit ]
  %.2.lcssa = phi i32 [ %30, %._crit_edge61 ], [ %.3, %._crit_edge67.loopexit ]
  %45 = icmp slt i32 %.045.lcssa, 0
  %.not = icmp sgt i32 %.045.lcssa, %.2.lcssa
  %or.cond = or i1 %45, %.not
  %.not51 = icmp sgt i32 %.2.lcssa, %44
  %or.cond53 = select i1 %or.cond, i1 true, i1 %.not51
  br i1 %or.cond53, label %53, label %.preheader

.preheader:                                       ; preds = %._crit_edge67, %.preheader
  %.04469 = phi i32 [ %52, %.preheader ], [ %.045.lcssa, %._crit_edge67 ]
  %46 = icmp eq i32 %.04469, %.2.lcssa
  %47 = zext i1 %46 to i64
  %48 = getelementptr inbounds [3 x i8], ptr @.str.2, i64 0, i64 %47
  %49 = load i8, ptr %48, align 1, !tbaa !13
  %50 = sext i8 %49 to i32
  %51 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %.04469, i32 noundef %50)
  %52 = add nuw nsw i32 %.04469, 2
  %.not52 = icmp sgt i32 %52, %.2.lcssa
  br i1 %.not52, label %.loopexit, label %.preheader, !llvm.loop !14

53:                                               ; preds = %._crit_edge67
  %54 = tail call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %.loopexit

.loopexit:                                        ; preds = %.preheader, %53
  ret i32 0
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiSt7greaterIiEEvT_S3_T0_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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 = { 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 = { 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" }

!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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !10}


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