; LLVM IR from mlcommons/tiny :: benchmark/interface/Middlewares/ST/filex/common/src/fx_utility_logical_sector/e0a87943 (read)

; 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.FX_MEDIA_STRUCT = type { i64, ptr, ptr, i64, i32, i64, ptr, ptr, i64, i64, i32, i32, i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i64, i64, i32, i64, i64, ptr, i32, i32, ptr, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, i64, ptr, ptr, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, %struct.TX_MUTEX_STRUCT, i32, %struct.FX_DIR_ENTRY_STRUCT, %struct.FX_DIR_ENTRY_STRUCT, [256 x i8], [256 x i8], %struct.FX_PATH_STRUCT, [16 x %struct.FX_FAT_CACHE_ENTRY_STRUCT], [128 x i8], i64, [1024 x i8], [256 x %struct.FX_CACHED_SECTOR_STRUCT], i64, i64, i64, i64, i8 }
%struct.TX_MUTEX_STRUCT = type { i64, ptr, i32, ptr, i32, i32, ptr, i32, ptr, ptr, i32, ptr, ptr }
%struct.FX_DIR_ENTRY_STRUCT = type { ptr, [13 x i8], i32, i32, i8, i8, i8, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 }
%struct.FX_PATH_STRUCT = type { %struct.FX_DIR_ENTRY_STRUCT, [256 x i8], [256 x i8], i64 }
%struct.FX_FAT_CACHE_ENTRY_STRUCT = type { i64, i64, i64 }
%struct.FX_CACHED_SECTOR_STRUCT = type { ptr, i64, i8, i8, i8, i8, ptr }

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_utility_logical_sector_read(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i8 noundef zeroext %4) #0 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i64 %3, ptr %10, align 8, !tbaa !11
  store i8 %4, ptr %11, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %16 = load i8, ptr %11, align 1, !tbaa !13
  %17 = zext i8 %16 to i32
  %18 = icmp eq i32 %17, 2
  br i1 %18, label %19, label %24

19:                                               ; preds = %5
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %20, i32 0, i32 99
  %22 = load i64, ptr %21, align 8, !tbaa !14
  %23 = add i64 %22, 1
  store i64 %23, ptr %21, align 8, !tbaa !14
  br label %24

24:                                               ; preds = %19, %5
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %25, i32 0, i32 101
  %27 = load i64, ptr %26, align 8, !tbaa !20
  %28 = add i64 %27, 1
  store i64 %28, ptr %26, align 8, !tbaa !20
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %30, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !21
  %33 = icmp uge ptr %29, %32
  br i1 %33, label %34, label %207

34:                                               ; preds = %24
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %36, i32 0, i32 6
  %38 = load ptr, ptr %37, align 8, !tbaa !22
  %39 = icmp ule ptr %35, %38
  br i1 %39, label %40, label %207

40:                                               ; preds = %34
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = load i64, ptr %8, align 8, !tbaa !9
  %43 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef %41, i64 noundef %42, ptr noundef %13)
  store ptr %43, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %47

46:                                               ; preds = %40
  store i32 0, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

47:                                               ; preds = %40
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %48, i32 0, i32 104
  %50 = load i64, ptr %49, align 8, !tbaa !23
  %51 = add i64 %50, 1
  store i64 %51, ptr %49, align 8, !tbaa !23
  %52 = load ptr, ptr %12, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %52, i32 0, i32 3
  %54 = load i8, ptr %53, align 1, !tbaa !24
  %55 = zext i8 %54 to i32
  %56 = icmp ne i32 %55, 0
  br i1 %56, label %57, label %120

57:                                               ; preds = %47
  %58 = load ptr, ptr %12, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %58, i32 0, i32 2
  %60 = load i8, ptr %59, align 8, !tbaa !26
  %61 = zext i8 %60 to i32
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %120

63:                                               ; preds = %57
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %64, i32 0, i32 106
  %66 = load i64, ptr %65, align 8, !tbaa !27
  %67 = add i64 %66, 1
  store i64 %67, ptr %65, align 8, !tbaa !27
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %68, i32 0, i32 32
  store i32 1, ptr %69, align 8, !tbaa !28
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %70, i32 0, i32 33
  store i32 144, ptr %71, align 4, !tbaa !29
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %72, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8, !tbaa !30
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %75, i32 0, i32 34
  store ptr %74, ptr %76, align 8, !tbaa !31
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %77, i32 0, i32 1
  %79 = load i64, ptr %78, align 8, !tbaa !32
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %80, i32 0, i32 35
  store i64 %79, ptr %81, align 8, !tbaa !33
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %82, i32 0, i32 36
  store i64 1, ptr %83, align 8, !tbaa !34
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %84, i32 0, i32 4
  %86 = load i8, ptr %85, align 2, !tbaa !35
  %87 = zext i8 %86 to i32
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %88, i32 0, i32 44
  store i32 %87, ptr %89, align 8, !tbaa !36
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %90, i32 0, i32 4
  %92 = load i8, ptr %91, align 2, !tbaa !35
  %93 = zext i8 %92 to i32
  %94 = icmp ne i32 %93, 4
  br i1 %94, label %95, label %98

95:                                               ; preds = %63
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %96, i32 0, i32 42
  store i32 1, ptr %97, align 8, !tbaa !37
  br label %98

98:                                               ; preds = %95, %63
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %99, i32 0, i32 45
  %101 = load ptr, ptr %100, align 8, !tbaa !38
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  call void %101(ptr noundef %102)
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %103, i32 0, i32 42
  store i32 0, ptr %104, align 8, !tbaa !37
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %105, i32 0, i32 33
  %107 = load i32, ptr %106, align 4, !tbaa !29
  %108 = icmp ne i32 %107, 0
  br i1 %108, label %109, label %113

109:                                              ; preds = %98
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %110, i32 0, i32 33
  %112 = load i32, ptr %111, align 4, !tbaa !29
  store i32 %112, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

113:                                              ; preds = %98
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %114, i32 0, i32 2
  store i8 0, ptr %115, align 8, !tbaa !26
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %116, i32 0, i32 9
  %118 = load i64, ptr %117, align 8, !tbaa !39
  %119 = add i64 %118, -1
  store i64 %119, ptr %117, align 8, !tbaa !39
  br label %120

120:                                              ; preds = %113, %57, %47
  %121 = load i64, ptr %8, align 8, !tbaa !9
  %122 = load ptr, ptr %7, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %122, i32 0, i32 13
  %124 = load i64, ptr %123, align 8, !tbaa !40
  %125 = icmp uge i64 %121, %124
  br i1 %125, label %126, label %127

126:                                              ; preds = %120
  store i32 137, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

127:                                              ; preds = %120
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %128, i32 0, i32 105
  %130 = load i64, ptr %129, align 8, !tbaa !41
  %131 = add i64 %130, 1
  store i64 %131, ptr %129, align 8, !tbaa !41
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %132, i32 0, i32 32
  store i32 0, ptr %133, align 8, !tbaa !28
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %134, i32 0, i32 33
  store i32 144, ptr %135, align 4, !tbaa !29
  %136 = load ptr, ptr %12, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %136, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8, !tbaa !30
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %139, i32 0, i32 34
  store ptr %138, ptr %140, align 8, !tbaa !31
  %141 = load i64, ptr %8, align 8, !tbaa !9
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %142, i32 0, i32 35
  store i64 %141, ptr %143, align 8, !tbaa !33
  %144 = load ptr, ptr %7, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %144, i32 0, i32 36
  store i64 1, ptr %145, align 8, !tbaa !34
  %146 = load i8, ptr %11, align 1, !tbaa !13
  %147 = zext i8 %146 to i32
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %148, i32 0, i32 44
  store i32 %147, ptr %149, align 8, !tbaa !36
  %150 = load i8, ptr %11, align 1, !tbaa !13
  %151 = zext i8 %150 to i32
  %152 = icmp eq i32 %151, 4
  br i1 %152, label %153, label %156

153:                                              ; preds = %127
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %154, i32 0, i32 43
  store i32 1, ptr %155, align 4, !tbaa !42
  br label %156

156:                                              ; preds = %153, %127
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %157, i32 0, i32 45
  %159 = load ptr, ptr %158, align 8, !tbaa !38
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  call void %159(ptr noundef %160)
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %161, i32 0, i32 43
  store i32 0, ptr %162, align 4, !tbaa !42
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %163, i32 0, i32 33
  %165 = load i32, ptr %164, align 4, !tbaa !29
  %166 = icmp eq i32 %165, 0
  br i1 %166, label %167, label %193

167:                                              ; preds = %156
  %168 = load i64, ptr %8, align 8, !tbaa !9
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %169, i32 0, i32 1
  store i64 %168, ptr %170, align 8, !tbaa !32
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %171, i32 0, i32 3
  store i8 1, ptr %172, align 1, !tbaa !24
  %173 = load i8, ptr %11, align 1, !tbaa !13
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %174, i32 0, i32 4
  store i8 %173, ptr %175, align 2, !tbaa !35
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = icmp ne ptr %176, null
  br i1 %177, label %178, label %192

178:                                              ; preds = %167
  %179 = load ptr, ptr %12, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %179, i32 0, i32 6
  %181 = load ptr, ptr %180, align 8, !tbaa !43
  %182 = load ptr, ptr %13, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %182, i32 0, i32 6
  store ptr %181, ptr %183, align 8, !tbaa !43
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %184, i32 0, i32 7
  %186 = load ptr, ptr %185, align 8, !tbaa !44
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %187, i32 0, i32 6
  store ptr %186, ptr %188, align 8, !tbaa !43
  %189 = load ptr, ptr %12, align 8, !tbaa !5
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %190, i32 0, i32 7
  store ptr %189, ptr %191, align 8, !tbaa !44
  br label %192

192:                                              ; preds = %178, %167
  br label %198

193:                                              ; preds = %156
  %194 = load ptr, ptr %12, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %194, i32 0, i32 3
  store i8 0, ptr %195, align 1, !tbaa !24
  %196 = load ptr, ptr %12, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %196, i32 0, i32 1
  store i64 -1, ptr %197, align 8, !tbaa !32
  br label %198

198:                                              ; preds = %193, %192
  %199 = load ptr, ptr %12, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !30
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %202, i32 0, i32 2
  store ptr %201, ptr %203, align 8, !tbaa !21
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %204, i32 0, i32 33
  %206 = load i32, ptr %205, align 4, !tbaa !29
  store i32 %206, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

207:                                              ; preds = %34, %24
  %208 = load i64, ptr %8, align 8, !tbaa !9
  %209 = load i64, ptr %10, align 8, !tbaa !11
  %210 = add i64 %208, %209
  %211 = sub i64 %210, 1
  %212 = load ptr, ptr %7, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %212, i32 0, i32 13
  %214 = load i64, ptr %213, align 8, !tbaa !40
  %215 = icmp ugt i64 %211, %214
  br i1 %215, label %216, label %217

216:                                              ; preds = %207
  store i32 137, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

217:                                              ; preds = %207
  br label %218

218:                                              ; preds = %227, %217
  %219 = load i64, ptr %10, align 8, !tbaa !11
  %220 = icmp ne i64 %219, 0
  br i1 %220, label %221, label %246

221:                                              ; preds = %218
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = load i64, ptr %8, align 8, !tbaa !9
  %224 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef %222, i64 noundef %223, ptr noundef %13)
  %225 = icmp ne ptr %224, null
  br i1 %225, label %226, label %227

226:                                              ; preds = %221
  br label %246

227:                                              ; preds = %221
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %228, i32 0, i32 2
  %230 = load ptr, ptr %229, align 8, !tbaa !21
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %232, i32 0, i32 10
  %234 = load i32, ptr %233, align 8, !tbaa !45
  %235 = zext i32 %234 to i64
  call void @_fx_utility_memory_copy(ptr noundef %230, ptr noundef %231, i64 noundef %235)
  %236 = load ptr, ptr %9, align 8, !tbaa !5
  %237 = load ptr, ptr %7, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %237, i32 0, i32 10
  %239 = load i32, ptr %238, align 8, !tbaa !45
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds i8, ptr %236, i64 %240
  store ptr %241, ptr %9, align 8, !tbaa !5
  %242 = load i64, ptr %8, align 8, !tbaa !9
  %243 = add i64 %242, 1
  store i64 %243, ptr %8, align 8, !tbaa !9
  %244 = load i64, ptr %10, align 8, !tbaa !11
  %245 = add i64 %244, -1
  store i64 %245, ptr %10, align 8, !tbaa !11
  br label %218, !llvm.loop !46

246:                                              ; preds = %226, %218
  %247 = load i64, ptr %8, align 8, !tbaa !9
  %248 = load i64, ptr %10, align 8, !tbaa !11
  %249 = add i64 %247, %248
  %250 = sub i64 %249, 1
  store i64 %250, ptr %14, align 8, !tbaa !9
  br label %251

251:                                              ; preds = %260, %246
  %252 = load i64, ptr %10, align 8, !tbaa !11
  %253 = icmp ne i64 %252, 0
  br i1 %253, label %254, label %281

254:                                              ; preds = %251
  %255 = load ptr, ptr %7, align 8, !tbaa !5
  %256 = load i64, ptr %14, align 8, !tbaa !9
  %257 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef %255, i64 noundef %256, ptr noundef %13)
  %258 = icmp ne ptr %257, null
  br i1 %258, label %259, label %260

259:                                              ; preds = %254
  br label %281

260:                                              ; preds = %254
  %261 = load ptr, ptr %7, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %261, i32 0, i32 2
  %263 = load ptr, ptr %262, align 8, !tbaa !21
  %264 = load ptr, ptr %9, align 8, !tbaa !5
  %265 = load i64, ptr %10, align 8, !tbaa !11
  %266 = sub i64 %265, 1
  %267 = load ptr, ptr %7, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %267, i32 0, i32 10
  %269 = load i32, ptr %268, align 8, !tbaa !45
  %270 = zext i32 %269 to i64
  %271 = mul i64 %266, %270
  %272 = getelementptr inbounds i8, ptr %264, i64 %271
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %273, i32 0, i32 10
  %275 = load i32, ptr %274, align 8, !tbaa !45
  %276 = zext i32 %275 to i64
  call void @_fx_utility_memory_copy(ptr noundef %263, ptr noundef %272, i64 noundef %276)
  %277 = load i64, ptr %14, align 8, !tbaa !9
  %278 = add i64 %277, -1
  store i64 %278, ptr %14, align 8, !tbaa !9
  %279 = load i64, ptr %10, align 8, !tbaa !11
  %280 = add i64 %279, -1
  store i64 %280, ptr %10, align 8, !tbaa !11
  br label %251, !llvm.loop !48

281:                                              ; preds = %259, %251
  %282 = load i64, ptr %10, align 8, !tbaa !11
  %283 = icmp eq i64 %282, 0
  br i1 %283, label %284, label %285

284:                                              ; preds = %281
  store i32 0, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

285:                                              ; preds = %281
  %286 = load ptr, ptr %7, align 8, !tbaa !5
  %287 = load i64, ptr %8, align 8, !tbaa !9
  %288 = load i64, ptr %10, align 8, !tbaa !11
  %289 = call i32 @_fx_utility_logical_sector_flush(ptr noundef %286, i64 noundef %287, i64 noundef %288, i32 noundef 1)
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %290, i32 0, i32 105
  %292 = load i64, ptr %291, align 8, !tbaa !41
  %293 = add i64 %292, 1
  store i64 %293, ptr %291, align 8, !tbaa !41
  %294 = load ptr, ptr %7, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %294, i32 0, i32 32
  store i32 0, ptr %295, align 8, !tbaa !28
  %296 = load ptr, ptr %7, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %296, i32 0, i32 33
  store i32 144, ptr %297, align 4, !tbaa !29
  %298 = load ptr, ptr %9, align 8, !tbaa !5
  %299 = load ptr, ptr %7, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %299, i32 0, i32 34
  store ptr %298, ptr %300, align 8, !tbaa !31
  %301 = load i64, ptr %8, align 8, !tbaa !9
  %302 = load ptr, ptr %7, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %302, i32 0, i32 35
  store i64 %301, ptr %303, align 8, !tbaa !33
  %304 = load i64, ptr %10, align 8, !tbaa !11
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %305, i32 0, i32 36
  store i64 %304, ptr %306, align 8, !tbaa !34
  %307 = load i8, ptr %11, align 1, !tbaa !13
  %308 = zext i8 %307 to i32
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %309, i32 0, i32 44
  store i32 %308, ptr %310, align 8, !tbaa !36
  %311 = load i8, ptr %11, align 1, !tbaa !13
  %312 = zext i8 %311 to i32
  %313 = icmp eq i32 %312, 4
  br i1 %313, label %314, label %317

314:                                              ; preds = %285
  %315 = load ptr, ptr %7, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %315, i32 0, i32 43
  store i32 1, ptr %316, align 4, !tbaa !42
  br label %317

317:                                              ; preds = %314, %285
  %318 = load ptr, ptr %7, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %318, i32 0, i32 45
  %320 = load ptr, ptr %319, align 8, !tbaa !38
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  call void %320(ptr noundef %321)
  %322 = load ptr, ptr %7, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %322, i32 0, i32 43
  store i32 0, ptr %323, align 4, !tbaa !42
  %324 = load ptr, ptr %7, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %324, i32 0, i32 33
  %326 = load i32, ptr %325, align 4, !tbaa !29
  %327 = icmp eq i32 %326, 0
  br i1 %327, label %328, label %460

328:                                              ; preds = %317
  %329 = load i64, ptr %10, align 8, !tbaa !11
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %330, i32 0, i32 5
  %332 = load i64, ptr %331, align 8, !tbaa !49
  %333 = udiv i64 %332, 4
  %334 = icmp ult i64 %329, %333
  br i1 %334, label %335, label %460

335:                                              ; preds = %328
  br label %336

336:                                              ; preds = %440, %335
  %337 = load i64, ptr %10, align 8, !tbaa !11
  %338 = icmp ne i64 %337, 0
  br i1 %338, label %339, label %459

339:                                              ; preds = %336
  %340 = load ptr, ptr %7, align 8, !tbaa !5
  %341 = load i64, ptr %8, align 8, !tbaa !9
  %342 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef %340, i64 noundef %341, ptr noundef %13)
  store ptr %342, ptr %12, align 8, !tbaa !5
  %343 = load ptr, ptr %12, align 8, !tbaa !5
  %344 = icmp eq ptr %343, null
  br i1 %344, label %345, label %346

345:                                              ; preds = %339
  store i32 0, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

346:                                              ; preds = %339
  %347 = load ptr, ptr %12, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %347, i32 0, i32 3
  %349 = load i8, ptr %348, align 1, !tbaa !24
  %350 = zext i8 %349 to i32
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %352, label %415

352:                                              ; preds = %346
  %353 = load ptr, ptr %12, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %353, i32 0, i32 2
  %355 = load i8, ptr %354, align 8, !tbaa !26
  %356 = zext i8 %355 to i32
  %357 = icmp ne i32 %356, 0
  br i1 %357, label %358, label %415

358:                                              ; preds = %352
  %359 = load ptr, ptr %7, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %359, i32 0, i32 106
  %361 = load i64, ptr %360, align 8, !tbaa !27
  %362 = add i64 %361, 1
  store i64 %362, ptr %360, align 8, !tbaa !27
  %363 = load ptr, ptr %7, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %363, i32 0, i32 32
  store i32 1, ptr %364, align 8, !tbaa !28
  %365 = load ptr, ptr %7, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %365, i32 0, i32 33
  store i32 144, ptr %366, align 4, !tbaa !29
  %367 = load ptr, ptr %12, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %367, i32 0, i32 0
  %369 = load ptr, ptr %368, align 8, !tbaa !30
  %370 = load ptr, ptr %7, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %370, i32 0, i32 34
  store ptr %369, ptr %371, align 8, !tbaa !31
  %372 = load ptr, ptr %12, align 8, !tbaa !5
  %373 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %372, i32 0, i32 1
  %374 = load i64, ptr %373, align 8, !tbaa !32
  %375 = load ptr, ptr %7, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %375, i32 0, i32 35
  store i64 %374, ptr %376, align 8, !tbaa !33
  %377 = load ptr, ptr %7, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %377, i32 0, i32 36
  store i64 1, ptr %378, align 8, !tbaa !34
  %379 = load ptr, ptr %12, align 8, !tbaa !5
  %380 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %379, i32 0, i32 4
  %381 = load i8, ptr %380, align 2, !tbaa !35
  %382 = zext i8 %381 to i32
  %383 = load ptr, ptr %7, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %383, i32 0, i32 44
  store i32 %382, ptr %384, align 8, !tbaa !36
  %385 = load ptr, ptr %12, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %385, i32 0, i32 4
  %387 = load i8, ptr %386, align 2, !tbaa !35
  %388 = zext i8 %387 to i32
  %389 = icmp ne i32 %388, 4
  br i1 %389, label %390, label %393

390:                                              ; preds = %358
  %391 = load ptr, ptr %7, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %391, i32 0, i32 42
  store i32 1, ptr %392, align 8, !tbaa !37
  br label %393

393:                                              ; preds = %390, %358
  %394 = load ptr, ptr %7, align 8, !tbaa !5
  %395 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %394, i32 0, i32 45
  %396 = load ptr, ptr %395, align 8, !tbaa !38
  %397 = load ptr, ptr %7, align 8, !tbaa !5
  call void %396(ptr noundef %397)
  %398 = load ptr, ptr %7, align 8, !tbaa !5
  %399 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %398, i32 0, i32 42
  store i32 0, ptr %399, align 8, !tbaa !37
  %400 = load ptr, ptr %7, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %400, i32 0, i32 33
  %402 = load i32, ptr %401, align 4, !tbaa !29
  %403 = icmp ne i32 %402, 0
  br i1 %403, label %404, label %408

404:                                              ; preds = %393
  %405 = load ptr, ptr %7, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %405, i32 0, i32 33
  %407 = load i32, ptr %406, align 4, !tbaa !29
  store i32 %407, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

408:                                              ; preds = %393
  %409 = load ptr, ptr %12, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %409, i32 0, i32 2
  store i8 0, ptr %410, align 8, !tbaa !26
  %411 = load ptr, ptr %7, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %411, i32 0, i32 9
  %413 = load i64, ptr %412, align 8, !tbaa !39
  %414 = add i64 %413, -1
  store i64 %414, ptr %412, align 8, !tbaa !39
  br label %415

415:                                              ; preds = %408, %352, %346
  %416 = load i64, ptr %8, align 8, !tbaa !9
  %417 = load ptr, ptr %12, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %417, i32 0, i32 1
  store i64 %416, ptr %418, align 8, !tbaa !32
  %419 = load ptr, ptr %12, align 8, !tbaa !5
  %420 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %419, i32 0, i32 3
  store i8 1, ptr %420, align 1, !tbaa !24
  %421 = load i8, ptr %11, align 1, !tbaa !13
  %422 = load ptr, ptr %12, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %422, i32 0, i32 4
  store i8 %421, ptr %423, align 2, !tbaa !35
  %424 = load ptr, ptr %13, align 8, !tbaa !5
  %425 = icmp ne ptr %424, null
  br i1 %425, label %426, label %440

426:                                              ; preds = %415
  %427 = load ptr, ptr %12, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %427, i32 0, i32 6
  %429 = load ptr, ptr %428, align 8, !tbaa !43
  %430 = load ptr, ptr %13, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %430, i32 0, i32 6
  store ptr %429, ptr %431, align 8, !tbaa !43
  %432 = load ptr, ptr %7, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %432, i32 0, i32 7
  %434 = load ptr, ptr %433, align 8, !tbaa !44
  %435 = load ptr, ptr %12, align 8, !tbaa !5
  %436 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %435, i32 0, i32 6
  store ptr %434, ptr %436, align 8, !tbaa !43
  %437 = load ptr, ptr %12, align 8, !tbaa !5
  %438 = load ptr, ptr %7, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %438, i32 0, i32 7
  store ptr %437, ptr %439, align 8, !tbaa !44
  br label %440

440:                                              ; preds = %426, %415
  %441 = load ptr, ptr %9, align 8, !tbaa !5
  %442 = load ptr, ptr %12, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %442, i32 0, i32 0
  %444 = load ptr, ptr %443, align 8, !tbaa !30
  %445 = load ptr, ptr %7, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %445, i32 0, i32 10
  %447 = load i32, ptr %446, align 8, !tbaa !45
  %448 = zext i32 %447 to i64
  call void @_fx_utility_memory_copy(ptr noundef %441, ptr noundef %444, i64 noundef %448)
  %449 = load ptr, ptr %9, align 8, !tbaa !5
  %450 = load ptr, ptr %7, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %450, i32 0, i32 10
  %452 = load i32, ptr %451, align 8, !tbaa !45
  %453 = zext i32 %452 to i64
  %454 = getelementptr inbounds i8, ptr %449, i64 %453
  store ptr %454, ptr %9, align 8, !tbaa !5
  %455 = load i64, ptr %8, align 8, !tbaa !9
  %456 = add i64 %455, 1
  store i64 %456, ptr %8, align 8, !tbaa !9
  %457 = load i64, ptr %10, align 8, !tbaa !11
  %458 = add i64 %457, -1
  store i64 %458, ptr %10, align 8, !tbaa !11
  br label %336, !llvm.loop !50

459:                                              ; preds = %336
  br label %460

460:                                              ; preds = %459, %328, %317
  %461 = load ptr, ptr %7, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %461, i32 0, i32 33
  %463 = load i32, ptr %462, align 4, !tbaa !29
  store i32 %463, ptr %6, align 4
  store i32 1, ptr %15, align 4
  br label %464

464:                                              ; preds = %460, %404, %345, %284, %216, %198, %126, %109, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  %465 = load i32, ptr %6, align 4
  ret i32 %465
}

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

declare ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef, i64 noundef, ptr noundef) #2

declare void @_fx_utility_memory_copy(ptr noundef, ptr noundef, i64 noundef) #2

declare i32 @_fx_utility_logical_sector_flush(ptr noundef, i64 noundef, i64 noundef, i32 noundef) #2

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !12, i64 720}
!15 = !{!"FX_MEDIA_STRUCT", !12, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !16, i64 32, !12, i64 40, !6, i64 48, !6, i64 56, !12, i64 64, !12, i64 72, !16, i64 80, !16, i64 84, !16, i64 88, !10, i64 96, !12, i64 104, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !12, i64 152, !16, i64 160, !12, i64 168, !12, i64 176, !16, i64 184, !12, i64 192, !12, i64 200, !6, i64 208, !16, i64 216, !16, i64 220, !6, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !16, i64 256, !16, i64 260, !16, i64 264, !16, i64 268, !16, i64 272, !16, i64 276, !16, i64 280, !6, i64 288, !6, i64 296, !6, i64 304, !6, i64 312, !12, i64 320, !6, i64 328, !6, i64 336, !12, i64 344, !12, i64 352, !12, i64 360, !12, i64 368, !12, i64 376, !12, i64 384, !12, i64 392, !12, i64 400, !12, i64 408, !12, i64 416, !12, i64 424, !12, i64 432, !12, i64 440, !12, i64 448, !12, i64 456, !12, i64 464, !12, i64 472, !12, i64 480, !12, i64 488, !12, i64 496, !12, i64 504, !12, i64 512, !12, i64 520, !12, i64 528, !12, i64 536, !12, i64 544, !12, i64 552, !12, i64 560, !12, i64 568, !12, i64 576, !12, i64 584, !12, i64 592, !12, i64 600, !12, i64 608, !12, i64 616, !12, i64 624, !12, i64 632, !12, i64 640, !12, i64 648, !12, i64 656, !12, i64 664, !12, i64 672, !12, i64 680, !12, i64 688, !12, i64 696, !12, i64 704, !12, i64 712, !12, i64 720, !12, i64 728, !12, i64 736, !12, i64 744, !12, i64 752, !12, i64 760, !12, i64 768, !12, i64 776, !12, i64 784, !12, i64 792, !12, i64 800, !12, i64 808, !12, i64 816, !17, i64 824, !16, i64 920, !18, i64 928, !18, i64 1064, !7, i64 1200, !7, i64 1456, !19, i64 1712, !7, i64 2368, !7, i64 2752, !12, i64 2880, !7, i64 2888, !7, i64 3912, !12, i64 12104, !12, i64 12112, !12, i64 12120, !12, i64 12128, !7, i64 12136}
!16 = !{!"int", !7, i64 0}
!17 = !{!"TX_MUTEX_STRUCT", !12, i64 0, !6, i64 8, !16, i64 16, !6, i64 24, !16, i64 32, !16, i64 36, !6, i64 40, !16, i64 48, !6, i64 56, !6, i64 64, !16, i64 72, !6, i64 80, !6, i64 88}
!18 = !{!"FX_DIR_ENTRY_STRUCT", !6, i64 0, !7, i64 8, !16, i64 24, !16, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !16, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !12, i64 56, !10, i64 64, !10, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !10, i64 112, !12, i64 120, !10, i64 128}
!19 = !{!"FX_PATH_STRUCT", !18, i64 0, !7, i64 136, !7, i64 392, !12, i64 648}
!20 = !{!15, !12, i64 736}
!21 = !{!15, !6, i64 16}
!22 = !{!15, !6, i64 48}
!23 = !{!15, !12, i64 760}
!24 = !{!25, !7, i64 17}
!25 = !{!"FX_CACHED_SECTOR_STRUCT", !6, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !6, i64 24}
!26 = !{!25, !7, i64 16}
!27 = !{!15, !12, i64 776}
!28 = !{!15, !16, i64 216}
!29 = !{!15, !16, i64 220}
!30 = !{!25, !6, i64 0}
!31 = !{!15, !6, i64 224}
!32 = !{!25, !10, i64 8}
!33 = !{!15, !12, i64 232}
!34 = !{!15, !12, i64 240}
!35 = !{!25, !7, i64 18}
!36 = !{!15, !16, i64 280}
!37 = !{!15, !16, i64 272}
!38 = !{!15, !6, i64 288}
!39 = !{!15, !12, i64 72}
!40 = !{!15, !10, i64 96}
!41 = !{!15, !12, i64 768}
!42 = !{!15, !16, i64 276}
!43 = !{!25, !6, i64 24}
!44 = !{!15, !6, i64 56}
!45 = !{!15, !16, i64 80}
!46 = distinct !{!46, !47}
!47 = !{!"llvm.loop.mustprogress"}
!48 = distinct !{!48, !47}
!49 = !{!15, !12, i64 40}
!50 = distinct !{!50, !47}


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

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_utility_logical_sector_read(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i8 noundef zeroext %4) local_unnamed_addr #0 {
  %6 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %7 = zext i8 %4 to i32
  %8 = icmp eq i8 %4, 2
  br i1 %8, label %9, label %13

9:                                                ; preds = %5
  %10 = getelementptr inbounds i8, ptr %0, i64 720
  %11 = load i64, ptr %10, align 8, !tbaa !5
  %12 = add i64 %11, 1
  store i64 %12, ptr %10, align 8, !tbaa !5
  br label %13

13:                                               ; preds = %9, %5
  %14 = getelementptr inbounds i8, ptr %0, i64 736
  %15 = load i64, ptr %14, align 8, !tbaa !16
  %16 = add i64 %15, 1
  store i64 %16, ptr %14, align 8, !tbaa !16
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !17
  %.not = icmp ugt ptr %18, %2
  br i1 %.not, label %98, label %19

19:                                               ; preds = %13
  %20 = getelementptr inbounds i8, ptr %0, i64 48
  %21 = load ptr, ptr %20, align 8, !tbaa !18
  %.not173 = icmp ult ptr %21, %2
  br i1 %.not173, label %98, label %22

22:                                               ; preds = %19
  %23 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef nonnull %0, i64 noundef %1, ptr noundef nonnull %6) #3
  %24 = icmp eq ptr %23, null
  br i1 %24, label %.loopexit, label %25

25:                                               ; preds = %22
  %26 = getelementptr inbounds i8, ptr %0, i64 760
  %27 = load i64, ptr %26, align 8, !tbaa !19
  %28 = add i64 %27, 1
  store i64 %28, ptr %26, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %23, i64 17
  %30 = load i8, ptr %29, align 1, !tbaa !20
  %.not183 = icmp eq i8 %30, 0
  br i1 %.not183, label %61, label %31

31:                                               ; preds = %25
  %32 = getelementptr inbounds i8, ptr %23, i64 16
  %33 = load i8, ptr %32, align 8, !tbaa !22
  %.not184 = icmp eq i8 %33, 0
  br i1 %.not184, label %61, label %34

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %0, i64 776
  %36 = load i64, ptr %35, align 8, !tbaa !23
  %37 = add i64 %36, 1
  store i64 %37, ptr %35, align 8, !tbaa !23
  %38 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 1, ptr %38, align 8, !tbaa !24
  %39 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 144, ptr %39, align 4, !tbaa !25
  %40 = load ptr, ptr %23, align 8, !tbaa !26
  %41 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %40, ptr %41, align 8, !tbaa !27
  %42 = getelementptr inbounds i8, ptr %23, i64 8
  %43 = load i64, ptr %42, align 8, !tbaa !28
  %44 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %43, ptr %44, align 8, !tbaa !29
  %45 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 1, ptr %45, align 8, !tbaa !30
  %46 = getelementptr inbounds i8, ptr %23, i64 18
  %47 = load i8, ptr %46, align 2, !tbaa !31
  %48 = zext i8 %47 to i32
  %49 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 %48, ptr %49, align 8, !tbaa !32
  %.not185 = icmp eq i8 %47, 4
  br i1 %.not185, label %52, label %50

50:                                               ; preds = %34
  %51 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 1, ptr %51, align 8, !tbaa !33
  br label %52

52:                                               ; preds = %50, %34
  %53 = getelementptr inbounds i8, ptr %0, i64 288
  %54 = load ptr, ptr %53, align 8, !tbaa !34
  call void %54(ptr noundef nonnull %0) #3
  %55 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %55, align 8, !tbaa !33
  %56 = load i32, ptr %39, align 4, !tbaa !25
  %.not186 = icmp eq i32 %56, 0
  br i1 %.not186, label %57, label %.loopexit

57:                                               ; preds = %52
  store i8 0, ptr %32, align 8, !tbaa !22
  %58 = getelementptr inbounds i8, ptr %0, i64 72
  %59 = load i64, ptr %58, align 8, !tbaa !35
  %60 = add i64 %59, -1
  store i64 %60, ptr %58, align 8, !tbaa !35
  br label %61

61:                                               ; preds = %57, %31, %25
  %62 = getelementptr inbounds i8, ptr %0, i64 96
  %63 = load i64, ptr %62, align 8, !tbaa !36
  %.not187 = icmp ugt i64 %63, %1
  br i1 %.not187, label %64, label %.loopexit

64:                                               ; preds = %61
  %65 = getelementptr inbounds i8, ptr %0, i64 768
  %66 = load i64, ptr %65, align 8, !tbaa !37
  %67 = add i64 %66, 1
  store i64 %67, ptr %65, align 8, !tbaa !37
  %68 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 0, ptr %68, align 8, !tbaa !24
  %69 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 144, ptr %69, align 4, !tbaa !25
  %70 = load ptr, ptr %23, align 8, !tbaa !26
  %71 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %70, ptr %71, align 8, !tbaa !27
  %72 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %1, ptr %72, align 8, !tbaa !29
  %73 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 1, ptr %73, align 8, !tbaa !30
  %74 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 %7, ptr %74, align 8, !tbaa !32
  %75 = icmp eq i8 %4, 4
  br i1 %75, label %76, label %78

76:                                               ; preds = %64
  %77 = getelementptr inbounds i8, ptr %0, i64 276
  store i32 1, ptr %77, align 4, !tbaa !38
  br label %78

78:                                               ; preds = %76, %64
  %79 = getelementptr inbounds i8, ptr %0, i64 288
  %80 = load ptr, ptr %79, align 8, !tbaa !34
  call void %80(ptr noundef nonnull %0) #3
  %81 = getelementptr inbounds i8, ptr %0, i64 276
  store i32 0, ptr %81, align 4, !tbaa !38
  %82 = load i32, ptr %69, align 4, !tbaa !25
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %94

84:                                               ; preds = %78
  %85 = getelementptr inbounds i8, ptr %23, i64 8
  store i64 %1, ptr %85, align 8, !tbaa !28
  store i8 1, ptr %29, align 1, !tbaa !20
  %86 = getelementptr inbounds i8, ptr %23, i64 18
  store i8 %4, ptr %86, align 2, !tbaa !31
  %87 = load ptr, ptr %6, align 8, !tbaa !39
  %.not188 = icmp eq ptr %87, null
  br i1 %.not188, label %96, label %88

88:                                               ; preds = %84
  %89 = getelementptr inbounds i8, ptr %23, i64 24
  %90 = load ptr, ptr %89, align 8, !tbaa !40
  %91 = getelementptr inbounds i8, ptr %87, i64 24
  store ptr %90, ptr %91, align 8, !tbaa !40
  %92 = getelementptr inbounds i8, ptr %0, i64 56
  %93 = load ptr, ptr %92, align 8, !tbaa !41
  store ptr %93, ptr %89, align 8, !tbaa !40
  store ptr %23, ptr %92, align 8, !tbaa !41
  br label %96

94:                                               ; preds = %78
  store i8 0, ptr %29, align 1, !tbaa !20
  %95 = getelementptr inbounds i8, ptr %23, i64 8
  store i64 -1, ptr %95, align 8, !tbaa !28
  br label %96

96:                                               ; preds = %84, %88, %94
  %97 = load ptr, ptr %23, align 8, !tbaa !26
  store ptr %97, ptr %17, align 8, !tbaa !17
  br label %.loopexit

98:                                               ; preds = %19, %13
  %99 = add i64 %1, -1
  %100 = add i64 %99, %3
  %101 = getelementptr inbounds i8, ptr %0, i64 96
  %102 = load i64, ptr %101, align 8, !tbaa !36
  %103 = icmp ugt i64 %100, %102
  br i1 %103, label %.loopexit, label %.preheader191

.preheader191:                                    ; preds = %98
  %.not174193 = icmp eq i64 %3, 0
  br i1 %.not174193, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader191
  %104 = getelementptr inbounds i8, ptr %0, i64 80
  br label %105

105:                                              ; preds = %.lr.ph, %107
  %.0159196 = phi i64 [ %3, %.lr.ph ], [ %115, %107 ]
  %.0160195 = phi ptr [ %2, %.lr.ph ], [ %113, %107 ]
  %.0162194 = phi i64 [ %1, %.lr.ph ], [ %114, %107 ]
  %106 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef nonnull %0, i64 noundef %.0162194, ptr noundef nonnull %6) #3
  %.not175 = icmp eq ptr %106, null
  br i1 %.not175, label %107, label %.lr.ph208

107:                                              ; preds = %105
  %108 = load ptr, ptr %17, align 8, !tbaa !17
  %109 = load i32, ptr %104, align 8, !tbaa !42
  %110 = zext i32 %109 to i64
  call void @_fx_utility_memory_copy(ptr noundef %108, ptr noundef %.0160195, i64 noundef %110) #3
  %111 = load i32, ptr %104, align 8, !tbaa !42
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %.0160195, i64 %112
  %114 = add i64 %.0162194, 1
  %115 = add i64 %.0159196, -1
  %.not174 = icmp eq i64 %115, 0
  br i1 %.not174, label %.loopexit, label %105, !llvm.loop !43

.lr.ph208:                                        ; preds = %105
  %116 = add i64 %.0159196, %.0162194
  %117 = getelementptr inbounds i8, ptr %0, i64 80
  br label %118

118:                                              ; preds = %.lr.ph208, %120
  %.0206.in = phi i64 [ %116, %.lr.ph208 ], [ %.0206, %120 ]
  %.1205 = phi i64 [ %.0159196, %.lr.ph208 ], [ %122, %120 ]
  %.0206 = add i64 %.0206.in, -1
  %119 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef nonnull %0, i64 noundef %.0206, ptr noundef nonnull %6) #3
  %.not177 = icmp eq ptr %119, null
  br i1 %.not177, label %120, label %127

120:                                              ; preds = %118
  %121 = load ptr, ptr %17, align 8, !tbaa !17
  %122 = add i64 %.1205, -1
  %123 = load i32, ptr %117, align 8, !tbaa !42
  %124 = zext i32 %123 to i64
  %125 = mul i64 %122, %124
  %126 = getelementptr inbounds i8, ptr %.0160195, i64 %125
  call void @_fx_utility_memory_copy(ptr noundef %121, ptr noundef %126, i64 noundef %124) #3
  %cond = icmp eq i64 %122, 0
  br i1 %cond, label %.loopexit, label %118, !llvm.loop !45

127:                                              ; preds = %118
  %128 = call i32 @_fx_utility_logical_sector_flush(ptr noundef nonnull %0, i64 noundef %.0162194, i64 noundef %.1205, i32 noundef 1) #3
  %129 = getelementptr inbounds i8, ptr %0, i64 768
  %130 = load i64, ptr %129, align 8, !tbaa !37
  %131 = add i64 %130, 1
  store i64 %131, ptr %129, align 8, !tbaa !37
  %132 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 0, ptr %132, align 8, !tbaa !24
  %133 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 144, ptr %133, align 4, !tbaa !25
  %134 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %.0160195, ptr %134, align 8, !tbaa !27
  %135 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %.0162194, ptr %135, align 8, !tbaa !29
  %136 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 %.1205, ptr %136, align 8, !tbaa !30
  %137 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 %7, ptr %137, align 8, !tbaa !32
  %138 = icmp eq i8 %4, 4
  br i1 %138, label %139, label %141

139:                                              ; preds = %127
  %140 = getelementptr inbounds i8, ptr %0, i64 276
  store i32 1, ptr %140, align 4, !tbaa !38
  br label %141

141:                                              ; preds = %139, %127
  %142 = getelementptr inbounds i8, ptr %0, i64 288
  %143 = load ptr, ptr %142, align 8, !tbaa !34
  call void %143(ptr noundef nonnull %0) #3
  %144 = getelementptr inbounds i8, ptr %0, i64 276
  store i32 0, ptr %144, align 4, !tbaa !38
  %145 = load i32, ptr %133, align 4, !tbaa !25
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %147, label %.loopexit

147:                                              ; preds = %141
  %148 = getelementptr inbounds i8, ptr %0, i64 40
  %149 = load i64, ptr %148, align 8, !tbaa !46
  %150 = lshr i64 %149, 2
  %151 = icmp ult i64 %.1205, %150
  br i1 %151, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %147
  %152 = getelementptr inbounds i8, ptr %0, i64 776
  %153 = getelementptr inbounds i8, ptr %0, i64 272
  %154 = getelementptr inbounds i8, ptr %0, i64 72
  %155 = getelementptr inbounds i8, ptr %0, i64 56
  br label %156

156:                                              ; preds = %.preheader, %190
  %.1163 = phi i64 [ %197, %190 ], [ %.0162194, %.preheader ]
  %.1161 = phi ptr [ %196, %190 ], [ %.0160195, %.preheader ]
  %.2 = phi i64 [ %198, %190 ], [ %.1205, %.preheader ]
  %157 = call ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef nonnull %0, i64 noundef %.1163, ptr noundef nonnull %6) #3
  %158 = icmp eq ptr %157, null
  br i1 %158, label %.loopexit, label %159

159:                                              ; preds = %156
  %160 = getelementptr inbounds i8, ptr %157, i64 17
  %161 = load i8, ptr %160, align 1, !tbaa !20
  %.not178 = icmp eq i8 %161, 0
  br i1 %.not178, label %181, label %162

162:                                              ; preds = %159
  %163 = getelementptr inbounds i8, ptr %157, i64 16
  %164 = load i8, ptr %163, align 8, !tbaa !22
  %.not179 = icmp eq i8 %164, 0
  br i1 %.not179, label %181, label %165

165:                                              ; preds = %162
  %166 = load i64, ptr %152, align 8, !tbaa !23
  %167 = add i64 %166, 1
  store i64 %167, ptr %152, align 8, !tbaa !23
  store i32 1, ptr %132, align 8, !tbaa !24
  store i32 144, ptr %133, align 4, !tbaa !25
  %168 = load ptr, ptr %157, align 8, !tbaa !26
  store ptr %168, ptr %134, align 8, !tbaa !27
  %169 = getelementptr inbounds i8, ptr %157, i64 8
  %170 = load i64, ptr %169, align 8, !tbaa !28
  store i64 %170, ptr %135, align 8, !tbaa !29
  store i64 1, ptr %136, align 8, !tbaa !30
  %171 = getelementptr inbounds i8, ptr %157, i64 18
  %172 = load i8, ptr %171, align 2, !tbaa !31
  %173 = zext i8 %172 to i32
  store i32 %173, ptr %137, align 8, !tbaa !32
  %.not180 = icmp eq i8 %172, 4
  br i1 %.not180, label %175, label %174

174:                                              ; preds = %165
  store i32 1, ptr %153, align 8, !tbaa !33
  br label %175

175:                                              ; preds = %174, %165
  %176 = load ptr, ptr %142, align 8, !tbaa !34
  call void %176(ptr noundef nonnull %0) #3
  store i32 0, ptr %153, align 8, !tbaa !33
  %177 = load i32, ptr %133, align 4, !tbaa !25
  %.not181 = icmp eq i32 %177, 0
  br i1 %.not181, label %178, label %.loopexit

178:                                              ; preds = %175
  store i8 0, ptr %163, align 8, !tbaa !22
  %179 = load i64, ptr %154, align 8, !tbaa !35
  %180 = add i64 %179, -1
  store i64 %180, ptr %154, align 8, !tbaa !35
  br label %181

181:                                              ; preds = %178, %162, %159
  %182 = getelementptr inbounds i8, ptr %157, i64 8
  store i64 %.1163, ptr %182, align 8, !tbaa !28
  store i8 1, ptr %160, align 1, !tbaa !20
  %183 = getelementptr inbounds i8, ptr %157, i64 18
  store i8 %4, ptr %183, align 2, !tbaa !31
  %184 = load ptr, ptr %6, align 8, !tbaa !39
  %.not182 = icmp eq ptr %184, null
  br i1 %.not182, label %190, label %185

185:                                              ; preds = %181
  %186 = getelementptr inbounds i8, ptr %157, i64 24
  %187 = load ptr, ptr %186, align 8, !tbaa !40
  %188 = getelementptr inbounds i8, ptr %184, i64 24
  store ptr %187, ptr %188, align 8, !tbaa !40
  %189 = load ptr, ptr %155, align 8, !tbaa !41
  store ptr %189, ptr %186, align 8, !tbaa !40
  store ptr %157, ptr %155, align 8, !tbaa !41
  br label %190

190:                                              ; preds = %185, %181
  %191 = load ptr, ptr %157, align 8, !tbaa !26
  %192 = load i32, ptr %117, align 8, !tbaa !42
  %193 = zext i32 %192 to i64
  call void @_fx_utility_memory_copy(ptr noundef %.1161, ptr noundef %191, i64 noundef %193) #3
  %194 = load i32, ptr %117, align 8, !tbaa !42
  %195 = zext i32 %194 to i64
  %196 = getelementptr inbounds i8, ptr %.1161, i64 %195
  %197 = add i64 %.1163, 1
  %198 = add nsw i64 %.2, -1
  %.old1.not = icmp eq i64 %198, 0
  br i1 %.old1.not, label %.loopexit189.loopexit, label %156

.loopexit189.loopexit:                            ; preds = %190
  %.pre = load i32, ptr %133, align 4, !tbaa !25
  br label %.loopexit

.loopexit:                                        ; preds = %107, %120, %175, %156, %.preheader191, %141, %147, %.loopexit189.loopexit, %98, %61, %52, %22, %96
  %.0158 = phi i32 [ %82, %96 ], [ 0, %22 ], [ %56, %52 ], [ 137, %61 ], [ 137, %98 ], [ %.pre, %.loopexit189.loopexit ], [ 0, %147 ], [ %145, %141 ], [ 0, %.preheader191 ], [ %177, %175 ], [ 0, %156 ], [ 0, %120 ], [ 0, %107 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  ret i32 %.0158
}

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

declare ptr @_fx_utility_logical_sector_cache_entry_read(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

declare void @_fx_utility_memory_copy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @_fx_utility_logical_sector_flush(ptr noundef, i64 noundef, i64 noundef, i32 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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !7, i64 720}
!6 = !{!"FX_MEDIA_STRUCT", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !11, i64 32, !7, i64 40, !10, i64 48, !10, i64 56, !7, i64 64, !7, i64 72, !11, i64 80, !11, i64 84, !11, i64 88, !12, i64 96, !7, i64 104, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !7, i64 152, !11, i64 160, !7, i64 168, !7, i64 176, !11, i64 184, !7, i64 192, !7, i64 200, !10, i64 208, !11, i64 216, !11, i64 220, !10, i64 224, !7, i64 232, !7, i64 240, !7, i64 248, !11, i64 256, !11, i64 260, !11, i64 264, !11, i64 268, !11, i64 272, !11, i64 276, !11, i64 280, !10, i64 288, !10, i64 296, !10, i64 304, !10, i64 312, !7, i64 320, !10, i64 328, !10, i64 336, !7, i64 344, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !7, i64 384, !7, i64 392, !7, i64 400, !7, i64 408, !7, i64 416, !7, i64 424, !7, i64 432, !7, i64 440, !7, i64 448, !7, i64 456, !7, i64 464, !7, i64 472, !7, i64 480, !7, i64 488, !7, i64 496, !7, i64 504, !7, i64 512, !7, i64 520, !7, i64 528, !7, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !7, i64 576, !7, i64 584, !7, i64 592, !7, i64 600, !7, i64 608, !7, i64 616, !7, i64 624, !7, i64 632, !7, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !7, i64 672, !7, i64 680, !7, i64 688, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !7, i64 760, !7, i64 768, !7, i64 776, !7, i64 784, !7, i64 792, !7, i64 800, !7, i64 808, !7, i64 816, !13, i64 824, !11, i64 920, !14, i64 928, !14, i64 1064, !8, i64 1200, !8, i64 1456, !15, i64 1712, !8, i64 2368, !8, i64 2752, !7, i64 2880, !8, i64 2888, !8, i64 3912, !7, i64 12104, !7, i64 12112, !7, i64 12120, !7, i64 12128, !8, i64 12136}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long long", !8, i64 0}
!13 = !{!"TX_MUTEX_STRUCT", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 24, !11, i64 32, !11, i64 36, !10, i64 40, !11, i64 48, !10, i64 56, !10, i64 64, !11, i64 72, !10, i64 80, !10, i64 88}
!14 = !{!"FX_DIR_ENTRY_STRUCT", !10, i64 0, !8, i64 8, !11, i64 24, !11, i64 28, !8, i64 32, !8, i64 33, !8, i64 34, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !7, i64 56, !12, i64 64, !12, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !12, i64 112, !7, i64 120, !12, i64 128}
!15 = !{!"FX_PATH_STRUCT", !14, i64 0, !8, i64 136, !8, i64 392, !7, i64 648}
!16 = !{!6, !7, i64 736}
!17 = !{!6, !10, i64 16}
!18 = !{!6, !10, i64 48}
!19 = !{!6, !7, i64 760}
!20 = !{!21, !8, i64 17}
!21 = !{!"FX_CACHED_SECTOR_STRUCT", !10, i64 0, !12, i64 8, !8, i64 16, !8, i64 17, !8, i64 18, !8, i64 19, !10, i64 24}
!22 = !{!21, !8, i64 16}
!23 = !{!6, !7, i64 776}
!24 = !{!6, !11, i64 216}
!25 = !{!6, !11, i64 220}
!26 = !{!21, !10, i64 0}
!27 = !{!6, !10, i64 224}
!28 = !{!21, !12, i64 8}
!29 = !{!6, !7, i64 232}
!30 = !{!6, !7, i64 240}
!31 = !{!21, !8, i64 18}
!32 = !{!6, !11, i64 280}
!33 = !{!6, !11, i64 272}
!34 = !{!6, !10, i64 288}
!35 = !{!6, !7, i64 72}
!36 = !{!6, !12, i64 96}
!37 = !{!6, !7, i64 768}
!38 = !{!6, !11, i64 276}
!39 = !{!10, !10, i64 0}
!40 = !{!21, !10, i64 24}
!41 = !{!6, !10, i64 56}
!42 = !{!6, !11, i64 80}
!43 = distinct !{!43, !44}
!44 = !{!"llvm.loop.mustprogress"}
!45 = distinct !{!45, !44}
!46 = !{!6, !7, i64 40}


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