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

; 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 }
%struct.TX_THREAD_STRUCT = type { i64, i64, ptr, ptr, ptr, i64, i64, i64, ptr, ptr, ptr, i32, i32, i32, i32, i32, ptr, ptr, i64, %struct.TX_TIMER_INTERNAL_STRUCT, ptr, ptr, ptr, ptr, i64, ptr, i32, i32, ptr, ptr, ptr, ptr, i32, i32, i32, i32, ptr, ptr, ptr, i64 }
%struct.TX_TIMER_INTERNAL_STRUCT = type { i64, i64, ptr, i64, ptr, ptr, ptr }

@_tx_thread_current_ptr = external global ptr, align 8

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

40:                                               ; preds = %3
  store i32 17, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

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

46:                                               ; preds = %41
  store i32 17, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

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

52:                                               ; preds = %47
  store i32 17, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

53:                                               ; preds = %47
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %75

57:                                               ; preds = %54
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %58, i64 0
  %60 = load i8, ptr %59, align 1, !tbaa !19
  %61 = sext i8 %60 to i32
  %62 = icmp eq i32 %61, 92
  br i1 %62, label %69, label %63

63:                                               ; preds = %57
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %64, i64 0
  %66 = load i8, ptr %65, align 1, !tbaa !19
  %67 = sext i8 %66 to i32
  %68 = icmp eq i32 %67, 47
  br i1 %68, label %69, label %90

69:                                               ; preds = %63, %57
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 1
  %72 = load i8, ptr %71, align 1, !tbaa !19
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 0
  br i1 %74, label %75, label %90

75:                                               ; preds = %69, %54
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %77, i32 0, i32 0
  %79 = load ptr, ptr %78, align 8, !tbaa !18
  %80 = getelementptr inbounds i8, ptr %79, i64 0
  store i8 0, ptr %80, align 1, !tbaa !19
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %81, i32 0, i32 1
  %83 = getelementptr inbounds [256 x i8], ptr %82, i64 0, i64 0
  store i8 0, ptr %83, align 8, !tbaa !19
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %84, i32 0, i32 1
  %86 = getelementptr inbounds [256 x i8], ptr %85, i64 0, i64 254
  store i8 0, ptr %86, align 2, !tbaa !19
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %88, i32 0, i32 31
  store ptr %87, ptr %89, align 8, !tbaa !21
  br label %413

90:                                               ; preds = %69, %63
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = call i32 @_fx_directory_search(ptr noundef %91, ptr noundef %92, ptr noundef %14, ptr noundef null, ptr noundef null)
  store i32 %93, ptr %8, align 4, !tbaa !24
  %94 = load i32, ptr %8, align 4, !tbaa !24
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %102, label %96

96:                                               ; preds = %90
  %97 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 4
  %98 = load i8, ptr %97, align 8, !tbaa !25
  %99 = zext i8 %98 to i32
  %100 = and i32 %99, 16
  %101 = icmp ne i32 %100, 0
  br i1 %101, label %106, label %102

102:                                              ; preds = %96, %90
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %103, i32 0, i32 112
  %105 = call i32 @_tx_mutex_put(ptr noundef %104)
  store i32 13, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

106:                                              ; preds = %96
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %107, i32 0, i32 1
  %109 = getelementptr inbounds [256 x i8], ptr %108, i64 0, i64 0
  store ptr %109, ptr %9, align 8, !tbaa !5
  store i32 255, ptr %10, align 4, !tbaa !24
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %110, i64 0
  %112 = load i8, ptr %111, align 1, !tbaa !19
  %113 = sext i8 %112 to i32
  %114 = icmp ne i32 %113, 92
  br i1 %114, label %115, label %285

115:                                              ; preds = %106
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 0
  %118 = load i8, ptr %117, align 1, !tbaa !19
  %119 = sext i8 %118 to i32
  %120 = icmp ne i32 %119, 47
  br i1 %120, label %121, label %285

121:                                              ; preds = %115
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %122, ptr %11, align 8, !tbaa !5
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %124, i32 0, i32 31
  %126 = load ptr, ptr %125, align 8, !tbaa !21
  %127 = icmp ne ptr %123, %126
  br i1 %127, label %128, label %203

128:                                              ; preds = %121
  %129 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %129, i32 0, i32 31
  %131 = load ptr, ptr %130, align 8, !tbaa !21
  %132 = icmp ne ptr %131, null
  br i1 %132, label %133, label %168

133:                                              ; preds = %128
  store i32 0, ptr %12, align 4, !tbaa !24
  br label %134

134:                                              ; preds = %164, %133
  %135 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %135, i32 0, i32 31
  %137 = load ptr, ptr %136, align 8, !tbaa !21
  %138 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %137, i32 0, i32 1
  %139 = load i32, ptr %12, align 4, !tbaa !24
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds [256 x i8], ptr %138, i64 0, i64 %140
  %142 = load i8, ptr %141, align 1, !tbaa !19
  %143 = load ptr, ptr %6, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %143, i32 0, i32 1
  %145 = load i32, ptr %12, align 4, !tbaa !24
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds [256 x i8], ptr %144, i64 0, i64 %146
  store i8 %142, ptr %147, align 1, !tbaa !19
  %148 = load ptr, ptr %6, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %148, i32 0, i32 1
  %150 = load i32, ptr %12, align 4, !tbaa !24
  %151 = zext i32 %150 to i64
  %152 = getelementptr inbounds [256 x i8], ptr %149, i64 0, i64 %151
  %153 = load i8, ptr %152, align 1, !tbaa !19
  %154 = sext i8 %153 to i32
  %155 = icmp eq i32 %154, 0
  br i1 %155, label %156, label %161

156:                                              ; preds = %134
  %157 = load i32, ptr %12, align 4, !tbaa !24
  %158 = icmp ult i32 %157, 255
  br i1 %158, label %159, label %160

159:                                              ; preds = %156
  br label %167

160:                                              ; preds = %156
  br label %161

161:                                              ; preds = %160, %134
  %162 = load i32, ptr %12, align 4, !tbaa !24
  %163 = add i32 %162, 1
  store i32 %163, ptr %12, align 4, !tbaa !24
  br label %164

164:                                              ; preds = %161
  %165 = load i32, ptr %12, align 4, !tbaa !24
  %166 = icmp ult i32 %165, 256
  br i1 %166, label %134, label %167, !llvm.loop !26

167:                                              ; preds = %164, %159
  br label %202

168:                                              ; preds = %128
  store i32 0, ptr %12, align 4, !tbaa !24
  br label %169

169:                                              ; preds = %198, %168
  %170 = load ptr, ptr %5, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %170, i32 0, i32 118
  %172 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %171, i32 0, i32 1
  %173 = load i32, ptr %12, align 4, !tbaa !24
  %174 = zext i32 %173 to i64
  %175 = getelementptr inbounds [256 x i8], ptr %172, i64 0, i64 %174
  %176 = load i8, ptr %175, align 1, !tbaa !19
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %12, align 4, !tbaa !24
  %180 = zext i32 %179 to i64
  %181 = getelementptr inbounds [256 x i8], ptr %178, i64 0, i64 %180
  store i8 %176, ptr %181, align 1, !tbaa !19
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %182, i32 0, i32 1
  %184 = load i32, ptr %12, align 4, !tbaa !24
  %185 = zext i32 %184 to i64
  %186 = getelementptr inbounds [256 x i8], ptr %183, i64 0, i64 %185
  %187 = load i8, ptr %186, align 1, !tbaa !19
  %188 = sext i8 %187 to i32
  %189 = icmp eq i32 %188, 0
  br i1 %189, label %190, label %195

190:                                              ; preds = %169
  %191 = load i32, ptr %12, align 4, !tbaa !24
  %192 = icmp ult i32 %191, 255
  br i1 %192, label %193, label %194

193:                                              ; preds = %190
  br label %201

194:                                              ; preds = %190
  br label %195

195:                                              ; preds = %194, %169
  %196 = load i32, ptr %12, align 4, !tbaa !24
  %197 = add i32 %196, 1
  store i32 %197, ptr %12, align 4, !tbaa !24
  br label %198

198:                                              ; preds = %195
  %199 = load i32, ptr %12, align 4, !tbaa !24
  %200 = icmp ult i32 %199, 256
  br i1 %200, label %169, label %201, !llvm.loop !28

201:                                              ; preds = %198, %193
  br label %202

202:                                              ; preds = %201, %167
  br label %203

203:                                              ; preds = %202, %121
  %204 = load ptr, ptr %11, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %204, i32 0, i32 1
  %206 = getelementptr inbounds [256 x i8], ptr %205, i64 0, i64 254
  %207 = load i8, ptr %206, align 2, !tbaa !19
  %208 = sext i8 %207 to i32
  %209 = icmp eq i32 %208, 42
  br i1 %209, label %210, label %260

210:                                              ; preds = %203
  %211 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 12
  %212 = load i64, ptr %211, align 8, !tbaa !29
  %213 = icmp ne i64 %212, 0
  br i1 %213, label %224, label %214

214:                                              ; preds = %210
  %215 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  %216 = load ptr, ptr %215, align 8, !tbaa !17
  %217 = getelementptr inbounds i8, ptr %216, i64 0
  store i8 0, ptr %217, align 1, !tbaa !19
  %218 = load ptr, ptr %11, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %218, i32 0, i32 1
  %220 = getelementptr inbounds [256 x i8], ptr %219, i64 0, i64 0
  store i8 0, ptr %220, align 8, !tbaa !19
  %221 = load ptr, ptr %11, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %221, i32 0, i32 1
  %223 = getelementptr inbounds [256 x i8], ptr %222, i64 0, i64 254
  store i8 0, ptr %223, align 2, !tbaa !19
  br label %224

224:                                              ; preds = %214, %210
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %225, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %226, ptr align 8 %14, i64 136, i1 false), !tbaa.struct !30
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %227, i32 0, i32 2
  %229 = getelementptr inbounds [256 x i8], ptr %228, i64 0, i64 0
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %230, i32 0, i32 0
  %232 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %231, i32 0, i32 0
  store ptr %229, ptr %232, align 8, !tbaa !18
  store i32 0, ptr %13, align 4, !tbaa !24
  br label %233

233:                                              ; preds = %250, %224
  %234 = load i32, ptr %13, align 4, !tbaa !24
  %235 = icmp ult i32 %234, 256
  br i1 %235, label %236, label %253

236:                                              ; preds = %233
  %237 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  %238 = load ptr, ptr %237, align 8, !tbaa !17
  %239 = load i32, ptr %13, align 4, !tbaa !24
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds i8, ptr %238, i64 %240
  %242 = load i8, ptr %241, align 1, !tbaa !19
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %243, i32 0, i32 0
  %245 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %244, i32 0, i32 0
  %246 = load ptr, ptr %245, align 8, !tbaa !18
  %247 = load i32, ptr %13, align 4, !tbaa !24
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds i8, ptr %246, i64 %248
  store i8 %242, ptr %249, align 1, !tbaa !19
  br label %250

250:                                              ; preds = %236
  %251 = load i32, ptr %13, align 4, !tbaa !24
  %252 = add i32 %251, 1
  store i32 %252, ptr %13, align 4, !tbaa !24
  br label %233, !llvm.loop !33

253:                                              ; preds = %233
  %254 = load ptr, ptr %6, align 8, !tbaa !5
  %255 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %255, i32 0, i32 31
  store ptr %254, ptr %256, align 8, !tbaa !21
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %257, i32 0, i32 112
  %259 = call i32 @_tx_mutex_put(ptr noundef %258)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

260:                                              ; preds = %203
  br label %261

261:                                              ; preds = %271, %260
  %262 = load i32, ptr %10, align 4, !tbaa !24
  %263 = icmp ne i32 %262, 0
  br i1 %263, label %264, label %269

264:                                              ; preds = %261
  %265 = load ptr, ptr %9, align 8, !tbaa !5
  %266 = load i8, ptr %265, align 1, !tbaa !19
  %267 = sext i8 %266 to i32
  %268 = icmp ne i32 %267, 0
  br label %269

269:                                              ; preds = %264, %261
  %270 = phi i1 [ false, %261 ], [ %268, %264 ]
  br i1 %270, label %271, label %276

271:                                              ; preds = %269
  %272 = load ptr, ptr %9, align 8, !tbaa !5
  %273 = getelementptr inbounds i8, ptr %272, i32 1
  store ptr %273, ptr %9, align 8, !tbaa !5
  %274 = load i32, ptr %10, align 4, !tbaa !24
  %275 = add i32 %274, -1
  store i32 %275, ptr %10, align 4, !tbaa !24
  br label %261, !llvm.loop !34

276:                                              ; preds = %269
  %277 = load i32, ptr %10, align 4, !tbaa !24
  %278 = icmp ne i32 %277, 0
  br i1 %278, label %279, label %284

279:                                              ; preds = %276
  %280 = load ptr, ptr %9, align 8, !tbaa !5
  %281 = getelementptr inbounds i8, ptr %280, i32 1
  store ptr %281, ptr %9, align 8, !tbaa !5
  store i8 92, ptr %280, align 1, !tbaa !19
  %282 = load i32, ptr %10, align 4, !tbaa !24
  %283 = add i32 %282, -1
  store i32 %283, ptr %10, align 4, !tbaa !24
  br label %284

284:                                              ; preds = %279, %276
  br label %298

285:                                              ; preds = %115, %106
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %286, ptr %11, align 8, !tbaa !5
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %287, i32 0, i32 1
  %289 = getelementptr inbounds [256 x i8], ptr %288, i64 0, i64 254
  %290 = load i8, ptr %289, align 2, !tbaa !19
  %291 = sext i8 %290 to i32
  %292 = icmp eq i32 %291, 42
  br i1 %292, label %293, label %297

293:                                              ; preds = %285
  %294 = load ptr, ptr %11, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %294, i32 0, i32 1
  %296 = getelementptr inbounds [256 x i8], ptr %295, i64 0, i64 254
  store i8 0, ptr %296, align 2, !tbaa !19
  br label %297

297:                                              ; preds = %293, %285
  br label %298

298:                                              ; preds = %297, %284
  br label %299

299:                                              ; preds = %354, %298
  %300 = load ptr, ptr %7, align 8, !tbaa !5
  %301 = load i8, ptr %300, align 1, !tbaa !19
  %302 = icmp ne i8 %301, 0
  br i1 %302, label %303, label %355

303:                                              ; preds = %299
  %304 = load ptr, ptr %7, align 8, !tbaa !5
  %305 = load i8, ptr %304, align 1, !tbaa !19
  %306 = sext i8 %305 to i32
  %307 = icmp eq i32 %306, 46
  br i1 %307, label %308, label %341

308:                                              ; preds = %303
  %309 = load ptr, ptr %7, align 8, !tbaa !5
  %310 = getelementptr inbounds i8, ptr %309, i64 1
  %311 = load i8, ptr %310, align 1, !tbaa !19
  %312 = sext i8 %311 to i32
  %313 = icmp eq i32 %312, 46
  br i1 %313, label %314, label %341

314:                                              ; preds = %308
  %315 = load i32, ptr %10, align 4, !tbaa !24
  %316 = add i32 %315, 2
  store i32 %316, ptr %10, align 4, !tbaa !24
  %317 = load ptr, ptr %9, align 8, !tbaa !5
  %318 = getelementptr inbounds i8, ptr %317, i64 -2
  store ptr %318, ptr %9, align 8, !tbaa !5
  br label %319

319:                                              ; preds = %333, %314
  %320 = load i32, ptr %10, align 4, !tbaa !24
  %321 = icmp ule i32 %320, 255
  br i1 %321, label %322, label %338

322:                                              ; preds = %319
  %323 = load ptr, ptr %9, align 8, !tbaa !5
  %324 = load i8, ptr %323, align 1, !tbaa !19
  %325 = sext i8 %324 to i32
  %326 = icmp eq i32 %325, 92
  br i1 %326, label %332, label %327

327:                                              ; preds = %322
  %328 = load ptr, ptr %9, align 8, !tbaa !5
  %329 = load i8, ptr %328, align 1, !tbaa !19
  %330 = sext i8 %329 to i32
  %331 = icmp eq i32 %330, 47
  br i1 %331, label %332, label %333

332:                                              ; preds = %327, %322
  br label %338

333:                                              ; preds = %327
  %334 = load i32, ptr %10, align 4, !tbaa !24
  %335 = add i32 %334, 1
  store i32 %335, ptr %10, align 4, !tbaa !24
  %336 = load ptr, ptr %9, align 8, !tbaa !5
  %337 = getelementptr inbounds i8, ptr %336, i32 -1
  store ptr %337, ptr %9, align 8, !tbaa !5
  br label %319, !llvm.loop !35

338:                                              ; preds = %332, %319
  %339 = load ptr, ptr %7, align 8, !tbaa !5
  %340 = getelementptr inbounds i8, ptr %339, i64 2
  store ptr %340, ptr %7, align 8, !tbaa !5
  br label %354

341:                                              ; preds = %308, %303
  %342 = load i32, ptr %10, align 4, !tbaa !24
  %343 = icmp ne i32 %342, 0
  br i1 %343, label %344, label %352

344:                                              ; preds = %341
  %345 = load ptr, ptr %7, align 8, !tbaa !5
  %346 = getelementptr inbounds i8, ptr %345, i32 1
  store ptr %346, ptr %7, align 8, !tbaa !5
  %347 = load i8, ptr %345, align 1, !tbaa !19
  %348 = load ptr, ptr %9, align 8, !tbaa !5
  %349 = getelementptr inbounds i8, ptr %348, i32 1
  store ptr %349, ptr %9, align 8, !tbaa !5
  store i8 %347, ptr %348, align 1, !tbaa !19
  %350 = load i32, ptr %10, align 4, !tbaa !24
  %351 = add i32 %350, -1
  store i32 %351, ptr %10, align 4, !tbaa !24
  br label %353

352:                                              ; preds = %341
  br label %355

353:                                              ; preds = %344
  br label %354

354:                                              ; preds = %353, %338
  br label %299, !llvm.loop !36

355:                                              ; preds = %352, %299
  %356 = load i32, ptr %10, align 4, !tbaa !24
  %357 = icmp ne i32 %356, 0
  br i1 %357, label %358, label %360

358:                                              ; preds = %355
  %359 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %359, align 1, !tbaa !19
  br label %369

360:                                              ; preds = %355
  %361 = load ptr, ptr %7, align 8, !tbaa !5
  %362 = load i8, ptr %361, align 1, !tbaa !19
  %363 = icmp ne i8 %362, 0
  br i1 %363, label %364, label %368

364:                                              ; preds = %360
  %365 = load ptr, ptr %11, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %365, i32 0, i32 1
  %367 = getelementptr inbounds [256 x i8], ptr %366, i64 0, i64 254
  store i8 42, ptr %367, align 2, !tbaa !19
  br label %368

368:                                              ; preds = %364, %360
  br label %369

369:                                              ; preds = %368, %358
  %370 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 12
  %371 = load i64, ptr %370, align 8, !tbaa !29
  %372 = icmp ne i64 %371, 0
  br i1 %372, label %380, label %373

373:                                              ; preds = %369
  %374 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  %375 = load ptr, ptr %374, align 8, !tbaa !17
  %376 = getelementptr inbounds i8, ptr %375, i64 0
  store i8 0, ptr %376, align 1, !tbaa !19
  %377 = load ptr, ptr %6, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %377, i32 0, i32 2
  %379 = getelementptr inbounds [256 x i8], ptr %378, i64 0, i64 0
  store i8 0, ptr %379, align 8, !tbaa !19
  br label %380

380:                                              ; preds = %373, %369
  %381 = load ptr, ptr %11, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %381, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %382, ptr align 8 %14, i64 136, i1 false), !tbaa.struct !30
  %383 = load ptr, ptr %6, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %383, i32 0, i32 2
  %385 = getelementptr inbounds [256 x i8], ptr %384, i64 0, i64 0
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %386, i32 0, i32 0
  %388 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %387, i32 0, i32 0
  store ptr %385, ptr %388, align 8, !tbaa !18
  store i32 0, ptr %13, align 4, !tbaa !24
  br label %389

389:                                              ; preds = %406, %380
  %390 = load i32, ptr %13, align 4, !tbaa !24
  %391 = icmp ult i32 %390, 256
  br i1 %391, label %392, label %409

392:                                              ; preds = %389
  %393 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %14, i32 0, i32 0
  %394 = load ptr, ptr %393, align 8, !tbaa !17
  %395 = load i32, ptr %13, align 4, !tbaa !24
  %396 = zext i32 %395 to i64
  %397 = getelementptr inbounds i8, ptr %394, i64 %396
  %398 = load i8, ptr %397, align 1, !tbaa !19
  %399 = load ptr, ptr %6, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %399, i32 0, i32 0
  %401 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %400, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8, !tbaa !18
  %403 = load i32, ptr %13, align 4, !tbaa !24
  %404 = zext i32 %403 to i64
  %405 = getelementptr inbounds i8, ptr %402, i64 %404
  store i8 %398, ptr %405, align 1, !tbaa !19
  br label %406

406:                                              ; preds = %392
  %407 = load i32, ptr %13, align 4, !tbaa !24
  %408 = add i32 %407, 1
  store i32 %408, ptr %13, align 4, !tbaa !24
  br label %389, !llvm.loop !37

409:                                              ; preds = %389
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  %411 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %411, i32 0, i32 31
  store ptr %410, ptr %412, align 8, !tbaa !21
  br label %413

413:                                              ; preds = %409, %75
  %414 = load ptr, ptr %5, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %414, i32 0, i32 112
  %416 = call i32 @_tx_mutex_put(ptr noundef %415)
  store i32 0, ptr %4, align 4
  store i32 1, ptr %15, align 4
  br label %417

417:                                              ; preds = %413, %253, %102, %52, %46, %40
  call void @llvm.lifetime.end.p0(i64 136, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  %418 = load i32, ptr %4, align 4
  ret i32 %418
}

; 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 @_fx_directory_search(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @_tx_mutex_put(ptr noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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


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

@_tx_thread_current_ptr = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 18) i32 @_fx_directory_local_path_set(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = alloca %struct.FX_DIR_ENTRY_STRUCT, align 8
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %4) #4
  %5 = getelementptr inbounds i8, ptr %0, i64 440
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = add i64 %6, 1
  store i64 %7, ptr %5, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 3144
  store ptr %8, ptr %4, align 8, !tbaa !16
  %9 = getelementptr inbounds i8, ptr %1, i64 392
  store ptr %9, ptr %1, align 8, !tbaa !17
  %10 = getelementptr inbounds i8, ptr %4, i64 8
  store i8 0, ptr %10, align 8, !tbaa !18
  store i8 0, ptr %8, align 1, !tbaa !18
  %11 = load i64, ptr %0, align 8, !tbaa !19
  %.not = icmp eq i64 %11, 1296385097
  br i1 %.not, label %12, label %160

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

15:                                               ; preds = %12
  %.not119 = icmp eq ptr %2, null
  br i1 %.not119, label %22, label %16

16:                                               ; preds = %15
  %17 = load i8, ptr %2, align 1, !tbaa !18
  switch i8 %17, label %26 [
    i8 92, label %18
    i8 47, label %18
  ]

18:                                               ; preds = %16, %16
  %19 = getelementptr inbounds i8, ptr %2, i64 1
  %20 = load i8, ptr %19, align 1, !tbaa !18
  %21 = icmp eq i8 %20, 0
  br i1 %21, label %22, label %26

22:                                               ; preds = %18, %15
  %23 = load ptr, ptr %1, align 8, !tbaa !17
  store i8 0, ptr %23, align 1, !tbaa !18
  %24 = getelementptr inbounds i8, ptr %1, i64 136
  store i8 0, ptr %24, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %1, i64 390
  store i8 0, ptr %25, align 2, !tbaa !18
  br label %.sink.split.sink.split

26:                                               ; preds = %16, %18
  %27 = call i32 @_fx_directory_search(ptr noundef nonnull %0, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef null, ptr noundef null) #4
  %.not120 = icmp eq i32 %27, 0
  br i1 %.not120, label %28, label %.sink.split

28:                                               ; preds = %26
  %29 = getelementptr inbounds i8, ptr %4, i64 32
  %30 = load i8, ptr %29, align 8, !tbaa !20
  %31 = and i8 %30, 16
  %.not121 = icmp eq i8 %31, 0
  br i1 %.not121, label %.sink.split, label %32

32:                                               ; preds = %28
  %33 = getelementptr inbounds i8, ptr %1, i64 136
  %34 = load i8, ptr %2, align 1, !tbaa !18
  switch i8 %34, label %35 [
    i8 92, label %103
    i8 47, label %103
  ]

35:                                               ; preds = %32
  %36 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !21
  %37 = getelementptr inbounds i8, ptr %36, i64 272
  %38 = load ptr, ptr %37, align 8, !tbaa !22
  %.not124 = icmp eq ptr %38, %1
  br i1 %.not124, label %.loopexit, label %39

39:                                               ; preds = %35
  %.not125 = icmp eq ptr %38, null
  br i1 %.not125, label %.preheader150, label %.preheader151

.preheader150:                                    ; preds = %39
  %40 = getelementptr inbounds i8, ptr %0, i64 1848
  br label %50

.preheader151:                                    ; preds = %39, %.preheader151
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader151 ], [ 0, %39 ]
  %41 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !21
  %42 = getelementptr inbounds i8, ptr %41, i64 272
  %43 = load ptr, ptr %42, align 8, !tbaa !22
  %44 = getelementptr inbounds i8, ptr %43, i64 136
  %45 = getelementptr inbounds [256 x i8], ptr %44, i64 0, i64 %indvars.iv
  %46 = load i8, ptr %45, align 1, !tbaa !18
  %47 = getelementptr inbounds [256 x i8], ptr %33, i64 0, i64 %indvars.iv
  store i8 %46, ptr %47, align 1, !tbaa !18
  %48 = icmp ne i8 %46, 0
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %49 = icmp ult i64 %indvars.iv, 255
  %or.cond135 = and i1 %49, %48
  br i1 %or.cond135, label %.preheader151, label %.loopexit, !llvm.loop !25

50:                                               ; preds = %.preheader150, %50
  %indvars.iv184 = phi i64 [ 0, %.preheader150 ], [ %indvars.iv.next185, %50 ]
  %51 = getelementptr inbounds [256 x i8], ptr %40, i64 0, i64 %indvars.iv184
  %52 = load i8, ptr %51, align 1, !tbaa !18
  %53 = getelementptr inbounds [256 x i8], ptr %33, i64 0, i64 %indvars.iv184
  store i8 %52, ptr %53, align 1, !tbaa !18
  %54 = icmp ne i8 %52, 0
  %indvars.iv.next185 = add nuw nsw i64 %indvars.iv184, 1
  %55 = icmp ult i64 %indvars.iv184, 255
  %or.cond137 = and i1 %55, %54
  br i1 %or.cond137, label %50, label %.loopexit, !llvm.loop !27

.loopexit:                                        ; preds = %.preheader151, %50, %35
  %56 = getelementptr inbounds i8, ptr %1, i64 390
  %57 = load i8, ptr %56, align 2, !tbaa !18
  %58 = icmp eq i8 %57, 42
  br i1 %58, label %59, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.loopexit
  %scevgep = getelementptr i8, ptr %1, i64 391
  br label %.preheader

59:                                               ; preds = %.loopexit
  %60 = getelementptr inbounds i8, ptr %4, i64 56
  %61 = load i64, ptr %60, align 8, !tbaa !28
  %.not133 = icmp eq i64 %61, 0
  br i1 %.not133, label %62, label %64

62:                                               ; preds = %59
  %63 = load ptr, ptr %4, align 8, !tbaa !16
  store i8 0, ptr %63, align 1, !tbaa !18
  store i8 0, ptr %33, align 8, !tbaa !18
  store i8 0, ptr %56, align 2, !tbaa !18
  br label %64

64:                                               ; preds = %62, %59
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(136) %1, ptr noundef nonnull align 8 dereferenceable(136) %4, i64 136, i1 false), !tbaa.struct !29
  store ptr %9, ptr %1, align 8, !tbaa !17
  br label %65

65:                                               ; preds = %65, %64
  %indvars.iv191 = phi i64 [ 0, %64 ], [ %indvars.iv.next192.3, %65 ]
  %66 = load ptr, ptr %4, align 8, !tbaa !16
  %67 = getelementptr inbounds i8, ptr %66, i64 %indvars.iv191
  %68 = load i8, ptr %67, align 1, !tbaa !18
  %69 = load ptr, ptr %1, align 8, !tbaa !17
  %70 = getelementptr inbounds i8, ptr %69, i64 %indvars.iv191
  store i8 %68, ptr %70, align 1, !tbaa !18
  %indvars.iv.next192 = or disjoint i64 %indvars.iv191, 1
  %71 = load ptr, ptr %4, align 8, !tbaa !16
  %72 = getelementptr inbounds i8, ptr %71, i64 %indvars.iv.next192
  %73 = load i8, ptr %72, align 1, !tbaa !18
  %74 = load ptr, ptr %1, align 8, !tbaa !17
  %75 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv.next192
  store i8 %73, ptr %75, align 1, !tbaa !18
  %indvars.iv.next192.1 = or disjoint i64 %indvars.iv191, 2
  %76 = load ptr, ptr %4, align 8, !tbaa !16
  %77 = getelementptr inbounds i8, ptr %76, i64 %indvars.iv.next192.1
  %78 = load i8, ptr %77, align 1, !tbaa !18
  %79 = load ptr, ptr %1, align 8, !tbaa !17
  %80 = getelementptr inbounds i8, ptr %79, i64 %indvars.iv.next192.1
  store i8 %78, ptr %80, align 1, !tbaa !18
  %indvars.iv.next192.2 = or disjoint i64 %indvars.iv191, 3
  %81 = load ptr, ptr %4, align 8, !tbaa !16
  %82 = getelementptr inbounds i8, ptr %81, i64 %indvars.iv.next192.2
  %83 = load i8, ptr %82, align 1, !tbaa !18
  %84 = load ptr, ptr %1, align 8, !tbaa !17
  %85 = getelementptr inbounds i8, ptr %84, i64 %indvars.iv.next192.2
  store i8 %83, ptr %85, align 1, !tbaa !18
  %indvars.iv.next192.3 = add nuw nsw i64 %indvars.iv191, 4
  %exitcond194.not.3 = icmp eq i64 %indvars.iv.next192.3, 256
  br i1 %exitcond194.not.3, label %.sink.split.sink.split, label %65, !llvm.loop !33

.preheader:                                       ; preds = %96, %.preheader.preheader
  %.0100162 = phi i32 [ 255, %.preheader.preheader ], [ %97, %96 ]
  %.0102161 = phi ptr [ %33, %.preheader.preheader ], [ %95, %96 ]
  %86 = load i8, ptr %.0102161, align 1, !tbaa !18
  %.not127 = icmp eq i8 %86, 0
  %87 = getelementptr inbounds i8, ptr %.0102161, i64 1
  br i1 %.not127, label %.critedge, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader
  %88 = load i8, ptr %87, align 1, !tbaa !18
  %.not127.1 = icmp eq i8 %88, 0
  %89 = getelementptr inbounds i8, ptr %.0102161, i64 2
  br i1 %.not127.1, label %.critedge.split.loop.exit242, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %90 = load i8, ptr %89, align 1, !tbaa !18
  %.not127.2 = icmp eq i8 %90, 0
  %91 = getelementptr inbounds i8, ptr %.0102161, i64 3
  br i1 %.not127.2, label %.critedge.split.loop.exit238, label %.preheader.3

.preheader.3:                                     ; preds = %.preheader.2
  %92 = load i8, ptr %91, align 1, !tbaa !18
  %.not127.3 = icmp eq i8 %92, 0
  %93 = getelementptr inbounds i8, ptr %.0102161, i64 4
  br i1 %.not127.3, label %.critedge.split.loop.exit234, label %.preheader.4

.preheader.4:                                     ; preds = %.preheader.3
  %94 = load i8, ptr %93, align 1, !tbaa !18
  %.not127.4 = icmp eq i8 %94, 0
  %95 = getelementptr inbounds i8, ptr %.0102161, i64 5
  br i1 %.not127.4, label %.critedge.split.loop.exit, label %96

96:                                               ; preds = %.preheader.4
  %97 = add nsw i32 %.0100162, -5
  %.not126.4 = icmp eq i32 %97, 0
  br i1 %.not126.4, label %.critedge138.preheader, label %.preheader, !llvm.loop !34

.critedge.split.loop.exit:                        ; preds = %.preheader.4
  %98 = add nsw i32 %.0100162, -4
  br label %.critedge

.critedge.split.loop.exit234:                     ; preds = %.preheader.3
  %99 = add nsw i32 %.0100162, -3
  br label %.critedge

.critedge.split.loop.exit238:                     ; preds = %.preheader.2
  %100 = add nsw i32 %.0100162, -2
  br label %.critedge

.critedge.split.loop.exit242:                     ; preds = %.preheader.1
  %101 = add nsw i32 %.0100162, -1
  br label %.critedge

.critedge:                                        ; preds = %.preheader, %.critedge.split.loop.exit242, %.critedge.split.loop.exit238, %.critedge.split.loop.exit234, %.critedge.split.loop.exit
  %.0100162.lcssa = phi i32 [ %98, %.critedge.split.loop.exit ], [ %99, %.critedge.split.loop.exit234 ], [ %100, %.critedge.split.loop.exit238 ], [ %101, %.critedge.split.loop.exit242 ], [ %.0100162, %.preheader ]
  %.0102161.lcssa = phi ptr [ %93, %.critedge.split.loop.exit ], [ %91, %.critedge.split.loop.exit234 ], [ %89, %.critedge.split.loop.exit238 ], [ %87, %.critedge.split.loop.exit242 ], [ %.0102161, %.preheader ]
  %.lcssa = phi ptr [ %95, %.critedge.split.loop.exit ], [ %93, %.critedge.split.loop.exit234 ], [ %91, %.critedge.split.loop.exit238 ], [ %89, %.critedge.split.loop.exit242 ], [ %87, %.preheader ]
  store i8 92, ptr %.0102161.lcssa, align 1, !tbaa !18
  %102 = add i32 %.0100162.lcssa, -1
  br label %.critedge138.preheader

103:                                              ; preds = %32, %32
  %104 = getelementptr inbounds i8, ptr %1, i64 390
  %105 = load i8, ptr %104, align 2, !tbaa !18
  %106 = icmp eq i8 %105, 42
  br i1 %106, label %107, label %.critedge138.preheader

107:                                              ; preds = %103
  store i8 0, ptr %104, align 2, !tbaa !18
  br label %.critedge138.preheader

.critedge138.preheader:                           ; preds = %96, %103, %107, %.critedge
  %.2104.ph = phi ptr [ %.lcssa, %.critedge ], [ %33, %107 ], [ %33, %103 ], [ %scevgep, %96 ]
  %.2.ph = phi i32 [ %102, %.critedge ], [ 255, %107 ], [ 255, %103 ], [ 0, %96 ]
  br label %.critedge138

.critedge138:                                     ; preds = %.critedge138.backedge, %.critedge138.preheader
  %.0108 = phi ptr [ %2, %.critedge138.preheader ], [ %.0108.be, %.critedge138.backedge ]
  %.2104 = phi ptr [ %.2104.ph, %.critedge138.preheader ], [ %.2104.be, %.critedge138.backedge ]
  %.2 = phi i32 [ %.2.ph, %.critedge138.preheader ], [ %.2.be, %.critedge138.backedge ]
  %108 = load i8, ptr %.0108, align 1, !tbaa !18
  switch i8 %108, label %122 [
    i8 0, label %127
    i8 46, label %109
  ]

109:                                              ; preds = %.critedge138
  %110 = getelementptr inbounds i8, ptr %.0108, i64 1
  %111 = load i8, ptr %110, align 1, !tbaa !18
  %112 = icmp eq i8 %111, 46
  br i1 %112, label %113, label %.thread140

113:                                              ; preds = %109
  %114 = add i32 %.2, 2
  %115 = getelementptr inbounds i8, ptr %.2104, i64 -2
  %116 = icmp ult i32 %114, 256
  br i1 %116, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %113, %118
  %.3164 = phi i32 [ %119, %118 ], [ %114, %113 ]
  %.3105163 = phi ptr [ %120, %118 ], [ %115, %113 ]
  %117 = load i8, ptr %.3105163, align 1, !tbaa !18
  switch i8 %117, label %118 [
    i8 92, label %._crit_edge
    i8 47, label %._crit_edge
  ]

118:                                              ; preds = %.lr.ph
  %119 = add i32 %.3164, 1
  %120 = getelementptr inbounds i8, ptr %.3105163, i64 -1
  %exitcond.not = icmp eq i32 %119, 256
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !35

._crit_edge:                                      ; preds = %118, %.lr.ph, %.lr.ph, %113
  %.3105.lcssa = phi ptr [ %115, %113 ], [ %.3105163, %.lr.ph ], [ %.3105163, %.lr.ph ], [ %120, %118 ]
  %.3.lcssa = phi i32 [ %114, %113 ], [ %.3164, %.lr.ph ], [ %.3164, %.lr.ph ], [ 256, %118 ]
  %121 = getelementptr inbounds i8, ptr %.0108, i64 2
  br label %.critedge138.backedge

122:                                              ; preds = %.critedge138
  %cond = icmp eq i32 %.2, 0
  br i1 %cond, label %129, label %123

.thread140:                                       ; preds = %109
  %cond141 = icmp eq i32 %.2, 0
  br i1 %cond141, label %.thread142, label %123

123:                                              ; preds = %.thread140, %122
  %124 = getelementptr inbounds i8, ptr %.0108, i64 1
  %125 = getelementptr inbounds i8, ptr %.2104, i64 1
  store i8 %108, ptr %.2104, align 1, !tbaa !18
  %126 = add i32 %.2, -1
  br label %.critedge138.backedge

.critedge138.backedge:                            ; preds = %123, %._crit_edge
  %.0108.be = phi ptr [ %121, %._crit_edge ], [ %124, %123 ]
  %.2104.be = phi ptr [ %.3105.lcssa, %._crit_edge ], [ %125, %123 ]
  %.2.be = phi i32 [ %.3.lcssa, %._crit_edge ], [ %126, %123 ]
  br label %.critedge138, !llvm.loop !36

127:                                              ; preds = %.critedge138
  %.not130 = icmp eq i32 %.2, 0
  br i1 %.not130, label %.thread, label %128

128:                                              ; preds = %127
  store i8 0, ptr %.2104, align 1, !tbaa !18
  br label %.thread

129:                                              ; preds = %122
  %.not131 = icmp eq i8 %108, 0
  br i1 %.not131, label %.thread, label %.thread142

.thread142:                                       ; preds = %.thread140, %129
  %130 = getelementptr inbounds i8, ptr %1, i64 390
  store i8 42, ptr %130, align 2, !tbaa !18
  br label %.thread

.thread:                                          ; preds = %127, %129, %.thread142, %128
  %131 = getelementptr inbounds i8, ptr %4, i64 56
  %132 = load i64, ptr %131, align 8, !tbaa !28
  %.not132 = icmp eq i64 %132, 0
  br i1 %.not132, label %133, label %135

133:                                              ; preds = %.thread
  %134 = load ptr, ptr %4, align 8, !tbaa !16
  store i8 0, ptr %134, align 1, !tbaa !18
  store i8 0, ptr %9, align 8, !tbaa !18
  br label %135

135:                                              ; preds = %133, %.thread
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(136) %1, ptr noundef nonnull align 8 dereferenceable(136) %4, i64 136, i1 false), !tbaa.struct !29
  store ptr %9, ptr %1, align 8, !tbaa !17
  br label %136

136:                                              ; preds = %136, %135
  %indvars.iv187 = phi i64 [ 0, %135 ], [ %indvars.iv.next188.3, %136 ]
  %137 = load ptr, ptr %4, align 8, !tbaa !16
  %138 = getelementptr inbounds i8, ptr %137, i64 %indvars.iv187
  %139 = load i8, ptr %138, align 1, !tbaa !18
  %140 = load ptr, ptr %1, align 8, !tbaa !17
  %141 = getelementptr inbounds i8, ptr %140, i64 %indvars.iv187
  store i8 %139, ptr %141, align 1, !tbaa !18
  %indvars.iv.next188 = or disjoint i64 %indvars.iv187, 1
  %142 = load ptr, ptr %4, align 8, !tbaa !16
  %143 = getelementptr inbounds i8, ptr %142, i64 %indvars.iv.next188
  %144 = load i8, ptr %143, align 1, !tbaa !18
  %145 = load ptr, ptr %1, align 8, !tbaa !17
  %146 = getelementptr inbounds i8, ptr %145, i64 %indvars.iv.next188
  store i8 %144, ptr %146, align 1, !tbaa !18
  %indvars.iv.next188.1 = or disjoint i64 %indvars.iv187, 2
  %147 = load ptr, ptr %4, align 8, !tbaa !16
  %148 = getelementptr inbounds i8, ptr %147, i64 %indvars.iv.next188.1
  %149 = load i8, ptr %148, align 1, !tbaa !18
  %150 = load ptr, ptr %1, align 8, !tbaa !17
  %151 = getelementptr inbounds i8, ptr %150, i64 %indvars.iv.next188.1
  store i8 %149, ptr %151, align 1, !tbaa !18
  %indvars.iv.next188.2 = or disjoint i64 %indvars.iv187, 3
  %152 = load ptr, ptr %4, align 8, !tbaa !16
  %153 = getelementptr inbounds i8, ptr %152, i64 %indvars.iv.next188.2
  %154 = load i8, ptr %153, align 1, !tbaa !18
  %155 = load ptr, ptr %1, align 8, !tbaa !17
  %156 = getelementptr inbounds i8, ptr %155, i64 %indvars.iv.next188.2
  store i8 %154, ptr %156, align 1, !tbaa !18
  %indvars.iv.next188.3 = add nuw nsw i64 %indvars.iv187, 4
  %exitcond190.not.3 = icmp eq i64 %indvars.iv.next188.3, 256
  br i1 %exitcond190.not.3, label %.sink.split.sink.split, label %136, !llvm.loop !37

.sink.split.sink.split:                           ; preds = %136, %65, %22
  %157 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !21
  %158 = getelementptr inbounds i8, ptr %157, i64 272
  store ptr %1, ptr %158, align 8, !tbaa !22
  br label %.sink.split

.sink.split:                                      ; preds = %.sink.split.sink.split, %26, %28
  %.0107.ph = phi i32 [ 13, %28 ], [ 13, %26 ], [ 0, %.sink.split.sink.split ]
  %159 = call i32 @_tx_mutex_put(ptr noundef nonnull %13) #4
  br label %160

160:                                              ; preds = %.sink.split, %12, %3
  %.0107 = phi i32 [ 17, %3 ], [ 17, %12 ], [ %.0107.ph, %.sink.split ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %4) #4
  ret i32 %.0107
}

; 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 @_fx_directory_search(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @_tx_mutex_put(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 440}
!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 = !{!14, !10, i64 0}
!17 = !{!15, !10, i64 0}
!18 = !{!8, !8, i64 0}
!19 = !{!6, !7, i64 0}
!20 = !{!14, !8, i64 32}
!21 = !{!10, !10, i64 0}
!22 = !{!23, !10, i64 272}
!23 = !{!"TX_THREAD_STRUCT", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !10, i64 112, !10, i64 120, !7, i64 128, !24, i64 136, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !7, i64 224, !10, i64 232, !11, i64 240, !11, i64 244, !10, i64 248, !10, i64 256, !10, i64 264, !10, i64 272, !11, i64 280, !11, i64 284, !11, i64 288, !11, i64 292, !10, i64 296, !10, i64 304, !10, i64 312, !7, i64 320}
!24 = !{!"TX_TIMER_INTERNAL_STRUCT", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!14, !7, i64 56}
!29 = !{i64 0, i64 8, !21, i64 8, i64 13, !18, i64 24, i64 4, !30, i64 28, i64 4, !30, i64 32, i64 1, !18, i64 33, i64 1, !18, i64 34, i64 1, !18, i64 36, i64 4, !30, i64 40, i64 4, !30, i64 44, i64 4, !30, i64 48, i64 4, !30, i64 52, i64 4, !30, i64 56, i64 8, !31, i64 64, i64 8, !32, i64 72, i64 8, !32, i64 80, i64 8, !31, i64 88, i64 8, !31, i64 96, i64 8, !31, i64 104, i64 8, !31, i64 112, i64 8, !32, i64 120, i64 8, !31, i64 128, i64 8, !32}
!30 = !{!11, !11, i64 0}
!31 = !{!7, !7, i64 0}
!32 = !{!12, !12, i64 0}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26}
!35 = distinct !{!35, !26}
!36 = distinct !{!36, !26}
!37 = distinct !{!37, !26}


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