; LLVM IR from mlcommons/tiny :: benchmark/interface/Middlewares/ST/filex/common/src/fx_unicode_directory_renam_a3052e6b (rename)

; 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_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 }

@_fx_unicode_temp_long_file_name = external global [256 x i8], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_unicode_directory_rename(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %struct.FX_DIR_ENTRY_STRUCT, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = alloca [13 x i8], align 1
  %19 = alloca [13 x i8], align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i64 %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 136, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 13, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 13, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #3
  %23 = load ptr, ptr %13, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 0
  store i8 0, ptr %24, align 1, !tbaa !11
  %25 = getelementptr inbounds [13 x i8], ptr %18, i64 0, i64 0
  store i8 0, ptr %25, align 1, !tbaa !11
  %26 = getelementptr inbounds [13 x i8], ptr %19, i64 0, i64 0
  store i8 0, ptr %26, align 1, !tbaa !11
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %27, i32 0, i32 0
  %29 = load i64, ptr %28, align 8, !tbaa !12
  %30 = icmp ne i64 %29, 1296385097
  br i1 %30, label %31, label %32

31:                                               ; preds = %6
  store i32 17, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

32:                                               ; preds = %6
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = load i64, ptr %10, align 8, !tbaa !9
  %36 = getelementptr inbounds [13 x i8], ptr %18, i64 0, i64 0
  %37 = call i32 @_fx_unicode_short_name_get(ptr noundef %33, ptr noundef %34, i64 noundef %35, ptr noundef %36)
  store i32 %37, ptr %16, align 4, !tbaa !19
  %38 = load i32, ptr %16, align 4, !tbaa !19
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %42

40:                                               ; preds = %32
  %41 = load i32, ptr %16, align 4, !tbaa !19
  store i32 %41, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

42:                                               ; preds = %32
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %43, i32 0, i32 0
  %45 = load i64, ptr %44, align 8, !tbaa !12
  %46 = icmp ne i64 %45, 1296385097
  br i1 %46, label %47, label %48

47:                                               ; preds = %42
  store i32 17, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

48:                                               ; preds = %42
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %49, i32 0, i32 112
  %51 = call i32 @_tx_mutex_get(ptr noundef %50, i64 noundef 4294967295)
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %54

53:                                               ; preds = %48
  store i32 17, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

54:                                               ; preds = %48
  br label %55

55:                                               ; preds = %54
  %56 = load i64, ptr %12, align 8, !tbaa !9
  store i64 %56, ptr %17, align 8, !tbaa !9
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %57, i32 0, i32 122
  %59 = getelementptr inbounds [1024 x i8], ptr %58, i64 0, i64 0
  %60 = getelementptr inbounds i8, ptr %59, i64 256
  %61 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  store ptr %60, ptr %61, align 8, !tbaa !20
  %62 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 1
  %63 = getelementptr inbounds [13 x i8], ptr %62, i64 0, i64 0
  store i8 0, ptr %63, align 8, !tbaa !11
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = getelementptr inbounds [13 x i8], ptr %19, i64 0, i64 0
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = call i32 @_fx_unicode_directory_search(ptr noundef %64, ptr noundef %14, ptr noundef %65, i64 noundef 13, ptr noundef %66, ptr noundef %17, i64 noundef 0)
  store i32 %67, ptr %16, align 4, !tbaa !19
  %68 = load i32, ptr %16, align 4, !tbaa !19
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %182

70:                                               ; preds = %55
  %71 = load i64, ptr %10, align 8, !tbaa !9
  %72 = load i64, ptr %12, align 8, !tbaa !9
  %73 = icmp eq i64 %71, %72
  br i1 %73, label %74, label %170

74:                                               ; preds = %70
  store i32 0, ptr %15, align 4, !tbaa !19
  br label %75

75:                                               ; preds = %164, %74
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = load i32, ptr %15, align 4, !tbaa !19
  %78 = mul i32 %77, 2
  %79 = zext i32 %78 to i64
  %80 = getelementptr inbounds i8, ptr %76, i64 %79
  %81 = load i8, ptr %80, align 1, !tbaa !11
  store i8 %81, ptr %20, align 1, !tbaa !11
  %82 = load i8, ptr %20, align 1, !tbaa !11
  %83 = zext i8 %82 to i32
  %84 = icmp sge i32 %83, 97
  br i1 %84, label %85, label %104

85:                                               ; preds = %75
  %86 = load i8, ptr %20, align 1, !tbaa !11
  %87 = zext i8 %86 to i32
  %88 = icmp sle i32 %87, 122
  br i1 %88, label %89, label %104

89:                                               ; preds = %85
  %90 = load ptr, ptr %9, align 8, !tbaa !5
  %91 = load i32, ptr %15, align 4, !tbaa !19
  %92 = mul i32 %91, 2
  %93 = add i32 %92, 1
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds i8, ptr %90, i64 %94
  %96 = load i8, ptr %95, align 1, !tbaa !11
  %97 = zext i8 %96 to i32
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %104

99:                                               ; preds = %89
  %100 = load i8, ptr %20, align 1, !tbaa !11
  %101 = zext i8 %100 to i32
  %102 = sub nsw i32 %101, 32
  %103 = trunc i32 %102 to i8
  store i8 %103, ptr %20, align 1, !tbaa !11
  br label %104

104:                                              ; preds = %99, %89, %85, %75
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = load i32, ptr %15, align 4, !tbaa !19
  %107 = mul i32 %106, 2
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds i8, ptr %105, i64 %108
  %110 = load i8, ptr %109, align 1, !tbaa !11
  store i8 %110, ptr %21, align 1, !tbaa !11
  %111 = load i8, ptr %21, align 1, !tbaa !11
  %112 = zext i8 %111 to i32
  %113 = icmp sge i32 %112, 97
  br i1 %113, label %114, label %133

114:                                              ; preds = %104
  %115 = load i8, ptr %21, align 1, !tbaa !11
  %116 = zext i8 %115 to i32
  %117 = icmp sle i32 %116, 122
  br i1 %117, label %118, label %133

118:                                              ; preds = %114
  %119 = load ptr, ptr %11, align 8, !tbaa !5
  %120 = load i32, ptr %15, align 4, !tbaa !19
  %121 = mul i32 %120, 2
  %122 = add i32 %121, 1
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds i8, ptr %119, i64 %123
  %125 = load i8, ptr %124, align 1, !tbaa !11
  %126 = zext i8 %125 to i32
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %133

128:                                              ; preds = %118
  %129 = load i8, ptr %21, align 1, !tbaa !11
  %130 = zext i8 %129 to i32
  %131 = sub nsw i32 %130, 32
  %132 = trunc i32 %131 to i8
  store i8 %132, ptr %21, align 1, !tbaa !11
  br label %133

133:                                              ; preds = %128, %118, %114, %104
  %134 = load i8, ptr %20, align 1, !tbaa !11
  %135 = zext i8 %134 to i32
  %136 = load i8, ptr %21, align 1, !tbaa !11
  %137 = zext i8 %136 to i32
  %138 = icmp ne i32 %135, %137
  br i1 %138, label %139, label %140

139:                                              ; preds = %133
  br label %169

140:                                              ; preds = %133
  %141 = load ptr, ptr %9, align 8, !tbaa !5
  %142 = load i32, ptr %15, align 4, !tbaa !19
  %143 = mul i32 %142, 2
  %144 = add i32 %143, 1
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds i8, ptr %141, i64 %145
  %147 = load i8, ptr %146, align 1, !tbaa !11
  store i8 %147, ptr %20, align 1, !tbaa !11
  %148 = load ptr, ptr %11, align 8, !tbaa !5
  %149 = load i32, ptr %15, align 4, !tbaa !19
  %150 = mul i32 %149, 2
  %151 = add i32 %150, 1
  %152 = zext i32 %151 to i64
  %153 = getelementptr inbounds i8, ptr %148, i64 %152
  %154 = load i8, ptr %153, align 1, !tbaa !11
  store i8 %154, ptr %21, align 1, !tbaa !11
  %155 = load i8, ptr %20, align 1, !tbaa !11
  %156 = zext i8 %155 to i32
  %157 = load i8, ptr %21, align 1, !tbaa !11
  %158 = zext i8 %157 to i32
  %159 = icmp ne i32 %156, %158
  br i1 %159, label %160, label %161

160:                                              ; preds = %140
  br label %169

161:                                              ; preds = %140
  %162 = load i32, ptr %15, align 4, !tbaa !19
  %163 = add i32 %162, 1
  store i32 %163, ptr %15, align 4, !tbaa !19
  br label %164

164:                                              ; preds = %161
  %165 = load i32, ptr %15, align 4, !tbaa !19
  %166 = zext i32 %165 to i64
  %167 = load i64, ptr %10, align 8, !tbaa !9
  %168 = icmp ult i64 %166, %167
  br i1 %168, label %75, label %169, !llvm.loop !21

169:                                              ; preds = %164, %160, %139
  br label %171

170:                                              ; preds = %70
  store i8 0, ptr %20, align 1, !tbaa !11
  store i8 1, ptr %21, align 1, !tbaa !11
  br label %171

171:                                              ; preds = %170, %169
  %172 = load i8, ptr %20, align 1, !tbaa !11
  %173 = zext i8 %172 to i32
  %174 = load i8, ptr %21, align 1, !tbaa !11
  %175 = zext i8 %174 to i32
  %176 = icmp ne i32 %173, %175
  br i1 %176, label %177, label %181

177:                                              ; preds = %171
  %178 = load ptr, ptr %8, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %178, i32 0, i32 112
  %180 = call i32 @_tx_mutex_put(ptr noundef %179)
  store i32 11, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

181:                                              ; preds = %171
  br label %182

182:                                              ; preds = %181, %55
  store i8 122, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !11
  store i32 1, ptr %15, align 4, !tbaa !19
  br label %183

183:                                              ; preds = %196, %182
  %184 = load i32, ptr %15, align 4, !tbaa !19
  %185 = zext i32 %184 to i64
  %186 = load i64, ptr %12, align 8, !tbaa !9
  %187 = icmp ult i64 %185, %186
  br i1 %187, label %188, label %199

188:                                              ; preds = %183
  %189 = load i32, ptr %15, align 4, !tbaa !19
  %190 = urem i32 %189, 9
  %191 = add i32 48, %190
  %192 = trunc i32 %191 to i8
  %193 = load i32, ptr %15, align 4, !tbaa !19
  %194 = zext i32 %193 to i64
  %195 = getelementptr inbounds [256 x i8], ptr @_fx_unicode_temp_long_file_name, i64 0, i64 %194
  store i8 %192, ptr %195, align 1, !tbaa !11
  br label %196

196:                                              ; preds = %188
  %197 = load i32, ptr %15, align 4, !tbaa !19
  %198 = add i32 %197, 1
  store i32 %198, ptr %15, align 4, !tbaa !19
  br label %183, !llvm.loop !23

199:                                              ; preds = %183
  %200 = load i32, ptr %15, align 4, !tbaa !19
  %201 = zext i32 %200 to i64
  %202 = getelementptr inbounds [256 x i8], ptr @_fx_unicode_temp_long_file_name, i64 0, i64 %201
  store i8 0, ptr %202, align 1, !tbaa !11
  br label %203

203:                                              ; preds = %218, %199
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = getelementptr inbounds [13 x i8], ptr %18, i64 0, i64 0
  %206 = call i32 @_fx_directory_rename(ptr noundef %204, ptr noundef %205, ptr noundef @_fx_unicode_temp_long_file_name)
  store i32 %206, ptr %16, align 4, !tbaa !19
  %207 = load i32, ptr %16, align 4, !tbaa !19
  %208 = icmp eq i32 %207, 11
  br i1 %208, label %209, label %217

209:                                              ; preds = %203
  %210 = load i8, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !11
  %211 = add i8 %210, -1
  store i8 %211, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !11
  %212 = load i8, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !11
  %213 = zext i8 %212 to i32
  %214 = icmp slt i32 %213, 97
  br i1 %214, label %215, label %216

215:                                              ; preds = %209
  br label %221

216:                                              ; preds = %209
  br label %217

217:                                              ; preds = %216, %203
  br label %218

218:                                              ; preds = %217
  %219 = load i32, ptr %16, align 4, !tbaa !19
  %220 = icmp eq i32 %219, 11
  br i1 %220, label %203, label %221, !llvm.loop !24

221:                                              ; preds = %218, %215
  %222 = load i32, ptr %16, align 4, !tbaa !19
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %229

224:                                              ; preds = %221
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %225, i32 0, i32 112
  %227 = call i32 @_tx_mutex_put(ptr noundef %226)
  %228 = load i32, ptr %16, align 4, !tbaa !19
  store i32 %228, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

229:                                              ; preds = %221
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %230, i32 0, i32 122
  %232 = getelementptr inbounds [1024 x i8], ptr %231, i64 0, i64 0
  %233 = getelementptr inbounds i8, ptr %232, i64 256
  %234 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  store ptr %233, ptr %234, align 8, !tbaa !20
  %235 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 1
  %236 = getelementptr inbounds [13 x i8], ptr %235, i64 0, i64 0
  store i8 0, ptr %236, align 8, !tbaa !11
  %237 = load ptr, ptr %8, align 8, !tbaa !5
  %238 = call i32 @_fx_directory_search(ptr noundef %237, ptr noundef @_fx_unicode_temp_long_file_name, ptr noundef %14, ptr noundef null, ptr noundef null)
  store i32 %238, ptr %16, align 4, !tbaa !19
  %239 = load i32, ptr %16, align 4, !tbaa !19
  %240 = icmp ne i32 %239, 0
  br i1 %240, label %241, label %246

241:                                              ; preds = %229
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %242, i32 0, i32 112
  %244 = call i32 @_tx_mutex_put(ptr noundef %243)
  %245 = load i32, ptr %16, align 4, !tbaa !19
  store i32 %245, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

246:                                              ; preds = %229
  %247 = load ptr, ptr %8, align 8, !tbaa !5
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = load i64, ptr %12, align 8, !tbaa !9
  %250 = call i32 @_fx_unicode_directory_entry_change(ptr noundef %247, ptr noundef %14, ptr noundef %248, i64 noundef %249)
  store i32 %250, ptr %16, align 4, !tbaa !19
  %251 = load i32, ptr %16, align 4, !tbaa !19
  %252 = icmp eq i32 %251, 0
  br i1 %252, label %253, label %280

253:                                              ; preds = %246
  store i32 0, ptr %15, align 4, !tbaa !19
  br label %254

254:                                              ; preds = %276, %253
  %255 = load i32, ptr %15, align 4, !tbaa !19
  %256 = icmp ult i32 %255, 8
  br i1 %256, label %257, label %279

257:                                              ; preds = %254
  %258 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 1
  %259 = load i32, ptr %15, align 4, !tbaa !19
  %260 = zext i32 %259 to i64
  %261 = getelementptr inbounds [13 x i8], ptr %258, i64 0, i64 %260
  %262 = load i8, ptr %261, align 1, !tbaa !11
  %263 = load ptr, ptr %13, align 8, !tbaa !5
  %264 = load i32, ptr %15, align 4, !tbaa !19
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %263, i64 %265
  store i8 %262, ptr %266, align 1, !tbaa !11
  %267 = load ptr, ptr %13, align 8, !tbaa !5
  %268 = load i32, ptr %15, align 4, !tbaa !19
  %269 = zext i32 %268 to i64
  %270 = getelementptr inbounds i8, ptr %267, i64 %269
  %271 = load i8, ptr %270, align 1, !tbaa !11
  %272 = sext i8 %271 to i32
  %273 = icmp eq i32 %272, 0
  br i1 %273, label %274, label %275

274:                                              ; preds = %257
  br label %279

275:                                              ; preds = %257
  br label %276

276:                                              ; preds = %275
  %277 = load i32, ptr %15, align 4, !tbaa !19
  %278 = add i32 %277, 1
  store i32 %278, ptr %15, align 4, !tbaa !19
  br label %254, !llvm.loop !25

279:                                              ; preds = %274, %254
  br label %280

280:                                              ; preds = %279, %246
  %281 = load ptr, ptr %8, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %281, i32 0, i32 112
  %283 = call i32 @_tx_mutex_put(ptr noundef %282)
  %284 = load i32, ptr %16, align 4, !tbaa !19
  store i32 %284, ptr %7, align 4
  store i32 1, ptr %22, align 4
  br label %285

285:                                              ; preds = %280, %241, %224, %177, %53, %47, %40, %31
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 13, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 13, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 136, ptr %14) #3
  %286 = load i32, ptr %7, align 4
  ret i32 %286
}

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

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

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

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

declare i32 @_tx_mutex_put(ptr noundef) #2

declare i32 @_fx_directory_rename(ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @_fx_directory_search(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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


; 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_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 }

@_fx_unicode_temp_long_file_name = external global [256 x i8], align 16

; Function Attrs: nounwind uwtable
define dso_local i32 @_fx_unicode_directory_rename(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
  %7 = alloca %struct.FX_DIR_ENTRY_STRUCT, align 8
  %8 = alloca i64, align 8
  %9 = alloca [13 x i8], align 1
  %10 = alloca [13 x i8], align 1
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %9) #3
  call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %10) #3
  store i8 0, ptr %5, align 1, !tbaa !5
  store i8 0, ptr %9, align 1, !tbaa !5
  store i8 0, ptr %10, align 1, !tbaa !5
  %11 = load i64, ptr %0, align 8, !tbaa !8
  %.not = icmp eq i64 %11, 1296385097
  br i1 %.not, label %12, label %113

12:                                               ; preds = %6
  %13 = call i32 @_fx_unicode_short_name_get(ptr noundef nonnull %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %9) #3
  %.not96 = icmp eq i32 %13, 0
  br i1 %.not96, label %14, label %113

14:                                               ; preds = %12
  %15 = load i64, ptr %0, align 8, !tbaa !8
  %.not97 = icmp eq i64 %15, 1296385097
  br i1 %.not97, label %16, label %113

16:                                               ; preds = %14
  %17 = getelementptr inbounds i8, ptr %0, i64 824
  %18 = call i32 @_tx_mutex_get(ptr noundef nonnull %17, i64 noundef 4294967295) #3
  %.not98 = icmp eq i32 %18, 0
  br i1 %.not98, label %19, label %113

19:                                               ; preds = %16
  store i64 %4, ptr %8, align 8, !tbaa !17
  %20 = getelementptr inbounds i8, ptr %0, i64 3144
  store ptr %20, ptr %7, align 8, !tbaa !18
  %21 = getelementptr inbounds i8, ptr %7, i64 8
  store i8 0, ptr %21, align 8, !tbaa !5
  %22 = call i32 @_fx_unicode_directory_search(ptr noundef nonnull %0, ptr noundef nonnull %7, ptr noundef nonnull %10, i64 noundef 13, ptr noundef %3, ptr noundef nonnull %8, i64 noundef 0) #3
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %61

24:                                               ; preds = %19
  %25 = icmp eq i64 %2, %4
  br i1 %25, label %.preheader111, label %.sink.split

.preheader111:                                    ; preds = %24, %50
  %.084 = phi i32 [ %57, %50 ], [ 0, %24 ]
  %26 = shl i32 %.084, 1
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds i8, ptr %1, i64 %27
  %29 = load i8, ptr %28, align 1, !tbaa !5
  %30 = add i8 %29, -97
  %or.cond = icmp ult i8 %30, 26
  br i1 %or.cond, label %31, label %38

31:                                               ; preds = %.preheader111
  %32 = or disjoint i32 %26, 1
  %33 = zext i32 %32 to i64
  %34 = getelementptr inbounds i8, ptr %1, i64 %33
  %35 = load i8, ptr %34, align 1, !tbaa !5
  %36 = icmp eq i8 %35, 0
  %37 = add nsw i8 %29, -32
  %spec.select = select i1 %36, i8 %37, i8 %29
  br label %38

38:                                               ; preds = %31, %.preheader111
  %.082 = phi i8 [ %29, %.preheader111 ], [ %spec.select, %31 ]
  %39 = getelementptr inbounds i8, ptr %3, i64 %27
  %40 = load i8, ptr %39, align 1, !tbaa !5
  %41 = add i8 %40, -97
  %or.cond5 = icmp ult i8 %41, 26
  br i1 %or.cond5, label %42, label %49

42:                                               ; preds = %38
  %43 = or disjoint i32 %26, 1
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds i8, ptr %3, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !5
  %47 = icmp eq i8 %46, 0
  %48 = add nsw i8 %40, -32
  %spec.select104 = select i1 %47, i8 %48, i8 %40
  br label %49

49:                                               ; preds = %42, %38
  %.0 = phi i8 [ %40, %38 ], [ %spec.select104, %42 ]
  %.not99 = icmp eq i8 %.082, %.0
  br i1 %.not99, label %50, label %60

50:                                               ; preds = %49
  %51 = or disjoint i32 %26, 1
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds i8, ptr %1, i64 %52
  %54 = load i8, ptr %53, align 1, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %3, i64 %52
  %56 = load i8, ptr %55, align 1, !tbaa !5
  %.not100 = icmp eq i8 %54, %56
  %57 = add i32 %.084, 1
  %58 = zext i32 %57 to i64
  %59 = icmp ult i64 %58, %2
  %or.cond107 = and i1 %59, %.not100
  br i1 %or.cond107, label %.preheader111, label %60, !llvm.loop !19

60:                                               ; preds = %49, %50
  %.183 = phi i8 [ %.082, %49 ], [ %54, %50 ]
  %.1 = phi i8 [ %.0, %49 ], [ %56, %50 ]
  %.not101 = icmp eq i8 %.183, %.1
  br i1 %.not101, label %61, label %.sink.split

61:                                               ; preds = %60, %19
  store i8 122, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !5
  %62 = icmp ugt i64 %4, 1
  br i1 %62, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %61, %.lr.ph
  %63 = phi i64 [ %69, %.lr.ph ], [ 1, %61 ]
  %.185114 = phi i32 [ %68, %.lr.ph ], [ 1, %61 ]
  %64 = urem i32 %.185114, 9
  %65 = trunc nuw nsw i32 %64 to i8
  %66 = or disjoint i8 %65, 48
  %67 = getelementptr inbounds [256 x i8], ptr @_fx_unicode_temp_long_file_name, i64 0, i64 %63
  store i8 %66, ptr %67, align 1, !tbaa !5
  %68 = add i32 %.185114, 1
  %69 = zext i32 %68 to i64
  %70 = icmp ult i64 %69, %4
  br i1 %70, label %.lr.ph, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %.lr.ph, %61
  %.lcssa113 = phi i64 [ 1, %61 ], [ %69, %.lr.ph ]
  %71 = getelementptr inbounds [256 x i8], ptr @_fx_unicode_temp_long_file_name, i64 0, i64 %.lcssa113
  store i8 0, ptr %71, align 1, !tbaa !5
  br label %72

72:                                               ; preds = %74, %._crit_edge
  %73 = call i32 @_fx_directory_rename(ptr noundef nonnull %0, ptr noundef nonnull %9, ptr noundef nonnull @_fx_unicode_temp_long_file_name) #3
  switch i32 %73, label %.sink.split [
    i32 11, label %74
    i32 0, label %78
  ]

74:                                               ; preds = %72
  %75 = load i8, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !5
  %76 = add i8 %75, -1
  store i8 %76, ptr @_fx_unicode_temp_long_file_name, align 16, !tbaa !5
  %77 = icmp ugt i8 %76, 96
  br i1 %77, label %72, label %.sink.split, !llvm.loop !22

78:                                               ; preds = %72
  store ptr %20, ptr %7, align 8, !tbaa !18
  store i8 0, ptr %21, align 8, !tbaa !5
  %79 = call i32 @_fx_directory_search(ptr noundef nonnull %0, ptr noundef nonnull @_fx_unicode_temp_long_file_name, ptr noundef nonnull %7, ptr noundef null, ptr noundef null) #3
  %.not103 = icmp eq i32 %79, 0
  br i1 %.not103, label %80, label %.sink.split

80:                                               ; preds = %78
  %81 = call i32 @_fx_unicode_directory_entry_change(ptr noundef nonnull %0, ptr noundef nonnull %7, ptr noundef %3, i64 noundef %4) #3
  %82 = icmp eq i32 %81, 0
  br i1 %82, label %.preheader.preheader, label %.sink.split

.preheader.preheader:                             ; preds = %80
  %83 = load i8, ptr %21, align 8, !tbaa !5
  store i8 %83, ptr %5, align 1, !tbaa !5
  %84 = icmp eq i8 %83, 0
  br i1 %84, label %.sink.split, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader.preheader
  %85 = getelementptr inbounds i8, ptr %7, i64 9
  %86 = load i8, ptr %85, align 1, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %5, i64 1
  store i8 %86, ptr %87, align 1, !tbaa !5
  %88 = icmp eq i8 %86, 0
  br i1 %88, label %.sink.split, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %89 = getelementptr inbounds i8, ptr %7, i64 10
  %90 = load i8, ptr %89, align 2, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %5, i64 2
  store i8 %90, ptr %91, align 1, !tbaa !5
  %92 = icmp eq i8 %90, 0
  br i1 %92, label %.sink.split, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %93 = getelementptr inbounds i8, ptr %7, i64 11
  %94 = load i8, ptr %93, align 1, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %5, i64 3
  store i8 %94, ptr %95, align 1, !tbaa !5
  %96 = icmp eq i8 %94, 0
  br i1 %96, label %.sink.split, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %97 = getelementptr inbounds i8, ptr %7, i64 12
  %98 = load i8, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %5, i64 4
  store i8 %98, ptr %99, align 1, !tbaa !5
  %100 = icmp eq i8 %98, 0
  br i1 %100, label %.sink.split, label %.preheader.5

.preheader.5:                                     ; preds = %.preheader.4
  %101 = getelementptr inbounds i8, ptr %7, i64 13
  %102 = load i8, ptr %101, align 1, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %5, i64 5
  store i8 %102, ptr %103, align 1, !tbaa !5
  %104 = icmp eq i8 %102, 0
  br i1 %104, label %.sink.split, label %.preheader.6

.preheader.6:                                     ; preds = %.preheader.5
  %105 = getelementptr inbounds i8, ptr %7, i64 14
  %106 = load i8, ptr %105, align 2, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %5, i64 6
  store i8 %106, ptr %107, align 1, !tbaa !5
  %108 = icmp eq i8 %106, 0
  br i1 %108, label %.sink.split, label %.preheader.7

.preheader.7:                                     ; preds = %.preheader.6
  %109 = getelementptr inbounds i8, ptr %7, i64 15
  %110 = load i8, ptr %109, align 1, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %5, i64 7
  store i8 %110, ptr %111, align 1, !tbaa !5
  br label %.sink.split

.sink.split:                                      ; preds = %72, %74, %80, %.preheader.6, %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader, %.preheader.7, %78, %60, %24
  %.086.ph = phi i32 [ 11, %24 ], [ 11, %60 ], [ %79, %78 ], [ %81, %.preheader.7 ], [ %81, %.preheader.preheader ], [ %81, %.preheader.1 ], [ %81, %.preheader.2 ], [ %81, %.preheader.3 ], [ %81, %.preheader.4 ], [ %81, %.preheader.5 ], [ %81, %.preheader.6 ], [ %81, %80 ], [ %73, %74 ], [ %73, %72 ]
  %112 = call i32 @_tx_mutex_put(ptr noundef nonnull %17) #3
  br label %113

113:                                              ; preds = %.sink.split, %16, %14, %12, %6
  %.086 = phi i32 [ 17, %6 ], [ %13, %12 ], [ 17, %14 ], [ 17, %16 ], [ %.086.ph, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %10) #3
  call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %7) #3
  ret i32 %.086
}

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

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

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

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

declare i32 @_tx_mutex_put(ptr noundef) local_unnamed_addr #2

declare i32 @_fx_directory_rename(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @_fx_directory_search(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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


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