; LLVM IR from kazunetakahashi/atcoder :: 201411_201509/0306_ABC018 (D)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@N = external dso_local global i32, align 4
@M = external dso_local global i32, align 4
@P = external dso_local global i32, align 4
@Q = external dso_local global i32, align 4
@R = external dso_local global i32, align 4
@table = external dso_local global [20 x [20 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #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 i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [20 x i32], align 16
  %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
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @N)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) @M)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) @P)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) @Q)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(4) @R)
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @table, ptr noundef getelementptr inbounds (i32, ptr @table, i64 400), ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %43, %0
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = load i32, ptr @R, align 4, !tbaa !5
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %28, label %27

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

28:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %31 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %32 = load i32, ptr %5, align 4, !tbaa !5
  %33 = add nsw i32 %32, -1
  store i32 %33, ptr %5, align 4, !tbaa !5
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = add nsw i32 %34, -1
  store i32 %35, ptr %6, align 4, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !5
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [20 x [20 x i32]], ptr @table, i64 0, i64 %38
  %40 = load i32, ptr %6, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [20 x i32], ptr %39, i64 0, i64 %41
  store i32 %36, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %43

43:                                               ; preds = %28
  %44 = load i32, ptr %4, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  store i32 %45, ptr %4, align 4, !tbaa !5
  br label %23, !llvm.loop !9

46:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %47

47:                                               ; preds = %151, %46
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = load i32, ptr @N, align 4, !tbaa !5
  %50 = shl i32 1, %49
  %51 = icmp slt i32 %48, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %47
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %154

53:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %69, %53
  %55 = load i32, ptr %11, align 4, !tbaa !5
  %56 = load i32, ptr @N, align 4, !tbaa !5
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %72

59:                                               ; preds = %54
  %60 = load i32, ptr %8, align 4, !tbaa !5
  %61 = load i32, ptr %11, align 4, !tbaa !5
  %62 = ashr i32 %60, %61
  %63 = and i32 %62, 1
  %64 = icmp eq i32 %63, 1
  br i1 %64, label %65, label %68

65:                                               ; preds = %59
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %65, %59
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %11, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %11, align 4, !tbaa !5
  br label %54, !llvm.loop !11

72:                                               ; preds = %58
  %73 = load i32, ptr %10, align 4, !tbaa !5
  %74 = load i32, ptr @P, align 4, !tbaa !5
  %75 = icmp ne i32 %73, %74
  br i1 %75, label %76, label %77

76:                                               ; preds = %72
  store i32 7, ptr %9, align 4
  br label %148

77:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 80, ptr %12) #6
  %78 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %79 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %80 = getelementptr inbounds i32, ptr %79, i64 20
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef %78, ptr noundef %80, ptr noundef nonnull align 4 dereferenceable(4) %13)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %116, %77
  %82 = load i32, ptr %14, align 4, !tbaa !5
  %83 = load i32, ptr @N, align 4, !tbaa !5
  %84 = icmp slt i32 %82, %83
  br i1 %84, label %86, label %85

85:                                               ; preds = %81
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %119

86:                                               ; preds = %81
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = load i32, ptr %14, align 4, !tbaa !5
  %89 = ashr i32 %87, %88
  %90 = and i32 %89, 1
  %91 = icmp eq i32 %90, 1
  br i1 %91, label %92, label %115

92:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %111, %92
  %94 = load i32, ptr %15, align 4, !tbaa !5
  %95 = load i32, ptr @M, align 4, !tbaa !5
  %96 = icmp slt i32 %94, %95
  br i1 %96, label %98, label %97

97:                                               ; preds = %93
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %114

98:                                               ; preds = %93
  %99 = load i32, ptr %14, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [20 x [20 x i32]], ptr @table, i64 0, i64 %100
  %102 = load i32, ptr %15, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [20 x i32], ptr %101, i64 0, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !5
  %106 = load i32, ptr %15, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !5
  %110 = add nsw i32 %109, %105
  store i32 %110, ptr %108, align 4, !tbaa !5
  br label %111

111:                                              ; preds = %98
  %112 = load i32, ptr %15, align 4, !tbaa !5
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %15, align 4, !tbaa !5
  br label %93, !llvm.loop !12

114:                                              ; preds = %97
  br label %115

115:                                              ; preds = %114, %86
  br label %116

116:                                              ; preds = %115
  %117 = load i32, ptr %14, align 4, !tbaa !5
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %14, align 4, !tbaa !5
  br label %81, !llvm.loop !13

119:                                              ; preds = %85
  %120 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %121 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %122 = load i32, ptr @M, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %120, ptr noundef %124)
  %125 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %126 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 0
  %127 = load i32, ptr @M, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i32, ptr %126, i64 %128
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef %125, ptr noundef %129)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %130

130:                                              ; preds = %142, %119
  %131 = load i32, ptr %17, align 4, !tbaa !5
  %132 = load i32, ptr @Q, align 4, !tbaa !5
  %133 = icmp slt i32 %131, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %130
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %145

135:                                              ; preds = %130
  %136 = load i32, ptr %17, align 4, !tbaa !5
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [20 x i32], ptr %12, i64 0, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !5
  %140 = load i32, ptr %16, align 4, !tbaa !5
  %141 = add nsw i32 %140, %139
  store i32 %141, ptr %16, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %135
  %143 = load i32, ptr %17, align 4, !tbaa !5
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %17, align 4, !tbaa !5
  br label %130, !llvm.loop !14

145:                                              ; preds = %134
  %146 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %147 = load i32, ptr %146, align 4, !tbaa !5
  store i32 %147, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 80, ptr %12) #6
  store i32 0, ptr %9, align 4
  br label %148

148:                                              ; preds = %145, %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %149 = load i32, ptr %9, align 4
  switch i32 %149, label %159 [
    i32 0, label %150
    i32 7, label %151
  ]

150:                                              ; preds = %148
  br label %151

151:                                              ; preds = %150, %148
  %152 = load i32, ptr %8, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr %8, align 4, !tbaa !5
  br label %47, !llvm.loop !15

154:                                              ; preds = %52
  %155 = load i32, ptr %2, align 4, !tbaa !5
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %155)
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %158 = load i32, ptr %1, align 4
  ret i32 %158

159:                                              ; preds = %148
  unreachable
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

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

; 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

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

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@N = external dso_local global i32, align 4
@M = external dso_local global i32, align 4
@P = external dso_local global i32, align 4
@Q = external dso_local global i32, align 4
@R = external dso_local global i32, align 4
@table = external dso_local global [20 x [20 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #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 [20 x i32], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store i32 0, ptr %1, align 4, !tbaa !5
  %9 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @N)
  %10 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) @M)
  %11 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 4 dereferenceable(4) @P)
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(4) @Q)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(4) @R)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @table, ptr noundef nonnull getelementptr inbounds (i8, ptr @table, i64 1600), ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %14 = load i32, ptr @R, align 4, !tbaa !5
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph, label %.preheader32

.preheader32:                                     ; preds = %.lr.ph, %0
  %16 = load i32, ptr @N, align 4, !tbaa !5
  %.not52 = icmp eq i32 %16, 31
  br i1 %.not52, label %._crit_edge51, label %.preheader31.lr.ph

.preheader31.lr.ph:                               ; preds = %.preheader32
  %17 = getelementptr inbounds i8, ptr %6, i64 80
  br label %.preheader31

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.02833 = phi i32 [ %29, %.lr.ph ], [ 0, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = add nsw i32 %21, -1
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = add nsw i32 %23, -1
  %25 = load i32, ptr %5, align 4, !tbaa !5
  %26 = sext i32 %22 to i64
  %27 = sext i32 %24 to i64
  %28 = getelementptr inbounds [20 x [20 x i32]], ptr @table, i64 0, i64 %26, i64 %27
  store i32 %25, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  %29 = add nuw nsw i32 %.02833, 1
  %30 = load i32, ptr @R, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %.lr.ph, label %.preheader32, !llvm.loop !9

.preheader31:                                     ; preds = %.preheader31.lr.ph, %89
  %32 = phi i32 [ 0, %.preheader31.lr.ph ], [ %90, %89 ]
  %33 = phi i32 [ %16, %.preheader31.lr.ph ], [ %91, %89 ]
  %.02748 = phi i32 [ 0, %.preheader31.lr.ph ], [ %92, %89 ]
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph36.preheader, label %._crit_edge

.lr.ph36.preheader:                               ; preds = %.preheader31
  %min.iters.check89 = icmp ult i32 %33, 8
  br i1 %min.iters.check89, label %.lr.ph36.preheader105, label %vector.ph90

.lr.ph36.preheader105:                            ; preds = %middle.block87, %.lr.ph36.preheader
  %.02535.ph = phi i32 [ 0, %.lr.ph36.preheader ], [ %n.vec92, %middle.block87 ]
  %.02634.ph = phi i32 [ 0, %.lr.ph36.preheader ], [ %42, %middle.block87 ]
  br label %.lr.ph36

vector.ph90:                                      ; preds = %.lr.ph36.preheader
  %n.vec92 = and i32 %33, 2147483640
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %.02748, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body94

vector.body94:                                    ; preds = %vector.body94, %vector.ph90
  %index95 = phi i32 [ 0, %vector.ph90 ], [ %index.next99, %vector.body94 ]
  %vec.ind = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %vector.ph90 ], [ %vec.ind.next, %vector.body94 ]
  %vec.phi97 = phi <4 x i32> [ zeroinitializer, %vector.ph90 ], [ %39, %vector.body94 ]
  %vec.phi98 = phi <4 x i32> [ zeroinitializer, %vector.ph90 ], [ %40, %vector.body94 ]
  %step.add = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %35 = lshr <4 x i32> %broadcast.splat, %vec.ind
  %36 = lshr <4 x i32> %broadcast.splat, %step.add
  %37 = and <4 x i32> %35, <i32 1, i32 1, i32 1, i32 1>
  %38 = and <4 x i32> %36, <i32 1, i32 1, i32 1, i32 1>
  %39 = add <4 x i32> %37, %vec.phi97
  %40 = add <4 x i32> %38, %vec.phi98
  %index.next99 = add nuw i32 %index95, 8
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %41 = icmp eq i32 %index.next99, %n.vec92
  br i1 %41, label %middle.block87, label %vector.body94, !llvm.loop !11

middle.block87:                                   ; preds = %vector.body94
  %bin.rdx100 = add <4 x i32> %40, %39
  %42 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx100)
  %cmp.n101 = icmp eq i32 %33, %n.vec92
  br i1 %cmp.n101, label %._crit_edge, label %.lr.ph36.preheader105

._crit_edge51:                                    ; preds = %89, %.preheader32
  %43 = phi i32 [ 0, %.preheader32 ], [ %90, %89 ]
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %43)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0

._crit_edge:                                      ; preds = %.lr.ph36, %middle.block87, %.preheader31
  %.026.lcssa = phi i32 [ 0, %.preheader31 ], [ %42, %middle.block87 ], [ %spec.select, %.lr.ph36 ]
  %46 = load i32, ptr @P, align 4, !tbaa !5
  %.not = icmp eq i32 %.026.lcssa, %46
  br i1 %.not, label %50, label %89

.lr.ph36:                                         ; preds = %.lr.ph36.preheader105, %.lr.ph36
  %.02535 = phi i32 [ %49, %.lr.ph36 ], [ %.02535.ph, %.lr.ph36.preheader105 ]
  %.02634 = phi i32 [ %spec.select, %.lr.ph36 ], [ %.02634.ph, %.lr.ph36.preheader105 ]
  %47 = lshr i32 %.02748, %.02535
  %48 = and i32 %47, 1
  %spec.select = add nuw nsw i32 %48, %.02634
  %49 = add nuw nsw i32 %.02535, 1
  %exitcond.not = icmp eq i32 %49, %33
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph36, !llvm.loop !14

50:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull %6, ptr noundef nonnull %17, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %51 = load i32, ptr @N, align 4, !tbaa !5
  %52 = icmp sgt i32 %51, 0
  %.pre = load i32, ptr @M, align 4
  %.fr53 = freeze i32 %.pre
  %53 = icmp sgt i32 %.fr53, 0
  %or.cond = and i1 %52, %53
  br i1 %or.cond, label %.lr.ph42.split.us.preheader, label %._crit_edge43

.lr.ph42.split.us.preheader:                      ; preds = %50
  %wide.trip.count60 = zext nneg i32 %51 to i64
  %wide.trip.count = zext nneg i32 %.fr53 to i64
  %min.iters.check74 = icmp ult i32 %.fr53, 8
  %n.vec77 = and i64 %wide.trip.count, 2147483640
  %cmp.n86 = icmp eq i64 %n.vec77, %wide.trip.count
  br label %.lr.ph42.split.us

.lr.ph42.split.us:                                ; preds = %.lr.ph42.split.us.preheader, %..loopexit_crit_edge.us
  %indvars.iv57 = phi i64 [ 0, %.lr.ph42.split.us.preheader ], [ %indvars.iv.next58, %..loopexit_crit_edge.us ]
  %54 = trunc nuw nsw i64 %indvars.iv57 to i32
  %55 = shl nuw i32 1, %54
  %56 = and i32 %55, %.02748
  %.not29.us = icmp eq i32 %56, 0
  br i1 %.not29.us, label %..loopexit_crit_edge.us, label %.preheader.us.preheader

.preheader.us.preheader:                          ; preds = %.lr.ph42.split.us
  br i1 %min.iters.check74, label %.preheader.us.preheader103, label %vector.body79

vector.body79:                                    ; preds = %.preheader.us.preheader, %vector.body79
  %index80 = phi i64 [ %index.next85, %vector.body79 ], [ 0, %.preheader.us.preheader ]
  %57 = getelementptr inbounds [20 x [20 x i32]], ptr @table, i64 0, i64 %indvars.iv57, i64 %index80
  %58 = getelementptr inbounds i8, ptr %57, i64 16
  %wide.load81 = load <4 x i32>, ptr %57, align 16, !tbaa !5
  %wide.load82 = load <4 x i32>, ptr %58, align 16, !tbaa !5
  %59 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %index80
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %wide.load83 = load <4 x i32>, ptr %59, align 16, !tbaa !5
  %wide.load84 = load <4 x i32>, ptr %60, align 16, !tbaa !5
  %61 = add nsw <4 x i32> %wide.load83, %wide.load81
  %62 = add nsw <4 x i32> %wide.load84, %wide.load82
  store <4 x i32> %61, ptr %59, align 16, !tbaa !5
  store <4 x i32> %62, ptr %60, align 16, !tbaa !5
  %index.next85 = add nuw i64 %index80, 8
  %63 = icmp eq i64 %index.next85, %n.vec77
  br i1 %63, label %middle.block72, label %vector.body79, !llvm.loop !15

middle.block72:                                   ; preds = %vector.body79
  br i1 %cmp.n86, label %..loopexit_crit_edge.us, label %.preheader.us.preheader103

.preheader.us.preheader103:                       ; preds = %middle.block72, %.preheader.us.preheader
  %indvars.iv.ph = phi i64 [ 0, %.preheader.us.preheader ], [ %n.vec77, %middle.block72 ]
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader103, %.preheader.us
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader.us ], [ %indvars.iv.ph, %.preheader.us.preheader103 ]
  %64 = getelementptr inbounds [20 x [20 x i32]], ptr @table, i64 0, i64 %indvars.iv57, i64 %indvars.iv
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %indvars.iv
  %67 = load i32, ptr %66, align 4, !tbaa !5
  %68 = add nsw i32 %67, %65
  store i32 %68, ptr %66, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond56.not, label %..loopexit_crit_edge.us, label %.preheader.us, !llvm.loop !16

..loopexit_crit_edge.us:                          ; preds = %.preheader.us, %middle.block72, %.lr.ph42.split.us
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next58, %wide.trip.count60
  br i1 %exitcond61.not, label %._crit_edge43, label %.lr.ph42.split.us, !llvm.loop !17

._crit_edge43:                                    ; preds = %..loopexit_crit_edge.us, %50
  %69 = sext i32 %.fr53 to i64
  %70 = getelementptr inbounds i32, ptr %6, i64 %69
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull %6, ptr noundef nonnull %70)
  %71 = load i32, ptr @M, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds i32, ptr %6, i64 %72
  call void @_ZSt7reverseIPiEvT_S1_(ptr noundef nonnull %6, ptr noundef nonnull %73)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  %74 = load i32, ptr @Q, align 4, !tbaa !5
  %75 = icmp sgt i32 %74, 0
  br i1 %75, label %.lr.ph46.preheader, label %82

.lr.ph46.preheader:                               ; preds = %._crit_edge43
  %wide.trip.count65 = zext nneg i32 %74 to i64
  %min.iters.check = icmp ult i32 %74, 8
  br i1 %min.iters.check, label %.lr.ph46.preheader104, label %vector.ph

.lr.ph46.preheader104:                            ; preds = %middle.block, %.lr.ph46.preheader
  %indvars.iv62.ph = phi i64 [ 0, %.lr.ph46.preheader ], [ %n.vec, %middle.block ]
  %.ph = phi i32 [ 0, %.lr.ph46.preheader ], [ %81, %middle.block ]
  br label %.lr.ph46

vector.ph:                                        ; preds = %.lr.ph46.preheader
  %n.vec = and i64 %wide.trip.count65, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %78, %vector.body ]
  %vec.phi70 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %79, %vector.body ]
  %76 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %index
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  %wide.load = load <4 x i32>, ptr %76, align 16, !tbaa !5
  %wide.load71 = load <4 x i32>, ptr %77, align 16, !tbaa !5
  %78 = add <4 x i32> %vec.phi, %wide.load
  %79 = add <4 x i32> %vec.phi70, %wide.load71
  %index.next = add nuw i64 %index, 8
  %80 = icmp eq i64 %index.next, %n.vec
  br i1 %80, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %79, %78
  %81 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count65
  br i1 %cmp.n, label %._crit_edge47, label %.lr.ph46.preheader104

._crit_edge47:                                    ; preds = %.lr.ph46, %middle.block
  %.lcssa = phi i32 [ %81, %middle.block ], [ %88, %.lr.ph46 ]
  store i32 %.lcssa, ptr %8, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %._crit_edge47, %._crit_edge43
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %84 = load i32, ptr %83, align 4, !tbaa !5
  store i32 %84, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %6) #7
  %.pre67 = load i32, ptr @N, align 4, !tbaa !5
  br label %89

.lr.ph46:                                         ; preds = %.lr.ph46.preheader104, %.lr.ph46
  %indvars.iv62 = phi i64 [ %indvars.iv.next63, %.lr.ph46 ], [ %indvars.iv62.ph, %.lr.ph46.preheader104 ]
  %85 = phi i32 [ %88, %.lr.ph46 ], [ %.ph, %.lr.ph46.preheader104 ]
  %86 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %indvars.iv62
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = add nsw i32 %85, %87
  %indvars.iv.next63 = add nuw nsw i64 %indvars.iv62, 1
  %exitcond66.not = icmp eq i64 %indvars.iv.next63, %wide.trip.count65
  br i1 %exitcond66.not, label %._crit_edge47, label %.lr.ph46, !llvm.loop !19

89:                                               ; preds = %._crit_edge, %82
  %90 = phi i32 [ %32, %._crit_edge ], [ %84, %82 ]
  %91 = phi i32 [ %33, %._crit_edge ], [ %.pre67, %82 ]
  %92 = add nuw nsw i32 %.02748, 1
  %93 = shl nuw i32 1, %91
  %94 = icmp slt i32 %92, %93
  br i1 %94, label %.preheader31, label %._crit_edge51, !llvm.loop !20
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

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

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

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

attributes #0 = { 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 #1 = { mustprogress 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 = { 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 #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 = distinct !{!14, !10, !13, !12}
!15 = distinct !{!15, !10, !12, !13}
!16 = distinct !{!16, !10, !13, !12}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10, !12, !13}
!19 = distinct !{!19, !10, !13, !12}
!20 = distinct !{!20, !10}


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