; LLVM IR from tangjz/acm-icpc :: codechef/SNCK1A21/EQBEAUTY.ll (Z5solvev)

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

@_ZZ5solvevE1a = external hidden global [1000001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #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 i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  %18 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %29, %0
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %32

24:                                               ; preds = %19
  %25 = load i32, ptr %2, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %26
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %27)
  br label %29

29:                                               ; preds = %24
  %30 = load i32, ptr %2, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %2, align 4, !tbaa !5
  br label %19, !llvm.loop !9

32:                                               ; preds = %23
  %33 = load i32, ptr %1, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %34
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef @_ZZ5solvevE1a, ptr noundef %35)
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = icmp eq i32 %36, 2
  br i1 %37, label %38, label %40

38:                                               ; preds = %32
  %39 = call i32 @puts(ptr noundef @.str.2)
  store i32 1, ptr %3, align 4
  br label %202

40:                                               ; preds = %32
  %41 = load i32, ptr %1, align 4, !tbaa !5
  %42 = icmp eq i32 %41, 3
  br i1 %42, label %43, label %53

43:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %44 = load i32, ptr getelementptr inbounds ([1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 2), align 8, !tbaa !5
  %45 = load i32, ptr getelementptr inbounds ([1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 1), align 4, !tbaa !5
  %46 = sub nsw i32 %44, %45
  store i32 %46, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %47 = load i32, ptr getelementptr inbounds ([1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 1), align 4, !tbaa !5
  %48 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %49 = sub nsw i32 %47, %48
  store i32 %49, ptr %5, align 4, !tbaa !5
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %51)
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  store i32 1, ptr %3, align 4
  br label %202

53:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %54 = load i32, ptr %1, align 4, !tbaa !5
  %55 = sub nsw i32 %54, 1
  %56 = sdiv i32 %55, 2
  store i32 %56, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  %59 = sdiv i32 %58, 2
  store i32 %59, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store i64 0, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %93, %53
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = load i32, ptr %1, align 4, !tbaa !5
  %63 = icmp slt i32 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %96

65:                                               ; preds = %60
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = sub nsw i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = load i32, ptr %6, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sub nsw i32 %70, %74
  %76 = call i32 @llvm.abs.i32(i32 %75, i1 true)
  %77 = sext i32 %76 to i64
  %78 = load i64, ptr %8, align 8, !tbaa !11
  %79 = add nsw i64 %78, %77
  store i64 %79, ptr %8, align 8, !tbaa !11
  %80 = load i32, ptr %10, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = load i32, ptr %7, align 4, !tbaa !5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = sub nsw i32 %83, %87
  %89 = call i32 @llvm.abs.i32(i32 %88, i1 true)
  %90 = sext i32 %89 to i64
  %91 = load i64, ptr %9, align 8, !tbaa !11
  %92 = add nsw i64 %91, %90
  store i64 %92, ptr %9, align 8, !tbaa !11
  br label %93

93:                                               ; preds = %65
  %94 = load i32, ptr %10, align 4, !tbaa !5
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %10, align 4, !tbaa !5
  br label %60, !llvm.loop !13

96:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 2147483647, ptr %12, align 8, !tbaa !11
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %99 = load i64, ptr %98, align 8, !tbaa !11
  %100 = trunc i64 %99 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  store i32 %100, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 1, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %101 = load i32, ptr %1, align 4, !tbaa !5
  %102 = sub nsw i32 %101, 2
  store i32 %102, ptr %14, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %196, %96
  %104 = load i32, ptr %13, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  %106 = load i32, ptr %1, align 4, !tbaa !5
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %103
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %199

109:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %15, align 4, !tbaa !5
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %113 = load i32, ptr %112, align 4, !tbaa !5
  store i32 %113, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %114

114:                                              ; preds = %139, %109
  %115 = load i32, ptr %13, align 4, !tbaa !5
  %116 = load i32, ptr %14, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %118, label %136

118:                                              ; preds = %114
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %124 = sub nsw i32 %122, %123
  %125 = load i32, ptr %1, align 4, !tbaa !5
  %126 = sub nsw i32 %125, 1
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = load i32, ptr %14, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = sub nsw i32 %129, %133
  %135 = icmp sgt i32 %124, %134
  br label %136

136:                                              ; preds = %118, %114
  %137 = phi i1 [ false, %114 ], [ %135, %118 ]
  br i1 %137, label %138, label %142

138:                                              ; preds = %136
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %14, align 4, !tbaa !5
  %141 = add nsw i32 %140, -1
  store i32 %141, ptr %14, align 4, !tbaa !5
  br label %114, !llvm.loop !14

142:                                              ; preds = %136
  %143 = load i32, ptr %13, align 4, !tbaa !5
  %144 = load i32, ptr %14, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %146, label %167

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %147 = load i32, ptr %13, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %148
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %152 = sub nsw i32 %150, %151
  %153 = load i32, ptr %1, align 4, !tbaa !5
  %154 = sub nsw i32 %153, 1
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !5
  %158 = load i32, ptr %14, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %159
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = sub nsw i32 %157, %161
  %163 = sub nsw i32 %152, %162
  %164 = call i32 @llvm.abs.i32(i32 %163, i1 true)
  store i32 %164, ptr %16, align 4, !tbaa !5
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %166 = load i32, ptr %165, align 4, !tbaa !5
  store i32 %166, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %167

167:                                              ; preds = %146, %142
  %168 = load i32, ptr %14, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  %170 = load i32, ptr %1, align 4, !tbaa !5
  %171 = sub nsw i32 %170, 1
  %172 = icmp slt i32 %169, %171
  br i1 %172, label %173, label %195

173:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %174 = load i32, ptr %13, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %175
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %179 = sub nsw i32 %177, %178
  %180 = load i32, ptr %1, align 4, !tbaa !5
  %181 = sub nsw i32 %180, 1
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %182
  %184 = load i32, ptr %183, align 4, !tbaa !5
  %185 = load i32, ptr %14, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !5
  %190 = sub nsw i32 %184, %189
  %191 = sub nsw i32 %179, %190
  %192 = call i32 @llvm.abs.i32(i32 %191, i1 true)
  store i32 %192, ptr %17, align 4, !tbaa !5
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %194 = load i32, ptr %193, align 4, !tbaa !5
  store i32 %194, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %195

195:                                              ; preds = %173, %167
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr %13, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %13, align 4, !tbaa !5
  br label %103, !llvm.loop !15

199:                                              ; preds = %108
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %200)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  store i32 0, ptr %3, align 4
  br label %202

202:                                              ; preds = %199, %43, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  %203 = load i32, ptr %3, align 4
  switch i32 %203, label %205 [
    i32 0, label %204
    i32 1, label %204
  ]

204:                                              ; preds = %202, %202
  ret void

205:                                              ; preds = %202
  unreachable
}

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #3

declare i32 @puts(ptr noundef) #2

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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 = { 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 = { inlinehint 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!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"

@_ZZ5solvevE1a = external hidden global [1000001 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  %12 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1)
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %0
  %.pre70 = sext i32 %13 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre70, %.._crit_edge_crit_edge ], [ %20, %.lr.ph ]
  %15 = getelementptr inbounds i32, ptr @_ZZ5solvevE1a, i64 %.pre-phi
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull @_ZZ5solvevE1a, ptr noundef nonnull %15)
  %16 = load i32, ptr %1, align 4, !tbaa !5
  switch i32 %16, label %33 [
    i32 2, label %22
    i32 3, label %24
  ]

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

22:                                               ; preds = %._crit_edge
  %23 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %147

24:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %25 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZ5solvevE1a, i64 8), align 8, !tbaa !5
  %26 = load i32, ptr getelementptr inbounds (i8, ptr @_ZZ5solvevE1a, i64 4), align 4, !tbaa !5
  %27 = sub nsw i32 %25, %26
  store i32 %27, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %28 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %29 = sub nsw i32 %26, %28
  store i32 %29, ptr %3, align 4, !tbaa !5
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %31)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  br label %147

33:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %34 = icmp sgt i32 %16, 1
  br i1 %34, label %.lr.ph35, label %._crit_edge36

.lr.ph35:                                         ; preds = %33
  %35 = add nuw nsw i32 %16, 1
  %36 = lshr i32 %35, 1
  %37 = add nsw i32 %16, -1
  %38 = lshr i32 %37, 1
  %39 = zext nneg i32 %38 to i64
  %40 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = zext nneg i32 %36 to i64
  %43 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %wide.trip.count = zext nneg i32 %16 to i64
  %.pre = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %45 = add nsw i64 %wide.trip.count, -1
  %min.iters.check = icmp ult i32 %16, 5
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph35
  %.ph = phi i32 [ %.pre, %.lr.ph35 ], [ %vector.recur.extract, %middle.block ]
  %indvars.iv52.ph = phi i64 [ 1, %.lr.ph35 ], [ %ind.end, %middle.block ]
  %.ph88 = phi i64 [ 0, %.lr.ph35 ], [ %67, %middle.block ]
  %.ph89 = phi i64 [ 0, %.lr.ph35 ], [ %68, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph35
  %n.vec = and i64 %45, -4
  %ind.end = or disjoint i64 %n.vec, 1
  %vector.recur.init = insertelement <2 x i32> poison, i32 %.pre, i64 1
  %broadcast.splatinsert = insertelement <2 x i32> poison, i32 %41, i64 0
  %broadcast.splat = shufflevector <2 x i32> %broadcast.splatinsert, <2 x i32> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert83 = insertelement <2 x i32> poison, i32 %44, i64 0
  %broadcast.splat84 = shufflevector <2 x i32> %broadcast.splatinsert83, <2 x i32> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vector.recur = phi <2 x i32> [ %vector.recur.init, %vector.ph ], [ %wide.load82, %vector.body ]
  %vec.phi = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %56, %vector.body ]
  %vec.phi79 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %57, %vector.body ]
  %vec.phi80 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %64, %vector.body ]
  %vec.phi81 = phi <2 x i64> [ zeroinitializer, %vector.ph ], [ %65, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %46 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %offset.idx
  %47 = getelementptr inbounds i8, ptr %46, i64 8
  %wide.load = load <2 x i32>, ptr %46, align 4, !tbaa !5
  %wide.load82 = load <2 x i32>, ptr %47, align 4, !tbaa !5
  %48 = shufflevector <2 x i32> %vector.recur, <2 x i32> %wide.load, <2 x i32> <i32 1, i32 2>
  %49 = shufflevector <2 x i32> %wide.load, <2 x i32> %wide.load82, <2 x i32> <i32 1, i32 2>
  %50 = sub nsw <2 x i32> %48, %broadcast.splat
  %51 = sub nsw <2 x i32> %49, %broadcast.splat
  %52 = call <2 x i32> @llvm.abs.v2i32(<2 x i32> %50, i1 true)
  %53 = call <2 x i32> @llvm.abs.v2i32(<2 x i32> %51, i1 true)
  %54 = zext nneg <2 x i32> %52 to <2 x i64>
  %55 = zext nneg <2 x i32> %53 to <2 x i64>
  %56 = add <2 x i64> %vec.phi, %54
  %57 = add <2 x i64> %vec.phi79, %55
  %58 = sub nsw <2 x i32> %wide.load, %broadcast.splat84
  %59 = sub nsw <2 x i32> %wide.load82, %broadcast.splat84
  %60 = call <2 x i32> @llvm.abs.v2i32(<2 x i32> %58, i1 true)
  %61 = call <2 x i32> @llvm.abs.v2i32(<2 x i32> %59, i1 true)
  %62 = zext nneg <2 x i32> %60 to <2 x i64>
  %63 = zext nneg <2 x i32> %61 to <2 x i64>
  %64 = add <2 x i64> %vec.phi80, %62
  %65 = add <2 x i64> %vec.phi81, %63
  %index.next = add nuw i64 %index, 4
  %66 = icmp eq i64 %index.next, %n.vec
  br i1 %66, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <2 x i64> %57, %56
  %67 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx)
  %bin.rdx85 = add <2 x i64> %65, %64
  %68 = call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %bin.rdx85)
  %vector.recur.extract = extractelement <2 x i32> %wide.load82, i64 1
  %cmp.n = icmp eq i64 %45, %n.vec
  br i1 %cmp.n, label %._crit_edge36, label %scalar.ph.preheader

._crit_edge36:                                    ; preds = %scalar.ph, %middle.block, %33
  %.lcssa32 = phi i64 [ 0, %33 ], [ %68, %middle.block ], [ %88, %scalar.ph ]
  %.lcssa30 = phi i64 [ 0, %33 ], [ %67, %middle.block ], [ %82, %scalar.ph ]
  store i64 %.lcssa30, ptr %4, align 8, !tbaa !14
  store i64 %.lcssa32, ptr %5, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  store i64 2147483647, ptr %7, align 8, !tbaa !14
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %7)
  %71 = load i64, ptr %70, align 8, !tbaa !14
  %72 = trunc i64 %71 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  store i32 %72, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %73 = load i32, ptr %1, align 4, !tbaa !5
  %74 = add nsw i32 %73, -2
  store i32 %74, ptr %8, align 4, !tbaa !5
  %75 = icmp sgt i32 %73, 2
  br i1 %75, label %.lr.ph44, label %._crit_edge45

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %76 = phi i32 [ %84, %scalar.ph ], [ %.ph, %scalar.ph.preheader ]
  %indvars.iv52 = phi i64 [ %indvars.iv.next53, %scalar.ph ], [ %indvars.iv52.ph, %scalar.ph.preheader ]
  %77 = phi i64 [ %82, %scalar.ph ], [ %.ph88, %scalar.ph.preheader ]
  %78 = phi i64 [ %88, %scalar.ph ], [ %.ph89, %scalar.ph.preheader ]
  %79 = sub nsw i32 %76, %41
  %80 = call i32 @llvm.abs.i32(i32 %79, i1 true)
  %81 = zext nneg i32 %80 to i64
  %82 = add nuw nsw i64 %77, %81
  %83 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv52
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = sub nsw i32 %84, %44
  %86 = call i32 @llvm.abs.i32(i32 %85, i1 true)
  %87 = zext nneg i32 %86 to i64
  %88 = add nuw nsw i64 %78, %87
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next53, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge36, label %scalar.ph, !llvm.loop !16

._crit_edge45.loopexit:                           ; preds = %143
  %.pre69 = load i32, ptr %6, align 4, !tbaa !5
  br label %._crit_edge45

._crit_edge45:                                    ; preds = %._crit_edge45.loopexit, %._crit_edge36
  %89 = phi i32 [ %.pre69, %._crit_edge45.loopexit ], [ %72, %._crit_edge36 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %89)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  br label %147

.lr.ph44:                                         ; preds = %._crit_edge36, %143
  %indvars.iv60 = phi i64 [ %indvars.iv.next61, %143 ], [ 1, %._crit_edge36 ]
  %indvars.iv58 = phi i64 [ %indvars.iv.next59, %143 ], [ 2, %._crit_edge36 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %91 = trunc nuw nsw i64 %indvars.iv58 to i32
  store i32 %91, ptr %9, align 4, !tbaa !5
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %93 = load i32, ptr %92, align 4, !tbaa !5
  store i32 %93, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %94 = sext i32 %93 to i64
  %95 = icmp slt i64 %indvars.iv60, %94
  %.pre67 = load i32, ptr %1, align 4, !tbaa !5
  br i1 %95, label %.lr.ph41, label %.critedge

.lr.ph41:                                         ; preds = %.lr.ph44
  %96 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv60
  %97 = load i32, ptr %96, align 4, !tbaa !5
  %98 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %99 = sub nsw i32 %97, %98
  %100 = add nsw i32 %.pre67, -1
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %.lr.ph41, %109
  %indvars.iv55 = phi i64 [ %94, %.lr.ph41 ], [ %indvars.iv.next56, %109 ]
  %105 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv55
  %106 = load i32, ptr %105, align 4, !tbaa !5
  %107 = sub nsw i32 %103, %106
  %108 = icmp sgt i32 %99, %107
  br i1 %108, label %109, label %112

109:                                              ; preds = %104
  %indvars.iv.next56 = add nsw i64 %indvars.iv55, -1
  %110 = trunc nsw i64 %indvars.iv.next56 to i32
  store i32 %110, ptr %8, align 4, !tbaa !5
  %111 = icmp slt i64 %indvars.iv60, %indvars.iv.next56
  br i1 %111, label %104, label %.critedge, !llvm.loop !17

112:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %sext = shl i64 %indvars.iv55, 32
  %113 = ashr exact i64 %sext, 32
  %114 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = add i32 %98, %103
  %117 = sub i32 %97, %116
  %118 = add i32 %117, %115
  %119 = call i32 @llvm.abs.i32(i32 %118, i1 true)
  store i32 %119, ptr %10, align 4, !tbaa !5
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %121 = load i32, ptr %120, align 4, !tbaa !5
  store i32 %121, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  %.pre65 = load i32, ptr %8, align 4, !tbaa !5
  %.pre66 = load i32, ptr %1, align 4, !tbaa !5
  br label %.critedge

.critedge:                                        ; preds = %109, %.lr.ph44, %112
  %122 = phi i32 [ %.pre67, %.lr.ph44 ], [ %.pre66, %112 ], [ %.pre67, %109 ]
  %123 = phi i32 [ %93, %.lr.ph44 ], [ %.pre65, %112 ], [ %110, %109 ]
  %124 = add nsw i32 %123, 1
  %125 = add nsw i32 %122, -1
  %126 = icmp slt i32 %124, %125
  br i1 %126, label %127, label %143

127:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %128 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %indvars.iv60
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = load i32, ptr @_ZZ5solvevE1a, align 16, !tbaa !5
  %131 = sext i32 %125 to i64
  %132 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !5
  %134 = sext i32 %124 to i64
  %135 = getelementptr inbounds [1000001 x i32], ptr @_ZZ5solvevE1a, i64 0, i64 %134
  %136 = load i32, ptr %135, align 4, !tbaa !5
  %137 = add i32 %130, %133
  %138 = sub i32 %129, %137
  %139 = add i32 %138, %136
  %140 = call i32 @llvm.abs.i32(i32 %139, i1 true)
  store i32 %140, ptr %11, align 4, !tbaa !5
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %142 = load i32, ptr %141, align 4, !tbaa !5
  store i32 %142, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %.pre68 = load i32, ptr %1, align 4, !tbaa !5
  br label %143

143:                                              ; preds = %.critedge, %127
  %144 = phi i32 [ %122, %.critedge ], [ %.pre68, %127 ]
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %145 = sext i32 %144 to i64
  %146 = icmp slt i64 %indvars.iv.next59, %145
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60, 1
  br i1 %146, label %.lr.ph44, label %._crit_edge45.loopexit, !llvm.loop !18

147:                                              ; preds = %._crit_edge45, %24, %22
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret void
}

; 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: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #5

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.abs.v2i32(<2 x i32>, i1 immarg) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #6

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 = { 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 = { inlinehint 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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, !13}
!12 = !{!"llvm.loop.isvectorized", i32 1}
!13 = !{!"llvm.loop.unroll.runtime.disable"}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !10, !13, !12}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass