; LLVM IR from eyangch/competitive-programming :: Codeforces/1284 (b)

; 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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %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 i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  store i64 0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  store i64 0, ptr %4, align 8, !tbaa !5
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %23 = load i64, ptr %2, align 8, !tbaa !5
  %24 = call ptr @llvm.stacksave.p0()
  store ptr %24, ptr %5, align 8
  %25 = alloca %"class.std::vector", i64 %23, align 16
  store i64 %23, ptr %6, align 8
  %26 = icmp eq i64 %23, 0
  br i1 %26, label %33, label %27

27:                                               ; preds = %0
  %28 = getelementptr inbounds %"class.std::vector", ptr %25, i64 %23
  br label %29

29:                                               ; preds = %29, %27
  %30 = phi ptr [ %25, %27 ], [ %31, %29 ]
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #7
  %31 = getelementptr inbounds %"class.std::vector", ptr %30, i64 1
  %32 = icmp eq ptr %31, %28
  br i1 %32, label %33, label %29

33:                                               ; preds = %29, %0
  %34 = load i64, ptr %2, align 8, !tbaa !5
  %35 = alloca i64, i64 %34, align 16
  store i64 %34, ptr %7, align 8
  %36 = load i64, ptr %2, align 8, !tbaa !5
  %37 = alloca i64, i64 %36, align 16
  store i64 %36, ptr %8, align 8
  %38 = load i64, ptr %2, align 8, !tbaa !5
  %39 = alloca i8, i64 %38, align 16
  store i64 %38, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %116, %33
  %41 = load i32, ptr %10, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = load i64, ptr %2, align 8, !tbaa !5
  %44 = icmp slt i64 %42, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %120

46:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  store i64 2147483647, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  store i64 -2147483648, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 0, ptr %15, align 1, !tbaa !11
  %47 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %48 unwind label %55

48:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %87, %48
  %50 = load i32, ptr %18, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = load i64, ptr %12, align 8, !tbaa !5
  %53 = icmp slt i64 %51, %52
  br i1 %53, label %59, label %54

54:                                               ; preds = %49
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %91

55:                                               ; preds = %46
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %16, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %17, align 4
  br label %119

59:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %60 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %61 unwind label %78

61:                                               ; preds = %59
  %62 = load i32, ptr %10, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %"class.std::vector", ptr %25, i64 %63
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %65 = load i64, ptr %19, align 8, !tbaa !5
  %66 = trunc i64 %65 to i32
  store i32 %66, ptr %20, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %67 unwind label %82

67:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %69 unwind label %78

69:                                               ; preds = %67
  %70 = load i64, ptr %68, align 8, !tbaa !5
  store i64 %70, ptr %13, align 8, !tbaa !5
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %72 unwind label %78

72:                                               ; preds = %69
  %73 = load i64, ptr %71, align 8, !tbaa !5
  store i64 %73, ptr %14, align 8, !tbaa !5
  %74 = load i64, ptr %19, align 8, !tbaa !5
  %75 = load i64, ptr %13, align 8, !tbaa !5
  %76 = icmp sgt i64 %74, %75
  br i1 %76, label %77, label %86

77:                                               ; preds = %72
  store i8 1, ptr %15, align 1, !tbaa !11
  br label %86

78:                                               ; preds = %69, %67, %59
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %16, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %17, align 4
  br label %90

82:                                               ; preds = %61
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %16, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %90

86:                                               ; preds = %77, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %87

87:                                               ; preds = %86
  %88 = load i32, ptr %18, align 4, !tbaa !9
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %18, align 4, !tbaa !9
  br label %49, !llvm.loop !13

90:                                               ; preds = %82, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %119

91:                                               ; preds = %54
  %92 = load i8, ptr %15, align 1, !tbaa !11, !range !15, !noundef !16
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %100

94:                                               ; preds = %91
  %95 = load i64, ptr %4, align 8, !tbaa !5
  %96 = add nsw i64 %95, 1
  store i64 %96, ptr %4, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i64, ptr %37, i64 %98
  store i64 -2147483648, ptr %99, align 8, !tbaa !5
  br label %109

100:                                              ; preds = %91
  %101 = load i64, ptr %13, align 8, !tbaa !5
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i64, ptr %35, i64 %103
  store i64 %101, ptr %104, align 8, !tbaa !5
  %105 = load i64, ptr %14, align 8, !tbaa !5
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i64, ptr %37, i64 %107
  store i64 %105, ptr %108, align 8, !tbaa !5
  br label %109

109:                                              ; preds = %100, %94
  %110 = load i8, ptr %15, align 1, !tbaa !11, !range !15, !noundef !16
  %111 = trunc i8 %110 to i1
  %112 = load i32, ptr %10, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds i8, ptr %39, i64 %113
  %115 = zext i1 %111 to i8
  store i8 %115, ptr %114, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %116

116:                                              ; preds = %109
  %117 = load i32, ptr %10, align 4, !tbaa !9
  %118 = add nsw i32 %117, 1
  store i32 %118, ptr %10, align 4, !tbaa !9
  br label %40, !llvm.loop !17

119:                                              ; preds = %90, %55
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %185

120:                                              ; preds = %45
  %121 = load i64, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds i64, ptr %37, i64 %121
  invoke void @_ZSt4sortIPxEvT_S1_(ptr noundef %37, ptr noundef %122)
          to label %123 unwind label %130

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %167, %123
  %125 = load i32, ptr %21, align 4, !tbaa !9
  %126 = sext i32 %125 to i64
  %127 = load i64, ptr %2, align 8, !tbaa !5
  %128 = icmp slt i64 %126, %127
  br i1 %128, label %134, label %129

129:                                              ; preds = %124
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %170

130:                                              ; preds = %173, %170, %120
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %16, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %17, align 4
  br label %185

134:                                              ; preds = %124
  %135 = load i32, ptr %21, align 4, !tbaa !9
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds i8, ptr %39, i64 %136
  %138 = load i8, ptr %137, align 1, !tbaa !11, !range !15, !noundef !16
  %139 = trunc i8 %138 to i1
  br i1 %139, label %140, label %144

140:                                              ; preds = %134
  %141 = load i64, ptr %2, align 8, !tbaa !5
  %142 = load i64, ptr %3, align 8, !tbaa !5
  %143 = add nsw i64 %142, %141
  store i64 %143, ptr %3, align 8, !tbaa !5
  br label %166

144:                                              ; preds = %134
  %145 = load i64, ptr %2, align 8, !tbaa !5
  %146 = getelementptr inbounds i64, ptr %37, i64 %145
  %147 = load i64, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds i64, ptr %37, i64 %147
  %149 = load i32, ptr %21, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds i64, ptr %35, i64 %150
  %152 = invoke noundef ptr @_ZSt11upper_boundIPxxET_S1_S1_RKT0_(ptr noundef %37, ptr noundef %148, ptr noundef nonnull align 8 dereferenceable(8) %151)
          to label %153 unwind label %162

153:                                              ; preds = %144
  %154 = ptrtoint ptr %146 to i64
  %155 = ptrtoint ptr %152 to i64
  %156 = sub i64 %154, %155
  %157 = sdiv exact i64 %156, 8
  %158 = load i64, ptr %4, align 8, !tbaa !5
  %159 = add nsw i64 %157, %158
  %160 = load i64, ptr %3, align 8, !tbaa !5
  %161 = add nsw i64 %160, %159
  store i64 %161, ptr %3, align 8, !tbaa !5
  br label %166

162:                                              ; preds = %144
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %16, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %185

166:                                              ; preds = %153, %140
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %21, align 4, !tbaa !9
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %21, align 4, !tbaa !9
  br label %124, !llvm.loop !18

170:                                              ; preds = %129
  %171 = load i64, ptr %3, align 8, !tbaa !5
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %171)
          to label %173 unwind label %130

173:                                              ; preds = %170
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %172, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %175 unwind label %130

175:                                              ; preds = %173
  store i32 0, ptr %1, align 4
  store i32 1, ptr %11, align 4
  %176 = getelementptr inbounds %"class.std::vector", ptr %25, i64 %23
  %177 = icmp eq ptr %25, %176
  br i1 %177, label %182, label %178

178:                                              ; preds = %178, %175
  %179 = phi ptr [ %176, %175 ], [ %180, %178 ]
  %180 = getelementptr inbounds %"class.std::vector", ptr %179, i64 -1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %180) #7
  %181 = icmp eq ptr %180, %25
  br i1 %181, label %182, label %178

182:                                              ; preds = %178, %175
  %183 = load ptr, ptr %5, align 8
  call void @llvm.stackrestore.p0(ptr %183)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %184 = load i32, ptr %1, align 4
  ret i32 %184

185:                                              ; preds = %162, %130, %119
  %186 = getelementptr inbounds %"class.std::vector", ptr %25, i64 %23
  %187 = icmp eq ptr %25, %186
  br i1 %187, label %192, label %188

188:                                              ; preds = %188, %185
  %189 = phi ptr [ %186, %185 ], [ %190, %188 ]
  %190 = getelementptr inbounds %"class.std::vector", ptr %189, i64 -1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %190) #7
  %191 = icmp eq ptr %190, %25
  br i1 %191, label %192, label %188

192:                                              ; preds = %188, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %193

193:                                              ; preds = %192
  %194 = load ptr, ptr %16, align 8
  %195 = load i32, ptr %17, align 4
  %196 = insertvalue { ptr, i32 } poison, ptr %194, 0
  %197 = insertvalue { ptr, i32 } %196, i32 %195, 1
  resume { ptr, i32 } %197
}

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 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 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)) #5

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 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)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #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 = { 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 #3 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { 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 = { 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 #6 = { 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 #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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !14}
!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"

%"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" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_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 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %8 = load i64, ptr %1, align 8, !tbaa !5
  %9 = call ptr @llvm.stacksave.p0()
  %10 = alloca %"class.std::vector", i64 %8, align 16
  %11 = icmp eq i64 %8, 0
  br i1 %11, label %.loopexit50, label %12

12:                                               ; preds = %0
  %13 = getelementptr inbounds %"class.std::vector", ptr %10, i64 %8
  br label %14

14:                                               ; preds = %14, %12
  %15 = phi ptr [ %10, %12 ], [ %16, %14 ]
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %16 = getelementptr inbounds i8, ptr %15, i64 24
  %17 = icmp eq ptr %16, %13
  br i1 %17, label %.loopexit50, label %14

.loopexit50:                                      ; preds = %14, %0
  %18 = load i64, ptr %1, align 8, !tbaa !5
  %19 = alloca i64, i64 %18, align 16
  %20 = alloca i64, i64 %18, align 16
  %21 = alloca i8, i64 %18, align 16
  %22 = icmp sgt i64 %18, 0
  br i1 %22, label %.lr.ph65, label %._crit_edge66

._crit_edge66:                                    ; preds = %58, %.loopexit50
  %.033.lcssa = phi i64 [ 0, %.loopexit50 ], [ %.134, %58 ]
  %.lcssa = phi i64 [ %18, %.loopexit50 ], [ %62, %58 ]
  %23 = getelementptr inbounds i64, ptr %20, i64 %.lcssa
  invoke void @_ZSt4sortIPxEvT_S1_(ptr noundef nonnull %20, ptr noundef nonnull %23)
          to label %.preheader48 unwind label %66

.preheader48:                                     ; preds = %._crit_edge66
  %24 = load i64, ptr %1, align 8, !tbaa !5
  %25 = icmp sgt i64 %24, 0
  br i1 %25, label %.lr.ph71, label %._crit_edge72

.lr.ph65:                                         ; preds = %.loopexit50, %58
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %58 ], [ 0, %.loopexit50 ]
  %.03362 = phi i64 [ %.134, %58 ], [ 0, %.loopexit50 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  store i64 2147483647, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  store i64 -2147483648, ptr %4, align 8, !tbaa !5
  %26 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %.preheader49 unwind label %31

.preheader49:                                     ; preds = %.lr.ph65
  %27 = load i64, ptr %2, align 8, !tbaa !5
  %28 = icmp sgt i64 %27, 0
  br i1 %28, label %.lr.ph, label %._crit_edge.thread

.lr.ph:                                           ; preds = %.preheader49
  %29 = getelementptr inbounds %"class.std::vector", ptr %10, i64 %indvars.iv75
  br label %33

._crit_edge:                                      ; preds = %38
  %30 = trunc nuw i8 %spec.select to i1
  br i1 %30, label %53, label %._crit_edge.thread

31:                                               ; preds = %.lr.ph65
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %64

33:                                               ; preds = %.lr.ph, %38
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %38 ]
  %.02860 = phi i8 [ 0, %.lr.ph ], [ %spec.select, %38 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #7
  %34 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %35 unwind label %48

35:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %36 = load i64, ptr %5, align 8, !tbaa !5
  %37 = trunc i64 %36 to i32
  store i32 %37, ptr %6, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %38 unwind label %50

38:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %40 = load i64, ptr %39, align 8, !tbaa !5
  store i64 %40, ptr %3, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %42 = load i64, ptr %41, align 8, !tbaa !5
  store i64 %42, ptr %4, align 8, !tbaa !5
  %43 = load i64, ptr %5, align 8, !tbaa !5
  %44 = load i64, ptr %3, align 8, !tbaa !5
  %45 = icmp sgt i64 %43, %44
  %spec.select = select i1 %45, i8 1, i8 %.02860
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %46 = load i64, ptr %2, align 8, !tbaa !5
  %47 = icmp sgt i64 %46, %indvars.iv.next
  br i1 %47, label %33, label %._crit_edge, !llvm.loop !11

48:                                               ; preds = %33
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %52

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %52

52:                                               ; preds = %50, %48
  %.pn42 = phi { ptr, i32 } [ %51, %50 ], [ %49, %48 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #7
  br label %64

53:                                               ; preds = %._crit_edge
  %54 = add nsw i64 %.03362, 1
  br label %58

._crit_edge.thread:                               ; preds = %.preheader49, %._crit_edge
  %.028.lcssa83 = phi i8 [ %spec.select, %._crit_edge ], [ 0, %.preheader49 ]
  %55 = load i64, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds i64, ptr %19, i64 %indvars.iv75
  store i64 %55, ptr %56, align 8, !tbaa !5
  %57 = load i64, ptr %4, align 8, !tbaa !5
  br label %58

58:                                               ; preds = %._crit_edge.thread, %53
  %.028.lcssa82 = phi i8 [ %spec.select, %53 ], [ %.028.lcssa83, %._crit_edge.thread ]
  %.sink = phi i64 [ -2147483648, %53 ], [ %57, %._crit_edge.thread ]
  %.134 = phi i64 [ %54, %53 ], [ %.03362, %._crit_edge.thread ]
  %59 = getelementptr inbounds i64, ptr %20, i64 %indvars.iv75
  store i64 %.sink, ptr %59, align 8
  %60 = getelementptr inbounds i8, ptr %21, i64 %indvars.iv75
  %61 = and i8 %.028.lcssa82, 1
  store i8 %61, ptr %60, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %62 = load i64, ptr %1, align 8, !tbaa !5
  %63 = icmp sgt i64 %62, %indvars.iv.next76
  br i1 %63, label %.lr.ph65, label %._crit_edge66, !llvm.loop !15

64:                                               ; preds = %52, %31
  %.pn42.pn = phi { ptr, i32 } [ %.pn42, %52 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  br label %94

._crit_edge72:                                    ; preds = %84, %.preheader48
  %.031.lcssa = phi i64 [ 0, %.preheader48 ], [ %.132, %84 ]
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.031.lcssa)
          to label %87 unwind label %66

66:                                               ; preds = %87, %._crit_edge72, %._crit_edge66
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %94

.lr.ph71:                                         ; preds = %.preheader48, %84
  %68 = phi i64 [ %85, %84 ], [ %24, %.preheader48 ]
  %indvars.iv78 = phi i64 [ %indvars.iv.next79, %84 ], [ 0, %.preheader48 ]
  %.03169 = phi i64 [ %.132, %84 ], [ 0, %.preheader48 ]
  %69 = getelementptr inbounds i8, ptr %21, i64 %indvars.iv78
  %70 = load i8, ptr %69, align 1, !tbaa !13, !range !16, !noundef !17
  %71 = trunc nuw i8 %70 to i1
  br i1 %71, label %84, label %72

72:                                               ; preds = %.lr.ph71
  %73 = getelementptr inbounds i64, ptr %20, i64 %68
  %74 = getelementptr inbounds i64, ptr %19, i64 %indvars.iv78
  %75 = invoke noundef ptr @_ZSt11upper_boundIPxxET_S1_S1_RKT0_(ptr noundef nonnull %20, ptr noundef nonnull %73, ptr noundef nonnull align 8 dereferenceable(8) %74)
          to label %76 unwind label %82

76:                                               ; preds = %72
  %77 = ptrtoint ptr %73 to i64
  %78 = ptrtoint ptr %75 to i64
  %79 = sub i64 %77, %78
  %80 = ashr exact i64 %79, 3
  %81 = add nsw i64 %80, %.033.lcssa
  %.pre = load i64, ptr %1, align 8, !tbaa !5
  br label %84

82:                                               ; preds = %72
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %94

84:                                               ; preds = %.lr.ph71, %76
  %85 = phi i64 [ %.pre, %76 ], [ %68, %.lr.ph71 ]
  %.pn = phi i64 [ %81, %76 ], [ %68, %.lr.ph71 ]
  %.132 = add nsw i64 %.pn, %.03169
  %indvars.iv.next79 = add nuw nsw i64 %indvars.iv78, 1
  %86 = icmp sgt i64 %85, %indvars.iv.next79
  br i1 %86, label %.lr.ph71, label %._crit_edge72, !llvm.loop !18

87:                                               ; preds = %._crit_edge72
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %89 unwind label %66

89:                                               ; preds = %87
  br i1 %11, label %.loopexit47, label %.preheader46.preheader

.preheader46.preheader:                           ; preds = %89
  %90 = getelementptr inbounds %"class.std::vector", ptr %10, i64 %8
  br label %.preheader46

.preheader46:                                     ; preds = %.preheader46.preheader, %.preheader46
  %91 = phi ptr [ %92, %.preheader46 ], [ %90, %.preheader46.preheader ]
  %92 = getelementptr inbounds i8, ptr %91, i64 -24
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %92) #7
  %93 = icmp eq ptr %92, %10
  br i1 %93, label %.loopexit47, label %.preheader46

.loopexit47:                                      ; preds = %.preheader46, %89
  call void @llvm.stackrestore.p0(ptr %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

94:                                               ; preds = %82, %66, %64
  %.pn42.pn.pn = phi { ptr, i32 } [ %.pn42.pn, %64 ], [ %83, %82 ], [ %67, %66 ]
  br i1 %11, label %.loopexit, label %.preheader.preheader

.preheader.preheader:                             ; preds = %94
  %95 = getelementptr inbounds %"class.std::vector", ptr %10, i64 %8
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %96 = phi ptr [ %97, %.preheader ], [ %95, %.preheader.preheader ]
  %97 = getelementptr inbounds i8, ptr %96, i64 -24
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %97) #7
  %98 = icmp eq ptr %97, %10
  br i1 %98, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn42.pn.pn
}

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 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 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 #5

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #2 align 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 #2 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)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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


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