; LLVM IR from mlcommons/tiny :: benchmark/interface/Middlewares/ST/filex/common/src/fx_utility_logical_sector/70f4bc26 (write)

; 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_write(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 i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = 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 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 1, ptr %16) #3
  store i8 0, ptr %16, align 1, !tbaa !13
  %18 = load i8, ptr %11, align 1, !tbaa !13
  %19 = zext i8 %18 to i32
  %20 = icmp eq i32 %19, 2
  br i1 %20, label %21, label %26

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

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

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

42:                                               ; preds = %36
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %43, i32 0, i32 4
  %45 = load i32, ptr %44, align 8, !tbaa !23
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %83

47:                                               ; preds = %42
  %48 = load i64, ptr %8, align 8, !tbaa !9
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %49, i32 0, i32 124
  %51 = load i64, ptr %50, align 8, !tbaa !24
  %52 = and i64 %48, %51
  %53 = mul i64 %52, 4
  %54 = trunc i64 %53 to i32
  store i32 %54, ptr %14, align 4, !tbaa !25
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %55, i32 0, i32 123
  %57 = load i32, ptr %14, align 4, !tbaa !25
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds [256 x %struct.FX_CACHED_SECTOR_STRUCT], ptr %56, i64 0, i64 %58
  store ptr %59, ptr %12, align 8, !tbaa !5
  store i32 0, ptr %15, align 4, !tbaa !25
  br label %60

60:                                               ; preds = %77, %47
  %61 = load i32, ptr %15, align 4, !tbaa !25
  %62 = icmp ult i32 %61, 4
  br i1 %62, label %63, label %82

63:                                               ; preds = %60
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %64, i32 0, i32 3
  %66 = load i8, ptr %65, align 1, !tbaa !26
  %67 = zext i8 %66 to i32
  %68 = icmp ne i32 %67, 0
  br i1 %68, label %69, label %76

69:                                               ; preds = %63
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %70, i32 0, i32 1
  %72 = load i64, ptr %71, align 8, !tbaa !28
  %73 = load i64, ptr %8, align 8, !tbaa !9
  %74 = icmp eq i64 %72, %73
  br i1 %74, label %75, label %76

75:                                               ; preds = %69
  store i8 1, ptr %16, align 1, !tbaa !13
  br label %82

76:                                               ; preds = %69, %63
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %15, align 4, !tbaa !25
  %79 = add i32 %78, 1
  store i32 %79, ptr %15, align 4, !tbaa !25
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %80, i32 1
  store ptr %81, ptr %12, align 8, !tbaa !5
  br label %60, !llvm.loop !29

82:                                               ; preds = %75, %60
  br label %119

83:                                               ; preds = %42
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %84, i32 0, i32 5
  %86 = load i64, ptr %85, align 8, !tbaa !31
  %87 = trunc i64 %86 to i32
  store i32 %87, ptr %13, align 4, !tbaa !25
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %88, i32 0, i32 7
  %90 = load ptr, ptr %89, align 8, !tbaa !32
  store ptr %90, ptr %12, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %117, %83
  %92 = load i32, ptr %13, align 4, !tbaa !25
  %93 = add i32 %92, -1
  store i32 %93, ptr %13, align 4, !tbaa !25
  %94 = icmp ne i32 %92, 0
  br i1 %94, label %95, label %118

95:                                               ; preds = %91
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %96, i32 0, i32 3
  %98 = load i8, ptr %97, align 1, !tbaa !26
  %99 = zext i8 %98 to i32
  %100 = icmp ne i32 %99, 0
  br i1 %100, label %101, label %108

101:                                              ; preds = %95
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %102, i32 0, i32 1
  %104 = load i64, ptr %103, align 8, !tbaa !28
  %105 = load i64, ptr %8, align 8, !tbaa !9
  %106 = icmp eq i64 %104, %105
  br i1 %106, label %107, label %108

107:                                              ; preds = %101
  store i8 1, ptr %16, align 1, !tbaa !13
  br label %118

108:                                              ; preds = %101, %95
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %109, i32 0, i32 6
  %111 = load ptr, ptr %110, align 8, !tbaa !33
  %112 = icmp ne ptr %111, null
  br i1 %112, label %113, label %117

113:                                              ; preds = %108
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %114, i32 0, i32 6
  %116 = load ptr, ptr %115, align 8, !tbaa !33
  store ptr %116, ptr %12, align 8, !tbaa !5
  br label %117

117:                                              ; preds = %113, %108
  br label %91, !llvm.loop !34

118:                                              ; preds = %107, %91
  br label %119

119:                                              ; preds = %118, %82
  %120 = load i8, ptr %16, align 1, !tbaa !13
  %121 = icmp ne i8 %120, 0
  br i1 %121, label %122, label %136

122:                                              ; preds = %119
  %123 = load ptr, ptr %12, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %123, i32 0, i32 2
  %125 = load i8, ptr %124, align 8, !tbaa !35
  %126 = zext i8 %125 to i32
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %135

128:                                              ; preds = %122
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %129, i32 0, i32 9
  %131 = load i64, ptr %130, align 8, !tbaa !36
  %132 = add i64 %131, 1
  store i64 %132, ptr %130, align 8, !tbaa !36
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.FX_CACHED_SECTOR_STRUCT, ptr %133, i32 0, i32 2
  store i8 1, ptr %134, align 8, !tbaa !35
  br label %135

135:                                              ; preds = %128, %122
  store i32 0, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

136:                                              ; preds = %119
  %137 = load i64, ptr %8, align 8, !tbaa !9
  %138 = icmp eq i64 %137, 0
  br i1 %138, label %142, label %139

139:                                              ; preds = %136
  %140 = load i64, ptr %8, align 8, !tbaa !9
  %141 = icmp eq i64 %140, 4294967295
  br i1 %141, label %142, label %143

142:                                              ; preds = %139, %136
  store i32 137, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

143:                                              ; preds = %139
  %144 = load i64, ptr %8, align 8, !tbaa !9
  %145 = load i64, ptr %10, align 8, !tbaa !11
  %146 = add i64 %144, %145
  %147 = sub i64 %146, 1
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %148, i32 0, i32 13
  %150 = load i64, ptr %149, align 8, !tbaa !37
  %151 = icmp uge i64 %147, %150
  br i1 %151, label %152, label %153

152:                                              ; preds = %143
  store i32 137, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

153:                                              ; preds = %143
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %154, i32 0, i32 106
  %156 = load i64, ptr %155, align 8, !tbaa !38
  %157 = add i64 %156, 1
  store i64 %157, ptr %155, align 8, !tbaa !38
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %158, i32 0, i32 32
  store i32 1, ptr %159, align 8, !tbaa !39
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %160, i32 0, i32 33
  store i32 144, ptr %161, align 4, !tbaa !40
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %163, i32 0, i32 34
  store ptr %162, ptr %164, align 8, !tbaa !41
  %165 = load i64, ptr %8, align 8, !tbaa !9
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %166, i32 0, i32 35
  store i64 %165, ptr %167, align 8, !tbaa !42
  %168 = load i64, ptr %10, align 8, !tbaa !11
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %169, i32 0, i32 36
  store i64 %168, ptr %170, align 8, !tbaa !43
  %171 = load i8, ptr %11, align 1, !tbaa !13
  %172 = zext i8 %171 to i32
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %173, i32 0, i32 44
  store i32 %172, ptr %174, align 8, !tbaa !44
  %175 = load i8, ptr %11, align 1, !tbaa !13
  %176 = zext i8 %175 to i32
  %177 = icmp ne i32 %176, 4
  br i1 %177, label %178, label %181

178:                                              ; preds = %153
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %179, i32 0, i32 42
  store i32 1, ptr %180, align 8, !tbaa !45
  br label %181

181:                                              ; preds = %178, %153
  %182 = load ptr, ptr %7, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %182, i32 0, i32 45
  %184 = load ptr, ptr %183, align 8, !tbaa !46
  %185 = load ptr, ptr %7, align 8, !tbaa !5
  call void %184(ptr noundef %185)
  %186 = load ptr, ptr %7, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %186, i32 0, i32 42
  store i32 0, ptr %187, align 8, !tbaa !45
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %188, i32 0, i32 33
  %190 = load i32, ptr %189, align 4, !tbaa !40
  %191 = icmp ne i32 %190, 0
  br i1 %191, label %192, label %196

192:                                              ; preds = %181
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %193, i32 0, i32 33
  %195 = load i32, ptr %194, align 4, !tbaa !40
  store i32 %195, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

196:                                              ; preds = %181
  store i32 0, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

197:                                              ; preds = %36, %26
  %198 = load i64, ptr %8, align 8, !tbaa !9
  %199 = icmp eq i64 %198, 0
  br i1 %199, label %203, label %200

200:                                              ; preds = %197
  %201 = load i64, ptr %8, align 8, !tbaa !9
  %202 = icmp eq i64 %201, 4294967295
  br i1 %202, label %203, label %204

203:                                              ; preds = %200, %197
  store i32 137, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

204:                                              ; preds = %200
  %205 = load i64, ptr %8, align 8, !tbaa !9
  %206 = load i64, ptr %10, align 8, !tbaa !11
  %207 = add i64 %205, %206
  %208 = sub i64 %207, 1
  %209 = load ptr, ptr %7, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %209, i32 0, i32 13
  %211 = load i64, ptr %210, align 8, !tbaa !37
  %212 = icmp uge i64 %208, %211
  br i1 %212, label %213, label %214

213:                                              ; preds = %204
  store i32 137, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

214:                                              ; preds = %204
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = load i64, ptr %8, align 8, !tbaa !9
  %217 = load i64, ptr %10, align 8, !tbaa !11
  %218 = call i32 @_fx_utility_logical_sector_flush(ptr noundef %215, i64 noundef %216, i64 noundef %217, i32 noundef 1)
  %219 = load ptr, ptr %7, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %219, i32 0, i32 106
  %221 = load i64, ptr %220, align 8, !tbaa !38
  %222 = add i64 %221, 1
  store i64 %222, ptr %220, align 8, !tbaa !38
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %223, i32 0, i32 32
  store i32 1, ptr %224, align 8, !tbaa !39
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %225, i32 0, i32 33
  store i32 144, ptr %226, align 4, !tbaa !40
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = load ptr, ptr %7, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %228, i32 0, i32 34
  store ptr %227, ptr %229, align 8, !tbaa !41
  %230 = load i64, ptr %8, align 8, !tbaa !9
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %231, i32 0, i32 35
  store i64 %230, ptr %232, align 8, !tbaa !42
  %233 = load i64, ptr %10, align 8, !tbaa !11
  %234 = load ptr, ptr %7, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %234, i32 0, i32 36
  store i64 %233, ptr %235, align 8, !tbaa !43
  %236 = load i8, ptr %11, align 1, !tbaa !13
  %237 = zext i8 %236 to i32
  %238 = load ptr, ptr %7, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %238, i32 0, i32 44
  store i32 %237, ptr %239, align 8, !tbaa !44
  %240 = load i8, ptr %11, align 1, !tbaa !13
  %241 = zext i8 %240 to i32
  %242 = icmp ne i32 %241, 4
  br i1 %242, label %243, label %246

243:                                              ; preds = %214
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %244, i32 0, i32 42
  store i32 1, ptr %245, align 8, !tbaa !45
  br label %246

246:                                              ; preds = %243, %214
  %247 = load ptr, ptr %7, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %247, i32 0, i32 45
  %249 = load ptr, ptr %248, align 8, !tbaa !46
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  call void %249(ptr noundef %250)
  %251 = load ptr, ptr %7, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %251, i32 0, i32 42
  store i32 0, ptr %252, align 8, !tbaa !45
  %253 = load ptr, ptr %7, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %253, i32 0, i32 33
  %255 = load i32, ptr %254, align 4, !tbaa !40
  store i32 %255, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %256

256:                                              ; preds = %246, %213, %203, %196, %192, %152, %142, %135
  call void @llvm.lifetime.end.p0(i64 1, 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 8, ptr %12) #3
  %257 = load i32, ptr %6, align 4
  ret i32 %257
}

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

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 728}
!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 744}
!21 = !{!15, !6, i64 16}
!22 = !{!15, !6, i64 48}
!23 = !{!15, !16, i64 32}
!24 = !{!15, !12, i64 12104}
!25 = !{!16, !16, i64 0}
!26 = !{!27, !7, i64 17}
!27 = !{!"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}
!28 = !{!27, !10, i64 8}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!15, !12, i64 40}
!32 = !{!15, !6, i64 56}
!33 = !{!27, !6, i64 24}
!34 = distinct !{!34, !30}
!35 = !{!27, !7, i64 16}
!36 = !{!15, !12, i64 72}
!37 = !{!15, !10, i64 96}
!38 = !{!15, !12, i64 776}
!39 = !{!15, !16, i64 216}
!40 = !{!15, !16, i64 220}
!41 = !{!15, !6, i64 224}
!42 = !{!15, !12, i64 232}
!43 = !{!15, !12, i64 240}
!44 = !{!15, !16, i64 280}
!45 = !{!15, !16, i64 272}
!46 = !{!15, !6, i64 288}


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

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_utility_logical_sector_write(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i8 noundef zeroext %4) local_unnamed_addr #0 {
  %6 = zext i8 %4 to i32
  %7 = icmp eq i8 %4, 2
  br i1 %7, label %8, label %12

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

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

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

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = load i32, ptr %22, align 8, !tbaa !19
  %.not93 = icmp eq i32 %23, 0
  br i1 %.not93, label %62, label %24

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 12104
  %26 = load i64, ptr %25, align 8, !tbaa !20
  %27 = and i64 %26, %1
  %28 = shl i64 %27, 2
  %29 = getelementptr inbounds i8, ptr %0, i64 3912
  %30 = and i64 %28, 4294967292
  %31 = getelementptr inbounds [256 x %struct.FX_CACHED_SECTOR_STRUCT], ptr %29, i64 0, i64 %30
  %32 = getelementptr inbounds i8, ptr %31, i64 17
  %33 = load i8, ptr %32, align 1, !tbaa !21
  %.not97 = icmp eq i8 %33, 0
  br i1 %.not97, label %38, label %34

34:                                               ; preds = %24
  %35 = getelementptr inbounds i8, ptr %31, i64 8
  %36 = load i64, ptr %35, align 8, !tbaa !23
  %37 = icmp eq i64 %36, %1
  br i1 %37, label %.loopexit104, label %38

38:                                               ; preds = %24, %34
  %39 = getelementptr inbounds i8, ptr %31, i64 49
  %40 = load i8, ptr %39, align 1, !tbaa !21
  %.not97.1 = icmp eq i8 %40, 0
  br i1 %.not97.1, label %46, label %41

41:                                               ; preds = %38
  %42 = getelementptr inbounds i8, ptr %31, i64 32
  %43 = getelementptr inbounds i8, ptr %31, i64 40
  %44 = load i64, ptr %43, align 8, !tbaa !23
  %45 = icmp eq i64 %44, %1
  br i1 %45, label %.loopexit104, label %46

46:                                               ; preds = %41, %38
  %47 = getelementptr inbounds i8, ptr %31, i64 81
  %48 = load i8, ptr %47, align 1, !tbaa !21
  %.not97.2 = icmp eq i8 %48, 0
  br i1 %.not97.2, label %54, label %49

49:                                               ; preds = %46
  %50 = getelementptr inbounds i8, ptr %31, i64 64
  %51 = getelementptr inbounds i8, ptr %31, i64 72
  %52 = load i64, ptr %51, align 8, !tbaa !23
  %53 = icmp eq i64 %52, %1
  br i1 %53, label %.loopexit104, label %54

54:                                               ; preds = %49, %46
  %55 = getelementptr inbounds i8, ptr %31, i64 113
  %56 = load i8, ptr %55, align 1, !tbaa !21
  %.not97.3 = icmp eq i8 %56, 0
  br i1 %.not97.3, label %.loopexit, label %57

57:                                               ; preds = %54
  %58 = getelementptr inbounds i8, ptr %31, i64 96
  %59 = getelementptr inbounds i8, ptr %31, i64 104
  %60 = load i64, ptr %59, align 8, !tbaa !23
  %61 = icmp eq i64 %60, %1
  br i1 %61, label %.loopexit104, label %.loopexit

62:                                               ; preds = %21
  %63 = getelementptr inbounds i8, ptr %0, i64 40
  %64 = load i64, ptr %63, align 8, !tbaa !24
  %65 = trunc i64 %64 to i32
  %.not94111 = icmp eq i32 %65, 0
  br i1 %.not94111, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %62
  %66 = getelementptr inbounds i8, ptr %0, i64 56
  %67 = load ptr, ptr %66, align 8, !tbaa !25
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %75
  %.in = phi i32 [ %68, %75 ], [ %65, %.lr.ph.preheader ]
  %.1112 = phi ptr [ %spec.select, %75 ], [ %67, %.lr.ph.preheader ]
  %68 = add i32 %.in, -1
  %69 = getelementptr inbounds i8, ptr %.1112, i64 17
  %70 = load i8, ptr %69, align 1, !tbaa !21
  %.not95 = icmp eq i8 %70, 0
  br i1 %.not95, label %75, label %71

71:                                               ; preds = %.lr.ph
  %72 = getelementptr inbounds i8, ptr %.1112, i64 8
  %73 = load i64, ptr %72, align 8, !tbaa !23
  %74 = icmp eq i64 %73, %1
  br i1 %74, label %.loopexit104, label %75

75:                                               ; preds = %71, %.lr.ph
  %76 = getelementptr inbounds i8, ptr %.1112, i64 24
  %77 = load ptr, ptr %76, align 8, !tbaa !26
  %.not96 = icmp eq ptr %77, null
  %spec.select = select i1 %.not96, ptr %.1112, ptr %77
  %.not94 = icmp eq i32 %68, 0
  br i1 %.not94, label %.loopexit, label %.lr.ph, !llvm.loop !27

.loopexit104:                                     ; preds = %71, %34, %41, %49, %57
  %.3 = phi ptr [ %31, %34 ], [ %42, %41 ], [ %50, %49 ], [ %58, %57 ], [ %.1112, %71 ]
  %78 = getelementptr inbounds i8, ptr %.3, i64 16
  %79 = load i8, ptr %78, align 8, !tbaa !29
  %80 = icmp eq i8 %79, 0
  br i1 %80, label %81, label %131

81:                                               ; preds = %.loopexit104
  %82 = getelementptr inbounds i8, ptr %0, i64 72
  %83 = load i64, ptr %82, align 8, !tbaa !30
  %84 = add i64 %83, 1
  store i64 %84, ptr %82, align 8, !tbaa !30
  store i8 1, ptr %78, align 8, !tbaa !29
  br label %131

.loopexit:                                        ; preds = %75, %54, %57, %62
  switch i64 %1, label %85 [
    i64 4294967295, label %131
    i64 0, label %131
  ]

85:                                               ; preds = %.loopexit
  %86 = add i64 %1, -1
  %87 = add i64 %86, %3
  %88 = getelementptr inbounds i8, ptr %0, i64 96
  %89 = load i64, ptr %88, align 8, !tbaa !31
  %.not99 = icmp ult i64 %87, %89
  br i1 %.not99, label %90, label %131

90:                                               ; preds = %85
  %91 = getelementptr inbounds i8, ptr %0, i64 776
  %92 = load i64, ptr %91, align 8, !tbaa !32
  %93 = add i64 %92, 1
  store i64 %93, ptr %91, align 8, !tbaa !32
  %94 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 1, ptr %94, align 8, !tbaa !33
  %95 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 144, ptr %95, align 4, !tbaa !34
  %96 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %2, ptr %96, align 8, !tbaa !35
  %97 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %1, ptr %97, align 8, !tbaa !36
  %98 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 %3, ptr %98, align 8, !tbaa !37
  %99 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 %6, ptr %99, align 8, !tbaa !38
  %.not100 = icmp eq i8 %4, 4
  br i1 %.not100, label %102, label %100

100:                                              ; preds = %90
  %101 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 1, ptr %101, align 8, !tbaa !39
  br label %102

102:                                              ; preds = %100, %90
  %103 = getelementptr inbounds i8, ptr %0, i64 288
  %104 = load ptr, ptr %103, align 8, !tbaa !40
  tail call void %104(ptr noundef nonnull %0) #2
  %105 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %105, align 8, !tbaa !39
  %106 = load i32, ptr %95, align 4, !tbaa !34
  br label %131

107:                                              ; preds = %18, %12
  switch i64 %1, label %108 [
    i64 4294967295, label %131
    i64 0, label %131
  ]

108:                                              ; preds = %107
  %109 = add i64 %1, -1
  %110 = add i64 %109, %3
  %111 = getelementptr inbounds i8, ptr %0, i64 96
  %112 = load i64, ptr %111, align 8, !tbaa !31
  %.not91 = icmp ult i64 %110, %112
  br i1 %.not91, label %113, label %131

113:                                              ; preds = %108
  %114 = tail call i32 @_fx_utility_logical_sector_flush(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %3, i32 noundef 1) #2
  %115 = getelementptr inbounds i8, ptr %0, i64 776
  %116 = load i64, ptr %115, align 8, !tbaa !32
  %117 = add i64 %116, 1
  store i64 %117, ptr %115, align 8, !tbaa !32
  %118 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 1, ptr %118, align 8, !tbaa !33
  %119 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 144, ptr %119, align 4, !tbaa !34
  %120 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %2, ptr %120, align 8, !tbaa !35
  %121 = getelementptr inbounds i8, ptr %0, i64 232
  store i64 %1, ptr %121, align 8, !tbaa !36
  %122 = getelementptr inbounds i8, ptr %0, i64 240
  store i64 %3, ptr %122, align 8, !tbaa !37
  %123 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 %6, ptr %123, align 8, !tbaa !38
  %.not92 = icmp eq i8 %4, 4
  br i1 %.not92, label %126, label %124

124:                                              ; preds = %113
  %125 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 1, ptr %125, align 8, !tbaa !39
  br label %126

126:                                              ; preds = %124, %113
  %127 = getelementptr inbounds i8, ptr %0, i64 288
  %128 = load ptr, ptr %127, align 8, !tbaa !40
  tail call void %128(ptr noundef nonnull %0) #2
  %129 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %129, align 8, !tbaa !39
  %130 = load i32, ptr %119, align 4, !tbaa !34
  br label %131

131:                                              ; preds = %108, %107, %107, %102, %85, %.loopexit, %.loopexit, %.loopexit104, %81, %126
  %.082 = phi i32 [ %130, %126 ], [ 0, %81 ], [ 0, %.loopexit104 ], [ 137, %.loopexit ], [ 137, %.loopexit ], [ 137, %85 ], [ %106, %102 ], [ 137, %107 ], [ 137, %107 ], [ 137, %108 ]
  ret i32 %.082
}

declare i32 @_fx_utility_logical_sector_flush(ptr noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }

!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 728}
!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 744}
!17 = !{!6, !10, i64 16}
!18 = !{!6, !10, i64 48}
!19 = !{!6, !11, i64 32}
!20 = !{!6, !7, i64 12104}
!21 = !{!22, !8, i64 17}
!22 = !{!"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}
!23 = !{!22, !12, i64 8}
!24 = !{!6, !7, i64 40}
!25 = !{!6, !10, i64 56}
!26 = !{!22, !10, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!22, !8, i64 16}
!30 = !{!6, !7, i64 72}
!31 = !{!6, !12, i64 96}
!32 = !{!6, !7, i64 776}
!33 = !{!6, !11, i64 216}
!34 = !{!6, !11, i64 220}
!35 = !{!6, !10, i64 224}
!36 = !{!6, !7, i64 232}
!37 = !{!6, !7, i64 240}
!38 = !{!6, !11, i64 280}
!39 = !{!6, !11, i64 272}
!40 = !{!6, !10, i64 288}


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