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

; 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_next_entry_find(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %struct.FX_DIR_ENTRY_STRUCT, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  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 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 136, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store ptr null, ptr %16, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %20, i32 0, i32 66
  %22 = load i64, ptr %21, align 8, !tbaa !11
  %23 = add i64 %22, 1
  store i64 %23, ptr %21, align 8, !tbaa !11
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %24, i32 0, i32 122
  %26 = getelementptr inbounds [1024 x i8], ptr %25, i64 0, i64 0
  %27 = getelementptr inbounds i8, ptr %26, i64 256
  %28 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  store ptr %27, ptr %28, align 8, !tbaa !18
  %29 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 1
  %30 = getelementptr inbounds [13 x i8], ptr %29, i64 0, i64 0
  store i8 0, ptr %30, align 8, !tbaa !19
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %31, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !20
  %34 = icmp ne i64 %33, 1296385097
  br i1 %34, label %35, label %36

35:                                               ; preds = %2
  store i32 17, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

36:                                               ; preds = %2
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %37, i32 0, i32 0
  %39 = load i64, ptr %38, align 8, !tbaa !20
  %40 = icmp ne i64 %39, 1296385097
  br i1 %40, label %41, label %42

41:                                               ; preds = %36
  store i32 17, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

42:                                               ; preds = %36
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %43, i32 0, i32 112
  %45 = call i32 @_tx_mutex_get(ptr noundef %44, i64 noundef 4294967295)
  %46 = icmp ne i32 %45, 0
  br i1 %46, label %47, label %48

47:                                               ; preds = %42
  store i32 17, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

48:                                               ; preds = %42
  br label %49

49:                                               ; preds = %48
  %50 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %50, i32 0, i32 31
  %52 = load ptr, ptr %51, align 8, !tbaa !21
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %75

54:                                               ; preds = %49
  %55 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %55, i32 0, i32 31
  %57 = load ptr, ptr %56, align 8, !tbaa !21
  store ptr %57, ptr %14, align 8, !tbaa !5
  %58 = load ptr, ptr %14, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %59, i32 0, i32 0
  %61 = load ptr, ptr %60, align 8, !tbaa !24
  %62 = getelementptr inbounds i8, ptr %61, i64 0
  %63 = load i8, ptr %62, align 1, !tbaa !19
  %64 = icmp ne i8 %63, 0
  br i1 %64, label %65, label %73

65:                                               ; preds = %54
  %66 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.TX_THREAD_STRUCT, ptr %66, i32 0, i32 31
  %68 = load ptr, ptr %67, align 8, !tbaa !21
  %69 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %68, i32 0, i32 1
  %70 = getelementptr inbounds [256 x i8], ptr %69, i64 0, i64 0
  store ptr %70, ptr %16, align 8, !tbaa !5
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %71, i32 0, i32 0
  store ptr %72, ptr %13, align 8, !tbaa !5
  br label %74

73:                                               ; preds = %54
  store ptr null, ptr %13, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %73, %65
  br label %97

75:                                               ; preds = %49
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %76, i32 0, i32 118
  %78 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %78, i32 0, i32 0
  %80 = load ptr, ptr %79, align 8, !tbaa !25
  %81 = getelementptr inbounds i8, ptr %80, i64 0
  %82 = load i8, ptr %81, align 1, !tbaa !19
  %83 = icmp ne i8 %82, 0
  br i1 %83, label %84, label %93

84:                                               ; preds = %75
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %85, i32 0, i32 118
  store ptr %86, ptr %14, align 8, !tbaa !5
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %87, i32 0, i32 118
  %89 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %88, i32 0, i32 1
  %90 = getelementptr inbounds [256 x i8], ptr %89, i64 0, i64 0
  store ptr %90, ptr %16, align 8, !tbaa !5
  %91 = load ptr, ptr %14, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %91, i32 0, i32 0
  store ptr %92, ptr %13, align 8, !tbaa !5
  br label %96

93:                                               ; preds = %75
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %94, i32 0, i32 118
  store ptr %95, ptr %14, align 8, !tbaa !5
  store ptr null, ptr %13, align 8, !tbaa !5
  br label %96

96:                                               ; preds = %93, %84
  br label %97

97:                                               ; preds = %96, %74
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = icmp ne ptr %98, null
  br i1 %99, label %100, label %170

100:                                              ; preds = %97
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %101, i32 0, i32 3
  %103 = load i64, ptr %102, align 8, !tbaa !26
  %104 = icmp ne i64 %103, 0
  br i1 %104, label %105, label %109

105:                                              ; preds = %100
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %106, i32 0, i32 13
  %108 = load i64, ptr %107, align 8, !tbaa !27
  store i64 %108, ptr %11, align 8, !tbaa !28
  br label %169

109:                                              ; preds = %100
  %110 = load ptr, ptr %13, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %110, i32 0, i32 17
  store i64 0, ptr %111, align 8, !tbaa !29
  store i64 0, ptr %6, align 8, !tbaa !9
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %112, i32 0, i32 12
  %114 = load i64, ptr %113, align 8, !tbaa !30
  store i64 %114, ptr %9, align 8, !tbaa !9
  br label %115

115:                                              ; preds = %151, %109
  %116 = load i64, ptr %9, align 8, !tbaa !9
  %117 = load ptr, ptr %4, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %117, i32 0, i32 126
  %119 = load i64, ptr %118, align 8, !tbaa !31
  %120 = icmp ult i64 %116, %119
  br i1 %120, label %121, label %153

121:                                              ; preds = %115
  %122 = load i64, ptr %6, align 8, !tbaa !9
  %123 = add i64 %122, 1
  store i64 %123, ptr %6, align 8, !tbaa !9
  %124 = load ptr, ptr %4, align 8, !tbaa !5
  %125 = load i64, ptr %9, align 8, !tbaa !9
  %126 = call i32 @_fx_utility_FAT_entry_read(ptr noundef %124, i64 noundef %125, ptr noundef %10)
  store i32 %126, ptr %7, align 4, !tbaa !32
  %127 = load i32, ptr %7, align 4, !tbaa !32
  %128 = icmp ne i32 %127, 0
  br i1 %128, label %129, label %134

129:                                              ; preds = %121
  %130 = load ptr, ptr %4, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %130, i32 0, i32 112
  %132 = call i32 @_tx_mutex_put(ptr noundef %131)
  %133 = load i32, ptr %7, align 4, !tbaa !32
  store i32 %133, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

134:                                              ; preds = %121
  %135 = load i64, ptr %9, align 8, !tbaa !9
  %136 = icmp ult i64 %135, 2
  br i1 %136, label %147, label %137

137:                                              ; preds = %134
  %138 = load i64, ptr %9, align 8, !tbaa !9
  %139 = load i64, ptr %10, align 8, !tbaa !9
  %140 = icmp eq i64 %138, %139
  br i1 %140, label %147, label %141

141:                                              ; preds = %137
  %142 = load i64, ptr %6, align 8, !tbaa !9
  %143 = load ptr, ptr %4, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %143, i32 0, i32 14
  %145 = load i64, ptr %144, align 8, !tbaa !33
  %146 = icmp ugt i64 %142, %145
  br i1 %146, label %147, label %151

147:                                              ; preds = %141, %137, %134
  %148 = load ptr, ptr %4, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %148, i32 0, i32 112
  %150 = call i32 @_tx_mutex_put(ptr noundef %149)
  store i32 3, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

151:                                              ; preds = %141
  %152 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %152, ptr %9, align 8, !tbaa !9
  br label %115, !llvm.loop !34

153:                                              ; preds = %115
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %154, i32 0, i32 10
  %156 = load i32, ptr %155, align 8, !tbaa !36
  %157 = zext i32 %156 to i64
  %158 = load ptr, ptr %4, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %158, i32 0, i32 19
  %160 = load i32, ptr %159, align 8, !tbaa !37
  %161 = zext i32 %160 to i64
  %162 = mul i64 %157, %161
  %163 = load i64, ptr %6, align 8, !tbaa !9
  %164 = mul i64 %162, %163
  %165 = udiv i64 %164, 32
  store i64 %165, ptr %11, align 8, !tbaa !28
  %166 = load i64, ptr %11, align 8, !tbaa !28
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %167, i32 0, i32 13
  store i64 %166, ptr %168, align 8, !tbaa !27
  br label %169

169:                                              ; preds = %153, %105
  br label %175

170:                                              ; preds = %97
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %171, i32 0, i32 28
  %173 = load i32, ptr %172, align 8, !tbaa !38
  %174 = zext i32 %173 to i64
  store i64 %174, ptr %11, align 8, !tbaa !28
  br label %175

175:                                              ; preds = %170, %169
  store i32 15, ptr %7, align 4, !tbaa !32
  br label %176

176:                                              ; preds = %208, %175
  %177 = load ptr, ptr %14, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %177, i32 0, i32 3
  %179 = load i64, ptr %178, align 8, !tbaa !26
  %180 = load i64, ptr %11, align 8, !tbaa !28
  %181 = icmp ult i64 %179, %180
  br i1 %181, label %182, label %381

182:                                              ; preds = %176
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %185, i32 0, i32 3
  %187 = call i32 @_fx_directory_entry_read(ptr noundef %183, ptr noundef %184, ptr noundef %186, ptr noundef %12)
  store i32 %187, ptr %8, align 4, !tbaa !32
  %188 = load i32, ptr %8, align 4, !tbaa !32
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %190, label %195

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

195:                                              ; preds = %182
  %196 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %197 = load ptr, ptr %196, align 8, !tbaa !18
  %198 = getelementptr inbounds i8, ptr %197, i64 0
  %199 = load i8, ptr %198, align 1, !tbaa !19
  %200 = zext i8 %199 to i32
  %201 = icmp eq i32 %200, 229
  br i1 %201, label %202, label %213

202:                                              ; preds = %195
  %203 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 1
  %204 = getelementptr inbounds [13 x i8], ptr %203, i64 0, i64 0
  %205 = load i8, ptr %204, align 8, !tbaa !19
  %206 = sext i8 %205 to i32
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %213

208:                                              ; preds = %202
  %209 = load ptr, ptr %14, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %209, i32 0, i32 3
  %211 = load i64, ptr %210, align 8, !tbaa !26
  %212 = add i64 %211, 1
  store i64 %212, ptr %210, align 8, !tbaa !26
  br label %176, !llvm.loop !39

213:                                              ; preds = %202, %195
  %214 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %215 = load ptr, ptr %214, align 8, !tbaa !18
  %216 = getelementptr inbounds i8, ptr %215, i64 0
  %217 = load i8, ptr %216, align 1, !tbaa !19
  %218 = zext i8 %217 to i32
  %219 = icmp ne i32 %218, 0
  br i1 %219, label %220, label %380

220:                                              ; preds = %213
  store i64 0, ptr %6, align 8, !tbaa !9
  br label %221

221:                                              ; preds = %237, %220
  %222 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %223 = load ptr, ptr %222, align 8, !tbaa !18
  %224 = load i64, ptr %6, align 8, !tbaa !9
  %225 = getelementptr inbounds i8, ptr %223, i64 %224
  %226 = load i8, ptr %225, align 1, !tbaa !19
  %227 = icmp ne i8 %226, 0
  br i1 %227, label %228, label %240

228:                                              ; preds = %221
  %229 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %230 = load ptr, ptr %229, align 8, !tbaa !18
  %231 = load i64, ptr %6, align 8, !tbaa !9
  %232 = getelementptr inbounds i8, ptr %230, i64 %231
  %233 = load i8, ptr %232, align 1, !tbaa !19
  %234 = load ptr, ptr %5, align 8, !tbaa !5
  store i8 %233, ptr %234, align 1, !tbaa !19
  %235 = load ptr, ptr %5, align 8, !tbaa !5
  %236 = getelementptr inbounds i8, ptr %235, i32 1
  store ptr %236, ptr %5, align 8, !tbaa !5
  br label %237

237:                                              ; preds = %228
  %238 = load i64, ptr %6, align 8, !tbaa !9
  %239 = add i64 %238, 1
  store i64 %239, ptr %6, align 8, !tbaa !9
  br label %221, !llvm.loop !40

240:                                              ; preds = %221
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  store i8 0, ptr %241, align 1, !tbaa !19
  %242 = load ptr, ptr %14, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.FX_PATH_STRUCT, ptr %242, i32 0, i32 3
  %244 = load i64, ptr %243, align 8, !tbaa !26
  %245 = add i64 %244, 1
  store i64 %245, ptr %243, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %18, align 4, !tbaa !32
  %246 = load ptr, ptr %16, align 8, !tbaa !5
  %247 = icmp ne ptr %246, null
  br i1 %247, label %248, label %276

248:                                              ; preds = %240
  br label %249

249:                                              ; preds = %262, %248
  %250 = load i32, ptr %18, align 4, !tbaa !32
  %251 = icmp ult i32 %250, 255
  br i1 %251, label %252, label %260

252:                                              ; preds = %249
  %253 = load ptr, ptr %16, align 8, !tbaa !5
  %254 = load i32, ptr %18, align 4, !tbaa !32
  %255 = zext i32 %254 to i64
  %256 = getelementptr inbounds i8, ptr %253, i64 %255
  %257 = load i8, ptr %256, align 1, !tbaa !19
  %258 = sext i8 %257 to i32
  %259 = icmp ne i32 %258, 0
  br label %260

260:                                              ; preds = %252, %249
  %261 = phi i1 [ false, %249 ], [ %259, %252 ]
  br i1 %261, label %262, label %275

262:                                              ; preds = %260
  %263 = load ptr, ptr %16, align 8, !tbaa !5
  %264 = load i32, ptr %18, align 4, !tbaa !32
  %265 = zext i32 %264 to i64
  %266 = getelementptr inbounds i8, ptr %263, i64 %265
  %267 = load i8, ptr %266, align 1, !tbaa !19
  %268 = load ptr, ptr %4, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %268, i32 0, i32 117
  %270 = load i32, ptr %18, align 4, !tbaa !32
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds [256 x i8], ptr %269, i64 0, i64 %271
  store i8 %267, ptr %272, align 1, !tbaa !19
  %273 = load i32, ptr %18, align 4, !tbaa !32
  %274 = add i32 %273, 1
  store i32 %274, ptr %18, align 4, !tbaa !32
  br label %249, !llvm.loop !41

275:                                              ; preds = %260
  br label %276

276:                                              ; preds = %275, %240
  %277 = load ptr, ptr %4, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %277, i32 0, i32 117
  %279 = load i32, ptr %18, align 4, !tbaa !32
  %280 = add i32 %279, 1
  store i32 %280, ptr %18, align 4, !tbaa !32
  %281 = zext i32 %279 to i64
  %282 = getelementptr inbounds [256 x i8], ptr %278, i64 0, i64 %281
  store i8 47, ptr %282, align 1, !tbaa !19
  store i32 0, ptr %19, align 4, !tbaa !32
  br label %283

283:                                              ; preds = %297, %276
  %284 = load i32, ptr %18, align 4, !tbaa !32
  %285 = icmp ult i32 %284, 256
  br i1 %285, label %286, label %295

286:                                              ; preds = %283
  %287 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !18
  %289 = load i32, ptr %19, align 4, !tbaa !32
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds i8, ptr %288, i64 %290
  %292 = load i8, ptr %291, align 1, !tbaa !19
  %293 = sext i8 %292 to i32
  %294 = icmp ne i32 %293, 0
  br label %295

295:                                              ; preds = %286, %283
  %296 = phi i1 [ false, %283 ], [ %294, %286 ]
  br i1 %296, label %297, label %313

297:                                              ; preds = %295
  %298 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8, !tbaa !18
  %300 = load i32, ptr %19, align 4, !tbaa !32
  %301 = zext i32 %300 to i64
  %302 = getelementptr inbounds i8, ptr %299, i64 %301
  %303 = load i8, ptr %302, align 1, !tbaa !19
  %304 = load ptr, ptr %4, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %304, i32 0, i32 117
  %306 = load i32, ptr %18, align 4, !tbaa !32
  %307 = zext i32 %306 to i64
  %308 = getelementptr inbounds [256 x i8], ptr %305, i64 0, i64 %307
  store i8 %303, ptr %308, align 1, !tbaa !19
  %309 = load i32, ptr %18, align 4, !tbaa !32
  %310 = add i32 %309, 1
  store i32 %310, ptr %18, align 4, !tbaa !32
  %311 = load i32, ptr %19, align 4, !tbaa !32
  %312 = add i32 %311, 1
  store i32 %312, ptr %19, align 4, !tbaa !32
  br label %283, !llvm.loop !42

313:                                              ; preds = %295
  %314 = load i32, ptr %18, align 4, !tbaa !32
  %315 = icmp ult i32 %314, 256
  br i1 %315, label %316, label %322

316:                                              ; preds = %313
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %317, i32 0, i32 117
  %319 = load i32, ptr %18, align 4, !tbaa !32
  %320 = zext i32 %319 to i64
  %321 = getelementptr inbounds [256 x i8], ptr %318, i64 0, i64 %320
  store i8 0, ptr %321, align 1, !tbaa !19
  br label %326

322:                                              ; preds = %313
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %323, i32 0, i32 117
  %325 = getelementptr inbounds [256 x i8], ptr %324, i64 0, i64 0
  store i8 0, ptr %325, align 8, !tbaa !19
  br label %326

326:                                              ; preds = %322, %316
  %327 = load ptr, ptr %13, align 8, !tbaa !5
  %328 = icmp ne ptr %327, null
  br i1 %328, label %329, label %335

329:                                              ; preds = %326
  %330 = load ptr, ptr %4, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %330, i32 0, i32 114
  %332 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %331, ptr align 8 %332, i64 136, i1 false), !tbaa.struct !43
  %333 = load ptr, ptr %4, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %333, i32 0, i32 113
  store i32 1, ptr %334, align 8, !tbaa !44
  br label %338

335:                                              ; preds = %326
  %336 = load ptr, ptr %4, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %336, i32 0, i32 113
  store i32 0, ptr %337, align 8, !tbaa !44
  br label %338

338:                                              ; preds = %335, %329
  %339 = load ptr, ptr %4, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %339, i32 0, i32 115
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %340, ptr align 8 %12, i64 136, i1 false), !tbaa.struct !43
  %341 = load ptr, ptr %4, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %341, i32 0, i32 116
  %343 = getelementptr inbounds [256 x i8], ptr %342, i64 0, i64 0
  %344 = load ptr, ptr %4, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %344, i32 0, i32 115
  %346 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %345, i32 0, i32 0
  store ptr %343, ptr %346, align 8, !tbaa !45
  store i32 0, ptr %15, align 4, !tbaa !32
  br label %347

347:                                              ; preds = %376, %338
  %348 = load i32, ptr %15, align 4, !tbaa !32
  %349 = icmp ult i32 %348, 256
  br i1 %349, label %350, label %379

350:                                              ; preds = %347
  %351 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %352 = load ptr, ptr %351, align 8, !tbaa !18
  %353 = load i32, ptr %15, align 4, !tbaa !32
  %354 = zext i32 %353 to i64
  %355 = getelementptr inbounds i8, ptr %352, i64 %354
  %356 = load i8, ptr %355, align 1, !tbaa !19
  %357 = load ptr, ptr %4, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %357, i32 0, i32 116
  %359 = load i32, ptr %15, align 4, !tbaa !32
  %360 = zext i32 %359 to i64
  %361 = getelementptr inbounds [256 x i8], ptr %358, i64 0, i64 %360
  store i8 %356, ptr %361, align 1, !tbaa !19
  %362 = getelementptr inbounds %struct.FX_DIR_ENTRY_STRUCT, ptr %12, i32 0, i32 0
  %363 = load ptr, ptr %362, align 8, !tbaa !18
  %364 = load i32, ptr %15, align 4, !tbaa !32
  %365 = zext i32 %364 to i64
  %366 = getelementptr inbounds i8, ptr %363, i64 %365
  %367 = load i8, ptr %366, align 1, !tbaa !19
  %368 = sext i8 %367 to i32
  %369 = icmp eq i32 %368, 0
  br i1 %369, label %370, label %375

370:                                              ; preds = %350
  %371 = load i32, ptr %18, align 4, !tbaa !32
  %372 = icmp ult i32 %371, 255
  br i1 %372, label %373, label %374

373:                                              ; preds = %370
  br label %379

374:                                              ; preds = %370
  br label %375

375:                                              ; preds = %374, %350
  br label %376

376:                                              ; preds = %375
  %377 = load i32, ptr %15, align 4, !tbaa !32
  %378 = add i32 %377, 1
  store i32 %378, ptr %15, align 4, !tbaa !32
  br label %347, !llvm.loop !46

379:                                              ; preds = %373, %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  store i32 0, ptr %7, align 4, !tbaa !32
  br label %381

380:                                              ; preds = %213
  store i32 15, ptr %7, align 4, !tbaa !32
  br label %381

381:                                              ; preds = %380, %379, %176
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.FX_MEDIA_STRUCT, ptr %382, i32 0, i32 112
  %384 = call i32 @_tx_mutex_put(ptr noundef %383)
  %385 = load i32, ptr %7, align 4, !tbaa !32
  store i32 %385, ptr %3, align 4
  store i32 1, ptr %17, align 4
  br label %386

386:                                              ; preds = %381, %190, %147, %129, %47, %41, %35
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 136, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  %387 = load i32, ptr %3, align 4
  ret i32 %387
}

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

declare i32 @_tx_mutex_put(ptr noundef) #2

declare i32 @_fx_directory_entry_read(ptr noundef, ptr noundef, ptr noundef, 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, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 456}
!12 = !{!"FX_MEDIA_STRUCT", !10, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !13, i64 32, !10, i64 40, !6, i64 48, !6, i64 56, !10, i64 64, !10, i64 72, !13, i64 80, !13, i64 84, !13, i64 88, !14, i64 96, !10, i64 104, !13, i64 112, !13, i64 116, !13, i64 120, !13, i64 124, !13, i64 128, !13, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !10, i64 152, !13, i64 160, !10, i64 168, !10, i64 176, !13, i64 184, !10, i64 192, !10, i64 200, !6, i64 208, !13, i64 216, !13, i64 220, !6, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !13, i64 256, !13, i64 260, !13, i64 264, !13, i64 268, !13, i64 272, !13, i64 276, !13, 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, !15, i64 824, !13, i64 920, !16, i64 928, !16, i64 1064, !7, i64 1200, !7, i64 1456, !17, 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}
!13 = !{!"int", !7, i64 0}
!14 = !{!"long long", !7, i64 0}
!15 = !{!"TX_MUTEX_STRUCT", !10, i64 0, !6, i64 8, !13, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !6, i64 40, !13, i64 48, !6, i64 56, !6, i64 64, !13, i64 72, !6, i64 80, !6, i64 88}
!16 = !{!"FX_DIR_ENTRY_STRUCT", !6, i64 0, !7, i64 8, !13, i64 24, !13, i64 28, !7, i64 32, !7, i64 33, !7, i64 34, !13, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52, !10, i64 56, !14, i64 64, !14, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !14, i64 112, !10, i64 120, !14, i64 128}
!17 = !{!"FX_PATH_STRUCT", !16, i64 0, !7, i64 136, !7, i64 392, !10, i64 648}
!18 = !{!16, !6, i64 0}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !10, i64 0}
!21 = !{!22, !6, i64 272}
!22 = !{!"TX_THREAD_STRUCT", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !13, i64 92, !13, i64 96, !13, i64 100, !13, i64 104, !6, i64 112, !6, i64 120, !10, i64 128, !23, i64 136, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !10, i64 224, !6, i64 232, !13, i64 240, !13, i64 244, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !13, i64 280, !13, i64 284, !13, i64 288, !13, i64 292, !6, i64 296, !6, i64 304, !6, i64 312, !10, i64 320}
!23 = !{!"TX_TIMER_INTERNAL_STRUCT", !10, i64 0, !10, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!24 = !{!17, !6, i64 0}
!25 = !{!12, !6, i64 1712}
!26 = !{!17, !10, i64 648}
!27 = !{!16, !14, i64 64}
!28 = !{!14, !14, i64 0}
!29 = !{!16, !10, i64 96}
!30 = !{!16, !10, i64 56}
!31 = !{!12, !10, i64 12120}
!32 = !{!13, !13, i64 0}
!33 = !{!12, !10, i64 104}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!12, !13, i64 80}
!37 = !{!12, !13, i64 128}
!38 = !{!12, !13, i64 184}
!39 = distinct !{!39, !35}
!40 = distinct !{!40, !35}
!41 = distinct !{!41, !35}
!42 = distinct !{!42, !35}
!43 = !{i64 0, i64 8, !5, i64 8, i64 13, !19, i64 24, i64 4, !32, i64 28, i64 4, !32, i64 32, i64 1, !19, i64 33, i64 1, !19, i64 34, i64 1, !19, i64 36, i64 4, !32, i64 40, i64 4, !32, i64 44, i64 4, !32, i64 48, i64 4, !32, i64 52, i64 4, !32, i64 56, i64 8, !9, i64 64, i64 8, !28, i64 72, i64 8, !28, i64 80, i64 8, !9, i64 88, i64 8, !9, i64 96, i64 8, !9, i64 104, i64 8, !9, i64 112, i64 8, !28, i64 120, i64 8, !9, i64 128, i64 8, !28}
!44 = !{!12, !13, i64 920}
!45 = !{!12, !6, i64 1064}
!46 = distinct !{!46, !35}


; 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 i32 @_fx_directory_next_entry_find(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 {
  %3 = ptrtoint ptr %0 to i64
  %4 = alloca i64, align 8
  %5 = alloca %struct.FX_DIR_ENTRY_STRUCT, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  store i64 0, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %5) #4
  %6 = getelementptr inbounds i8, ptr %0, i64 456
  %7 = load i64, ptr %6, align 8, !tbaa !9
  %8 = add i64 %7, 1
  store i64 %8, ptr %6, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %0, i64 3144
  store ptr %9, ptr %5, align 8, !tbaa !17
  %10 = getelementptr inbounds i8, ptr %5, i64 8
  store i8 0, ptr %10, align 8, !tbaa !18
  %11 = load i64, ptr %0, align 8, !tbaa !19
  %.not = icmp eq i64 %11, 1296385097
  br i1 %.not, label %12, label %188

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

15:                                               ; preds = %12
  %16 = load ptr, ptr @_tx_thread_current_ptr, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %16, i64 272
  %18 = load ptr, ptr %17, align 8, !tbaa !21
  %.not124 = icmp eq ptr %18, null
  br i1 %.not124, label %23, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr %18, align 8, !tbaa !24
  %21 = load i8, ptr %20, align 1, !tbaa !18
  %.not126 = icmp eq i8 %21, 0
  %22 = getelementptr inbounds i8, ptr %18, i64 136
  br i1 %.not126, label %select.unfold, label %28

23:                                               ; preds = %15
  %24 = getelementptr inbounds i8, ptr %0, i64 1712
  %25 = load ptr, ptr %24, align 8, !tbaa !25
  %26 = load i8, ptr %25, align 1, !tbaa !18
  %.not125 = icmp eq i8 %26, 0
  %27 = getelementptr inbounds i8, ptr %0, i64 1848
  br i1 %.not125, label %select.unfold, label %28

28:                                               ; preds = %19, %23
  %.0107 = phi ptr [ %18, %19 ], [ %24, %23 ]
  %.0104 = phi ptr [ %22, %19 ], [ %27, %23 ]
  %29 = getelementptr inbounds i8, ptr %.0107, i64 648
  %30 = load i64, ptr %29, align 8, !tbaa !26
  %.not128 = icmp eq i64 %30, 0
  br i1 %.not128, label %34, label %31

31:                                               ; preds = %28
  %32 = getelementptr inbounds i8, ptr %.0107, i64 64
  %33 = load i64, ptr %32, align 8, !tbaa !27
  br label %68

34:                                               ; preds = %28
  %35 = getelementptr inbounds i8, ptr %.0107, i64 96
  store i64 0, ptr %35, align 8, !tbaa !28
  %36 = getelementptr inbounds i8, ptr %.0107, i64 56
  %37 = load i64, ptr %36, align 8, !tbaa !29
  %38 = getelementptr inbounds i8, ptr %0, i64 12120
  %39 = getelementptr inbounds i8, ptr %0, i64 104
  br label %40

40:                                               ; preds = %51, %34
  %.0112 = phi i64 [ 0, %34 ], [ %44, %51 ]
  %.0109 = phi i64 [ %37, %34 ], [ %49, %51 ]
  %41 = load i64, ptr %38, align 8, !tbaa !30
  %42 = icmp ult i64 %.0109, %41
  br i1 %42, label %43, label %54

43:                                               ; preds = %40
  %44 = add i64 %.0112, 1
  %45 = call i32 @_fx_utility_FAT_entry_read(ptr noundef nonnull %0, i64 noundef %.0109, ptr noundef nonnull %4) #4
  %.not129 = icmp eq i32 %45, 0
  br i1 %.not129, label %46, label %.sink.split

46:                                               ; preds = %43
  %47 = icmp ult i64 %.0109, 2
  br i1 %47, label %.sink.split, label %48

48:                                               ; preds = %46
  %49 = load i64, ptr %4, align 8, !tbaa !5
  %50 = icmp eq i64 %.0109, %49
  br i1 %50, label %.sink.split, label %51

51:                                               ; preds = %48
  %52 = load i64, ptr %39, align 8, !tbaa !31
  %53 = icmp ugt i64 %44, %52
  br i1 %53, label %.sink.split, label %40, !llvm.loop !32

54:                                               ; preds = %40
  %55 = getelementptr inbounds i8, ptr %0, i64 80
  %56 = load i32, ptr %55, align 8, !tbaa !34
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds i8, ptr %0, i64 128
  %59 = load i32, ptr %58, align 8, !tbaa !35
  %60 = zext i32 %59 to i64
  %61 = mul i64 %.0112, %57
  %62 = mul i64 %61, %60
  %63 = lshr i64 %62, 5
  %64 = getelementptr inbounds i8, ptr %.0107, i64 64
  store i64 %63, ptr %64, align 8, !tbaa !27
  br label %68

select.unfold:                                    ; preds = %23, %19
  %.0106.ph = phi ptr [ %18, %19 ], [ %24, %23 ]
  %65 = getelementptr inbounds i8, ptr %0, i64 184
  %66 = load i32, ptr %65, align 8, !tbaa !36
  %67 = zext i32 %66 to i64
  br label %68

68:                                               ; preds = %31, %54, %select.unfold
  %.not127151 = phi i1 [ false, %31 ], [ false, %54 ], [ true, %select.unfold ]
  %.0104149 = phi ptr [ %.0104, %31 ], [ %.0104, %54 ], [ null, %select.unfold ]
  %.0106147 = phi ptr [ %.0107, %31 ], [ %.0107, %54 ], [ %.0106.ph, %select.unfold ]
  %.0107145 = phi ptr [ %.0107, %31 ], [ %.0107, %54 ], [ null, %select.unfold ]
  %.0108 = phi i64 [ %33, %31 ], [ %63, %54 ], [ %67, %select.unfold ]
  %69 = getelementptr inbounds i8, ptr %.0106147, i64 648
  %70 = load i64, ptr %69, align 8, !tbaa !26
  %71 = icmp ult i64 %70, %.0108
  br i1 %71, label %.lr.ph, label %.sink.split

.lr.ph:                                           ; preds = %68, %79
  %72 = call i32 @_fx_directory_entry_read(ptr noundef nonnull %0, ptr noundef %.0107145, ptr noundef nonnull %69, ptr noundef nonnull %5) #4
  %.not130 = icmp eq i32 %72, 0
  br i1 %.not130, label %73, label %.sink.split

73:                                               ; preds = %.lr.ph
  %74 = load ptr, ptr %5, align 8, !tbaa !17
  %75 = load i8, ptr %74, align 1, !tbaa !18
  %76 = icmp eq i8 %75, -27
  %77 = load i8, ptr %10, align 8
  %78 = icmp eq i8 %77, 0
  %or.cond = select i1 %76, i1 %78, i1 false
  br i1 %or.cond, label %79, label %83

79:                                               ; preds = %73
  %80 = load i64, ptr %69, align 8, !tbaa !26
  %81 = add i64 %80, 1
  store i64 %81, ptr %69, align 8, !tbaa !26
  %82 = icmp ult i64 %81, %.0108
  br i1 %82, label %.lr.ph, label %.sink.split, !llvm.loop !37

83:                                               ; preds = %73
  %.lcssa229231 = ptrtoint ptr %74 to i64
  %.not131 = icmp eq i8 %75, 0
  br i1 %.not131, label %.sink.split, label %.lr.ph169

.lr.ph169:                                        ; preds = %83, %.lr.ph169
  %84 = phi i8 [ %88, %.lr.ph169 ], [ %75, %83 ]
  %.1113168 = phi i64 [ %86, %.lr.ph169 ], [ 0, %83 ]
  %.0114167 = phi ptr [ %85, %.lr.ph169 ], [ %1, %83 ]
  store i8 %84, ptr %.0114167, align 1, !tbaa !18
  %85 = getelementptr inbounds i8, ptr %.0114167, i64 1
  %86 = add i64 %.1113168, 1
  %87 = getelementptr inbounds i8, ptr %74, i64 %86
  %88 = load i8, ptr %87, align 1, !tbaa !18
  %.not132 = icmp eq i8 %88, 0
  br i1 %.not132, label %._crit_edge, label %.lr.ph169, !llvm.loop !38

._crit_edge:                                      ; preds = %.lr.ph169
  store i8 0, ptr %85, align 1, !tbaa !18
  %89 = load i64, ptr %69, align 8, !tbaa !26
  %90 = add i64 %89, 1
  store i64 %90, ptr %69, align 8, !tbaa !26
  %.not133 = icmp eq ptr %.0104149, null
  %91 = getelementptr inbounds i8, ptr %0, i64 1456
  br i1 %.not133, label %.critedge.thread, label %.preheader

.critedge.thread:                                 ; preds = %._crit_edge
  store i8 47, ptr %91, align 1, !tbaa !18
  br label %.lr.ph173.preheader

.preheader:                                       ; preds = %._crit_edge, %105
  %.0103 = phi i32 [ %107, %105 ], [ 0, %._crit_edge ]
  %92 = zext nneg i32 %.0103 to i64
  %93 = getelementptr inbounds i8, ptr %.0104149, i64 %92
  %94 = load i8, ptr %93, align 1, !tbaa !18
  %.not134 = icmp eq i8 %94, 0
  br i1 %.not134, label %.critedge, label %.preheader.1

.preheader.1:                                     ; preds = %.preheader
  %95 = getelementptr inbounds [256 x i8], ptr %91, i64 0, i64 %92
  store i8 %94, ptr %95, align 1, !tbaa !18
  %96 = add nuw nsw i32 %.0103, 1
  %97 = zext nneg i32 %96 to i64
  %98 = getelementptr inbounds i8, ptr %.0104149, i64 %97
  %99 = load i8, ptr %98, align 1, !tbaa !18
  %.not134.1 = icmp eq i8 %99, 0
  br i1 %.not134.1, label %.critedge, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1
  %100 = getelementptr inbounds [256 x i8], ptr %91, i64 0, i64 %97
  store i8 %99, ptr %100, align 1, !tbaa !18
  %101 = add nuw nsw i32 %.0103, 2
  %102 = zext nneg i32 %101 to i64
  %103 = getelementptr inbounds i8, ptr %.0104149, i64 %102
  %104 = load i8, ptr %103, align 1, !tbaa !18
  %.not134.2 = icmp eq i8 %104, 0
  br i1 %.not134.2, label %.critedge, label %105

105:                                              ; preds = %.preheader.2
  %106 = getelementptr inbounds [256 x i8], ptr %91, i64 0, i64 %102
  store i8 %104, ptr %106, align 1, !tbaa !18
  %107 = add nuw nsw i32 %.0103, 3
  %exitcond.not.2 = icmp eq i32 %107, 255
  br i1 %exitcond.not.2, label %.critedge.thread204, label %.preheader

.critedge.thread204:                              ; preds = %105
  %108 = getelementptr inbounds i8, ptr %0, i64 1456
  %109 = getelementptr inbounds i8, ptr %0, i64 1711
  store i8 47, ptr %109, align 1, !tbaa !18
  br label %.critedge136

.critedge:                                        ; preds = %.preheader.2, %.preheader.1, %.preheader
  %.0103.lcssa = phi i32 [ %.0103, %.preheader ], [ %96, %.preheader.1 ], [ %101, %.preheader.2 ]
  %110 = getelementptr inbounds i8, ptr %0, i64 1456
  %111 = zext nneg i32 %.0103.lcssa to i64
  %112 = getelementptr inbounds [256 x i8], ptr %110, i64 0, i64 %111
  store i8 47, ptr %112, align 1, !tbaa !18
  %.2170 = add nuw i32 %.0103.lcssa, 1
  %113 = icmp ult i32 %.0103.lcssa, 255
  br i1 %113, label %.lr.ph173.preheader, label %.critedge136

.lr.ph173.preheader:                              ; preds = %.critedge.thread, %.critedge
  %114 = phi i64 [ 0, %.critedge.thread ], [ %111, %.critedge ]
  %115 = phi ptr [ %91, %.critedge.thread ], [ %110, %.critedge ]
  %.1203 = phi i32 [ 0, %.critedge.thread ], [ %.0103.lcssa, %.critedge ]
  %116 = add nuw nsw i64 %114, 1
  %117 = getelementptr inbounds i8, ptr %0, i64 1456
  br label %.lr.ph173

.lr.ph173:                                        ; preds = %.lr.ph173.preheader, %121
  %indvars.iv = phi i64 [ %116, %.lr.ph173.preheader ], [ %indvars.iv.next, %121 ]
  %.0171 = phi i32 [ 0, %.lr.ph173.preheader ], [ %123, %121 ]
  %118 = zext nneg i32 %.0171 to i64
  %119 = getelementptr inbounds i8, ptr %74, i64 %118
  %120 = load i8, ptr %119, align 1, !tbaa !18
  %.not135 = icmp eq i8 %120, 0
  br i1 %.not135, label %.critedge6, label %121

121:                                              ; preds = %.lr.ph173
  %122 = getelementptr inbounds [256 x i8], ptr %117, i64 0, i64 %indvars.iv
  store i8 %120, ptr %122, align 1, !tbaa !18
  %123 = add nuw nsw i32 %.0171, 1
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %124 = xor i32 %.1203, %123
  %exitcond193.not = icmp eq i32 %124, 255
  br i1 %exitcond193.not, label %.critedge136.loopexit, label %.lr.ph173, !llvm.loop !39

.critedge6:                                       ; preds = %.lr.ph173
  %125 = trunc nuw nsw i64 %indvars.iv to i32
  %126 = and i64 %indvars.iv, 4294967295
  %127 = getelementptr inbounds [256 x i8], ptr %117, i64 0, i64 %126
  store i8 0, ptr %127, align 1, !tbaa !18
  br label %130

.critedge136.loopexit:                            ; preds = %121
  %128 = trunc nuw nsw i64 %indvars.iv.next to i32
  br label %.critedge136

.critedge136:                                     ; preds = %.critedge.thread204, %.critedge136.loopexit, %.critedge
  %129 = phi ptr [ %110, %.critedge ], [ %115, %.critedge136.loopexit ], [ %108, %.critedge.thread204 ]
  %.2.lcssa = phi i32 [ %.2170, %.critedge ], [ %128, %.critedge136.loopexit ], [ 256, %.critedge.thread204 ]
  store i8 0, ptr %129, align 8, !tbaa !18
  br label %130

130:                                              ; preds = %.critedge136, %.critedge6
  %.2156 = phi i32 [ %.2.lcssa, %.critedge136 ], [ %125, %.critedge6 ]
  br i1 %.not127151, label %133, label %131

131:                                              ; preds = %130
  %132 = getelementptr inbounds i8, ptr %0, i64 928
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(136) %132, ptr noundef nonnull align 8 dereferenceable(136) %.0107145, i64 136, i1 false), !tbaa.struct !40
  br label %133

133:                                              ; preds = %130, %131
  %.sink = phi i32 [ 1, %131 ], [ 0, %130 ]
  %134 = getelementptr inbounds i8, ptr %0, i64 920
  store i32 %.sink, ptr %134, align 8
  %135 = getelementptr inbounds i8, ptr %0, i64 1064
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(136) %135, ptr noundef nonnull align 8 dereferenceable(136) %5, i64 136, i1 false), !tbaa.struct !40
  %136 = getelementptr i8, ptr %0, i64 1200
  store ptr %136, ptr %135, align 8, !tbaa !43
  %.2156.fr = freeze i32 %.2156
  %137 = icmp ult i32 %.2156.fr, 255
  br i1 %137, label %.split, label %vector.memcheck

vector.memcheck:                                  ; preds = %133
  %138 = add i64 %3, 1200
  %139 = sub i64 %138, %.lcssa229231
  %diff.check = icmp ult i64 %139, 32
  br i1 %diff.check, label %.split.us, label %vector.body

vector.body:                                      ; preds = %vector.memcheck
  %140 = getelementptr inbounds i8, ptr %74, i64 16
  %wide.load = load <16 x i8>, ptr %74, align 1, !tbaa !18
  %wide.load232 = load <16 x i8>, ptr %140, align 1, !tbaa !18
  %141 = getelementptr i8, ptr %0, i64 1216
  store <16 x i8> %wide.load, ptr %136, align 1, !tbaa !18
  store <16 x i8> %wide.load232, ptr %141, align 1, !tbaa !18
  %142 = getelementptr inbounds i8, ptr %74, i64 32
  %143 = getelementptr inbounds i8, ptr %74, i64 48
  %wide.load.1 = load <16 x i8>, ptr %142, align 1, !tbaa !18
  %wide.load232.1 = load <16 x i8>, ptr %143, align 1, !tbaa !18
  %144 = getelementptr i8, ptr %0, i64 1232
  %145 = getelementptr i8, ptr %0, i64 1248
  store <16 x i8> %wide.load.1, ptr %144, align 1, !tbaa !18
  store <16 x i8> %wide.load232.1, ptr %145, align 1, !tbaa !18
  %146 = getelementptr inbounds i8, ptr %74, i64 64
  %147 = getelementptr inbounds i8, ptr %74, i64 80
  %wide.load.2 = load <16 x i8>, ptr %146, align 1, !tbaa !18
  %wide.load232.2 = load <16 x i8>, ptr %147, align 1, !tbaa !18
  %148 = getelementptr i8, ptr %0, i64 1264
  %149 = getelementptr i8, ptr %0, i64 1280
  store <16 x i8> %wide.load.2, ptr %148, align 1, !tbaa !18
  store <16 x i8> %wide.load232.2, ptr %149, align 1, !tbaa !18
  %150 = getelementptr inbounds i8, ptr %74, i64 96
  %151 = getelementptr inbounds i8, ptr %74, i64 112
  %wide.load.3 = load <16 x i8>, ptr %150, align 1, !tbaa !18
  %wide.load232.3 = load <16 x i8>, ptr %151, align 1, !tbaa !18
  %152 = getelementptr i8, ptr %0, i64 1296
  %153 = getelementptr i8, ptr %0, i64 1312
  store <16 x i8> %wide.load.3, ptr %152, align 1, !tbaa !18
  store <16 x i8> %wide.load232.3, ptr %153, align 1, !tbaa !18
  %154 = getelementptr inbounds i8, ptr %74, i64 128
  %155 = getelementptr inbounds i8, ptr %74, i64 144
  %wide.load.4 = load <16 x i8>, ptr %154, align 1, !tbaa !18
  %wide.load232.4 = load <16 x i8>, ptr %155, align 1, !tbaa !18
  %156 = getelementptr i8, ptr %0, i64 1328
  %157 = getelementptr i8, ptr %0, i64 1344
  store <16 x i8> %wide.load.4, ptr %156, align 1, !tbaa !18
  store <16 x i8> %wide.load232.4, ptr %157, align 1, !tbaa !18
  %158 = getelementptr inbounds i8, ptr %74, i64 160
  %159 = getelementptr inbounds i8, ptr %74, i64 176
  %wide.load.5 = load <16 x i8>, ptr %158, align 1, !tbaa !18
  %wide.load232.5 = load <16 x i8>, ptr %159, align 1, !tbaa !18
  %160 = getelementptr i8, ptr %0, i64 1360
  %161 = getelementptr i8, ptr %0, i64 1376
  store <16 x i8> %wide.load.5, ptr %160, align 1, !tbaa !18
  store <16 x i8> %wide.load232.5, ptr %161, align 1, !tbaa !18
  %162 = getelementptr inbounds i8, ptr %74, i64 192
  %163 = getelementptr inbounds i8, ptr %74, i64 208
  %wide.load.6 = load <16 x i8>, ptr %162, align 1, !tbaa !18
  %wide.load232.6 = load <16 x i8>, ptr %163, align 1, !tbaa !18
  %164 = getelementptr i8, ptr %0, i64 1392
  %165 = getelementptr i8, ptr %0, i64 1408
  store <16 x i8> %wide.load.6, ptr %164, align 1, !tbaa !18
  store <16 x i8> %wide.load232.6, ptr %165, align 1, !tbaa !18
  %166 = getelementptr inbounds i8, ptr %74, i64 224
  %167 = getelementptr inbounds i8, ptr %74, i64 240
  %wide.load.7 = load <16 x i8>, ptr %166, align 1, !tbaa !18
  %wide.load232.7 = load <16 x i8>, ptr %167, align 1, !tbaa !18
  %168 = getelementptr i8, ptr %0, i64 1424
  %169 = getelementptr i8, ptr %0, i64 1440
  store <16 x i8> %wide.load.7, ptr %168, align 1, !tbaa !18
  store <16 x i8> %wide.load232.7, ptr %169, align 1, !tbaa !18
  br label %.sink.split

.split.us:                                        ; preds = %vector.memcheck, %.split.us
  %indvars.iv194 = phi i64 [ %indvars.iv.next195.3, %.split.us ], [ 0, %vector.memcheck ]
  %170 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv194
  %171 = load i8, ptr %170, align 1, !tbaa !18
  %172 = getelementptr inbounds [256 x i8], ptr %136, i64 0, i64 %indvars.iv194
  store i8 %171, ptr %172, align 1, !tbaa !18
  %indvars.iv.next195 = or disjoint i64 %indvars.iv194, 1
  %173 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv.next195
  %174 = load i8, ptr %173, align 1, !tbaa !18
  %175 = getelementptr inbounds [256 x i8], ptr %136, i64 0, i64 %indvars.iv.next195
  store i8 %174, ptr %175, align 1, !tbaa !18
  %indvars.iv.next195.1 = or disjoint i64 %indvars.iv194, 2
  %176 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv.next195.1
  %177 = load i8, ptr %176, align 1, !tbaa !18
  %178 = getelementptr inbounds [256 x i8], ptr %136, i64 0, i64 %indvars.iv.next195.1
  store i8 %177, ptr %178, align 1, !tbaa !18
  %indvars.iv.next195.2 = or disjoint i64 %indvars.iv194, 3
  %179 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv.next195.2
  %180 = load i8, ptr %179, align 1, !tbaa !18
  %181 = getelementptr inbounds [256 x i8], ptr %136, i64 0, i64 %indvars.iv.next195.2
  store i8 %180, ptr %181, align 1, !tbaa !18
  %indvars.iv.next195.3 = add nuw nsw i64 %indvars.iv194, 4
  %exitcond197.not.3 = icmp eq i64 %indvars.iv.next195.3, 256
  br i1 %exitcond197.not.3, label %.sink.split, label %.split.us, !llvm.loop !44

.split:                                           ; preds = %133, %.split
  %indvars.iv198 = phi i64 [ %indvars.iv.next199, %.split ], [ 0, %133 ]
  %182 = getelementptr inbounds i8, ptr %74, i64 %indvars.iv198
  %183 = load i8, ptr %182, align 1, !tbaa !18
  %184 = getelementptr inbounds [256 x i8], ptr %136, i64 0, i64 %indvars.iv198
  store i8 %183, ptr %184, align 1, !tbaa !18
  %185 = icmp ne i8 %183, 0
  %indvars.iv.next199 = add nuw nsw i64 %indvars.iv198, 1
  %186 = icmp ult i64 %indvars.iv198, 255
  %or.cond176 = and i1 %185, %186
  br i1 %or.cond176, label %.split, label %.sink.split, !llvm.loop !46

.sink.split:                                      ; preds = %46, %48, %51, %43, %79, %.lr.ph, %.split.us, %.split, %vector.body, %83, %68
  %.0110.ph = phi i32 [ 15, %83 ], [ 15, %68 ], [ 0, %vector.body ], [ 0, %.split ], [ 0, %.split.us ], [ %72, %.lr.ph ], [ 15, %79 ], [ %45, %43 ], [ 3, %51 ], [ 3, %48 ], [ 3, %46 ]
  %187 = call i32 @_tx_mutex_put(ptr noundef nonnull %13) #4
  br label %188

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

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

declare i32 @_tx_mutex_put(ptr noundef) local_unnamed_addr #2

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass