; LLVM IR from Aeternum-Veritas/Merry :: merry (merry_nreader)

; 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.MerryReader = type { i8, i8, i8, i8, %struct.MerryInstSection, %struct.MerryEAT, %struct.MerrySsT, %struct.MerryST, ptr, [2 x i64], i64, i64, ptr, i64, ptr, i64, ptr, ptr, ptr, ptr, i64, i64 }
%struct.MerryInstSection = type { i64, ptr, i64, i64 }
%struct.MerryEAT = type { ptr, i64, i64 }
%struct.MerrySsT = type { i64, i64, ptr, i8 }
%struct.MerryST = type { ptr, i64 }
%struct.MerrySection = type { i64, i32, i64, i8, i8 }

@stdout = external global ptr, align 8
@stderr = external global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [87 x i8], align 1

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i8 @merry_reader_read_sst(ptr noundef %0) #3 {
  %2 = alloca i8, align 1
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca [16 x i8], align 16
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %17 = load ptr, ptr @stdout, align 8, !tbaa !5
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.27, ptr noundef null) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.MerryReader, ptr %19, i32 0, i32 4
  %21 = getelementptr inbounds %struct.MerryInstSection, ptr %20, i32 0, i32 3
  %22 = load i64, ptr %21, align 8, !tbaa !9
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.MerryReader, ptr %23, i32 0, i32 4
  %25 = getelementptr inbounds %struct.MerryInstSection, ptr %24, i32 0, i32 0
  %26 = load i64, ptr %25, align 8, !tbaa !16
  %27 = add i64 %22, %26
  store i64 %27, ptr %4, align 8, !tbaa !17
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.MerryReader, ptr %28, i32 0, i32 12
  %30 = load ptr, ptr %29, align 8, !tbaa !18
  %31 = load i64, ptr %4, align 8, !tbaa !17
  %32 = call i32 @fseek(ptr noundef %30, i64 noundef %31, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.MerryReader, ptr %33, i32 0, i32 6
  %35 = getelementptr inbounds %struct.MerrySsT, ptr %34, i32 0, i32 0
  %36 = load i64, ptr %35, align 8, !tbaa !19
  %37 = udiv i64 %36, 16
  store i64 %37, ptr %5, align 8, !tbaa !17
  %38 = load i64, ptr %5, align 8, !tbaa !17
  %39 = mul i64 32, %38
  %40 = call noalias ptr @malloc(i64 noundef %39) #6
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.MerryReader, ptr %41, i32 0, i32 6
  %43 = getelementptr inbounds %struct.MerrySsT, ptr %42, i32 0, i32 2
  store ptr %40, ptr %43, align 8, !tbaa !20
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.MerryReader, ptr %44, i32 0, i32 6
  %46 = getelementptr inbounds %struct.MerrySsT, ptr %45, i32 0, i32 2
  %47 = load ptr, ptr %46, align 8, !tbaa !20
  %48 = icmp eq ptr %47, null
  br i1 %48, label %49, label %52

49:                                               ; preds = %1
  %50 = load ptr, ptr @stderr, align 8, !tbaa !5
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.28) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %339

52:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #5
  store i8 0, ptr %8, align 1, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 0, ptr %9, align 1, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !17
  br label %53

53:                                               ; preds = %299, %52
  %54 = load i64, ptr %10, align 8, !tbaa !17
  %55 = load i64, ptr %5, align 8, !tbaa !17
  %56 = icmp ult i64 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  store i32 2, ptr %6, align 4
  br label %302

58:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  %59 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  %60 = load ptr, ptr %3, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.MerryReader, ptr %60, i32 0, i32 12
  %62 = load ptr, ptr %61, align 8, !tbaa !18
  %63 = call i64 @fread(ptr noundef %59, i64 noundef 1, i64 noundef 16, ptr noundef %62)
  %64 = icmp ne i64 %63, 16
  br i1 %64, label %65, label %68

65:                                               ; preds = %58
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.29) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %296

68:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !17
  %69 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
  %70 = load i8, ptr %69, align 16, !tbaa !21
  %71 = zext i8 %70 to i64
  store i64 %71, ptr %12, align 8, !tbaa !17
  %72 = load i64, ptr %12, align 8, !tbaa !17
  %73 = shl i64 %72, 8
  store i64 %73, ptr %12, align 8, !tbaa !17
  %74 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 1
  %75 = load i8, ptr %74, align 1, !tbaa !21
  %76 = zext i8 %75 to i64
  %77 = load i64, ptr %12, align 8, !tbaa !17
  %78 = or i64 %77, %76
  store i64 %78, ptr %12, align 8, !tbaa !17
  %79 = load i64, ptr %12, align 8, !tbaa !17
  %80 = shl i64 %79, 8
  store i64 %80, ptr %12, align 8, !tbaa !17
  %81 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 2
  %82 = load i8, ptr %81, align 2, !tbaa !21
  %83 = zext i8 %82 to i64
  %84 = load i64, ptr %12, align 8, !tbaa !17
  %85 = or i64 %84, %83
  store i64 %85, ptr %12, align 8, !tbaa !17
  %86 = load i64, ptr %12, align 8, !tbaa !17
  %87 = shl i64 %86, 8
  store i64 %87, ptr %12, align 8, !tbaa !17
  %88 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 3
  %89 = load i8, ptr %88, align 1, !tbaa !21
  %90 = zext i8 %89 to i64
  %91 = load i64, ptr %12, align 8, !tbaa !17
  %92 = or i64 %91, %90
  store i64 %92, ptr %12, align 8, !tbaa !17
  %93 = load i64, ptr %12, align 8, !tbaa !17
  %94 = shl i64 %93, 8
  store i64 %94, ptr %12, align 8, !tbaa !17
  %95 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 4
  %96 = load i8, ptr %95, align 4, !tbaa !21
  %97 = zext i8 %96 to i64
  %98 = load i64, ptr %12, align 8, !tbaa !17
  %99 = or i64 %98, %97
  store i64 %99, ptr %12, align 8, !tbaa !17
  %100 = load i64, ptr %12, align 8, !tbaa !17
  %101 = shl i64 %100, 8
  store i64 %101, ptr %12, align 8, !tbaa !17
  %102 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 5
  %103 = load i8, ptr %102, align 1, !tbaa !21
  %104 = zext i8 %103 to i64
  %105 = load i64, ptr %12, align 8, !tbaa !17
  %106 = or i64 %105, %104
  store i64 %106, ptr %12, align 8, !tbaa !17
  %107 = load i64, ptr %12, align 8, !tbaa !17
  %108 = shl i64 %107, 8
  store i64 %108, ptr %12, align 8, !tbaa !17
  %109 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 6
  %110 = load i8, ptr %109, align 2, !tbaa !21
  %111 = zext i8 %110 to i64
  %112 = load i64, ptr %12, align 8, !tbaa !17
  %113 = or i64 %112, %111
  store i64 %113, ptr %12, align 8, !tbaa !17
  %114 = load i64, ptr %12, align 8, !tbaa !17
  %115 = shl i64 %114, 8
  store i64 %115, ptr %12, align 8, !tbaa !17
  %116 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 7
  %117 = load i8, ptr %116, align 1, !tbaa !21
  %118 = zext i8 %117 to i64
  %119 = load i64, ptr %12, align 8, !tbaa !17
  %120 = or i64 %119, %118
  store i64 %120, ptr %12, align 8, !tbaa !17
  %121 = load i64, ptr %12, align 8, !tbaa !17
  %122 = urem i64 %121, 8
  %123 = icmp ne i64 %122, 0
  br i1 %123, label %124, label %127

124:                                              ; preds = %68
  %125 = load ptr, ptr @stderr, align 8, !tbaa !5
  %126 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %125, ptr noundef @.str.30) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %295

127:                                              ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %128 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 8
  %129 = load i8, ptr %128, align 8, !tbaa !21
  %130 = zext i8 %129 to i32
  store i32 %130, ptr %13, align 4, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  %131 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 9
  %132 = load i8, ptr %131, align 1, !tbaa !21
  %133 = zext i8 %132 to i32
  %134 = and i32 %133, 1
  %135 = trunc i32 %134 to i8
  store i8 %135, ptr %14, align 1, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  %136 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 10
  %137 = load i8, ptr %136, align 2, !tbaa !21
  %138 = zext i8 %137 to i32
  %139 = and i32 %138, 1
  %140 = trunc i32 %139 to i8
  store i8 %140, ptr %15, align 1, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %141 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 12
  %142 = load i8, ptr %141, align 4, !tbaa !21
  %143 = zext i8 %142 to i64
  store i64 %143, ptr %16, align 8, !tbaa !17
  %144 = load i64, ptr %16, align 8, !tbaa !17
  %145 = shl i64 %144, 8
  store i64 %145, ptr %16, align 8, !tbaa !17
  %146 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 13
  %147 = load i8, ptr %146, align 1, !tbaa !21
  %148 = zext i8 %147 to i64
  %149 = load i64, ptr %16, align 8, !tbaa !17
  %150 = or i64 %149, %148
  store i64 %150, ptr %16, align 8, !tbaa !17
  %151 = load i64, ptr %16, align 8, !tbaa !17
  %152 = shl i64 %151, 8
  store i64 %152, ptr %16, align 8, !tbaa !17
  %153 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 14
  %154 = load i8, ptr %153, align 2, !tbaa !21
  %155 = zext i8 %154 to i64
  %156 = load i64, ptr %16, align 8, !tbaa !17
  %157 = or i64 %156, %155
  store i64 %157, ptr %16, align 8, !tbaa !17
  %158 = load i64, ptr %16, align 8, !tbaa !17
  %159 = shl i64 %158, 8
  store i64 %159, ptr %16, align 8, !tbaa !17
  %160 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 15
  %161 = load i8, ptr %160, align 1, !tbaa !21
  %162 = zext i8 %161 to i64
  %163 = load i64, ptr %16, align 8, !tbaa !17
  %164 = or i64 %163, %162
  store i64 %164, ptr %16, align 8, !tbaa !17
  %165 = load i64, ptr %12, align 8, !tbaa !17
  %166 = load i64, ptr %7, align 8, !tbaa !17
  %167 = add i64 %166, %165
  store i64 %167, ptr %7, align 8, !tbaa !17
  %168 = load i32, ptr %13, align 4, !tbaa !22
  %169 = icmp eq i32 %168, 2
  br i1 %169, label %170, label %174

170:                                              ; preds = %127
  %171 = load ptr, ptr %3, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.MerryReader, ptr %171, i32 0, i32 6
  %173 = getelementptr inbounds %struct.MerrySsT, ptr %172, i32 0, i32 3
  store i8 1, ptr %173, align 8, !tbaa !24
  br label %174

174:                                              ; preds = %170, %127
  %175 = load i8, ptr %15, align 1, !tbaa !21
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.MerryReader, ptr %176, i32 0, i32 6
  %178 = getelementptr inbounds %struct.MerrySsT, ptr %177, i32 0, i32 2
  %179 = load ptr, ptr %178, align 8, !tbaa !20
  %180 = load i64, ptr %10, align 8, !tbaa !17
  %181 = getelementptr inbounds %struct.MerrySection, ptr %179, i64 %180
  %182 = getelementptr inbounds %struct.MerrySection, ptr %181, i32 0, i32 4
  store i8 %175, ptr %182, align 1, !tbaa !25
  %183 = load i32, ptr %13, align 4, !tbaa !22
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %185, label %188

185:                                              ; preds = %174
  %186 = load i8, ptr %14, align 1, !tbaa !21
  %187 = zext i8 %186 to i32
  br label %189

188:                                              ; preds = %174
  br label %189

189:                                              ; preds = %188, %185
  %190 = phi i32 [ %187, %185 ], [ 0, %188 ]
  %191 = trunc i32 %190 to i8
  %192 = load ptr, ptr %3, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.MerryReader, ptr %192, i32 0, i32 6
  %194 = getelementptr inbounds %struct.MerrySsT, ptr %193, i32 0, i32 2
  %195 = load ptr, ptr %194, align 8, !tbaa !20
  %196 = load i64, ptr %10, align 8, !tbaa !17
  %197 = getelementptr inbounds %struct.MerrySection, ptr %195, i64 %196
  %198 = getelementptr inbounds %struct.MerrySection, ptr %197, i32 0, i32 3
  store i8 %191, ptr %198, align 8, !tbaa !27
  %199 = load i64, ptr %12, align 8, !tbaa !17
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.MerryReader, ptr %200, i32 0, i32 6
  %202 = getelementptr inbounds %struct.MerrySsT, ptr %201, i32 0, i32 2
  %203 = load ptr, ptr %202, align 8, !tbaa !20
  %204 = load i64, ptr %10, align 8, !tbaa !17
  %205 = getelementptr inbounds %struct.MerrySection, ptr %203, i64 %204
  %206 = getelementptr inbounds %struct.MerrySection, ptr %205, i32 0, i32 0
  store i64 %199, ptr %206, align 8, !tbaa !28
  %207 = load i64, ptr %16, align 8, !tbaa !17
  %208 = load ptr, ptr %3, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.MerryReader, ptr %208, i32 0, i32 6
  %210 = getelementptr inbounds %struct.MerrySsT, ptr %209, i32 0, i32 2
  %211 = load ptr, ptr %210, align 8, !tbaa !20
  %212 = load i64, ptr %10, align 8, !tbaa !17
  %213 = getelementptr inbounds %struct.MerrySection, ptr %211, i64 %212
  %214 = getelementptr inbounds %struct.MerrySection, ptr %213, i32 0, i32 2
  store i64 %207, ptr %214, align 8, !tbaa !29
  %215 = load i32, ptr %13, align 4, !tbaa !22
  %216 = load ptr, ptr %3, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.MerryReader, ptr %216, i32 0, i32 6
  %218 = getelementptr inbounds %struct.MerrySsT, ptr %217, i32 0, i32 2
  %219 = load ptr, ptr %218, align 8, !tbaa !20
  %220 = load i64, ptr %10, align 8, !tbaa !17
  %221 = getelementptr inbounds %struct.MerrySection, ptr %219, i64 %220
  %222 = getelementptr inbounds %struct.MerrySection, ptr %221, i32 0, i32 1
  store i32 %215, ptr %222, align 8, !tbaa !30
  %223 = load i32, ptr %13, align 4, !tbaa !22
  %224 = icmp eq i32 %223, 0
  br i1 %224, label %225, label %232

225:                                              ; preds = %189
  %226 = load i8, ptr %8, align 1, !tbaa !21
  %227 = zext i8 %226 to i32
  %228 = icmp eq i32 %227, 1
  br i1 %228, label %229, label %232

229:                                              ; preds = %225
  %230 = load ptr, ptr @stderr, align 8, !tbaa !5
  %231 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %230, ptr noundef @.str.31) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %294

232:                                              ; preds = %225, %189
  %233 = load i32, ptr %13, align 4, !tbaa !22
  %234 = icmp eq i32 %233, 0
  br i1 %234, label %235, label %244

235:                                              ; preds = %232
  store i8 1, ptr %8, align 1, !tbaa !21
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.MerryReader, ptr %236, i32 0, i32 6
  %238 = getelementptr inbounds %struct.MerrySsT, ptr %237, i32 0, i32 2
  %239 = load ptr, ptr %238, align 8, !tbaa !20
  %240 = load i64, ptr %10, align 8, !tbaa !17
  %241 = getelementptr inbounds %struct.MerrySection, ptr %239, i64 %240
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.MerryReader, ptr %242, i32 0, i32 16
  store ptr %241, ptr %243, align 8, !tbaa !31
  br label %244

244:                                              ; preds = %235, %232
  br label %245

245:                                              ; preds = %244
  %246 = load i32, ptr %13, align 4, !tbaa !22
  %247 = icmp eq i32 %246, 0
  br i1 %247, label %248, label %259

248:                                              ; preds = %245
  %249 = load i8, ptr %15, align 1, !tbaa !21
  %250 = zext i8 %249 to i32
  %251 = icmp eq i32 %250, 1
  br i1 %251, label %252, label %259

252:                                              ; preds = %248
  %253 = load i8, ptr %9, align 1, !tbaa !21
  %254 = zext i8 %253 to i32
  %255 = icmp eq i32 %254, 1
  br i1 %255, label %256, label %259

256:                                              ; preds = %252
  %257 = load ptr, ptr @stderr, align 8, !tbaa !5
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.32) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %294

259:                                              ; preds = %252, %248, %245
  %260 = load i32, ptr %13, align 4, !tbaa !22
  %261 = icmp eq i32 %260, 0
  br i1 %261, label %262, label %275

262:                                              ; preds = %259
  %263 = load i8, ptr %15, align 1, !tbaa !21
  %264 = zext i8 %263 to i32
  %265 = icmp eq i32 %264, 1
  br i1 %265, label %266, label %275

266:                                              ; preds = %262
  %267 = load ptr, ptr %3, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.MerryReader, ptr %267, i32 0, i32 6
  %269 = getelementptr inbounds %struct.MerrySsT, ptr %268, i32 0, i32 2
  %270 = load ptr, ptr %269, align 8, !tbaa !20
  %271 = load i64, ptr %10, align 8, !tbaa !17
  %272 = getelementptr inbounds %struct.MerrySection, ptr %270, i64 %271
  %273 = load ptr, ptr %3, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.MerryReader, ptr %273, i32 0, i32 17
  store ptr %272, ptr %274, align 8, !tbaa !32
  store i8 1, ptr %9, align 1, !tbaa !21
  br label %275

275:                                              ; preds = %266, %262, %259
  br label %276

276:                                              ; preds = %275
  %277 = load ptr, ptr %3, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.MerryReader, ptr %277, i32 0, i32 6
  %279 = getelementptr inbounds %struct.MerrySsT, ptr %278, i32 0, i32 2
  %280 = load ptr, ptr %279, align 8, !tbaa !20
  %281 = load i64, ptr %10, align 8, !tbaa !17
  %282 = getelementptr inbounds %struct.MerrySection, ptr %280, i64 %281
  %283 = getelementptr inbounds %struct.MerrySection, ptr %282, i32 0, i32 3
  %284 = load i8, ptr %283, align 8, !tbaa !27
  %285 = zext i8 %284 to i32
  %286 = icmp eq i32 %285, 1
  br i1 %286, label %287, label %293

287:                                              ; preds = %276
  %288 = load i64, ptr %12, align 8, !tbaa !17
  %289 = load ptr, ptr %3, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.MerryReader, ptr %289, i32 0, i32 10
  %291 = load i64, ptr %290, align 8, !tbaa !33
  %292 = add i64 %291, %288
  store i64 %292, ptr %290, align 8, !tbaa !33
  br label %293

293:                                              ; preds = %287, %276
  store i32 0, ptr %6, align 4
  br label %294

294:                                              ; preds = %293, %256, %229
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %295

295:                                              ; preds = %294, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %296

296:                                              ; preds = %295, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  %297 = load i32, ptr %6, align 4
  switch i32 %297, label %302 [
    i32 0, label %298
  ]

298:                                              ; preds = %296
  br label %299

299:                                              ; preds = %298
  %300 = load i64, ptr %10, align 8, !tbaa !17
  %301 = add i64 %300, 1
  store i64 %301, ptr %10, align 8, !tbaa !17
  br label %53, !llvm.loop !34

302:                                              ; preds = %296, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %303 = load i32, ptr %6, align 4
  switch i32 %303, label %338 [
    i32 2, label %304
  ]

304:                                              ; preds = %302
  %305 = load i64, ptr %5, align 8, !tbaa !17
  %306 = load ptr, ptr %3, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.MerryReader, ptr %306, i32 0, i32 6
  %308 = getelementptr inbounds %struct.MerrySsT, ptr %307, i32 0, i32 1
  store i64 %305, ptr %308, align 8, !tbaa !36
  %309 = load ptr, ptr %3, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.MerryReader, ptr %309, i32 0, i32 4
  %311 = getelementptr inbounds %struct.MerryInstSection, ptr %310, i32 0, i32 0
  %312 = load i64, ptr %311, align 8, !tbaa !16
  %313 = load ptr, ptr %3, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.MerryReader, ptr %313, i32 0, i32 5
  %315 = getelementptr inbounds %struct.MerryEAT, ptr %314, i32 0, i32 2
  %316 = load i64, ptr %315, align 8, !tbaa !37
  %317 = add i64 %312, %316
  %318 = load ptr, ptr %3, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.MerryReader, ptr %318, i32 0, i32 6
  %320 = getelementptr inbounds %struct.MerrySsT, ptr %319, i32 0, i32 0
  %321 = load i64, ptr %320, align 8, !tbaa !19
  %322 = add i64 %317, %321
  %323 = load ptr, ptr %3, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.MerryReader, ptr %323, i32 0, i32 7
  %325 = getelementptr inbounds %struct.MerryST, ptr %324, i32 0, i32 1
  %326 = load i64, ptr %325, align 8, !tbaa !38
  %327 = add i64 %322, %326
  %328 = load i64, ptr %7, align 8, !tbaa !17
  %329 = add i64 %327, %328
  %330 = load ptr, ptr %3, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.MerryReader, ptr %330, i32 0, i32 13
  %332 = load i64, ptr %331, align 8, !tbaa !39
  %333 = icmp ugt i64 %329, %332
  br i1 %333, label %334, label %337

334:                                              ; preds = %304
  %335 = load ptr, ptr @stderr, align 8, !tbaa !5
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.33) #5
  store i8 1, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %338

337:                                              ; preds = %304
  store i8 0, ptr %2, align 1
  store i32 1, ptr %6, align 4
  br label %338

338:                                              ; preds = %337, %334, %302
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %339

339:                                              ; preds = %338, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %340 = load i8, ptr %2, align 1
  ret i8 %340
}

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #4

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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 }
attributes #6 = { nounwind allocsize(0) }

!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, !12, i64 32}
!10 = !{!"MerryReader", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 8, !13, i64 40, !14, i64 64, !15, i64 96, !6, i64 112, !7, i64 120, !12, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 224}
!11 = !{!"MerryInstSection", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"long", !7, i64 0}
!13 = !{!"MerryEAT", !6, i64 0, !12, i64 8, !12, i64 16}
!14 = !{!"MerrySsT", !12, i64 0, !12, i64 8, !6, i64 16, !7, i64 24}
!15 = !{!"MerryST", !6, i64 0, !12, i64 8}
!16 = !{!10, !12, i64 8}
!17 = !{!12, !12, i64 0}
!18 = !{!10, !6, i64 152}
!19 = !{!10, !12, i64 64}
!20 = !{!10, !6, i64 80}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}
!24 = !{!10, !7, i64 88}
!25 = !{!26, !7, i64 25}
!26 = !{!"MerrySection", !12, i64 0, !23, i64 8, !12, i64 16, !7, i64 24, !7, i64 25}
!27 = !{!26, !7, i64 24}
!28 = !{!26, !12, i64 0}
!29 = !{!26, !12, i64 16}
!30 = !{!26, !23, i64 8}
!31 = !{!10, !6, i64 184}
!32 = !{!10, !6, i64 192}
!33 = !{!10, !12, i64 136}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!10, !12, i64 72}
!37 = !{!10, !12, i64 56}
!38 = !{!10, !12, i64 104}
!39 = !{!10, !12, i64 160}


; 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.MerrySection = type { i64, i32, i64, i8, i8 }

@stdout = external local_unnamed_addr global ptr, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.27 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [87 x i8], align 1

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

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) 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: nofree nounwind uwtable
define dso_local noundef zeroext i8 @merry_reader_read_sst(ptr nocapture noundef %0) local_unnamed_addr #3 {
  %2 = alloca [16 x i8], align 16
  %3 = load ptr, ptr @stdout, align 8, !tbaa !5
  %4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %3, ptr noundef nonnull @.str.27, ptr noundef null) #4
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = load i64, ptr %6, align 8, !tbaa !9
  %8 = load i64, ptr %5, align 8, !tbaa !16
  %9 = add i64 %8, %7
  %10 = getelementptr inbounds i8, ptr %0, i64 152
  %11 = load ptr, ptr %10, align 8, !tbaa !17
  %12 = tail call i32 @fseek(ptr noundef %11, i64 noundef %9, i32 noundef 0)
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = load i64, ptr %13, align 8, !tbaa !18
  %15 = lshr i64 %14, 4
  %16 = shl i64 %15, 5
  %17 = tail call noalias ptr @malloc(i64 noundef %16) #5
  %18 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %17, ptr %18, align 8, !tbaa !19
  %19 = icmp eq ptr %17, null
  br i1 %19, label %38, label %.preheader

.preheader:                                       ; preds = %1
  %.not113136.not = icmp ult i64 %14, 16
  br i1 %.not113136.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %20 = getelementptr inbounds i8, ptr %2, i64 1
  %21 = getelementptr inbounds i8, ptr %2, i64 2
  %22 = getelementptr inbounds i8, ptr %2, i64 3
  %23 = getelementptr inbounds i8, ptr %2, i64 4
  %24 = getelementptr inbounds i8, ptr %2, i64 5
  %25 = getelementptr inbounds i8, ptr %2, i64 6
  %26 = getelementptr inbounds i8, ptr %2, i64 7
  %27 = getelementptr inbounds i8, ptr %2, i64 8
  %28 = getelementptr inbounds i8, ptr %2, i64 9
  %29 = getelementptr inbounds i8, ptr %2, i64 10
  %30 = getelementptr inbounds i8, ptr %2, i64 12
  %31 = getelementptr inbounds i8, ptr %2, i64 13
  %32 = getelementptr inbounds i8, ptr %2, i64 14
  %33 = getelementptr inbounds i8, ptr %2, i64 15
  %34 = getelementptr inbounds i8, ptr %0, i64 88
  %35 = getelementptr inbounds i8, ptr %0, i64 184
  %36 = getelementptr inbounds i8, ptr %0, i64 192
  %37 = getelementptr inbounds i8, ptr %0, i64 136
  br label %41

38:                                               ; preds = %1
  %39 = load ptr, ptr @stderr, align 8, !tbaa !5
  %40 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.28) #6
  br label %139

41:                                               ; preds = %.lr.ph, %120
  %.097140 = phi i64 [ 0, %.lr.ph ], [ %97, %120 ]
  %.0101139 = phi i64 [ 0, %.lr.ph ], [ %121, %120 ]
  %.0102138 = phi i8 [ 0, %.lr.ph ], [ %.1103, %120 ]
  %.0107137 = phi i8 [ 0, %.lr.ph ], [ %.1108117122, %120 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #4
  %42 = load ptr, ptr %10, align 8, !tbaa !17
  %43 = call i64 @fread(ptr noundef nonnull %2, i64 noundef 1, i64 noundef 16, ptr noundef %42)
  %.not = icmp eq i64 %43, 16
  br i1 %.not, label %44, label %.thread129

44:                                               ; preds = %41
  %45 = load i8, ptr %2, align 16, !tbaa !20
  %46 = zext i8 %45 to i64
  %47 = load i8, ptr %20, align 1, !tbaa !20
  %48 = zext i8 %47 to i64
  %49 = shl nuw nsw i64 %46, 16
  %50 = shl nuw nsw i64 %48, 8
  %51 = or disjoint i64 %50, %49
  %52 = load i8, ptr %21, align 2, !tbaa !20
  %53 = zext i8 %52 to i64
  %54 = or disjoint i64 %51, %53
  %55 = load i8, ptr %22, align 1, !tbaa !20
  %56 = zext i8 %55 to i64
  %57 = load i8, ptr %23, align 4, !tbaa !20
  %58 = zext i8 %57 to i64
  %59 = load i8, ptr %24, align 1, !tbaa !20
  %60 = zext i8 %59 to i64
  %61 = shl nuw nsw i64 %54, 32
  %62 = shl nuw nsw i64 %56, 24
  %63 = shl nuw nsw i64 %58, 16
  %64 = or disjoint i64 %62, %63
  %65 = or disjoint i64 %61, %64
  %66 = shl nuw nsw i64 %60, 8
  %67 = load i8, ptr %25, align 2, !tbaa !20
  %68 = zext i8 %67 to i64
  %69 = or disjoint i64 %66, %68
  %70 = or disjoint i64 %69, %65
  %71 = shl nuw i64 %70, 8
  %72 = load i8, ptr %26, align 1, !tbaa !20
  %73 = zext i8 %72 to i64
  %74 = or disjoint i64 %71, %73
  %75 = and i64 %73, 7
  %.not112 = icmp eq i64 %75, 0
  br i1 %.not112, label %76, label %.thread129

76:                                               ; preds = %44
  %77 = load i8, ptr %27, align 8, !tbaa !20
  %78 = zext i8 %77 to i32
  %79 = load i8, ptr %28, align 1, !tbaa !20
  %80 = and i8 %79, 1
  %81 = load i8, ptr %29, align 2, !tbaa !20
  %82 = and i8 %81, 1
  %83 = load i8, ptr %30, align 4, !tbaa !20
  %84 = zext i8 %83 to i64
  %85 = load i8, ptr %31, align 1, !tbaa !20
  %86 = zext i8 %85 to i64
  %87 = shl nuw nsw i64 %84, 16
  %88 = shl nuw nsw i64 %86, 8
  %89 = or disjoint i64 %88, %87
  %90 = load i8, ptr %32, align 2, !tbaa !20
  %91 = zext i8 %90 to i64
  %92 = or disjoint i64 %89, %91
  %93 = shl nuw nsw i64 %92, 8
  %94 = load i8, ptr %33, align 1, !tbaa !20
  %95 = zext i8 %94 to i64
  %96 = or disjoint i64 %93, %95
  %97 = add i64 %74, %.097140
  %98 = icmp eq i8 %77, 2
  br i1 %98, label %99, label %100

99:                                               ; preds = %76
  store i8 1, ptr %34, align 8, !tbaa !21
  br label %100

100:                                              ; preds = %99, %76
  %101 = load ptr, ptr %18, align 8, !tbaa !19
  %102 = getelementptr inbounds %struct.MerrySection, ptr %101, i64 %.0101139, i32 4
  store i8 %82, ptr %102, align 1, !tbaa !22
  %103 = icmp eq i8 %77, 0
  %narrow = select i1 %103, i8 %80, i8 0
  %104 = getelementptr inbounds %struct.MerrySection, ptr %101, i64 %.0101139, i32 3
  store i8 %narrow, ptr %104, align 8, !tbaa !25
  %105 = getelementptr inbounds %struct.MerrySection, ptr %101, i64 %.0101139
  store i64 %74, ptr %105, align 8, !tbaa !26
  %106 = getelementptr inbounds %struct.MerrySection, ptr %101, i64 %.0101139, i32 2
  store i64 %96, ptr %106, align 8, !tbaa !27
  %107 = getelementptr inbounds %struct.MerrySection, ptr %101, i64 %.0101139, i32 1
  store i32 %78, ptr %107, align 8, !tbaa !28
  %108 = icmp eq i8 %.0107137, 1
  %or.cond = select i1 %103, i1 %108, i1 false
  br i1 %or.cond, label %.thread129, label %109

109:                                              ; preds = %100
  br i1 %103, label %110, label %.thread119

110:                                              ; preds = %109
  store ptr %105, ptr %35, align 8, !tbaa !29
  %111 = icmp ne i8 %82, 0
  %112 = icmp eq i8 %.0102138, 1
  %or.cond9 = select i1 %111, i1 %112, i1 false
  br i1 %or.cond9, label %.thread129, label %113

113:                                              ; preds = %110
  br i1 %111, label %114, label %.thread119

114:                                              ; preds = %113
  store ptr %105, ptr %36, align 8, !tbaa !30
  br label %.thread119

.thread119:                                       ; preds = %109, %113, %114
  %.1108117122 = phi i8 [ 1, %114 ], [ 1, %113 ], [ %.0107137, %109 ]
  %.1103 = phi i8 [ 1, %114 ], [ %.0102138, %113 ], [ %.0102138, %109 ]
  %.not131 = icmp eq i8 %narrow, 0
  br i1 %.not131, label %120, label %115

115:                                              ; preds = %.thread119
  %116 = load i64, ptr %37, align 8, !tbaa !31
  %117 = add i64 %116, %74
  store i64 %117, ptr %37, align 8, !tbaa !31
  br label %120

.thread129:                                       ; preds = %110, %100, %44, %41
  %.str.32.sink = phi ptr [ @.str.29, %41 ], [ @.str.30, %44 ], [ @.str.31, %100 ], [ @.str.32, %110 ]
  %118 = load ptr, ptr @stderr, align 8, !tbaa !5
  %119 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %118, ptr noundef nonnull %.str.32.sink) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  br label %139

120:                                              ; preds = %115, %.thread119
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #4
  %121 = add nuw nsw i64 %.0101139, 1
  %exitcond.not = icmp eq i64 %121, %15
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %41, !llvm.loop !32

._crit_edge.loopexit:                             ; preds = %120
  %.pre = load i64, ptr %13, align 8, !tbaa !18
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %122 = phi i64 [ %14, %.preheader ], [ %.pre, %._crit_edge.loopexit ]
  %.097.lcssa = phi i64 [ 0, %.preheader ], [ %97, %._crit_edge.loopexit ]
  %123 = getelementptr inbounds i8, ptr %0, i64 72
  store i64 %15, ptr %123, align 8, !tbaa !34
  %124 = load i64, ptr %5, align 8, !tbaa !16
  %125 = getelementptr inbounds i8, ptr %0, i64 56
  %126 = load i64, ptr %125, align 8, !tbaa !35
  %127 = getelementptr inbounds i8, ptr %0, i64 104
  %128 = load i64, ptr %127, align 8, !tbaa !36
  %129 = add i64 %124, %.097.lcssa
  %130 = add i64 %129, %126
  %131 = add i64 %130, %122
  %132 = add i64 %131, %128
  %133 = getelementptr inbounds i8, ptr %0, i64 160
  %134 = load i64, ptr %133, align 8, !tbaa !37
  %135 = icmp ugt i64 %132, %134
  br i1 %135, label %136, label %139

136:                                              ; preds = %._crit_edge
  %137 = load ptr, ptr @stderr, align 8, !tbaa !5
  %138 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %137, ptr noundef nonnull @.str.33) #6
  br label %139

139:                                              ; preds = %.thread129, %136, %._crit_edge, %38
  %.6 = phi i8 [ 1, %38 ], [ 1, %136 ], [ 0, %._crit_edge ], [ 1, %.thread129 ]
  ret i8 %.6
}

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #0

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nofree 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 }
attributes #5 = { nounwind allocsize(0) }
attributes #6 = { cold 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/C++ TBAA"}
!9 = !{!10, !12, i64 32}
!10 = !{!"MerryReader", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !11, i64 8, !13, i64 40, !14, i64 64, !15, i64 96, !6, i64 112, !7, i64 120, !12, i64 136, !12, i64 144, !6, i64 152, !12, i64 160, !6, i64 168, !12, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !12, i64 216, !12, i64 224}
!11 = !{!"MerryInstSection", !12, i64 0, !6, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"long", !7, i64 0}
!13 = !{!"MerryEAT", !6, i64 0, !12, i64 8, !12, i64 16}
!14 = !{!"MerrySsT", !12, i64 0, !12, i64 8, !6, i64 16, !7, i64 24}
!15 = !{!"MerryST", !6, i64 0, !12, i64 8}
!16 = !{!10, !12, i64 8}
!17 = !{!10, !6, i64 152}
!18 = !{!10, !12, i64 64}
!19 = !{!10, !6, i64 80}
!20 = !{!7, !7, i64 0}
!21 = !{!10, !7, i64 88}
!22 = !{!23, !7, i64 25}
!23 = !{!"MerrySection", !12, i64 0, !24, i64 8, !12, i64 16, !7, i64 24, !7, i64 25}
!24 = !{!"int", !7, i64 0}
!25 = !{!23, !7, i64 24}
!26 = !{!23, !12, i64 0}
!27 = !{!23, !12, i64 16}
!28 = !{!23, !24, i64 8}
!29 = !{!10, !6, i64 184}
!30 = !{!10, !6, i64 192}
!31 = !{!10, !12, i64 136}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{!10, !12, i64 72}
!35 = !{!10, !12, i64 56}
!36 = !{!10, !12, i64 104}
!37 = !{!10, !12, i64 160}


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