; LLVM IR from Tunghohin/Competitive_Coding :: Codeforces/cf1608_B.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"

%"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" }

@num = external dso_local global [200010 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 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 i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %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
  %18 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %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) %2)
  %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) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %31, %0
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = load i32, ptr %1, align 4, !tbaa !5
  %25 = icmp sle i32 %23, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %34

27:                                               ; preds = %22
  %28 = load i32, ptr %4, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %29
  store i32 0, ptr %30, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %27
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %4, align 4, !tbaa !5
  br label %22, !llvm.loop !9

34:                                               ; preds = %26
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = sub nsw i32 %35, %36
  %38 = call i32 @llvm.abs.i32(i32 %37, i1 true)
  %39 = icmp sgt i32 %38, 1
  br i1 %39, label %47, label %40

40:                                               ; preds = %34
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = load i32, ptr %3, align 4, !tbaa !5
  %43 = add nsw i32 %41, %42
  %44 = add nsw i32 %43, 2
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = icmp sgt i32 %44, %45
  br i1 %46, label %47, label %50

47:                                               ; preds = %40, %34
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %48, i8 noundef signext 10)
  store i32 1, ptr %5, align 4
  br label %222

50:                                               ; preds = %40
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = icmp sgt i32 %51, %52
  br i1 %53, label %54, label %104

54:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %55 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %55, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 2, ptr %8, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %74, %54
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = load i32, ptr %1, align 4, !tbaa !5
  %59 = icmp sle i32 %57, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  store i32 5, ptr %5, align 4
  br label %77

61:                                               ; preds = %56
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %61
  store i32 5, ptr %5, align 4
  br label %77

66:                                               ; preds = %61
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %7, align 4, !tbaa !5
  %69 = load i32, ptr %6, align 4, !tbaa !5
  %70 = add nsw i32 %69, -1
  store i32 %70, ptr %6, align 4, !tbaa !5
  %71 = load i32, ptr %8, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %72
  store i32 %69, ptr %73, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %66
  %75 = load i32, ptr %8, align 4, !tbaa !5
  %76 = add nsw i32 %75, 2
  store i32 %76, ptr %8, align 4, !tbaa !5
  br label %56, !llvm.loop !11

77:                                               ; preds = %65, %60
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %1, align 4, !tbaa !5
  %80 = load i32, ptr %2, align 4, !tbaa !5
  %81 = sub nsw i32 %79, %80
  store i32 %81, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %82

82:                                               ; preds = %100, %78
  %83 = load i32, ptr %9, align 4, !tbaa !5
  %84 = load i32, ptr %1, align 4, !tbaa !5
  %85 = icmp sle i32 %83, %84
  br i1 %85, label %87, label %86

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

87:                                               ; preds = %82
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = icmp ne i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %87
  br label %100

94:                                               ; preds = %87
  %95 = load i32, ptr %6, align 4, !tbaa !5
  %96 = add nsw i32 %95, -1
  store i32 %96, ptr %6, align 4, !tbaa !5
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %98
  store i32 %95, ptr %99, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %94, %93
  %101 = load i32, ptr %9, align 4, !tbaa !5
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %9, align 4, !tbaa !5
  br label %82, !llvm.loop !12

103:                                              ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %204

104:                                              ; preds = %50
  %105 = load i32, ptr %3, align 4, !tbaa !5
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = icmp sgt i32 %105, %106
  br i1 %107, label %108, label %156

108:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 2, ptr %12, align 4, !tbaa !5
  br label %109

109:                                              ; preds = %127, %108
  %110 = load i32, ptr %12, align 4, !tbaa !5
  %111 = load i32, ptr %1, align 4, !tbaa !5
  %112 = icmp sle i32 %110, %111
  br i1 %112, label %114, label %113

113:                                              ; preds = %109
  store i32 11, ptr %5, align 4
  br label %130

114:                                              ; preds = %109
  %115 = load i32, ptr %11, align 4, !tbaa !5
  %116 = load i32, ptr %3, align 4, !tbaa !5
  %117 = icmp eq i32 %115, %116
  br i1 %117, label %118, label %119

118:                                              ; preds = %114
  store i32 11, ptr %5, align 4
  br label %130

119:                                              ; preds = %114
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %11, align 4, !tbaa !5
  %122 = load i32, ptr %10, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %10, align 4, !tbaa !5
  %124 = load i32, ptr %12, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %125
  store i32 %122, ptr %126, align 4, !tbaa !5
  br label %127

127:                                              ; preds = %119
  %128 = load i32, ptr %12, align 4, !tbaa !5
  %129 = add nsw i32 %128, 2
  store i32 %129, ptr %12, align 4, !tbaa !5
  br label %109, !llvm.loop !13

130:                                              ; preds = %118, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %3, align 4, !tbaa !5
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 1, ptr %13, align 4, !tbaa !5
  br label %134

134:                                              ; preds = %152, %131
  %135 = load i32, ptr %13, align 4, !tbaa !5
  %136 = load i32, ptr %1, align 4, !tbaa !5
  %137 = icmp sle i32 %135, %136
  br i1 %137, label %139, label %138

138:                                              ; preds = %134
  store i32 14, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %155

139:                                              ; preds = %134
  %140 = load i32, ptr %13, align 4, !tbaa !5
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %141
  %143 = load i32, ptr %142, align 4, !tbaa !5
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %139
  br label %152

146:                                              ; preds = %139
  %147 = load i32, ptr %10, align 4, !tbaa !5
  %148 = add nsw i32 %147, 1
  store i32 %148, ptr %10, align 4, !tbaa !5
  %149 = load i32, ptr %13, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %150
  store i32 %147, ptr %151, align 4, !tbaa !5
  br label %152

152:                                              ; preds = %146, %145
  %153 = load i32, ptr %13, align 4, !tbaa !5
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %13, align 4, !tbaa !5
  br label %134, !llvm.loop !14

155:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %203

156:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %157 = load i32, ptr %1, align 4, !tbaa !5
  store i32 %157, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 2, ptr %16, align 4, !tbaa !5
  br label %158

158:                                              ; preds = %176, %156
  %159 = load i32, ptr %16, align 4, !tbaa !5
  %160 = load i32, ptr %1, align 4, !tbaa !5
  %161 = icmp sle i32 %159, %160
  br i1 %161, label %163, label %162

162:                                              ; preds = %158
  store i32 17, ptr %5, align 4
  br label %179

163:                                              ; preds = %158
  %164 = load i32, ptr %15, align 4, !tbaa !5
  %165 = load i32, ptr %2, align 4, !tbaa !5
  %166 = icmp eq i32 %164, %165
  br i1 %166, label %167, label %168

167:                                              ; preds = %163
  store i32 17, ptr %5, align 4
  br label %179

168:                                              ; preds = %163
  %169 = load i32, ptr %15, align 4, !tbaa !5
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %15, align 4, !tbaa !5
  %171 = load i32, ptr %14, align 4, !tbaa !5
  %172 = add nsw i32 %171, -1
  store i32 %172, ptr %14, align 4, !tbaa !5
  %173 = load i32, ptr %16, align 4, !tbaa !5
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %174
  store i32 %171, ptr %175, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %168
  %177 = load i32, ptr %16, align 4, !tbaa !5
  %178 = add nsw i32 %177, 2
  store i32 %178, ptr %16, align 4, !tbaa !5
  br label %158, !llvm.loop !15

179:                                              ; preds = %167, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %180

180:                                              ; preds = %179
  store i32 1, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 1, ptr %17, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %199, %180
  %182 = load i32, ptr %17, align 4, !tbaa !5
  %183 = load i32, ptr %1, align 4, !tbaa !5
  %184 = icmp sle i32 %182, %183
  br i1 %184, label %186, label %185

185:                                              ; preds = %181
  store i32 20, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %202

186:                                              ; preds = %181
  %187 = load i32, ptr %17, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %193

192:                                              ; preds = %186
  br label %199

193:                                              ; preds = %186
  %194 = load i32, ptr %14, align 4, !tbaa !5
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %14, align 4, !tbaa !5
  %196 = load i32, ptr %17, align 4, !tbaa !5
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %197
  store i32 %194, ptr %198, align 4, !tbaa !5
  br label %199

199:                                              ; preds = %193, %192
  %200 = load i32, ptr %17, align 4, !tbaa !5
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %17, align 4, !tbaa !5
  br label %181, !llvm.loop !16

202:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %203

203:                                              ; preds = %202, %155
  br label %204

204:                                              ; preds = %203, %103
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 1, ptr %18, align 4, !tbaa !5
  br label %205

205:                                              ; preds = %217, %204
  %206 = load i32, ptr %18, align 4, !tbaa !5
  %207 = load i32, ptr %1, align 4, !tbaa !5
  %208 = icmp sle i32 %206, %207
  br i1 %208, label %210, label %209

209:                                              ; preds = %205
  store i32 23, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %220

210:                                              ; preds = %205
  %211 = load i32, ptr %18, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !5
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %214)
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %215, i8 noundef signext 32)
  br label %217

217:                                              ; preds = %210
  %218 = load i32, ptr %18, align 4, !tbaa !5
  %219 = add nsw i32 %218, 1
  store i32 %219, ptr %18, align 4, !tbaa !5
  br label %205, !llvm.loop !17

220:                                              ; preds = %209
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 10)
  store i32 0, ptr %5, align 4
  br label %222

222:                                              ; preds = %220, %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  %223 = load i32, ptr %5, align 4
  switch i32 %223, label %225 [
    i32 0, label %224
    i32 1, label %224
  ]

224:                                              ; preds = %222, %222
  ret void

225:                                              ; preds = %222
  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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #4

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !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" }

@num = external dso_local local_unnamed_addr global [200010 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 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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %4 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %6 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %.not79 = icmp slt i32 %7, 1
  br i1 %.not79, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %8 = zext nneg i32 %7 to i64
  %9 = shl nuw nsw i64 %8, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 4 getelementptr inbounds (i8, ptr @num, i64 4), i8 0, i64 %9, i1 false), !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.preheader, %0
  %10 = load i32, ptr %2, align 4
  %11 = load i32, ptr %3, align 4
  %12 = sub nsw i32 %10, %11
  %13 = call i32 @llvm.abs.i32(i32 %12, i1 true)
  %14 = icmp ugt i32 %13, 1
  br i1 %14, label %19, label %15

15:                                               ; preds = %._crit_edge
  %16 = add i32 %10, 2
  %17 = add i32 %16, %11
  %18 = icmp sgt i32 %17, %7
  br i1 %18, label %19, label %21

19:                                               ; preds = %15, %._crit_edge
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef -1)
  br label %._crit_edge119

21:                                               ; preds = %15
  %22 = icmp sgt i32 %10, %11
  br i1 %22, label %.preheader, label %41

.preheader:                                       ; preds = %21
  %.not65103 = icmp slt i32 %7, 2
  %23 = icmp eq i32 %10, 0
  %or.cond104 = or i1 %.not65103, %23
  br i1 %or.cond104, label %._crit_edge109, label %.lr.ph108.preheader

.lr.ph108.preheader:                              ; preds = %.preheader
  %24 = zext nneg i32 %7 to i64
  br label %.lr.ph108

.lr.ph108:                                        ; preds = %.lr.ph108.preheader, %.lr.ph108
  %indvars.iv135 = phi i64 [ 2, %.lr.ph108.preheader ], [ %indvars.iv.next136, %.lr.ph108 ]
  %.051106 = phi i32 [ 0, %.lr.ph108.preheader ], [ %25, %.lr.ph108 ]
  %.052105 = phi i32 [ %7, %.lr.ph108.preheader ], [ %26, %.lr.ph108 ]
  %25 = add nuw nsw i32 %.051106, 1
  %26 = add nsw i32 %.052105, -1
  %27 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv135
  store i32 %.052105, ptr %27, align 8, !tbaa !5
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 2
  %.not65 = icmp ugt i64 %indvars.iv.next136, %24
  %28 = icmp eq i32 %25, %10
  %or.cond = select i1 %.not65, i1 true, i1 %28
  br i1 %or.cond, label %._crit_edge109, label %.lr.ph108, !llvm.loop !9

._crit_edge109:                                   ; preds = %.lr.ph108, %.preheader
  br i1 %.not79, label %._crit_edge119, label %.lr.ph114.preheader

.lr.ph114.preheader:                              ; preds = %._crit_edge109
  %29 = sub nsw i32 %7, %10
  %30 = zext nneg i32 %7 to i64
  %xtraiter156 = and i64 %30, 1
  %31 = icmp eq i32 %7, 1
  br i1 %31, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph114.preheader.new

.lr.ph114.preheader.new:                          ; preds = %.lr.ph114.preheader
  %unroll_iter158 = and i64 %30, 2147483646
  br label %.lr.ph114

.lr.ph114:                                        ; preds = %40, %.lr.ph114.preheader.new
  %indvars.iv138 = phi i64 [ 1, %.lr.ph114.preheader.new ], [ %indvars.iv.next139.1, %40 ]
  %.153111 = phi i32 [ %29, %.lr.ph114.preheader.new ], [ %.254.1, %40 ]
  %niter159 = phi i64 [ 0, %.lr.ph114.preheader.new ], [ %niter159.next.1, %40 ]
  %32 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv138
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %.not68 = icmp eq i32 %33, 0
  br i1 %.not68, label %34, label %.lr.ph114.1

34:                                               ; preds = %.lr.ph114
  %35 = add nsw i32 %.153111, -1
  store i32 %.153111, ptr %32, align 4, !tbaa !5
  br label %.lr.ph114.1

.lr.ph114.1:                                      ; preds = %.lr.ph114, %34
  %.254 = phi i32 [ %.153111, %.lr.ph114 ], [ %35, %34 ]
  %indvars.iv.next139 = add nuw nsw i64 %indvars.iv138, 1
  %36 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv.next139
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %.not68.1 = icmp eq i32 %37, 0
  br i1 %.not68.1, label %38, label %40

38:                                               ; preds = %.lr.ph114.1
  %39 = add nsw i32 %.254, -1
  store i32 %.254, ptr %36, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %38, %.lr.ph114.1
  %.254.1 = phi i32 [ %.254, %.lr.ph114.1 ], [ %39, %38 ]
  %indvars.iv.next139.1 = add nuw nsw i64 %indvars.iv138, 2
  %niter159.next.1 = add i64 %niter159, 2
  %niter159.ncmp.1 = icmp eq i64 %niter159.next.1, %unroll_iter158
  br i1 %niter159.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph114, !llvm.loop !11

41:                                               ; preds = %21
  %42 = icmp sgt i32 %11, %10
  %.not6291 = icmp slt i32 %7, 2
  br i1 %42, label %.preheader75, label %.preheader78

.preheader78:                                     ; preds = %41
  %43 = icmp eq i32 %10, 0
  %or.cond7382 = or i1 %.not6291, %43
  br i1 %or.cond7382, label %.preheader76, label %.lr.ph86.preheader

.lr.ph86.preheader:                               ; preds = %.preheader78
  %44 = zext nneg i32 %7 to i64
  br label %.lr.ph86

.preheader75:                                     ; preds = %41
  %45 = icmp eq i32 %11, 0
  %or.cond7192 = or i1 %.not6291, %45
  br i1 %or.cond7192, label %._crit_edge97, label %.lr.ph96.preheader

.lr.ph96.preheader:                               ; preds = %.preheader75
  %46 = zext nneg i32 %7 to i64
  br label %.lr.ph96

.lr.ph96:                                         ; preds = %.lr.ph96.preheader, %.lr.ph96
  %indvars.iv127 = phi i64 [ 2, %.lr.ph96.preheader ], [ %indvars.iv.next128, %.lr.ph96 ]
  %.04594 = phi i32 [ 0, %.lr.ph96.preheader ], [ %47, %.lr.ph96 ]
  %.04693 = phi i32 [ 1, %.lr.ph96.preheader ], [ %48, %.lr.ph96 ]
  %47 = add nuw nsw i32 %.04594, 1
  %48 = add nuw nsw i32 %.04693, 1
  %49 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv127
  store i32 %.04693, ptr %49, align 8, !tbaa !5
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 2
  %.not62 = icmp ugt i64 %indvars.iv.next128, %46
  %50 = icmp eq i32 %47, %11
  %or.cond71 = select i1 %.not62, i1 true, i1 %50
  br i1 %or.cond71, label %._crit_edge97, label %.lr.ph96, !llvm.loop !12

._crit_edge97:                                    ; preds = %.lr.ph96, %.preheader75
  br i1 %.not79, label %._crit_edge119, label %.lr.ph102.preheader

.lr.ph102.preheader:                              ; preds = %._crit_edge97
  %51 = add nsw i32 %11, 1
  %52 = zext nneg i32 %7 to i64
  %xtraiter152 = and i64 %52, 1
  %53 = icmp eq i32 %7, 1
  br i1 %53, label %.loopexit.loopexit150.unr-lcssa, label %.lr.ph102.preheader.new

.lr.ph102.preheader.new:                          ; preds = %.lr.ph102.preheader
  %unroll_iter154 = and i64 %52, 2147483646
  br label %.lr.ph102

.lr.ph102:                                        ; preds = %62, %.lr.ph102.preheader.new
  %indvars.iv130 = phi i64 [ 1, %.lr.ph102.preheader.new ], [ %indvars.iv.next131.1, %62 ]
  %.14799 = phi i32 [ %51, %.lr.ph102.preheader.new ], [ %.248.1, %62 ]
  %niter155 = phi i64 [ 0, %.lr.ph102.preheader.new ], [ %niter155.next.1, %62 ]
  %54 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv130
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %.not64 = icmp eq i32 %55, 0
  br i1 %.not64, label %56, label %.lr.ph102.1

56:                                               ; preds = %.lr.ph102
  %57 = add nsw i32 %.14799, 1
  store i32 %.14799, ptr %54, align 4, !tbaa !5
  br label %.lr.ph102.1

.lr.ph102.1:                                      ; preds = %.lr.ph102, %56
  %.248 = phi i32 [ %.14799, %.lr.ph102 ], [ %57, %56 ]
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %58 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv.next131
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %.not64.1 = icmp eq i32 %59, 0
  br i1 %.not64.1, label %60, label %62

60:                                               ; preds = %.lr.ph102.1
  %61 = add nsw i32 %.248, 1
  store i32 %.248, ptr %58, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %60, %.lr.ph102.1
  %.248.1 = phi i32 [ %.248, %.lr.ph102.1 ], [ %61, %60 ]
  %indvars.iv.next131.1 = add nuw nsw i64 %indvars.iv130, 2
  %niter155.next.1 = add i64 %niter155, 2
  %niter155.ncmp.1 = icmp eq i64 %niter155.next.1, %unroll_iter154
  br i1 %niter155.ncmp.1, label %.loopexit.loopexit150.unr-lcssa, label %.lr.ph102, !llvm.loop !13

.preheader76:                                     ; preds = %.lr.ph86, %.preheader78
  br i1 %.not79, label %._crit_edge119, label %.lr.ph90.preheader

.lr.ph90.preheader:                               ; preds = %.preheader76
  %63 = zext nneg i32 %7 to i64
  %xtraiter = and i64 %63, 1
  %64 = icmp eq i32 %7, 1
  br i1 %64, label %.loopexit.loopexit151.unr-lcssa, label %.lr.ph90.preheader.new

.lr.ph90.preheader.new:                           ; preds = %.lr.ph90.preheader
  %unroll_iter = and i64 %63, 2147483646
  br label %.lr.ph90

.lr.ph86:                                         ; preds = %.lr.ph86.preheader, %.lr.ph86
  %indvars.iv = phi i64 [ 2, %.lr.ph86.preheader ], [ %indvars.iv.next, %.lr.ph86 ]
  %.04184 = phi i32 [ 0, %.lr.ph86.preheader ], [ %65, %.lr.ph86 ]
  %.04283 = phi i32 [ %7, %.lr.ph86.preheader ], [ %66, %.lr.ph86 ]
  %65 = add nuw nsw i32 %.04184, 1
  %66 = add nsw i32 %.04283, -1
  %67 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv
  store i32 %.04283, ptr %67, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2
  %.not59 = icmp ugt i64 %indvars.iv.next, %44
  %68 = icmp eq i32 %65, %10
  %or.cond73 = select i1 %.not59, i1 true, i1 %68
  br i1 %or.cond73, label %.preheader76, label %.lr.ph86, !llvm.loop !14

.lr.ph90:                                         ; preds = %77, %.lr.ph90.preheader.new
  %indvars.iv124 = phi i64 [ 1, %.lr.ph90.preheader.new ], [ %indvars.iv.next125.1, %77 ]
  %.188 = phi i32 [ 1, %.lr.ph90.preheader.new ], [ %.2.1, %77 ]
  %niter = phi i64 [ 0, %.lr.ph90.preheader.new ], [ %niter.next.1, %77 ]
  %69 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv124
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %.not61 = icmp eq i32 %70, 0
  br i1 %.not61, label %71, label %.lr.ph90.1

71:                                               ; preds = %.lr.ph90
  %72 = add nsw i32 %.188, 1
  store i32 %.188, ptr %69, align 4, !tbaa !5
  br label %.lr.ph90.1

.lr.ph90.1:                                       ; preds = %.lr.ph90, %71
  %.2 = phi i32 [ %.188, %.lr.ph90 ], [ %72, %71 ]
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %73 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv.next125
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %.not61.1 = icmp eq i32 %74, 0
  br i1 %.not61.1, label %75, label %77

75:                                               ; preds = %.lr.ph90.1
  %76 = add nsw i32 %.2, 1
  store i32 %.2, ptr %73, align 4, !tbaa !5
  br label %77

77:                                               ; preds = %75, %.lr.ph90.1
  %.2.1 = phi i32 [ %.2, %.lr.ph90.1 ], [ %76, %75 ]
  %indvars.iv.next125.1 = add nuw nsw i64 %indvars.iv124, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit151.unr-lcssa, label %.lr.ph90, !llvm.loop !15

.loopexit.loopexit.unr-lcssa:                     ; preds = %40, %.lr.ph114.preheader
  %indvars.iv138.unr = phi i64 [ 1, %.lr.ph114.preheader ], [ %indvars.iv.next139.1, %40 ]
  %.153111.unr = phi i32 [ %29, %.lr.ph114.preheader ], [ %.254.1, %40 ]
  %lcmp.mod157.not = icmp eq i64 %xtraiter156, 0
  br i1 %lcmp.mod157.not, label %.loopexit, label %.lr.ph114.epil

.lr.ph114.epil:                                   ; preds = %.loopexit.loopexit.unr-lcssa
  %78 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv138.unr
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %.not68.epil = icmp eq i32 %79, 0
  br i1 %.not68.epil, label %80, label %.loopexit

80:                                               ; preds = %.lr.ph114.epil
  store i32 %.153111.unr, ptr %78, align 4, !tbaa !5
  br label %.loopexit

.loopexit.loopexit150.unr-lcssa:                  ; preds = %62, %.lr.ph102.preheader
  %indvars.iv130.unr = phi i64 [ 1, %.lr.ph102.preheader ], [ %indvars.iv.next131.1, %62 ]
  %.14799.unr = phi i32 [ %51, %.lr.ph102.preheader ], [ %.248.1, %62 ]
  %lcmp.mod153.not = icmp eq i64 %xtraiter152, 0
  br i1 %lcmp.mod153.not, label %.loopexit, label %.lr.ph102.epil

.lr.ph102.epil:                                   ; preds = %.loopexit.loopexit150.unr-lcssa
  %81 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv130.unr
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %.not64.epil = icmp eq i32 %82, 0
  br i1 %.not64.epil, label %83, label %.loopexit

83:                                               ; preds = %.lr.ph102.epil
  store i32 %.14799.unr, ptr %81, align 4, !tbaa !5
  br label %.loopexit

.loopexit.loopexit151.unr-lcssa:                  ; preds = %77, %.lr.ph90.preheader
  %indvars.iv124.unr = phi i64 [ 1, %.lr.ph90.preheader ], [ %indvars.iv.next125.1, %77 ]
  %.188.unr = phi i32 [ 1, %.lr.ph90.preheader ], [ %.2.1, %77 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.lr.ph90.epil

.lr.ph90.epil:                                    ; preds = %.loopexit.loopexit151.unr-lcssa
  %84 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv124.unr
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %.not61.epil = icmp eq i32 %85, 0
  br i1 %.not61.epil, label %86, label %.loopexit

86:                                               ; preds = %.lr.ph90.epil
  store i32 %.188.unr, ptr %84, align 4, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit151.unr-lcssa, %86, %.lr.ph90.epil, %.loopexit.loopexit150.unr-lcssa, %83, %.lr.ph102.epil, %.loopexit.loopexit.unr-lcssa, %80, %.lr.ph114.epil
  br i1 %.not79, label %._crit_edge119, label %.lr.ph118

.lr.ph118:                                        ; preds = %.loopexit, %.lr.ph118
  %indvars.iv143 = phi i64 [ %indvars.iv.next144, %.lr.ph118 ], [ 1, %.loopexit ]
  %87 = getelementptr inbounds [200010 x i32], ptr @num, i64 0, i64 %indvars.iv143
  %88 = load i32, ptr %87, align 4, !tbaa !5
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %88)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %89, i8 noundef signext 32)
  %indvars.iv.next144 = add nuw nsw i64 %indvars.iv143, 1
  %91 = load i32, ptr %1, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %.not67.not = icmp slt i64 %indvars.iv143, %92
  br i1 %.not67.not, label %.lr.ph118, label %._crit_edge119, !llvm.loop !16

._crit_edge119:                                   ; preds = %.lr.ph118, %.loopexit, %.preheader76, %._crit_edge97, %._crit_edge109, %19
  %_ZSt4cout.sink = phi ptr [ %20, %19 ], [ @_ZSt4cout, %._crit_edge109 ], [ @_ZSt4cout, %._crit_edge97 ], [ @_ZSt4cout, %.preheader76 ], [ @_ZSt4cout, %.loopexit ], [ @_ZSt4cout, %.lr.ph118 ]
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %_ZSt4cout.sink, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  ret void
}

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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 = { "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 speculatable willreturn memory(none) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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}
!16 = distinct !{!16, !10}


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