; LLVM IR from yellow-footed-honeyguide/facad :: src (display_utils)

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

%struct.FileCardInfo = type { ptr, ptr, i32, i32, [2 x i8], i32 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local i64 @get_display_width(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @display_entries(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %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 i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  %28 = call ptr @setlocale(i32 noundef 6, ptr noundef @.str.2) #6
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %44

31:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %32 = call ptr @get_current_branch()
  store ptr %32, ptr %11, align 8, !tbaa !5
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %40

35:                                               ; preds = %31
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %36, ptr noundef %37)
  %39 = load ptr, ptr %11, align 8, !tbaa !5
  call void @free(ptr noundef %39) #6
  br label %43

40:                                               ; preds = %31
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %41)
  br label %43

43:                                               ; preds = %40, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %44

44:                                               ; preds = %43, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = mul i64 %46, 8
  %48 = call noalias ptr @malloc(i64 noundef %47) #7
  store ptr %48, ptr %12, align 8, !tbaa !5
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %54, label %51

51:                                               ; preds = %44
  %52 = load ptr, ptr @stderr, align 8, !tbaa !5
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.5) #6
  store i32 1, ptr %13, align 4
  br label %313

54:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  store i64 0, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %55

55:                                               ; preds = %120, %54
  %56 = load i32, ptr %15, align 4, !tbaa !9
  %57 = load i32, ptr %7, align 4, !tbaa !9
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %123

60:                                               ; preds = %55
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds %struct.FileCardInfo, ptr %61, i64 %63
  %65 = getelementptr inbounds %struct.FileCardInfo, ptr %64, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !13
  %67 = call i64 @get_display_width(ptr noundef %66)
  %68 = add i64 3, %67
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds i64, ptr %69, i64 %71
  store i64 %68, ptr %72, align 8, !tbaa !11
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i32, ptr %15, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds %struct.FileCardInfo, ptr %73, i64 %75
  %77 = getelementptr inbounds %struct.FileCardInfo, ptr %76, i32 0, i32 4
  %78 = getelementptr inbounds [2 x i8], ptr %77, i64 0, i64 0
  %79 = load i8, ptr %78, align 8, !tbaa !15
  %80 = sext i8 %79 to i32
  %81 = icmp ne i32 %80, 0
  br i1 %81, label %98, label %82

82:                                               ; preds = %60
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load i32, ptr %15, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds %struct.FileCardInfo, ptr %83, i64 %85
  %87 = getelementptr inbounds %struct.FileCardInfo, ptr %86, i32 0, i32 2
  %88 = load i32, ptr %87, align 8, !tbaa !16
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %105

90:                                               ; preds = %82
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = load i32, ptr %15, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds %struct.FileCardInfo, ptr %91, i64 %93
  %95 = getelementptr inbounds %struct.FileCardInfo, ptr %94, i32 0, i32 5
  %96 = load i32, ptr %95, align 4, !tbaa !17
  %97 = icmp ne i32 %96, 0
  br i1 %97, label %98, label %105

98:                                               ; preds = %90, %60
  %99 = load ptr, ptr %12, align 8, !tbaa !5
  %100 = load i32, ptr %15, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i64, ptr %99, i64 %101
  %103 = load i64, ptr %102, align 8, !tbaa !11
  %104 = add i64 %103, 3
  store i64 %104, ptr %102, align 8, !tbaa !11
  br label %105

105:                                              ; preds = %98, %90, %82
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load i32, ptr %15, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i64, ptr %106, i64 %108
  %110 = load i64, ptr %109, align 8, !tbaa !11
  %111 = load i64, ptr %14, align 8, !tbaa !11
  %112 = icmp ugt i64 %110, %111
  br i1 %112, label %113, label %119

113:                                              ; preds = %105
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = load i32, ptr %15, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds i64, ptr %114, i64 %116
  %118 = load i64, ptr %117, align 8, !tbaa !11
  store i64 %118, ptr %14, align 8, !tbaa !11
  br label %119

119:                                              ; preds = %113, %105
  br label %120

120:                                              ; preds = %119
  %121 = load i32, ptr %15, align 4, !tbaa !9
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %15, align 4, !tbaa !9
  br label %55, !llvm.loop !18

123:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %124 = load i32, ptr %8, align 4, !tbaa !9
  %125 = add nsw i32 %124, 2
  %126 = sext i32 %125 to i64
  %127 = load i64, ptr %14, align 8, !tbaa !11
  %128 = add i64 %127, 2
  %129 = udiv i64 %126, %128
  %130 = trunc i64 %129 to i32
  store i32 %130, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  %132 = call i32 @get_max_columns(ptr noundef %131)
  store i32 %132, ptr %17, align 4, !tbaa !9
  %133 = load i32, ptr %16, align 4, !tbaa !9
  %134 = load i32, ptr %17, align 4, !tbaa !9
  %135 = icmp sgt i32 %133, %134
  br i1 %135, label %136, label %138

136:                                              ; preds = %123
  %137 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %137, ptr %16, align 4, !tbaa !9
  br label %138

138:                                              ; preds = %136, %123
  %139 = load i32, ptr %16, align 4, !tbaa !9
  %140 = icmp slt i32 %139, 1
  br i1 %140, label %141, label %142

141:                                              ; preds = %138
  store i32 1, ptr %16, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %141, %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %143 = load i32, ptr %16, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = call noalias ptr @calloc(i64 noundef %144, i64 noundef 8) #8
  store ptr %145, ptr %18, align 8, !tbaa !5
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = icmp ne ptr %146, null
  br i1 %147, label %152, label %148

148:                                              ; preds = %142
  %149 = load ptr, ptr @stderr, align 8, !tbaa !5
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.5) #6
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  call void @free(ptr noundef %151) #6
  store i32 1, ptr %13, align 4
  br label %312

152:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %153 = load i32, ptr %7, align 4, !tbaa !9
  %154 = load i32, ptr %16, align 4, !tbaa !9
  %155 = add nsw i32 %153, %154
  %156 = sub nsw i32 %155, 1
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = sdiv i32 %156, %157
  store i32 %158, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %159

159:                                              ; preds = %190, %152
  %160 = load i32, ptr %20, align 4, !tbaa !9
  %161 = load i32, ptr %7, align 4, !tbaa !9
  %162 = icmp slt i32 %160, %161
  br i1 %162, label %164, label %163

163:                                              ; preds = %159
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %193

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %165 = load i32, ptr %20, align 4, !tbaa !9
  %166 = load i32, ptr %19, align 4, !tbaa !9
  %167 = sdiv i32 %165, %166
  store i32 %167, ptr %21, align 4, !tbaa !9
  %168 = load ptr, ptr %12, align 8, !tbaa !5
  %169 = load i32, ptr %20, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds i64, ptr %168, i64 %170
  %172 = load i64, ptr %171, align 8, !tbaa !11
  %173 = load ptr, ptr %18, align 8, !tbaa !5
  %174 = load i32, ptr %21, align 4, !tbaa !9
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds i64, ptr %173, i64 %175
  %177 = load i64, ptr %176, align 8, !tbaa !11
  %178 = icmp ugt i64 %172, %177
  br i1 %178, label %179, label %189

179:                                              ; preds = %164
  %180 = load ptr, ptr %12, align 8, !tbaa !5
  %181 = load i32, ptr %20, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds i64, ptr %180, i64 %182
  %184 = load i64, ptr %183, align 8, !tbaa !11
  %185 = load ptr, ptr %18, align 8, !tbaa !5
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds i64, ptr %185, i64 %187
  store i64 %184, ptr %188, align 8, !tbaa !11
  br label %189

189:                                              ; preds = %179, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %190

190:                                              ; preds = %189
  %191 = load i32, ptr %20, align 4, !tbaa !9
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %20, align 4, !tbaa !9
  br label %159, !llvm.loop !20

193:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %306, %193
  %195 = load i32, ptr %22, align 4, !tbaa !9
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = icmp slt i32 %195, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %194
  store i32 8, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %309

199:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %200

200:                                              ; preds = %301, %199
  %201 = load i32, ptr %23, align 4, !tbaa !9
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = icmp slt i32 %201, %202
  br i1 %203, label %205, label %204

204:                                              ; preds = %200
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %304

205:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %206 = load i32, ptr %23, align 4, !tbaa !9
  %207 = load i32, ptr %19, align 4, !tbaa !9
  %208 = mul nsw i32 %206, %207
  %209 = load i32, ptr %22, align 4, !tbaa !9
  %210 = add nsw i32 %208, %209
  store i32 %210, ptr %24, align 4, !tbaa !9
  %211 = load i32, ptr %24, align 4, !tbaa !9
  %212 = load i32, ptr %7, align 4, !tbaa !9
  %213 = icmp slt i32 %211, %212
  br i1 %213, label %214, label %300

214:                                              ; preds = %205
  %215 = load ptr, ptr %6, align 8, !tbaa !5
  %216 = load i32, ptr %24, align 4, !tbaa !9
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds %struct.FileCardInfo, ptr %215, i64 %217
  %219 = getelementptr inbounds %struct.FileCardInfo, ptr %218, i32 0, i32 1
  %220 = load ptr, ptr %219, align 8, !tbaa !21
  %221 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %220)
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = load i32, ptr %24, align 4, !tbaa !9
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds %struct.FileCardInfo, ptr %222, i64 %224
  %226 = getelementptr inbounds %struct.FileCardInfo, ptr %225, i32 0, i32 0
  %227 = load ptr, ptr %226, align 8, !tbaa !13
  %228 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %227)
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = load i32, ptr %24, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds %struct.FileCardInfo, ptr %229, i64 %231
  %233 = getelementptr inbounds %struct.FileCardInfo, ptr %232, i32 0, i32 4
  %234 = getelementptr inbounds [2 x i8], ptr %233, i64 0, i64 0
  %235 = load i8, ptr %234, align 8, !tbaa !15
  %236 = sext i8 %235 to i32
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %248

238:                                              ; preds = %214
  %239 = load ptr, ptr %6, align 8, !tbaa !5
  %240 = load i32, ptr %24, align 4, !tbaa !9
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds %struct.FileCardInfo, ptr %239, i64 %241
  %243 = getelementptr inbounds %struct.FileCardInfo, ptr %242, i32 0, i32 4
  %244 = getelementptr inbounds [2 x i8], ptr %243, i64 0, i64 0
  %245 = load i8, ptr %244, align 8, !tbaa !15
  %246 = sext i8 %245 to i32
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %246)
  br label %267

248:                                              ; preds = %214
  %249 = load ptr, ptr %6, align 8, !tbaa !5
  %250 = load i32, ptr %24, align 4, !tbaa !9
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds %struct.FileCardInfo, ptr %249, i64 %251
  %253 = getelementptr inbounds %struct.FileCardInfo, ptr %252, i32 0, i32 2
  %254 = load i32, ptr %253, align 8, !tbaa !16
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %256, label %266

256:                                              ; preds = %248
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = load i32, ptr %24, align 4, !tbaa !9
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds %struct.FileCardInfo, ptr %257, i64 %259
  %261 = getelementptr inbounds %struct.FileCardInfo, ptr %260, i32 0, i32 5
  %262 = load i32, ptr %261, align 4, !tbaa !17
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %266

264:                                              ; preds = %256
  %265 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  br label %266

266:                                              ; preds = %264, %256, %248
  br label %267

267:                                              ; preds = %266, %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %268 = load ptr, ptr %12, align 8, !tbaa !5
  %269 = load i32, ptr %24, align 4, !tbaa !9
  %270 = sext i32 %269 to i64
  %271 = getelementptr inbounds i64, ptr %268, i64 %270
  %272 = load i64, ptr %271, align 8, !tbaa !11
  store i64 %272, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %273 = load i32, ptr %23, align 4, !tbaa !9
  %274 = load i32, ptr %16, align 4, !tbaa !9
  %275 = sub nsw i32 %274, 1
  %276 = icmp slt i32 %273, %275
  br i1 %276, label %277, label %286

277:                                              ; preds = %267
  %278 = load ptr, ptr %18, align 8, !tbaa !5
  %279 = load i32, ptr %23, align 4, !tbaa !9
  %280 = sext i32 %279 to i64
  %281 = getelementptr inbounds i64, ptr %278, i64 %280
  %282 = load i64, ptr %281, align 8, !tbaa !11
  %283 = load i64, ptr %25, align 8, !tbaa !11
  %284 = sub i64 %282, %283
  %285 = add i64 %284, 2
  br label %287

286:                                              ; preds = %267
  br label %287

287:                                              ; preds = %286, %277
  %288 = phi i64 [ %285, %277 ], [ 0, %286 ]
  store i64 %288, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  store i64 0, ptr %27, align 8, !tbaa !11
  br label %289

289:                                              ; preds = %296, %287
  %290 = load i64, ptr %27, align 8, !tbaa !11
  %291 = load i64, ptr %26, align 8, !tbaa !11
  %292 = icmp ult i64 %290, %291
  br i1 %292, label %294, label %293

293:                                              ; preds = %289
  store i32 14, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br label %299

294:                                              ; preds = %289
  %295 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  br label %296

296:                                              ; preds = %294
  %297 = load i64, ptr %27, align 8, !tbaa !11
  %298 = add i64 %297, 1
  store i64 %298, ptr %27, align 8, !tbaa !11
  br label %289, !llvm.loop !22

299:                                              ; preds = %293
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %300

300:                                              ; preds = %299, %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %301

301:                                              ; preds = %300
  %302 = load i32, ptr %23, align 4, !tbaa !9
  %303 = add nsw i32 %302, 1
  store i32 %303, ptr %23, align 4, !tbaa !9
  br label %200, !llvm.loop !23

304:                                              ; preds = %204
  %305 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  br label %306

306:                                              ; preds = %304
  %307 = load i32, ptr %22, align 4, !tbaa !9
  %308 = add nsw i32 %307, 1
  store i32 %308, ptr %22, align 4, !tbaa !9
  br label %194, !llvm.loop !24

309:                                              ; preds = %198
  %310 = load ptr, ptr %12, align 8, !tbaa !5
  call void @free(ptr noundef %310) #6
  %311 = load ptr, ptr %18, align 8, !tbaa !5
  call void @free(ptr noundef %311) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  store i32 0, ptr %13, align 4
  br label %312

312:                                              ; preds = %309, %148
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %313

313:                                              ; preds = %312, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %314 = load i32, ptr %13, align 4
  switch i32 %314, label %316 [
    i32 0, label %315
    i32 1, label %315
  ]

315:                                              ; preds = %313, %313
  ret void

316:                                              ; preds = %313
  unreachable
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) #3

declare ptr @get_current_branch() #2

; Function Attrs: nounwind
declare void @free(ptr noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

declare i32 @get_max_columns(ptr noundef) #2

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind allocsize(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 allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { nounwind allocsize(0,1) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !10, i64 28}
!15 = !{!7, !7, i64 0}
!16 = !{!14, !10, i64 16}
!17 = !{!14, !10, i64 28}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!14, !6, i64 8}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}


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

%struct.FileCardInfo = type { ptr, ptr, i32, i32, [2 x i8], i32 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i64 @get_display_width(ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local void @display_entries(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = tail call ptr @setlocale(i32 noundef 6, ptr noundef nonnull @.str.2) #8
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %13, label %7

7:                                                ; preds = %5
  %8 = tail call ptr @get_current_branch() #8
  %.not105 = icmp eq ptr %8, null
  br i1 %.not105, label %11, label %9

9:                                                ; preds = %7
  %10 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %3, ptr noundef nonnull %8)
  tail call void @free(ptr noundef nonnull %8) #8
  br label %13

11:                                               ; preds = %7
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %3)
  br label %13

13:                                               ; preds = %9, %11, %5
  %14 = sext i32 %1 to i64
  %15 = shl nsw i64 %14, 3
  %16 = tail call noalias ptr @malloc(i64 noundef %15) #9
  %.not106 = icmp eq ptr %16, null
  br i1 %.not106, label %18, label %.preheader116

.preheader116:                                    ; preds = %13
  %17 = icmp sgt i32 %1, 0
  br i1 %17, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader116
  %wide.trip.count = zext nneg i32 %1 to i64
  br label %.lr.ph

18:                                               ; preds = %13
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.5) #10
  br label %125

._crit_edge.loopexit:                             ; preds = %44
  %21 = add i64 %spec.select114, 2
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader116
  %.088.lcssa = phi i64 [ 2, %.preheader116 ], [ %21, %._crit_edge.loopexit ]
  %22 = add nsw i32 %2, 2
  %23 = sext i32 %22 to i64
  %24 = udiv i64 %23, %.088.lcssa
  %25 = trunc i64 %24 to i32
  %26 = tail call i32 @get_max_columns(ptr noundef %3) #8
  %spec.select = tail call i32 @llvm.smin.i32(i32 %26, i32 %25)
  %spec.store.select = tail call i32 @llvm.smax.i32(i32 %spec.select, i32 1)
  %27 = zext nneg i32 %spec.store.select to i64
  %28 = tail call noalias ptr @calloc(i64 noundef %27, i64 noundef 8) #11
  %.not107 = icmp eq ptr %28, null
  br i1 %.not107, label %46, label %49

.lr.ph:                                           ; preds = %.lr.ph.preheader, %44
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %44 ]
  %.088118 = phi i64 [ 0, %.lr.ph.preheader ], [ %spec.select114, %44 ]
  %29 = getelementptr inbounds %struct.FileCardInfo, ptr %0, i64 %indvars.iv
  %30 = load ptr, ptr %29, align 8, !tbaa !9
  %31 = tail call i64 @get_display_width(ptr noundef %30)
  %32 = add i64 %31, 3
  %33 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv
  store i64 %32, ptr %33, align 8, !tbaa !12
  %34 = getelementptr inbounds i8, ptr %29, i64 24
  %35 = load i8, ptr %34, align 8, !tbaa !14
  %.not111 = icmp eq i8 %35, 0
  br i1 %.not111, label %36, label %42

36:                                               ; preds = %.lr.ph
  %37 = getelementptr inbounds i8, ptr %29, i64 16
  %38 = load i32, ptr %37, align 8, !tbaa !15
  %.not112 = icmp eq i32 %38, 0
  br i1 %.not112, label %44, label %39

39:                                               ; preds = %36
  %40 = getelementptr inbounds i8, ptr %29, i64 28
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %.not113 = icmp eq i32 %41, 0
  br i1 %.not113, label %44, label %42

42:                                               ; preds = %39, %.lr.ph
  %43 = add i64 %31, 6
  store i64 %43, ptr %33, align 8, !tbaa !12
  br label %44

44:                                               ; preds = %42, %39, %36
  %45 = phi i64 [ %43, %42 ], [ %32, %39 ], [ %32, %36 ]
  %spec.select114 = tail call i64 @llvm.umax.i64(i64 %45, i64 %.088118)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !17

46:                                               ; preds = %._crit_edge
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef nonnull @.str.5) #10
  tail call void @free(ptr noundef nonnull %16) #8
  br label %125

49:                                               ; preds = %._crit_edge
  %50 = add i32 %1, -1
  %51 = add i32 %50, %spec.store.select
  %52 = sdiv i32 %51, %spec.store.select
  br i1 %17, label %.lr.ph121.preheader, label %.preheader115

.lr.ph121.preheader:                              ; preds = %49
  %wide.trip.count134 = zext nneg i32 %1 to i64
  %xtraiter = and i64 %wide.trip.count134, 1
  %53 = icmp eq i32 %1, 1
  br i1 %53, label %.preheader115.loopexit.unr-lcssa, label %.lr.ph121.preheader.new

.lr.ph121.preheader.new:                          ; preds = %.lr.ph121.preheader
  %unroll_iter = and i64 %wide.trip.count134, 2147483646
  br label %.lr.ph121

.preheader115.loopexit.unr-lcssa:                 ; preds = %86, %.lr.ph121.preheader
  %indvars.iv131.unr = phi i64 [ 0, %.lr.ph121.preheader ], [ %indvars.iv.next132.1, %86 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader115, label %.lr.ph121.epil

.lr.ph121.epil:                                   ; preds = %.preheader115.loopexit.unr-lcssa
  %54 = trunc nuw nsw i64 %indvars.iv131.unr to i32
  %55 = sdiv i32 %54, %52
  %56 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv131.unr
  %57 = load i64, ptr %56, align 8, !tbaa !12
  %58 = sext i32 %55 to i64
  %59 = getelementptr inbounds i64, ptr %28, i64 %58
  %60 = load i64, ptr %59, align 8, !tbaa !12
  %61 = icmp ugt i64 %57, %60
  br i1 %61, label %62, label %.preheader115

62:                                               ; preds = %.lr.ph121.epil
  store i64 %57, ptr %59, align 8, !tbaa !12
  br label %.preheader115

.preheader115:                                    ; preds = %.preheader115.loopexit.unr-lcssa, %62, %.lr.ph121.epil, %49
  %63 = icmp sgt i32 %52, 0
  br i1 %63, label %.preheader.lr.ph, label %._crit_edge128

.preheader.lr.ph:                                 ; preds = %.preheader115
  %64 = add nsw i32 %spec.store.select, -1
  %65 = zext nneg i32 %52 to i64
  %66 = zext nneg i32 %64 to i64
  %67 = sext i32 %spec.select to i64
  br label %.preheader

.lr.ph121:                                        ; preds = %86, %.lr.ph121.preheader.new
  %indvars.iv131 = phi i64 [ 0, %.lr.ph121.preheader.new ], [ %indvars.iv.next132.1, %86 ]
  %niter = phi i64 [ 0, %.lr.ph121.preheader.new ], [ %niter.next.1, %86 ]
  %68 = trunc nuw nsw i64 %indvars.iv131 to i32
  %69 = sdiv i32 %68, %52
  %70 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv131
  %71 = load i64, ptr %70, align 8, !tbaa !12
  %72 = sext i32 %69 to i64
  %73 = getelementptr inbounds i64, ptr %28, i64 %72
  %74 = load i64, ptr %73, align 8, !tbaa !12
  %75 = icmp ugt i64 %71, %74
  br i1 %75, label %76, label %.lr.ph121.1

76:                                               ; preds = %.lr.ph121
  store i64 %71, ptr %73, align 8, !tbaa !12
  br label %.lr.ph121.1

.lr.ph121.1:                                      ; preds = %76, %.lr.ph121
  %indvars.iv.next132 = or disjoint i64 %indvars.iv131, 1
  %77 = trunc nuw nsw i64 %indvars.iv.next132 to i32
  %78 = sdiv i32 %77, %52
  %79 = getelementptr inbounds i64, ptr %16, i64 %indvars.iv.next132
  %80 = load i64, ptr %79, align 8, !tbaa !12
  %81 = sext i32 %78 to i64
  %82 = getelementptr inbounds i64, ptr %28, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !12
  %84 = icmp ugt i64 %80, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %.lr.ph121.1
  store i64 %80, ptr %82, align 8, !tbaa !12
  br label %86

86:                                               ; preds = %85, %.lr.ph121.1
  %indvars.iv.next132.1 = add nuw nsw i64 %indvars.iv131, 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 %.preheader115.loopexit.unr-lcssa, label %.lr.ph121, !llvm.loop !19

.preheader:                                       ; preds = %.preheader.lr.ph, %87
  %indvars.iv140 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next141, %87 ]
  br label %89

._crit_edge128:                                   ; preds = %87, %.preheader115
  tail call void @free(ptr noundef %16) #8
  tail call void @free(ptr noundef %28) #8
  br label %125

87:                                               ; preds = %.loopexit
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %indvars.iv.next141 = add nuw nsw i64 %indvars.iv140, 1
  %exitcond144.not = icmp eq i64 %indvars.iv.next141, %65
  br i1 %exitcond144.not, label %._crit_edge128, label %.preheader, !llvm.loop !20

89:                                               ; preds = %.preheader, %.loopexit
  %indvars.iv137 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next138, %.loopexit ]
  %90 = mul nuw nsw i64 %indvars.iv137, %65
  %91 = add nuw nsw i64 %90, %indvars.iv140
  %92 = trunc nuw i64 %91 to i32
  %93 = icmp slt i32 %92, %1
  br i1 %93, label %94, label %.loopexit

94:                                               ; preds = %89
  %95 = getelementptr inbounds %struct.FileCardInfo, ptr %0, i64 %91
  %96 = getelementptr inbounds i8, ptr %95, i64 8
  %97 = load ptr, ptr %96, align 8, !tbaa !21
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %97)
  %99 = load ptr, ptr %95, align 8, !tbaa !9
  %100 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %99)
  %101 = getelementptr inbounds i8, ptr %95, i64 24
  %102 = load i8, ptr %101, align 8, !tbaa !14
  %.not108 = icmp eq i8 %102, 0
  br i1 %.not108, label %106, label %103

103:                                              ; preds = %94
  %104 = sext i8 %102 to i32
  %105 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, i32 noundef %104)
  br label %114

106:                                              ; preds = %94
  %107 = getelementptr inbounds i8, ptr %95, i64 16
  %108 = load i32, ptr %107, align 8, !tbaa !15
  %.not109 = icmp eq i32 %108, 0
  br i1 %.not109, label %114, label %109

109:                                              ; preds = %106
  %110 = getelementptr inbounds i8, ptr %95, i64 28
  %111 = load i32, ptr %110, align 4, !tbaa !16
  %.not110 = icmp eq i32 %111, 0
  br i1 %.not110, label %114, label %112

112:                                              ; preds = %109
  %113 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  br label %114

114:                                              ; preds = %106, %109, %112, %103
  %115 = icmp ult i64 %indvars.iv137, %66
  br i1 %115, label %116, label %.loopexit

116:                                              ; preds = %114
  %117 = getelementptr inbounds i64, ptr %16, i64 %91
  %118 = load i64, ptr %117, align 8, !tbaa !12
  %119 = getelementptr inbounds i64, ptr %28, i64 %indvars.iv137
  %120 = load i64, ptr %119, align 8, !tbaa !12
  %reass.sub = sub i64 %120, %118
  %121 = add i64 %reass.sub, 2
  %.not129 = icmp eq i64 %121, 0
  br i1 %.not129, label %.loopexit, label %.lr.ph124

.lr.ph124:                                        ; preds = %116, %.lr.ph124
  %.0122 = phi i64 [ %123, %.lr.ph124 ], [ 0, %116 ]
  %122 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %123 = add nuw i64 %.0122, 1
  %exitcond136.not = icmp eq i64 %123, %121
  br i1 %exitcond136.not, label %.loopexit, label %.lr.ph124, !llvm.loop !22

.loopexit:                                        ; preds = %.lr.ph124, %114, %116, %89
  %indvars.iv.next138 = add nuw nsw i64 %indvars.iv137, 1
  %124 = icmp slt i64 %indvars.iv.next138, %67
  br i1 %124, label %89, label %87, !llvm.loop !23

125:                                              ; preds = %46, %._crit_edge128, %18
  ret void
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #2

declare ptr @get_current_branch() local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5

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

declare i32 @get_max_columns(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #6

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

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

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

attributes #0 = { 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 #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { cold nounwind }
attributes #11 = { nounwind allocsize(0,1) }

!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/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !7, i64 24, !11, i64 28}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!10, !11, i64 16}
!16 = !{!10, !11, i64 28}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!10, !6, i64 8}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}


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