; LLVM IR from mlcommons/tiny :: benchmark/interface/Middlewares/ST/filex/common/src/fx_file_extended_truncate._25663eb2 (truncate)

; 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_FILE_STRUCT = type { i64, ptr, i64, i8, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, %struct.FX_DIR_ENTRY_STRUCT, [256 x i8], i64, 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_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_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_file_extended_truncate(ptr noundef %0, i64 noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store i64 0, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %17, i32 0, i32 0
  %19 = load i64, ptr %18, align 8, !tbaa !13
  %20 = icmp ne i64 %19, 1179208773
  br i1 %20, label %21, label %22

21:                                               ; preds = %2
  store i32 7, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

22:                                               ; preds = %2
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %23, i32 0, i32 16
  %25 = load ptr, ptr %24, align 8, !tbaa !17
  store ptr %25, ptr %13, align 8, !tbaa !5
  %26 = load ptr, ptr %13, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %26, i32 0, i32 81
  %28 = load i64, ptr %27, align 8, !tbaa !18
  %29 = add i64 %28, 1
  store i64 %29, ptr %27, align 8, !tbaa !18
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %30, i32 0, i32 16
  %32 = load ptr, ptr %31, align 8, !tbaa !17
  store ptr %32, ptr %13, align 8, !tbaa !5
  %33 = load ptr, ptr %13, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %33, i32 0, i32 0
  %35 = load i64, ptr %34, align 8, !tbaa !22
  %36 = icmp ne i64 %35, 1296385097
  br i1 %36, label %37, label %38

37:                                               ; preds = %22
  store i32 17, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

38:                                               ; preds = %22
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %39, i32 0, i32 112
  %41 = call i32 @_tx_mutex_get(ptr noundef %40, i64 noundef 4294967295)
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  store i32 17, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

44:                                               ; preds = %38
  br label %45

45:                                               ; preds = %44
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %46, i32 0, i32 2
  %48 = load i64, ptr %47, align 8, !tbaa !23
  %49 = icmp ne i64 %48, 1
  br i1 %49, label %50, label %54

50:                                               ; preds = %45
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %51, i32 0, i32 112
  %53 = call i32 @_tx_mutex_put(ptr noundef %52)
  store i32 6, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

54:                                               ; preds = %45
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %55, i32 0, i32 40
  %57 = load i32, ptr %56, align 8, !tbaa !24
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %63

59:                                               ; preds = %54
  %60 = load ptr, ptr %13, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %60, i32 0, i32 112
  %62 = call i32 @_tx_mutex_put(ptr noundef %61)
  store i32 35, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

63:                                               ; preds = %54
  %64 = load i64, ptr %5, align 8, !tbaa !9
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %65, i32 0, i32 14
  %67 = load i64, ptr %66, align 8, !tbaa !25
  %68 = icmp ult i64 %64, %67
  br i1 %68, label %69, label %75

69:                                               ; preds = %63
  %70 = load i64, ptr %5, align 8, !tbaa !9
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %71, i32 0, i32 14
  store i64 %70, ptr %72, align 8, !tbaa !25
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %73, i32 0, i32 3
  store i8 1, ptr %74, align 8, !tbaa !26
  br label %79

75:                                               ; preds = %63
  %76 = load ptr, ptr %13, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %76, i32 0, i32 112
  %78 = call i32 @_tx_mutex_put(ptr noundef %77)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

79:                                               ; preds = %69
  %80 = load ptr, ptr %13, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %80, i32 0, i32 49
  %82 = load i64, ptr %81, align 8, !tbaa !27
  store i64 %82, ptr %14, align 8, !tbaa !11
  %83 = load ptr, ptr %13, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %83, i32 0, i32 48
  %85 = load ptr, ptr %84, align 8, !tbaa !28
  store ptr %85, ptr %15, align 8, !tbaa !5
  br label %86

86:                                               ; preds = %121, %79
  %87 = load i64, ptr %14, align 8, !tbaa !11
  %88 = icmp ne i64 %87, 0
  br i1 %88, label %89, label %127

89:                                               ; preds = %86
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = icmp ne ptr %90, %91
  br i1 %92, label %93, label %121

93:                                               ; preds = %89
  %94 = load ptr, ptr %15, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %94, i32 0, i32 19
  %96 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %95, i32 0, i32 14
  %97 = load i64, ptr %96, align 8, !tbaa !29
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %98, i32 0, i32 19
  %100 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %99, i32 0, i32 14
  %101 = load i64, ptr %100, align 8, !tbaa !29
  %102 = icmp eq i64 %97, %101
  br i1 %102, label %103, label %121

103:                                              ; preds = %93
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %104, i32 0, i32 19
  %106 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %105, i32 0, i32 15
  %107 = load i64, ptr %106, align 8, !tbaa !30
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %108, i32 0, i32 19
  %110 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %109, i32 0, i32 15
  %111 = load i64, ptr %110, align 8, !tbaa !30
  %112 = icmp eq i64 %107, %111
  br i1 %112, label %113, label %121

113:                                              ; preds = %103
  %114 = load i64, ptr %5, align 8, !tbaa !9
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %115, i32 0, i32 14
  store i64 %114, ptr %116, align 8, !tbaa !25
  %117 = load i64, ptr %5, align 8, !tbaa !9
  %118 = load ptr, ptr %15, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %118, i32 0, i32 19
  %120 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %119, i32 0, i32 13
  store i64 %117, ptr %120, align 8, !tbaa !31
  br label %121

121:                                              ; preds = %113, %103, %93, %89
  %122 = load ptr, ptr %15, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %122, i32 0, i32 17
  %124 = load ptr, ptr %123, align 8, !tbaa !32
  store ptr %124, ptr %15, align 8, !tbaa !5
  %125 = load i64, ptr %14, align 8, !tbaa !11
  %126 = add i64 %125, -1
  store i64 %126, ptr %14, align 8, !tbaa !11
  br label %86, !llvm.loop !33

127:                                              ; preds = %86
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %128, i32 0, i32 13
  %130 = load i64, ptr %129, align 8, !tbaa !35
  %131 = load ptr, ptr %4, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %131, i32 0, i32 14
  %133 = load i64, ptr %132, align 8, !tbaa !25
  %134 = icmp ugt i64 %130, %133
  br i1 %134, label %135, label %247

135:                                              ; preds = %127
  %136 = load ptr, ptr %13, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %136, i32 0, i32 10
  %138 = load i32, ptr %137, align 8, !tbaa !36
  %139 = zext i32 %138 to i64
  %140 = load ptr, ptr %13, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %140, i32 0, i32 19
  %142 = load i32, ptr %141, align 8, !tbaa !37
  %143 = zext i32 %142 to i64
  %144 = mul i64 %139, %143
  store i64 %144, ptr %9, align 8, !tbaa !11
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %145, i32 0, i32 5
  %147 = load i64, ptr %146, align 8, !tbaa !38
  store i64 %147, ptr %7, align 8, !tbaa !11
  %148 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %148, ptr %12, align 8, !tbaa !9
  store i64 0, ptr %10, align 8, !tbaa !11
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %149

149:                                              ; preds = %184, %135
  %150 = load i64, ptr %7, align 8, !tbaa !11
  %151 = icmp uge i64 %150, 2
  br i1 %151, label %152, label %158

152:                                              ; preds = %149
  %153 = load i64, ptr %7, align 8, !tbaa !11
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %154, i32 0, i32 126
  %156 = load i64, ptr %155, align 8, !tbaa !39
  %157 = icmp ult i64 %153, %156
  br label %158

158:                                              ; preds = %152, %149
  %159 = phi i1 [ false, %149 ], [ %157, %152 ]
  br i1 %159, label %160, label %185

160:                                              ; preds = %158
  %161 = load i64, ptr %11, align 8, !tbaa !11
  %162 = add i64 %161, 1
  store i64 %162, ptr %11, align 8, !tbaa !11
  %163 = load ptr, ptr %13, align 8, !tbaa !5
  %164 = load i64, ptr %7, align 8, !tbaa !11
  %165 = call i32 @_fx_utility_FAT_entry_read(ptr noundef %163, i64 noundef %164, ptr noundef %8)
  store i32 %165, ptr %6, align 4, !tbaa !40
  %166 = load i32, ptr %6, align 4, !tbaa !40
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %173

168:                                              ; preds = %160
  %169 = load ptr, ptr %13, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %169, i32 0, i32 112
  %171 = call i32 @_tx_mutex_put(ptr noundef %170)
  %172 = load i32, ptr %6, align 4, !tbaa !40
  store i32 %172, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

173:                                              ; preds = %160
  %174 = load i64, ptr %7, align 8, !tbaa !11
  store i64 %174, ptr %10, align 8, !tbaa !11
  %175 = load i64, ptr %8, align 8, !tbaa !11
  store i64 %175, ptr %7, align 8, !tbaa !11
  %176 = load i64, ptr %12, align 8, !tbaa !9
  %177 = load i64, ptr %9, align 8, !tbaa !11
  %178 = icmp uge i64 %176, %177
  br i1 %178, label %179, label %183

179:                                              ; preds = %173
  %180 = load i64, ptr %12, align 8, !tbaa !9
  %181 = load i64, ptr %9, align 8, !tbaa !11
  %182 = sub i64 %180, %181
  store i64 %182, ptr %12, align 8, !tbaa !9
  br label %184

183:                                              ; preds = %173
  br label %185

184:                                              ; preds = %179
  br label %149, !llvm.loop !41

185:                                              ; preds = %183, %158
  %186 = load i64, ptr %5, align 8, !tbaa !9
  %187 = load i64, ptr %9, align 8, !tbaa !11
  %188 = load i64, ptr %11, align 8, !tbaa !11
  %189 = mul i64 %187, %188
  %190 = icmp ugt i64 %186, %189
  br i1 %190, label %191, label %195

191:                                              ; preds = %185
  %192 = load ptr, ptr %13, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %192, i32 0, i32 112
  %194 = call i32 @_tx_mutex_put(ptr noundef %193)
  store i32 8, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

195:                                              ; preds = %185
  %196 = load i64, ptr %10, align 8, !tbaa !11
  %197 = load ptr, ptr %4, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %197, i32 0, i32 8
  store i64 %196, ptr %198, align 8, !tbaa !42
  %199 = load i64, ptr %11, align 8, !tbaa !11
  %200 = sub i64 %199, 1
  %201 = load ptr, ptr %4, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %201, i32 0, i32 11
  store i64 %200, ptr %202, align 8, !tbaa !43
  %203 = load ptr, ptr %13, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %203, i32 0, i32 18
  %205 = load i32, ptr %204, align 4, !tbaa !44
  %206 = zext i32 %205 to i64
  %207 = load ptr, ptr %4, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %207, i32 0, i32 8
  %209 = load i64, ptr %208, align 8, !tbaa !42
  %210 = sub i64 %209, 2
  %211 = load ptr, ptr %13, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %211, i32 0, i32 19
  %213 = load i32, ptr %212, align 8, !tbaa !37
  %214 = zext i32 %213 to i64
  %215 = mul i64 %210, %214
  %216 = add i64 %206, %215
  %217 = load i64, ptr %12, align 8, !tbaa !9
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %218, i32 0, i32 10
  %220 = load i32, ptr %219, align 8, !tbaa !36
  %221 = zext i32 %220 to i64
  %222 = udiv i64 %217, %221
  %223 = add i64 %216, %222
  %224 = load ptr, ptr %4, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %224, i32 0, i32 9
  store i64 %223, ptr %225, align 8, !tbaa !45
  %226 = load i64, ptr %12, align 8, !tbaa !9
  %227 = load ptr, ptr %13, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %227, i32 0, i32 10
  %229 = load i32, ptr %228, align 8, !tbaa !36
  %230 = zext i32 %229 to i64
  %231 = udiv i64 %226, %230
  %232 = trunc i64 %231 to i32
  %233 = zext i32 %232 to i64
  %234 = load ptr, ptr %4, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %234, i32 0, i32 12
  store i64 %233, ptr %235, align 8, !tbaa !46
  %236 = load i64, ptr %5, align 8, !tbaa !9
  %237 = load ptr, ptr %4, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %237, i32 0, i32 13
  store i64 %236, ptr %238, align 8, !tbaa !35
  %239 = load i64, ptr %12, align 8, !tbaa !9
  %240 = load ptr, ptr %13, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %240, i32 0, i32 10
  %242 = load i32, ptr %241, align 8, !tbaa !36
  %243 = zext i32 %242 to i64
  %244 = urem i64 %239, %243
  %245 = load ptr, ptr %4, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.FX_FILE_STRUCT, ptr %245, i32 0, i32 10
  store i64 %244, ptr %246, align 8, !tbaa !47
  br label %247

247:                                              ; preds = %195, %127
  %248 = load ptr, ptr %13, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %248, i32 0, i32 112
  %250 = call i32 @_tx_mutex_put(ptr noundef %249)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %251

251:                                              ; preds = %247, %191, %168, %75, %59, %50, %43, %37, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  %252 = load i32, ptr %3, align 4
  ret i32 %252
}

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

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

declare i32 @_tx_mutex_put(ptr noundef) #2

declare i32 @_fx_utility_FAT_entry_read(ptr noundef, i64 noundef, ptr 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 = !{!14, !12, i64 0}
!14 = !{!"FX_FILE_STRUCT", !12, i64 0, !6, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !10, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !15, i64 152, !7, i64 288, !12, i64 544, !6, i64 552}
!15 = !{!"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}
!16 = !{!"int", !7, i64 0}
!17 = !{!14, !6, i64 128}
!18 = !{!19, !12, i64 576}
!19 = !{!"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, !20, i64 824, !16, i64 920, !15, i64 928, !15, i64 1064, !7, i64 1200, !7, i64 1456, !21, 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}
!20 = !{!"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}
!21 = !{!"FX_PATH_STRUCT", !15, i64 0, !7, i64 136, !7, i64 392, !12, i64 648}
!22 = !{!19, !12, i64 0}
!23 = !{!14, !12, i64 16}
!24 = !{!19, !16, i64 264}
!25 = !{!14, !10, i64 112}
!26 = !{!14, !7, i64 24}
!27 = !{!19, !12, i64 320}
!28 = !{!19, !6, i64 312}
!29 = !{!14, !10, i64 224}
!30 = !{!14, !12, i64 232}
!31 = !{!14, !10, i64 216}
!32 = !{!14, !6, i64 136}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{!14, !10, i64 104}
!36 = !{!19, !16, i64 80}
!37 = !{!19, !16, i64 128}
!38 = !{!14, !12, i64 40}
!39 = !{!19, !12, i64 12120}
!40 = !{!16, !16, i64 0}
!41 = distinct !{!41, !34}
!42 = !{!14, !12, i64 64}
!43 = !{!14, !12, i64 88}
!44 = !{!19, !16, i64 124}
!45 = !{!14, !10, i64 72}
!46 = !{!14, !12, i64 96}
!47 = !{!14, !12, i64 80}


; 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_file_extended_truncate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 {
  %3 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  store i64 0, ptr %3, align 8, !tbaa !5
  %4 = load i64, ptr %0, align 8, !tbaa !9
  %.not = icmp eq i64 %4, 1179208773
  br i1 %.not, label %5, label %110

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 128
  %7 = load ptr, ptr %6, align 8, !tbaa !15
  %8 = getelementptr inbounds i8, ptr %7, i64 576
  %9 = load i64, ptr %8, align 8, !tbaa !16
  %10 = add i64 %9, 1
  store i64 %10, ptr %8, align 8, !tbaa !16
  %11 = load i64, ptr %7, align 8, !tbaa !20
  %.not85 = icmp eq i64 %11, 1296385097
  br i1 %.not85, label %12, label %110

12:                                               ; preds = %5
  %13 = getelementptr inbounds i8, ptr %7, i64 824
  %14 = tail call i32 @_tx_mutex_get(ptr noundef nonnull %13, i64 noundef 4294967295) #3
  %.not86 = icmp eq i32 %14, 0
  br i1 %.not86, label %15, label %110

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = load i64, ptr %16, align 8, !tbaa !21
  %.not87 = icmp eq i64 %17, 1
  br i1 %.not87, label %20, label %18

18:                                               ; preds = %15
  %19 = tail call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

20:                                               ; preds = %15
  %21 = getelementptr inbounds i8, ptr %7, i64 264
  %22 = load i32, ptr %21, align 8, !tbaa !22
  %.not88 = icmp eq i32 %22, 0
  br i1 %.not88, label %25, label %23

23:                                               ; preds = %20
  %24 = tail call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

25:                                               ; preds = %20
  %26 = getelementptr inbounds i8, ptr %0, i64 112
  %27 = load i64, ptr %26, align 8, !tbaa !23
  %28 = icmp ugt i64 %27, %1
  br i1 %28, label %29, label %36

29:                                               ; preds = %25
  store i64 %1, ptr %26, align 8, !tbaa !23
  %30 = getelementptr inbounds i8, ptr %0, i64 24
  store i8 1, ptr %30, align 8, !tbaa !24
  %31 = getelementptr inbounds i8, ptr %7, i64 320
  %32 = load i64, ptr %31, align 8, !tbaa !25
  %.not8995 = icmp eq i64 %32, 0
  br i1 %.not8995, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %29
  %33 = getelementptr inbounds i8, ptr %7, i64 312
  %34 = getelementptr inbounds i8, ptr %0, i64 224
  %35 = getelementptr inbounds i8, ptr %0, i64 232
  br label %38

36:                                               ; preds = %25
  %37 = tail call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

38:                                               ; preds = %.lr.ph, %52
  %.097.in = phi ptr [ %33, %.lr.ph ], [ %53, %52 ]
  %.07496 = phi i64 [ %32, %.lr.ph ], [ %54, %52 ]
  %.097 = load ptr, ptr %.097.in, align 8, !tbaa !26
  %.not92 = icmp eq ptr %.097, %0
  br i1 %.not92, label %52, label %39

39:                                               ; preds = %38
  %40 = getelementptr inbounds i8, ptr %.097, i64 224
  %41 = load i64, ptr %40, align 8, !tbaa !27
  %42 = load i64, ptr %34, align 8, !tbaa !27
  %43 = icmp eq i64 %41, %42
  br i1 %43, label %44, label %52

44:                                               ; preds = %39
  %45 = getelementptr inbounds i8, ptr %.097, i64 232
  %46 = load i64, ptr %45, align 8, !tbaa !28
  %47 = load i64, ptr %35, align 8, !tbaa !28
  %48 = icmp eq i64 %46, %47
  br i1 %48, label %49, label %52

49:                                               ; preds = %44
  %50 = getelementptr inbounds i8, ptr %.097, i64 112
  store i64 %1, ptr %50, align 8, !tbaa !23
  %51 = getelementptr inbounds i8, ptr %.097, i64 216
  store i64 %1, ptr %51, align 8, !tbaa !29
  br label %52

52:                                               ; preds = %49, %44, %39, %38
  %53 = getelementptr inbounds i8, ptr %.097, i64 136
  %54 = add i64 %.07496, -1
  %.not89 = icmp eq i64 %54, 0
  br i1 %.not89, label %._crit_edge.loopexit, label %38, !llvm.loop !30

._crit_edge.loopexit:                             ; preds = %52
  %.pre = load i64, ptr %26, align 8, !tbaa !23
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %29
  %55 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %1, %29 ]
  %56 = getelementptr inbounds i8, ptr %0, i64 104
  %57 = load i64, ptr %56, align 8, !tbaa !32
  %58 = icmp ugt i64 %57, %55
  br i1 %58, label %59, label %108

59:                                               ; preds = %._crit_edge
  %60 = getelementptr inbounds i8, ptr %7, i64 80
  %61 = load i32, ptr %60, align 8, !tbaa !33
  %62 = zext i32 %61 to i64
  %63 = getelementptr inbounds i8, ptr %7, i64 128
  %64 = load i32, ptr %63, align 8, !tbaa !34
  %65 = zext i32 %64 to i64
  %66 = mul nuw i64 %65, %62
  %67 = getelementptr inbounds i8, ptr %0, i64 40
  %.08098 = load i64, ptr %67, align 8, !tbaa !5
  %68 = icmp ugt i64 %.08098, 1
  br i1 %68, label %.lr.ph104, label %.critedge

.lr.ph104:                                        ; preds = %59
  %69 = getelementptr inbounds i8, ptr %7, i64 12120
  %70 = load i64, ptr %69, align 8, !tbaa !35
  %71 = icmp ult i64 %.08098, %70
  br i1 %71, label %.lr.ph118, label %.critedge

72:                                               ; preds = %80
  %73 = load i64, ptr %69, align 8, !tbaa !35
  %74 = icmp ult i64 %.080, %73
  br i1 %74, label %.lr.ph118, label %.critedge, !llvm.loop !36

.lr.ph118:                                        ; preds = %.lr.ph104, %72
  %.076100117 = phi i64 [ %75, %72 ], [ 0, %.lr.ph104 ]
  %.075101116 = phi i64 [ %81, %72 ], [ %1, %.lr.ph104 ]
  %.080102115 = phi i64 [ %.080, %72 ], [ %.08098, %.lr.ph104 ]
  %75 = add i64 %.076100117, 1
  %76 = call i32 @_fx_utility_FAT_entry_read(ptr noundef nonnull %7, i64 noundef %.080102115, ptr noundef nonnull %3) #3
  %.not90 = icmp eq i32 %76, 0
  br i1 %.not90, label %79, label %77

77:                                               ; preds = %.lr.ph118
  %78 = call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

79:                                               ; preds = %.lr.ph118
  %.not91 = icmp ult i64 %.075101116, %66
  br i1 %.not91, label %.critedge, label %80

80:                                               ; preds = %79
  %81 = sub i64 %.075101116, %66
  %.080 = load i64, ptr %3, align 8, !tbaa !5
  %82 = icmp ugt i64 %.080, 1
  br i1 %82, label %72, label %.critedge, !llvm.loop !36

.critedge:                                        ; preds = %80, %79, %72, %.lr.ph104, %59
  %.075.lcssa = phi i64 [ %1, %59 ], [ %1, %.lr.ph104 ], [ %81, %72 ], [ %.075101116, %79 ], [ %81, %80 ]
  %.178 = phi i64 [ 0, %59 ], [ 0, %.lr.ph104 ], [ %.080102115, %72 ], [ %.080102115, %79 ], [ %.080102115, %80 ]
  %.1 = phi i64 [ 0, %59 ], [ 0, %.lr.ph104 ], [ %75, %72 ], [ %75, %79 ], [ %75, %80 ]
  %83 = mul i64 %.1, %66
  %84 = icmp ult i64 %83, %1
  br i1 %84, label %85, label %87

85:                                               ; preds = %.critedge
  %86 = call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

87:                                               ; preds = %.critedge
  %88 = getelementptr inbounds i8, ptr %0, i64 64
  store i64 %.178, ptr %88, align 8, !tbaa !37
  %89 = add i64 %.1, -1
  %90 = getelementptr inbounds i8, ptr %0, i64 88
  store i64 %89, ptr %90, align 8, !tbaa !38
  %91 = getelementptr inbounds i8, ptr %7, i64 124
  %92 = load i32, ptr %91, align 4, !tbaa !39
  %93 = zext i32 %92 to i64
  %94 = add i64 %.178, -2
  %95 = load i32, ptr %63, align 8, !tbaa !34
  %96 = zext i32 %95 to i64
  %97 = mul i64 %94, %96
  %98 = add i64 %97, %93
  %99 = load i32, ptr %60, align 8, !tbaa !33
  %100 = zext i32 %99 to i64
  %101 = udiv i64 %.075.lcssa, %100
  %102 = add i64 %98, %101
  %103 = getelementptr inbounds i8, ptr %0, i64 72
  store i64 %102, ptr %103, align 8, !tbaa !40
  %104 = and i64 %101, 4294967295
  %105 = getelementptr inbounds i8, ptr %0, i64 96
  store i64 %104, ptr %105, align 8, !tbaa !41
  store i64 %1, ptr %56, align 8, !tbaa !32
  %106 = urem i64 %.075.lcssa, %100
  %107 = getelementptr inbounds i8, ptr %0, i64 80
  store i64 %106, ptr %107, align 8, !tbaa !42
  br label %108

108:                                              ; preds = %87, %._crit_edge
  %109 = call i32 @_tx_mutex_put(ptr noundef nonnull %13) #3
  br label %110

110:                                              ; preds = %12, %5, %2, %108, %85, %77, %36, %23, %18
  %.079 = phi i32 [ 6, %18 ], [ 35, %23 ], [ %76, %77 ], [ 8, %85 ], [ 0, %108 ], [ 0, %36 ], [ 7, %2 ], [ 17, %5 ], [ 17, %12 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret i32 %.079
}

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

declare i32 @_tx_mutex_get(ptr noundef, i64 noundef) local_unnamed_addr #2

declare i32 @_tx_mutex_put(ptr noundef) local_unnamed_addr #2

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


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