; LLVM IR from bitbank2/AnimatedGIF :: examples/gif_from_spi_flash (ff)

; 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.DIR = type { %struct.FFOBJID, i32, i32, i32, ptr, [12 x i8] }
%struct.FFOBJID = type { ptr, i16, i8, i8, i32, i32 }
%struct.FATFS = type { i8, i8, i8, i8, i8, i16, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, [512 x i8] }
%struct.FIL = type { %struct.FFOBJID, i8, i8, i32, i32, i32, i32, ptr, [512 x i8] }

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

; Function Attrs: nounwind uwtable
declare hidden i32 @find_volume(ptr noundef, ptr noundef, i8 noundef zeroext) #1

; 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
define dso_local i32 @f_open(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca %struct.DIR, align 8
  %10 = alloca ptr, align 8
  %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
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i8 %2, ptr %7, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %21, label %20

20:                                               ; preds = %3
  store i32 9, ptr %4, align 4
  store i32 1, ptr %17, align 4
  br label %325

21:                                               ; preds = %3
  %22 = load i8, ptr %7, align 1, !tbaa !9
  %23 = zext i8 %22 to i32
  %24 = and i32 %23, 63
  %25 = trunc i32 %24 to i8
  store i8 %25, ptr %7, align 1, !tbaa !9
  %26 = load i8, ptr %7, align 1, !tbaa !9
  %27 = call i32 @find_volume(ptr noundef %6, ptr noundef %10, i8 noundef zeroext %26)
  store i32 %27, ptr %8, align 4, !tbaa !10
  %28 = load i32, ptr %8, align 4, !tbaa !10
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %30, label %316

30:                                               ; preds = %21
  %31 = load ptr, ptr %10, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 0
  %33 = getelementptr inbounds %struct.FFOBJID, ptr %32, i32 0, i32 0
  store ptr %31, ptr %33, align 8, !tbaa !12
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call i32 @follow_path(ptr noundef %9, ptr noundef %34)
  store i32 %35, ptr %8, align 4, !tbaa !10
  %36 = load i32, ptr %8, align 4, !tbaa !10
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %38, label %47

38:                                               ; preds = %30
  %39 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 5
  %40 = getelementptr inbounds [12 x i8], ptr %39, i64 0, i64 11
  %41 = load i8, ptr %40, align 1, !tbaa !9
  %42 = zext i8 %41 to i32
  %43 = and i32 %42, 128
  %44 = icmp ne i32 %43, 0
  br i1 %44, label %45, label %46

45:                                               ; preds = %38
  store i32 6, ptr %8, align 4, !tbaa !10
  br label %46

46:                                               ; preds = %45, %38
  br label %47

47:                                               ; preds = %46, %30
  %48 = load i8, ptr %7, align 1, !tbaa !9
  %49 = zext i8 %48 to i32
  %50 = and i32 %49, 28
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %52, label %130

52:                                               ; preds = %47
  %53 = load i32, ptr %8, align 4, !tbaa !10
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %65

55:                                               ; preds = %52
  %56 = load i32, ptr %8, align 4, !tbaa !10
  %57 = icmp eq i32 %56, 4
  br i1 %57, label %58, label %60

58:                                               ; preds = %55
  %59 = call i32 @dir_register(ptr noundef %9)
  store i32 %59, ptr %8, align 4, !tbaa !10
  br label %60

60:                                               ; preds = %58, %55
  %61 = load i8, ptr %7, align 1, !tbaa !9
  %62 = zext i8 %61 to i32
  %63 = or i32 %62, 8
  %64 = trunc i32 %63 to i8
  store i8 %64, ptr %7, align 1, !tbaa !9
  br label %81

65:                                               ; preds = %52
  %66 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 0
  %67 = getelementptr inbounds %struct.FFOBJID, ptr %66, i32 0, i32 2
  %68 = load i8, ptr %67, align 2, !tbaa !16
  %69 = zext i8 %68 to i32
  %70 = and i32 %69, 17
  %71 = icmp ne i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %65
  store i32 7, ptr %8, align 4, !tbaa !10
  br label %80

73:                                               ; preds = %65
  %74 = load i8, ptr %7, align 1, !tbaa !9
  %75 = zext i8 %74 to i32
  %76 = and i32 %75, 4
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %79

78:                                               ; preds = %73
  store i32 8, ptr %8, align 4, !tbaa !10
  br label %79

79:                                               ; preds = %78, %73
  br label %80

80:                                               ; preds = %79, %72
  br label %81

81:                                               ; preds = %80, %60
  %82 = load i32, ptr %8, align 4, !tbaa !10
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %129

84:                                               ; preds = %81
  %85 = load i8, ptr %7, align 1, !tbaa !9
  %86 = zext i8 %85 to i32
  %87 = and i32 %86, 8
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %129

89:                                               ; preds = %84
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %92 = load ptr, ptr %91, align 8, !tbaa !17
  %93 = call i32 @ld_clust(ptr noundef %90, ptr noundef %92)
  store i32 %93, ptr %12, align 4, !tbaa !10
  %94 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %95 = load ptr, ptr %94, align 8, !tbaa !17
  %96 = getelementptr inbounds i8, ptr %95, i64 14
  call void @st_dword(ptr noundef %96, i32 noundef 1310785536)
  %97 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %98 = load ptr, ptr %97, align 8, !tbaa !17
  %99 = getelementptr inbounds i8, ptr %98, i64 11
  store i8 32, ptr %99, align 1, !tbaa !9
  %100 = load ptr, ptr %10, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %102 = load ptr, ptr %101, align 8, !tbaa !17
  call void @st_clust(ptr noundef %100, ptr noundef %102, i32 noundef 0)
  %103 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %104 = load ptr, ptr %103, align 8, !tbaa !17
  %105 = getelementptr inbounds i8, ptr %104, i64 28
  call void @st_dword(ptr noundef %105, i32 noundef 0)
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.FATFS, ptr %106, i32 0, i32 3
  store i8 1, ptr %107, align 1, !tbaa !18
  %108 = load i32, ptr %12, align 4, !tbaa !10
  %109 = icmp ne i32 %108, 0
  br i1 %109, label %110, label %128

110:                                              ; preds = %89
  %111 = load ptr, ptr %10, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.FATFS, ptr %111, i32 0, i32 16
  %113 = load i32, ptr %112, align 4, !tbaa !20
  store i32 %113, ptr %11, align 4, !tbaa !10
  %114 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 0
  %115 = load i32, ptr %12, align 4, !tbaa !10
  %116 = call i32 @remove_chain(ptr noundef %114, i32 noundef %115, i32 noundef 0)
  store i32 %116, ptr %8, align 4, !tbaa !10
  %117 = load i32, ptr %8, align 4, !tbaa !10
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %127

119:                                              ; preds = %110
  %120 = load ptr, ptr %10, align 8, !tbaa !5
  %121 = load i32, ptr %11, align 4, !tbaa !10
  %122 = call i32 @move_window(ptr noundef %120, i32 noundef %121)
  store i32 %122, ptr %8, align 4, !tbaa !10
  %123 = load i32, ptr %12, align 4, !tbaa !10
  %124 = sub i32 %123, 1
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.FATFS, ptr %125, i32 0, i32 8
  store i32 %124, ptr %126, align 4, !tbaa !21
  br label %127

127:                                              ; preds = %119, %110
  br label %128

128:                                              ; preds = %127, %89
  br label %129

129:                                              ; preds = %128, %84, %81
  br label %157

130:                                              ; preds = %47
  %131 = load i32, ptr %8, align 4, !tbaa !10
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %156

133:                                              ; preds = %130
  %134 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 0
  %135 = getelementptr inbounds %struct.FFOBJID, ptr %134, i32 0, i32 2
  %136 = load i8, ptr %135, align 2, !tbaa !16
  %137 = zext i8 %136 to i32
  %138 = and i32 %137, 16
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %140, label %141

140:                                              ; preds = %133
  store i32 4, ptr %8, align 4, !tbaa !10
  br label %155

141:                                              ; preds = %133
  %142 = load i8, ptr %7, align 1, !tbaa !9
  %143 = zext i8 %142 to i32
  %144 = and i32 %143, 2
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %154

146:                                              ; preds = %141
  %147 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 0
  %148 = getelementptr inbounds %struct.FFOBJID, ptr %147, i32 0, i32 2
  %149 = load i8, ptr %148, align 2, !tbaa !16
  %150 = zext i8 %149 to i32
  %151 = and i32 %150, 1
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %146
  store i32 7, ptr %8, align 4, !tbaa !10
  br label %154

154:                                              ; preds = %153, %146, %141
  br label %155

155:                                              ; preds = %154, %140
  br label %156

156:                                              ; preds = %155, %130
  br label %157

157:                                              ; preds = %156, %129
  %158 = load i32, ptr %8, align 4, !tbaa !10
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %180

160:                                              ; preds = %157
  %161 = load i8, ptr %7, align 1, !tbaa !9
  %162 = zext i8 %161 to i32
  %163 = and i32 %162, 8
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %170

165:                                              ; preds = %160
  %166 = load i8, ptr %7, align 1, !tbaa !9
  %167 = zext i8 %166 to i32
  %168 = or i32 %167, 64
  %169 = trunc i32 %168 to i8
  store i8 %169, ptr %7, align 1, !tbaa !9
  br label %170

170:                                              ; preds = %165, %160
  %171 = load ptr, ptr %10, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.FATFS, ptr %171, i32 0, i32 16
  %173 = load i32, ptr %172, align 4, !tbaa !20
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.FIL, ptr %174, i32 0, i32 6
  store i32 %173, ptr %175, align 8, !tbaa !22
  %176 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %177 = load ptr, ptr %176, align 8, !tbaa !17
  %178 = load ptr, ptr %5, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.FIL, ptr %178, i32 0, i32 7
  store ptr %177, ptr %179, align 8, !tbaa !24
  br label %180

180:                                              ; preds = %170, %157
  %181 = load i32, ptr %8, align 4, !tbaa !10
  %182 = icmp eq i32 %181, 0
  br i1 %182, label %183, label %315

183:                                              ; preds = %180
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %186 = load ptr, ptr %185, align 8, !tbaa !17
  %187 = call i32 @ld_clust(ptr noundef %184, ptr noundef %186)
  %188 = load ptr, ptr %5, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.FIL, ptr %188, i32 0, i32 0
  %190 = getelementptr inbounds %struct.FFOBJID, ptr %189, i32 0, i32 4
  store i32 %187, ptr %190, align 4, !tbaa !25
  %191 = getelementptr inbounds %struct.DIR, ptr %9, i32 0, i32 4
  %192 = load ptr, ptr %191, align 8, !tbaa !17
  %193 = getelementptr inbounds i8, ptr %192, i64 28
  %194 = call i32 @ld_dword(ptr noundef %193)
  %195 = load ptr, ptr %5, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.FIL, ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds %struct.FFOBJID, ptr %196, i32 0, i32 5
  store i32 %194, ptr %197, align 8, !tbaa !26
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  %199 = load ptr, ptr %5, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.FIL, ptr %199, i32 0, i32 0
  %201 = getelementptr inbounds %struct.FFOBJID, ptr %200, i32 0, i32 0
  store ptr %198, ptr %201, align 8, !tbaa !27
  %202 = load ptr, ptr %10, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.FATFS, ptr %202, i32 0, i32 5
  %204 = load i16, ptr %203, align 2, !tbaa !28
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.FIL, ptr %205, i32 0, i32 0
  %207 = getelementptr inbounds %struct.FFOBJID, ptr %206, i32 0, i32 1
  store i16 %204, ptr %207, align 8, !tbaa !29
  %208 = load i8, ptr %7, align 1, !tbaa !9
  %209 = load ptr, ptr %5, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.FIL, ptr %209, i32 0, i32 1
  store i8 %208, ptr %210, align 8, !tbaa !30
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.FIL, ptr %211, i32 0, i32 2
  store i8 0, ptr %212, align 1, !tbaa !31
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.FIL, ptr %213, i32 0, i32 5
  store i32 0, ptr %214, align 4, !tbaa !32
  %215 = load ptr, ptr %5, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.FIL, ptr %215, i32 0, i32 3
  store i32 0, ptr %216, align 4, !tbaa !33
  %217 = load ptr, ptr %5, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.FIL, ptr %217, i32 0, i32 8
  %219 = getelementptr inbounds [512 x i8], ptr %218, i64 0, i64 0
  call void @mem_set(ptr noundef %219, i32 noundef 0, i32 noundef 512)
  %220 = load i8, ptr %7, align 1, !tbaa !9
  %221 = zext i8 %220 to i32
  %222 = and i32 %221, 32
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %314

224:                                              ; preds = %183
  %225 = load ptr, ptr %5, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.FIL, ptr %225, i32 0, i32 0
  %227 = getelementptr inbounds %struct.FFOBJID, ptr %226, i32 0, i32 5
  %228 = load i32, ptr %227, align 8, !tbaa !26
  %229 = icmp ugt i32 %228, 0
  br i1 %229, label %230, label %314

230:                                              ; preds = %224
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.FIL, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %struct.FFOBJID, ptr %232, i32 0, i32 5
  %234 = load i32, ptr %233, align 8, !tbaa !26
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.FIL, ptr %235, i32 0, i32 3
  store i32 %234, ptr %236, align 4, !tbaa !33
  %237 = load ptr, ptr %10, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.FATFS, ptr %237, i32 0, i32 7
  %239 = load i16, ptr %238, align 2, !tbaa !34
  %240 = zext i16 %239 to i32
  %241 = mul i32 %240, 512
  store i32 %241, ptr %13, align 4, !tbaa !10
  %242 = load ptr, ptr %5, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.FIL, ptr %242, i32 0, i32 0
  %244 = getelementptr inbounds %struct.FFOBJID, ptr %243, i32 0, i32 4
  %245 = load i32, ptr %244, align 4, !tbaa !25
  store i32 %245, ptr %14, align 4, !tbaa !10
  %246 = load ptr, ptr %5, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.FIL, ptr %246, i32 0, i32 0
  %248 = getelementptr inbounds %struct.FFOBJID, ptr %247, i32 0, i32 5
  %249 = load i32, ptr %248, align 8, !tbaa !26
  store i32 %249, ptr %16, align 4, !tbaa !10
  br label %250

250:                                              ; preds = %272, %230
  %251 = load i32, ptr %8, align 4, !tbaa !10
  %252 = icmp eq i32 %251, 0
  br i1 %252, label %253, label %257

253:                                              ; preds = %250
  %254 = load i32, ptr %16, align 4, !tbaa !10
  %255 = load i32, ptr %13, align 4, !tbaa !10
  %256 = icmp ugt i32 %254, %255
  br label %257

257:                                              ; preds = %253, %250
  %258 = phi i1 [ false, %250 ], [ %256, %253 ]
  br i1 %258, label %259, label %276

259:                                              ; preds = %257
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.FIL, ptr %260, i32 0, i32 0
  %262 = load i32, ptr %14, align 4, !tbaa !10
  %263 = call i32 @get_fat(ptr noundef %261, i32 noundef %262)
  store i32 %263, ptr %14, align 4, !tbaa !10
  %264 = load i32, ptr %14, align 4, !tbaa !10
  %265 = icmp ule i32 %264, 1
  br i1 %265, label %266, label %267

266:                                              ; preds = %259
  store i32 2, ptr %8, align 4, !tbaa !10
  br label %267

267:                                              ; preds = %266, %259
  %268 = load i32, ptr %14, align 4, !tbaa !10
  %269 = icmp eq i32 %268, -1
  br i1 %269, label %270, label %271

270:                                              ; preds = %267
  store i32 1, ptr %8, align 4, !tbaa !10
  br label %271

271:                                              ; preds = %270, %267
  br label %272

272:                                              ; preds = %271
  %273 = load i32, ptr %13, align 4, !tbaa !10
  %274 = load i32, ptr %16, align 4, !tbaa !10
  %275 = sub i32 %274, %273
  store i32 %275, ptr %16, align 4, !tbaa !10
  br label %250, !llvm.loop !35

276:                                              ; preds = %257
  %277 = load i32, ptr %14, align 4, !tbaa !10
  %278 = load ptr, ptr %5, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.FIL, ptr %278, i32 0, i32 4
  store i32 %277, ptr %279, align 8, !tbaa !37
  %280 = load i32, ptr %8, align 4, !tbaa !10
  %281 = icmp eq i32 %280, 0
  br i1 %281, label %282, label %313

282:                                              ; preds = %276
  %283 = load i32, ptr %16, align 4, !tbaa !10
  %284 = urem i32 %283, 512
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %313

286:                                              ; preds = %282
  %287 = load ptr, ptr %10, align 8, !tbaa !5
  %288 = load i32, ptr %14, align 4, !tbaa !10
  %289 = call i32 @clst2sect(ptr noundef %287, i32 noundef %288)
  store i32 %289, ptr %15, align 4, !tbaa !10
  %290 = icmp eq i32 %289, 0
  br i1 %290, label %291, label %292

291:                                              ; preds = %286
  store i32 2, ptr %8, align 4, !tbaa !10
  br label %312

292:                                              ; preds = %286
  %293 = load i32, ptr %15, align 4, !tbaa !10
  %294 = load i32, ptr %16, align 4, !tbaa !10
  %295 = udiv i32 %294, 512
  %296 = add i32 %293, %295
  %297 = load ptr, ptr %5, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.FIL, ptr %297, i32 0, i32 5
  store i32 %296, ptr %298, align 4, !tbaa !32
  %299 = load ptr, ptr %10, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.FATFS, ptr %299, i32 0, i32 1
  %301 = load i8, ptr %300, align 1, !tbaa !38
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.FIL, ptr %302, i32 0, i32 8
  %304 = getelementptr inbounds [512 x i8], ptr %303, i64 0, i64 0
  %305 = load ptr, ptr %5, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.FIL, ptr %305, i32 0, i32 5
  %307 = load i32, ptr %306, align 4, !tbaa !32
  %308 = call i32 @disk_read(i8 noundef zeroext %301, ptr noundef %304, i32 noundef %307, i32 noundef 1)
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %310, label %311

310:                                              ; preds = %292
  store i32 1, ptr %8, align 4, !tbaa !10
  br label %311

311:                                              ; preds = %310, %292
  br label %312

312:                                              ; preds = %311, %291
  br label %313

313:                                              ; preds = %312, %282, %276
  br label %314

314:                                              ; preds = %313, %224, %183
  br label %315

315:                                              ; preds = %314, %180
  br label %316

316:                                              ; preds = %315, %21
  %317 = load i32, ptr %8, align 4, !tbaa !10
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %319, label %323

319:                                              ; preds = %316
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.FIL, ptr %320, i32 0, i32 0
  %322 = getelementptr inbounds %struct.FFOBJID, ptr %321, i32 0, i32 0
  store ptr null, ptr %322, align 8, !tbaa !27
  br label %323

323:                                              ; preds = %319, %316
  %324 = load i32, ptr %8, align 4, !tbaa !10
  store i32 %324, ptr %4, align 4
  store i32 1, ptr %17, align 4
  br label %325

325:                                              ; preds = %323, %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  %326 = load i32, ptr %4, align 4
  ret i32 %326
}

; Function Attrs: nounwind uwtable
declare hidden i32 @follow_path(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @dir_register(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ld_clust(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @st_dword(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @st_clust(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @remove_chain(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @move_window(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ld_dword(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @mem_set(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @get_fat(ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare hidden i32 @clst2sect(ptr noundef, i32 noundef) #1

declare i32 @disk_read(i8 noundef zeroext, ptr noundef, i32 noundef, i32 noundef) #2

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 }

!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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"", !14, i64 0, !11, i64 24, !11, i64 28, !11, i64 32, !6, i64 40, !7, i64 48}
!14 = !{!"", !6, i64 0, !15, i64 8, !7, i64 10, !7, i64 11, !11, i64 12, !11, i64 16}
!15 = !{!"short", !7, i64 0}
!16 = !{!13, !7, i64 10}
!17 = !{!13, !6, i64 40}
!18 = !{!19, !7, i64 3}
!19 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !7, i64 48}
!20 = !{!19, !11, i64 44}
!21 = !{!19, !11, i64 12}
!22 = !{!23, !11, i64 40}
!23 = !{!"", !14, i64 0, !7, i64 24, !7, i64 25, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !6, i64 48, !7, i64 56}
!24 = !{!23, !6, i64 48}
!25 = !{!23, !11, i64 12}
!26 = !{!23, !11, i64 16}
!27 = !{!23, !6, i64 0}
!28 = !{!19, !15, i64 6}
!29 = !{!23, !15, i64 8}
!30 = !{!23, !7, i64 24}
!31 = !{!23, !7, i64 25}
!32 = !{!23, !11, i64 36}
!33 = !{!23, !11, i64 28}
!34 = !{!19, !15, i64 10}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!23, !11, i64 32}
!38 = !{!19, !7, i64 1}


; 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.DIR = type { %struct.FFOBJID, i32, i32, i32, ptr, [12 x i8] }
%struct.FFOBJID = type { ptr, i16, i8, i8, i32, i32 }

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

; Function Attrs: nounwind uwtable
declare hidden i32 @find_volume(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local i32 @f_open(ptr noundef %0, ptr noundef %1, i8 noundef zeroext %2) local_unnamed_addr #1 {
  %4 = alloca ptr, align 8
  %5 = alloca %struct.DIR, align 8
  %6 = alloca ptr, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %select.unfold123, label %7

7:                                                ; preds = %3
  %8 = and i8 %2, 63
  %9 = call i32 @find_volume(ptr noundef nonnull %4, ptr noundef nonnull %6, i8 noundef zeroext %8)
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %11, label %.thread120

11:                                               ; preds = %7
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %12, ptr %5, align 8, !tbaa !9
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call i32 @follow_path(ptr noundef nonnull %5, ptr noundef %13)
  %15 = icmp eq i32 %14, 0
  %16 = getelementptr inbounds i8, ptr %5, i64 59
  %17 = load i8, ptr %16, align 1
  %.not79 = icmp sgt i8 %17, -1
  %spec.select = select i1 %.not79, i32 0, i32 6
  %.066 = select i1 %15, i32 %spec.select, i32 %14
  %18 = zext nneg i8 %8 to i32
  %19 = and i32 %18, 28
  %.not80 = icmp eq i32 %19, 0
  br i1 %.not80, label %52, label %20

20:                                               ; preds = %11
  switch i32 %.066, label %29 [
    i32 0, label %23
    i32 4, label %21
  ]

21:                                               ; preds = %20
  %22 = call i32 @dir_register(ptr noundef nonnull %5)
  br label %29

23:                                               ; preds = %20
  %24 = getelementptr inbounds i8, ptr %5, i64 10
  %25 = load i8, ptr %24, align 2, !tbaa !14
  %26 = and i8 %25, 17
  %.not85 = icmp eq i8 %26, 0
  br i1 %.not85, label %27, label %.thread120

27:                                               ; preds = %23
  %28 = and i32 %18, 4
  %.not86 = icmp eq i32 %28, 0
  br i1 %.not86, label %.thread102, label %.thread120

29:                                               ; preds = %21, %20
  %.167 = phi i32 [ %22, %21 ], [ %.066, %20 ]
  %30 = or i8 %8, 8
  %31 = icmp eq i32 %.167, 0
  br i1 %31, label %.thread102, label %.thread120

.thread102:                                       ; preds = %27, %29
  %.065105 = phi i8 [ %30, %29 ], [ %8, %27 ]
  %32 = and i8 %.065105, 8
  %.not87 = icmp eq i8 %32, 0
  %.pre137 = load ptr, ptr %6, align 8, !tbaa !5
  br i1 %.not87, label %.thread114, label %33

33:                                               ; preds = %.thread102
  %34 = getelementptr inbounds i8, ptr %5, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !15
  %36 = call i32 @ld_clust(ptr noundef %.pre137, ptr noundef %35)
  %37 = load ptr, ptr %34, align 8, !tbaa !15
  %38 = getelementptr inbounds i8, ptr %37, i64 14
  call void @st_dword(ptr noundef nonnull %38, i32 noundef 1310785536)
  %39 = load ptr, ptr %34, align 8, !tbaa !15
  %40 = getelementptr inbounds i8, ptr %39, i64 11
  store i8 32, ptr %40, align 1, !tbaa !16
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load ptr, ptr %34, align 8, !tbaa !15
  call void @st_clust(ptr noundef %41, ptr noundef %42, i32 noundef 0)
  %43 = load ptr, ptr %34, align 8, !tbaa !15
  %44 = getelementptr inbounds i8, ptr %43, i64 28
  call void @st_dword(ptr noundef nonnull %44, i32 noundef 0)
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 3
  store i8 1, ptr %46, align 1, !tbaa !17
  %.not88 = icmp eq i32 %36, 0
  br i1 %.not88, label %.thread114, label %47

47:                                               ; preds = %33
  %48 = getelementptr inbounds i8, ptr %45, i64 44
  %49 = load i32, ptr %48, align 4, !tbaa !19
  %50 = call i32 @remove_chain(ptr noundef nonnull %5, i32 noundef %36, i32 noundef 0)
  %51 = icmp eq i32 %50, 0
  br i1 %51, label %62, label %.thread120

52:                                               ; preds = %11
  %53 = select i1 %15, i1 %.not79, i1 false
  br i1 %53, label %54, label %.thread120

54:                                               ; preds = %52
  %55 = getelementptr inbounds i8, ptr %5, i64 10
  %56 = load i8, ptr %55, align 2, !tbaa !14
  %57 = zext i8 %56 to i32
  %58 = and i32 %57, 16
  %.not81 = icmp eq i32 %58, 0
  br i1 %.not81, label %59, label %.thread120

59:                                               ; preds = %54
  %60 = and i32 %18, 2
  %.not82 = icmp eq i32 %60, 0
  %61 = and i32 %57, 1
  %.not83 = icmp eq i32 %61, 0
  %or.cond = or i1 %.not82, %.not83
  br i1 %or.cond, label %..thread114_crit_edge, label %.thread120

..thread114_crit_edge:                            ; preds = %59
  %.pre = load ptr, ptr %6, align 8, !tbaa !5
  br label %.thread114

62:                                               ; preds = %47
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = call i32 @move_window(ptr noundef %63, i32 noundef %49)
  %65 = add i32 %36, -1
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %66, i64 12
  store i32 %65, ptr %67, align 4, !tbaa !20
  %68 = icmp eq i32 %64, 0
  br i1 %68, label %.thread114, label %.thread120

.thread114:                                       ; preds = %..thread114_crit_edge, %.thread102, %33, %62
  %69 = phi ptr [ %66, %62 ], [ %.pre137, %.thread102 ], [ %45, %33 ], [ %.pre, %..thread114_crit_edge ]
  %.1118 = phi i8 [ %.065105, %62 ], [ %.065105, %.thread102 ], [ %.065105, %33 ], [ %8, %..thread114_crit_edge ]
  %70 = shl i8 %.1118, 3
  %71 = and i8 %70, 64
  %spec.select96 = or i8 %71, %.1118
  %72 = getelementptr inbounds i8, ptr %69, i64 44
  %73 = load i32, ptr %72, align 4, !tbaa !19
  %74 = getelementptr inbounds i8, ptr %0, i64 40
  store i32 %73, ptr %74, align 8, !tbaa !21
  %75 = getelementptr inbounds i8, ptr %5, i64 40
  %76 = load ptr, ptr %75, align 8, !tbaa !15
  %77 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %76, ptr %77, align 8, !tbaa !23
  %78 = call i32 @ld_clust(ptr noundef %69, ptr noundef %76)
  %79 = getelementptr inbounds i8, ptr %0, i64 12
  store i32 %78, ptr %79, align 4, !tbaa !24
  %80 = load ptr, ptr %75, align 8, !tbaa !15
  %81 = getelementptr inbounds i8, ptr %80, i64 28
  %82 = call i32 @ld_dword(ptr noundef nonnull %81)
  %83 = getelementptr inbounds i8, ptr %0, i64 16
  store i32 %82, ptr %83, align 8, !tbaa !25
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %84, ptr %0, align 8, !tbaa !26
  %85 = getelementptr inbounds i8, ptr %84, i64 6
  %86 = load i16, ptr %85, align 2, !tbaa !27
  %87 = getelementptr inbounds i8, ptr %0, i64 8
  store i16 %86, ptr %87, align 8, !tbaa !28
  %88 = getelementptr inbounds i8, ptr %0, i64 24
  store i8 %spec.select96, ptr %88, align 8, !tbaa !29
  %89 = getelementptr inbounds i8, ptr %0, i64 25
  store i8 0, ptr %89, align 1, !tbaa !30
  %90 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 0, ptr %90, align 4, !tbaa !31
  %91 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 0, ptr %91, align 4, !tbaa !32
  %92 = getelementptr inbounds i8, ptr %0, i64 56
  call void @mem_set(ptr noundef nonnull %92, i32 noundef 0, i32 noundef 512)
  %93 = and i8 %.1118, 32
  %.not90 = icmp eq i8 %93, 0
  br i1 %.not90, label %select.unfold123, label %94

94:                                               ; preds = %.thread114
  %95 = load i32, ptr %83, align 8, !tbaa !25
  %.not91 = icmp eq i32 %95, 0
  br i1 %.not91, label %select.unfold123, label %96

96:                                               ; preds = %94
  store i32 %95, ptr %91, align 4, !tbaa !32
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %97, i64 10
  %99 = load i16, ptr %98, align 2, !tbaa !33
  %100 = zext i16 %99 to i32
  %101 = shl nuw nsw i32 %100, 9
  %102 = load i32, ptr %79, align 4, !tbaa !24
  %103 = icmp ugt i32 %95, %101
  br i1 %103, label %.lr.ph, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %96
  %104 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %102, ptr %104, align 8, !tbaa !34
  br label %113

.lr.ph:                                           ; preds = %96, %.lr.ph
  %.0130 = phi i32 [ %108, %.lr.ph ], [ %95, %96 ]
  %.064129 = phi i32 [ %105, %.lr.ph ], [ %102, %96 ]
  %105 = call i32 @get_fat(ptr noundef nonnull %0, i32 noundef %.064129)
  %106 = icmp ult i32 %105, 2
  %spec.select97 = select i1 %106, i32 2, i32 0
  %107 = icmp eq i32 %105, -1
  %.6 = select i1 %107, i32 1, i32 %spec.select97
  %108 = sub i32 %.0130, %101
  %109 = icmp eq i32 %.6, 0
  %110 = icmp ugt i32 %108, %101
  %111 = select i1 %109, i1 %110, i1 false
  br i1 %111, label %.lr.ph, label %._crit_edge, !llvm.loop !35

._crit_edge:                                      ; preds = %.lr.ph
  %112 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %105, ptr %112, align 8, !tbaa !34
  br i1 %109, label %113, label %.thread120

113:                                              ; preds = %._crit_edge.thread, %._crit_edge
  %.0.lcssa143 = phi i32 [ %95, %._crit_edge.thread ], [ %108, %._crit_edge ]
  %.064.lcssa142 = phi i32 [ %102, %._crit_edge.thread ], [ %105, %._crit_edge ]
  %114 = and i32 %.0.lcssa143, 511
  %.not92 = icmp eq i32 %114, 0
  br i1 %.not92, label %select.unfold123, label %115

115:                                              ; preds = %113
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = call i32 @clst2sect(ptr noundef %116, i32 noundef %.064.lcssa142)
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %.thread120, label %119

119:                                              ; preds = %115
  %120 = lshr i32 %.0.lcssa143, 9
  %121 = add i32 %117, %120
  store i32 %121, ptr %90, align 4, !tbaa !31
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %122, i64 1
  %124 = load i8, ptr %123, align 1, !tbaa !37
  %125 = call i32 @disk_read(i8 noundef zeroext %124, ptr noundef nonnull %92, i32 noundef %121, i32 noundef 1) #3
  %.not93 = icmp eq i32 %125, 0
  br i1 %.not93, label %select.unfold123, label %.thread120

.thread120:                                       ; preds = %27, %23, %59, %54, %52, %29, %47, %62, %._crit_edge, %7, %115, %119
  %.7.ph = phi i32 [ 1, %119 ], [ 2, %115 ], [ %9, %7 ], [ %.6, %._crit_edge ], [ %64, %62 ], [ 7, %59 ], [ 4, %54 ], [ %.066, %52 ], [ %.167, %29 ], [ %50, %47 ], [ 8, %27 ], [ 7, %23 ]
  store ptr null, ptr %0, align 8, !tbaa !26
  br label %select.unfold123

select.unfold123:                                 ; preds = %119, %.thread114, %94, %113, %.thread120, %3
  %.063 = phi i32 [ 9, %3 ], [ %.7.ph, %.thread120 ], [ 0, %113 ], [ 0, %94 ], [ 0, %.thread114 ], [ 0, %119 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #3
  ret i32 %.063
}

; Function Attrs: nounwind uwtable
declare hidden i32 @follow_path(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @dir_register(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ld_clust(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @st_dword(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @st_clust(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @remove_chain(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @move_window(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @ld_dword(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @mem_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @get_fat(ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden i32 @clst2sect(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @disk_read(i8 noundef zeroext, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress 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 }

!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 = !{!"", !11, i64 0, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40, !7, i64 48}
!11 = !{!"", !6, i64 0, !12, i64 8, !7, i64 10, !7, i64 11, !13, i64 12, !13, i64 16}
!12 = !{!"short", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !7, i64 10}
!15 = !{!10, !6, i64 40}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !7, i64 3}
!18 = !{!"", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4, !12, i64 6, !12, i64 8, !12, i64 10, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !13, i64 44, !7, i64 48}
!19 = !{!18, !13, i64 44}
!20 = !{!18, !13, i64 12}
!21 = !{!22, !13, i64 40}
!22 = !{!"", !11, i64 0, !7, i64 24, !7, i64 25, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !6, i64 48, !7, i64 56}
!23 = !{!22, !6, i64 48}
!24 = !{!22, !13, i64 12}
!25 = !{!22, !13, i64 16}
!26 = !{!22, !6, i64 0}
!27 = !{!18, !12, i64 6}
!28 = !{!22, !12, i64 8}
!29 = !{!22, !7, i64 24}
!30 = !{!22, !7, i64 25}
!31 = !{!22, !13, i64 36}
!32 = !{!22, !13, i64 28}
!33 = !{!18, !12, i64 10}
!34 = !{!22, !13, i64 32}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!18, !7, i64 1}


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