; LLVM IR from venumb/ZSPACE :: cpp/depends/lodePNG/examples (example_png_info)

; 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_ostream" = type { ptr, %"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 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.34 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; 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)) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z15displayAsciiArtRKSt6vectorIhSaIhEEjj(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, i32 noundef %2) #2 {
  %4 = alloca ptr, align 8
  %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
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = icmp ugt i32 %27, 0
  br i1 %28, label %29, label %292

29:                                               ; preds = %3
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = icmp ugt i32 %30, 0
  br i1 %31, label %32, label %292

32:                                               ; preds = %29
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef @.str.34)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 48, ptr %7, align 4, !tbaa !9
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = icmp ult i32 %36, %37
  br i1 %38, label %39, label %41

39:                                               ; preds = %32
  %40 = load i32, ptr %5, align 4, !tbaa !9
  store i32 %40, ptr %7, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %39, %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = mul i32 %42, %43
  %45 = load i32, ptr %5, align 4, !tbaa !9
  %46 = udiv i32 %44, %45
  store i32 %46, ptr %8, align 4, !tbaa !9
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = mul i32 %47, 2
  %49 = udiv i32 %48, 3
  store i32 %49, ptr %8, align 4, !tbaa !9
  %50 = load i32, ptr %8, align 4, !tbaa !9
  %51 = load i32, ptr %7, align 4, !tbaa !9
  %52 = mul i32 %51, 2
  %53 = icmp ugt i32 %50, %52
  br i1 %53, label %54, label %57

54:                                               ; preds = %41
  %55 = load i32, ptr %7, align 4, !tbaa !9
  %56 = mul i32 %55, 2
  store i32 %56, ptr %8, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %54, %41
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %66, %57
  %60 = load i32, ptr %9, align 4, !tbaa !9
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = icmp ult i32 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %69

64:                                               ; preds = %59
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 45)
  br label %66

66:                                               ; preds = %64
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = add i32 %67, 1
  store i32 %68, ptr %9, align 4, !tbaa !9
  br label %59, !llvm.loop !11

69:                                               ; preds = %63
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %274, %69
  %73 = load i32, ptr %10, align 4, !tbaa !9
  %74 = load i32, ptr %8, align 4, !tbaa !9
  %75 = icmp ult i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %277

77:                                               ; preds = %72
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.35)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %268, %77
  %80 = load i32, ptr %12, align 4, !tbaa !9
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = icmp ult i32 %80, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %79
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %271

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = mul i32 %85, %86
  %88 = load i32, ptr %7, align 4, !tbaa !9
  %89 = udiv i32 %87, %88
  store i32 %89, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %90 = load i32, ptr %10, align 4, !tbaa !9
  %91 = load i32, ptr %6, align 4, !tbaa !9
  %92 = mul i32 %90, %91
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = udiv i32 %92, %93
  store i32 %94, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = load i32, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %5, align 4, !tbaa !9
  %98 = mul i32 %96, %97
  %99 = mul i32 %98, 4
  %100 = load i32, ptr %13, align 4, !tbaa !9
  %101 = mul i32 %100, 4
  %102 = add i32 %99, %101
  %103 = add i32 %102, 0
  %104 = zext i32 %103 to i64
  %105 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %104) #4
  %106 = load i8, ptr %105, align 1, !tbaa !13
  %107 = zext i8 %106 to i32
  store i32 %107, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = mul i32 %109, %110
  %112 = mul i32 %111, 4
  %113 = load i32, ptr %13, align 4, !tbaa !9
  %114 = mul i32 %113, 4
  %115 = add i32 %112, %114
  %116 = add i32 %115, 1
  %117 = zext i32 %116 to i64
  %118 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %108, i64 noundef %117) #4
  %119 = load i8, ptr %118, align 1, !tbaa !13
  %120 = zext i8 %119 to i32
  store i32 %120, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = load i32, ptr %5, align 4, !tbaa !9
  %124 = mul i32 %122, %123
  %125 = mul i32 %124, 4
  %126 = load i32, ptr %13, align 4, !tbaa !9
  %127 = mul i32 %126, 4
  %128 = add i32 %125, %127
  %129 = add i32 %128, 2
  %130 = zext i32 %129 to i64
  %131 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %130) #4
  %132 = load i8, ptr %131, align 1, !tbaa !13
  %133 = zext i8 %132 to i32
  store i32 %133, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = load i32, ptr %14, align 4, !tbaa !9
  %136 = load i32, ptr %5, align 4, !tbaa !9
  %137 = mul i32 %135, %136
  %138 = mul i32 %137, 4
  %139 = load i32, ptr %13, align 4, !tbaa !9
  %140 = mul i32 %139, 4
  %141 = add i32 %138, %140
  %142 = add i32 %141, 3
  %143 = zext i32 %142 to i64
  %144 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %143) #4
  %145 = load i8, ptr %144, align 1, !tbaa !13
  %146 = zext i8 %145 to i32
  store i32 %146, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %147 = load i32, ptr %15, align 4, !tbaa !9
  %148 = load i32, ptr %16, align 4, !tbaa !9
  %149 = add nsw i32 %147, %148
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = add nsw i32 %149, %150
  %152 = sdiv i32 %151, 3
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = mul nsw i32 %152, %153
  %155 = sdiv i32 %154, 255
  store i32 %155, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %156 = load i32, ptr %15, align 4, !tbaa !9
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %159, label %165

159:                                              ; preds = %84
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = load i32, ptr %17, align 4, !tbaa !9
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %163, label %165

163:                                              ; preds = %159
  %164 = load i32, ptr %15, align 4, !tbaa !9
  br label %175

165:                                              ; preds = %159, %84
  %166 = load i32, ptr %16, align 4, !tbaa !9
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = icmp slt i32 %166, %167
  br i1 %168, label %169, label %171

169:                                              ; preds = %165
  %170 = load i32, ptr %16, align 4, !tbaa !9
  br label %173

171:                                              ; preds = %165
  %172 = load i32, ptr %17, align 4, !tbaa !9
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi i32 [ %170, %169 ], [ %172, %171 ]
  br label %175

175:                                              ; preds = %173, %163
  %176 = phi i32 [ %164, %163 ], [ %174, %173 ]
  store i32 %176, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = load i32, ptr %16, align 4, !tbaa !9
  %179 = icmp sgt i32 %177, %178
  br i1 %179, label %180, label %186

180:                                              ; preds = %175
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = load i32, ptr %17, align 4, !tbaa !9
  %183 = icmp sgt i32 %181, %182
  br i1 %183, label %184, label %186

184:                                              ; preds = %180
  %185 = load i32, ptr %15, align 4, !tbaa !9
  br label %196

186:                                              ; preds = %180, %175
  %187 = load i32, ptr %16, align 4, !tbaa !9
  %188 = load i32, ptr %17, align 4, !tbaa !9
  %189 = icmp sgt i32 %187, %188
  br i1 %189, label %190, label %192

190:                                              ; preds = %186
  %191 = load i32, ptr %16, align 4, !tbaa !9
  br label %194

192:                                              ; preds = %186
  %193 = load i32, ptr %17, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %192, %190
  %195 = phi i32 [ %191, %190 ], [ %193, %192 ]
  br label %196

196:                                              ; preds = %194, %184
  %197 = phi i32 [ %185, %184 ], [ %195, %194 ]
  store i32 %197, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  %198 = load i32, ptr %21, align 4, !tbaa !9
  %199 = load i32, ptr %20, align 4, !tbaa !9
  %200 = sub nsw i32 %198, %199
  store i32 %200, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  store i32 105, ptr %23, align 4, !tbaa !9
  %201 = load i32, ptr %22, align 4, !tbaa !9
  %202 = icmp sgt i32 %201, 32
  br i1 %202, label %203, label %242

203:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %204 = load i32, ptr %19, align 4, !tbaa !9
  %205 = load i32, ptr %20, align 4, !tbaa !9
  %206 = load i32, ptr %21, align 4, !tbaa !9
  %207 = add nsw i32 %205, %206
  %208 = sdiv i32 %207, 2
  %209 = icmp sge i32 %204, %208
  %210 = zext i1 %209 to i32
  store i32 %210, ptr %24, align 4, !tbaa !9
  %211 = load i32, ptr %24, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %227

213:                                              ; preds = %203
  %214 = load i32, ptr %20, align 4, !tbaa !9
  %215 = load i32, ptr %15, align 4, !tbaa !9
  %216 = icmp eq i32 %214, %215
  br i1 %216, label %217, label %218

217:                                              ; preds = %213
  br label %224

218:                                              ; preds = %213
  %219 = load i32, ptr %20, align 4, !tbaa !9
  %220 = load i32, ptr %16, align 4, !tbaa !9
  %221 = icmp eq i32 %219, %220
  %222 = zext i1 %221 to i64
  %223 = select i1 %221, i8 109, i8 121
  br label %224

224:                                              ; preds = %218, %217
  %225 = phi i8 [ 99, %217 ], [ %223, %218 ]
  %226 = sext i8 %225 to i32
  store i32 %226, ptr %23, align 4, !tbaa !9
  br label %241

227:                                              ; preds = %203
  %228 = load i32, ptr %21, align 4, !tbaa !9
  %229 = load i32, ptr %15, align 4, !tbaa !9
  %230 = icmp eq i32 %228, %229
  br i1 %230, label %231, label %232

231:                                              ; preds = %227
  br label %238

232:                                              ; preds = %227
  %233 = load i32, ptr %21, align 4, !tbaa !9
  %234 = load i32, ptr %16, align 4, !tbaa !9
  %235 = icmp eq i32 %233, %234
  %236 = zext i1 %235 to i64
  %237 = select i1 %235, i8 103, i8 98
  br label %238

238:                                              ; preds = %232, %231
  %239 = phi i8 [ 114, %231 ], [ %237, %232 ]
  %240 = sext i8 %239 to i32
  store i32 %240, ptr %23, align 4, !tbaa !9
  br label %241

241:                                              ; preds = %238, %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %242

242:                                              ; preds = %241, %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  store i32 32, ptr %25, align 4, !tbaa !9
  %243 = load i32, ptr %19, align 4, !tbaa !9
  %244 = icmp sgt i32 %243, 224
  br i1 %244, label %245, label %246

245:                                              ; preds = %242
  store i32 64, ptr %25, align 4, !tbaa !9
  br label %264

246:                                              ; preds = %242
  %247 = load i32, ptr %19, align 4, !tbaa !9
  %248 = icmp sgt i32 %247, 128
  br i1 %248, label %249, label %252

249:                                              ; preds = %246
  %250 = load i32, ptr %23, align 4, !tbaa !9
  %251 = sub nsw i32 %250, 32
  store i32 %251, ptr %25, align 4, !tbaa !9
  br label %263

252:                                              ; preds = %246
  %253 = load i32, ptr %19, align 4, !tbaa !9
  %254 = icmp sgt i32 %253, 32
  br i1 %254, label %255, label %257

255:                                              ; preds = %252
  %256 = load i32, ptr %23, align 4, !tbaa !9
  store i32 %256, ptr %25, align 4, !tbaa !9
  br label %262

257:                                              ; preds = %252
  %258 = load i32, ptr %19, align 4, !tbaa !9
  %259 = icmp sgt i32 %258, 16
  br i1 %259, label %260, label %261

260:                                              ; preds = %257
  store i32 46, ptr %25, align 4, !tbaa !9
  br label %261

261:                                              ; preds = %260, %257
  br label %262

262:                                              ; preds = %261, %255
  br label %263

263:                                              ; preds = %262, %249
  br label %264

264:                                              ; preds = %263, %245
  %265 = load i32, ptr %25, align 4, !tbaa !9
  %266 = trunc i32 %265 to i8
  %267 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %266)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %268

268:                                              ; preds = %264
  %269 = load i32, ptr %12, align 4, !tbaa !9
  %270 = add i32 %269, 1
  store i32 %270, ptr %12, align 4, !tbaa !9
  br label %79, !llvm.loop !14

271:                                              ; preds = %83
  %272 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.35)
  %273 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %274

274:                                              ; preds = %271
  %275 = load i32, ptr %10, align 4, !tbaa !9
  %276 = add i32 %275, 1
  store i32 %276, ptr %10, align 4, !tbaa !9
  br label %72, !llvm.loop !15

277:                                              ; preds = %76
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  store i32 0, ptr %26, align 4, !tbaa !9
  br label %279

279:                                              ; preds = %286, %277
  %280 = load i32, ptr %26, align 4, !tbaa !9
  %281 = load i32, ptr %7, align 4, !tbaa !9
  %282 = icmp ult i32 %280, %281
  br i1 %282, label %284, label %283

283:                                              ; preds = %279
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %289

284:                                              ; preds = %279
  %285 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 45)
  br label %286

286:                                              ; preds = %284
  %287 = load i32, ptr %26, align 4, !tbaa !9
  %288 = add i32 %287, 1
  store i32 %288, ptr %26, align 4, !tbaa !9
  br label %279, !llvm.loop !16

289:                                              ; preds = %283
  %290 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  %291 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %292

292:                                              ; preds = %289, %29, %3
  ret void
}

; 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) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 #4 = { 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 = !{!"any pointer", !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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; 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_ostream" = type { ptr, %"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 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.34 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1

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

; 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 #1 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)) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z15displayAsciiArtRKSt6vectorIhSaIhEEjj(ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = icmp ne i32 %1, 0
  %5 = icmp ne i32 %2, 0
  %or.cond = and i1 %4, %5
  br i1 %or.cond, label %6, label %103

6:                                                ; preds = %3
  %7 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @.str.34)
  %9 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %spec.select = tail call i32 @llvm.umin.i32(i32 %1, i32 48)
  %10 = mul i32 %spec.select, %2
  %11 = udiv i32 %10, %1
  %12 = shl i32 %11, 1
  %13 = shl nuw nsw i32 %spec.select, 1
  %14 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  br label %19

15:                                               ; preds = %19
  %16 = udiv i32 %12, 3
  %.093 = tail call i32 @llvm.umin.i32(i32 %16, i32 %13)
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %.not114 = icmp ult i32 %12, 3
  br i1 %.not114, label %._crit_edge, label %.lr.ph

19:                                               ; preds = %6, %19
  %.094110 = phi i32 [ 0, %6 ], [ %21, %19 ]
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 45)
  %21 = add nuw nsw i32 %.094110, 1
  %exitcond.not = icmp eq i32 %21, %spec.select
  br i1 %exitcond.not, label %15, label %19, !llvm.loop !5

._crit_edge:                                      ; preds = %27, %15
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  br label %100

.lr.ph:                                           ; preds = %15, %27
  %.095112 = phi i32 [ %30, %27 ], [ 0, %15 ]
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.35)
  %24 = mul i32 %.095112, %2
  %25 = udiv i32 %24, %.093
  %26 = mul i32 %25, %1
  br label %32

27:                                               ; preds = %94
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.35)
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %30 = add nuw nsw i32 %.095112, 1
  %31 = icmp ult i32 %30, %.093
  br i1 %31, label %.lr.ph, label %._crit_edge, !llvm.loop !7

32:                                               ; preds = %.lr.ph, %94
  %.096111 = phi i32 [ 0, %.lr.ph ], [ %96, %94 ]
  %33 = mul i32 %.096111, %1
  %34 = udiv i32 %33, %spec.select
  %35 = add i32 %26, %34
  %36 = shl i32 %35, 2
  %37 = zext i32 %36 to i64
  %38 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %37) #4
  %39 = load i8, ptr %38, align 1, !tbaa !8
  %40 = zext i8 %39 to i32
  %41 = or disjoint i32 %36, 1
  %42 = zext i32 %41 to i64
  %43 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %42) #4
  %44 = load i8, ptr %43, align 1, !tbaa !8
  %45 = zext i8 %44 to i32
  %46 = or disjoint i32 %36, 2
  %47 = zext i32 %46 to i64
  %48 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %47) #4
  %49 = load i8, ptr %48, align 1, !tbaa !8
  %50 = zext i8 %49 to i32
  %51 = or disjoint i32 %36, 3
  %52 = zext i32 %51 to i64
  %53 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %52) #4
  %54 = load i8, ptr %53, align 1, !tbaa !8
  %55 = zext i8 %54 to i32
  %56 = add nuw nsw i32 %45, %40
  %57 = add nuw nsw i32 %56, %50
  %.lhs.trunc = trunc nuw nsw i32 %57 to i16
  %58 = udiv i16 %.lhs.trunc, 3
  %.zext = zext nneg i16 %58 to i32
  %59 = mul nuw nsw i32 %.zext, %55
  %60 = icmp ult i8 %39, %44
  %61 = icmp ult i8 %39, %49
  %or.cond105 = select i1 %60, i1 %61, i1 false
  %62 = tail call i32 @llvm.umin.i32(i32 %45, i32 %50)
  %63 = select i1 %or.cond105, i32 %40, i32 %62
  %64 = icmp ugt i8 %39, %44
  %65 = icmp ugt i8 %39, %49
  %or.cond106 = select i1 %64, i1 %65, i1 false
  %66 = tail call i32 @llvm.umax.i32(i32 %45, i32 %50)
  %67 = select i1 %or.cond106, i32 %40, i32 %66
  %68 = sub nsw i32 %67, %63
  %69 = icmp sgt i32 %68, 32
  br i1 %69, label %70, label %84

70:                                               ; preds = %32
  %.lhs.trunc108 = trunc nuw i32 %59 to i16
  %71 = udiv i16 %.lhs.trunc108, 255
  %.zext109 = zext nneg i16 %71 to i32
  %72 = add nuw nsw i32 %63, %67
  %73 = lshr i32 %72, 1
  %.not = icmp ugt i32 %73, %.zext109
  br i1 %.not, label %79, label %74

74:                                               ; preds = %70
  %75 = icmp eq i32 %63, %40
  %76 = icmp eq i32 %63, %45
  %77 = select i1 %76, i8 109, i8 121
  %78 = select i1 %75, i8 99, i8 %77
  br label %84

79:                                               ; preds = %70
  %80 = icmp eq i32 %67, %40
  %81 = icmp eq i32 %67, %45
  %82 = select i1 %81, i8 103, i8 98
  %83 = select i1 %80, i8 114, i8 %82
  br label %84

84:                                               ; preds = %74, %79, %32
  %.1 = phi i8 [ 105, %32 ], [ %78, %74 ], [ %83, %79 ]
  %85 = icmp ugt i32 %59, 57374
  br i1 %85, label %94, label %86

86:                                               ; preds = %84
  %87 = icmp ugt i32 %59, 32894
  br i1 %87, label %88, label %90

88:                                               ; preds = %86
  %89 = add nsw i8 %.1, -32
  br label %94

90:                                               ; preds = %86
  %91 = icmp ugt i32 %59, 8414
  br i1 %91, label %94, label %92

92:                                               ; preds = %90
  %93 = icmp ugt i32 %59, 4334
  %spec.select107 = select i1 %93, i8 46, i8 32
  br label %94

94:                                               ; preds = %92, %90, %84, %88
  %.090 = phi i8 [ %89, %88 ], [ 64, %84 ], [ %.1, %90 ], [ %spec.select107, %92 ]
  %95 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext %.090)
  %96 = add nuw nsw i32 %.096111, 1
  %exitcond115.not = icmp eq i32 %96, %spec.select
  br i1 %exitcond115.not, label %27, label %32, !llvm.loop !11

97:                                               ; preds = %100
  %98 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 43)
  %99 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %103

100:                                              ; preds = %._crit_edge, %100
  %.0113 = phi i32 [ 0, %._crit_edge ], [ %102, %100 ]
  %101 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i8 noundef signext 45)
  %102 = add nuw nsw i32 %.0113, 1
  %exitcond116.not = icmp eq i32 %102, %spec.select
  br i1 %exitcond116.not, label %97, label %100, !llvm.loop !12

103:                                              ; preds = %97, %3
  ret void
}

; 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 #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt6vectorIhSaIhEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}
!12 = distinct !{!12, !6}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass