; LLVM IR from mncoppola/rpef :: utilities_src/squashfs4.1/squashfs-tools (unsquash-4)

; 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.super_block = type { %struct.squashfs_super_block, i32, i32, i64, i64 }
%struct.squashfs_super_block = type { i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i64, i64, i64, i64, i64, i64, i64, i64 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.squashfs_operations = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.squashfs_dir_header = type { i32, i32, i32 }
%struct.inode = type { i32, ptr, i64, i32, i32, i32, i32, i32, i32, i64, ptr, i64, i32, i32, i8, i32 }
%struct.dir = type { i32, i32, i32, i32, i32, i32, i32, ptr }
%struct.squashfs_dir_entry = type { i16, i16, i16, i16, [0 x i8] }
%struct.dir_ent = type { [257 x i8], i32, i32, i32 }

@sBlk = external global %struct.super_block, align 8
@screen_mutex = external global %union.pthread_mutex_t, align 8
@stderr = external global ptr, align 8
@s_ops = external global %struct.squashfs_operations, align 8
@directory_table_hash = external global [65536 x ptr], align 16
@.str.6 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [56 x i8], align 1
@directory_table = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [57 x i8], align 1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

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

declare i32 @lookup_entry(ptr noundef, i64 noundef) #4

; 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) #5

; Function Attrs: nounwind uwtable
define dso_local ptr @squashfs_opendir_4(i32 noundef %0, i32 noundef %1, ptr noundef %2) #6 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.squashfs_dir_header, align 4
  %8 = alloca [265 x i8], align 16
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 265, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %16 = getelementptr inbounds [265 x i8], ptr %8, i64 0, i64 0
  store ptr %16, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %17 = load ptr, ptr getelementptr inbounds (%struct.squashfs_operations, ptr @s_ops, i32 0, i32 4), align 8, !tbaa !11
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = load i32, ptr %5, align 4, !tbaa !5
  %20 = call ptr %17(i32 noundef %18, i32 noundef %19)
  %21 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %20, ptr %21, align 8, !tbaa !9
  %22 = load i64, ptr getelementptr inbounds (%struct.squashfs_super_block, ptr @sBlk, i32 0, i32 16), align 8, !tbaa !13
  %23 = load ptr, ptr %6, align 8, !tbaa !9
  %24 = load ptr, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.inode, ptr %24, i32 0, i32 9
  %26 = load i64, ptr %25, align 8, !tbaa !18
  %27 = add nsw i64 %22, %26
  store i64 %27, ptr %10, align 8, !tbaa !21
  %28 = load i64, ptr %10, align 8, !tbaa !21
  %29 = call i32 @lookup_entry(ptr noundef @directory_table_hash, i64 noundef %28)
  store i32 %29, ptr %11, align 4, !tbaa !5
  %30 = load i32, ptr %11, align 4, !tbaa !5
  %31 = icmp eq i32 %30, -1
  br i1 %31, label %32, label %41

32:                                               ; preds = %3
  br label %33

33:                                               ; preds = %32
  %34 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #8
  %35 = load ptr, ptr @stderr, align 8, !tbaa !9
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.6, i32 noundef %36) #8
  %38 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #8
  call void @exit(i32 noundef 1) #9
  unreachable

39:                                               ; No predecessors!
  br label %40

40:                                               ; preds = %39
  br label %41

41:                                               ; preds = %40, %3
  %42 = load ptr, ptr %6, align 8, !tbaa !9
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.inode, ptr %43, i32 0, i32 8
  %45 = load i32, ptr %44, align 4, !tbaa !22
  %46 = load i32, ptr %11, align 4, !tbaa !5
  %47 = add nsw i32 %46, %45
  store i32 %47, ptr %11, align 4, !tbaa !5
  %48 = load ptr, ptr %6, align 8, !tbaa !9
  %49 = load ptr, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.inode, ptr %49, i32 0, i32 2
  %51 = load i64, ptr %50, align 8, !tbaa !23
  %52 = load i32, ptr %11, align 4, !tbaa !5
  %53 = sext i32 %52 to i64
  %54 = add nsw i64 %51, %53
  %55 = sub nsw i64 %54, 3
  %56 = trunc i64 %55 to i32
  store i32 %56, ptr %13, align 4, !tbaa !5
  %57 = call noalias ptr @malloc(i64 noundef 40) #10
  store ptr %57, ptr %15, align 8, !tbaa !9
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %67

59:                                               ; preds = %41
  br label %60

60:                                               ; preds = %59
  %61 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #8
  %62 = load ptr, ptr @stderr, align 8, !tbaa !9
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef @.str.7) #8
  %64 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #8
  call void @exit(i32 noundef 1) #9
  unreachable

65:                                               ; No predecessors!
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66, %41
  %68 = load ptr, ptr %15, align 8, !tbaa !9
  %69 = getelementptr inbounds %struct.dir, ptr %68, i32 0, i32 0
  store i32 0, ptr %69, align 8, !tbaa !24
  %70 = load ptr, ptr %15, align 8, !tbaa !9
  %71 = getelementptr inbounds %struct.dir, ptr %70, i32 0, i32 1
  store i32 0, ptr %71, align 4, !tbaa !26
  %72 = load ptr, ptr %6, align 8, !tbaa !9
  %73 = load ptr, ptr %72, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.inode, ptr %73, i32 0, i32 7
  %75 = load i32, ptr %74, align 8, !tbaa !27
  %76 = load ptr, ptr %15, align 8, !tbaa !9
  %77 = getelementptr inbounds %struct.dir, ptr %76, i32 0, i32 2
  store i32 %75, ptr %77, align 8, !tbaa !28
  %78 = load ptr, ptr %6, align 8, !tbaa !9
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = getelementptr inbounds %struct.inode, ptr %79, i32 0, i32 13
  %81 = load i32, ptr %80, align 4, !tbaa !29
  %82 = load ptr, ptr %15, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.dir, ptr %82, i32 0, i32 3
  store i32 %81, ptr %83, align 4, !tbaa !30
  %84 = load ptr, ptr %6, align 8, !tbaa !9
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.inode, ptr %85, i32 0, i32 5
  %87 = load i32, ptr %86, align 8, !tbaa !31
  %88 = load ptr, ptr %15, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.dir, ptr %88, i32 0, i32 4
  store i32 %87, ptr %89, align 8, !tbaa !32
  %90 = load ptr, ptr %6, align 8, !tbaa !9
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.inode, ptr %91, i32 0, i32 11
  %93 = load i64, ptr %92, align 8, !tbaa !33
  %94 = trunc i64 %93 to i32
  %95 = load ptr, ptr %15, align 8, !tbaa !9
  %96 = getelementptr inbounds %struct.dir, ptr %95, i32 0, i32 5
  store i32 %94, ptr %96, align 4, !tbaa !34
  %97 = load ptr, ptr %6, align 8, !tbaa !9
  %98 = load ptr, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds %struct.inode, ptr %98, i32 0, i32 15
  %100 = load i32, ptr %99, align 4, !tbaa !35
  %101 = load ptr, ptr %15, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.dir, ptr %101, i32 0, i32 6
  store i32 %100, ptr %102, align 8, !tbaa !36
  %103 = load ptr, ptr %15, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.dir, ptr %103, i32 0, i32 7
  store ptr null, ptr %104, align 8, !tbaa !37
  br label %105

105:                                              ; preds = %250, %67
  %106 = load i32, ptr %11, align 4, !tbaa !5
  %107 = load i32, ptr %13, align 4, !tbaa !5
  %108 = icmp slt i32 %106, %107
  br i1 %108, label %109, label %251

109:                                              ; preds = %105
  %110 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %111 = load i32, ptr %11, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds i8, ptr %110, i64 %112
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 1 %113, i64 12, i1 false)
  %114 = getelementptr inbounds %struct.squashfs_dir_header, ptr %7, i32 0, i32 0
  %115 = load i32, ptr %114, align 4, !tbaa !38
  %116 = add i32 %115, 1
  store i32 %116, ptr %12, align 4, !tbaa !5
  %117 = load i32, ptr %11, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = add i64 %118, 12
  %120 = trunc i64 %119 to i32
  store i32 %120, ptr %11, align 4, !tbaa !5
  br label %121

121:                                              ; preds = %187, %109
  %122 = load i32, ptr %12, align 4, !tbaa !5
  %123 = add nsw i32 %122, -1
  store i32 %123, ptr %12, align 4, !tbaa !5
  %124 = icmp ne i32 %122, 0
  br i1 %124, label %125, label %250

125:                                              ; preds = %121
  %126 = load ptr, ptr %9, align 8, !tbaa !9
  %127 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %128 = load i32, ptr %11, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds i8, ptr %127, i64 %129
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %126, ptr align 1 %130, i64 8, i1 false)
  %131 = load i32, ptr %11, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = add i64 %132, 8
  %134 = trunc i64 %133 to i32
  store i32 %134, ptr %11, align 4, !tbaa !5
  %135 = load ptr, ptr %9, align 8, !tbaa !9
  %136 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %135, i32 0, i32 4
  %137 = getelementptr inbounds [0 x i8], ptr %136, i64 0, i64 0
  %138 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds i8, ptr %138, i64 %140
  %142 = load ptr, ptr %9, align 8, !tbaa !9
  %143 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %142, i32 0, i32 3
  %144 = load i16, ptr %143, align 2, !tbaa !40
  %145 = zext i16 %144 to i32
  %146 = add nsw i32 %145, 1
  %147 = sext i32 %146 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 2 %137, ptr align 1 %141, i64 %147, i1 false)
  %148 = load ptr, ptr %9, align 8, !tbaa !9
  %149 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %148, i32 0, i32 4
  %150 = load ptr, ptr %9, align 8, !tbaa !9
  %151 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %150, i32 0, i32 3
  %152 = load i16, ptr %151, align 2, !tbaa !40
  %153 = zext i16 %152 to i32
  %154 = add nsw i32 %153, 1
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds [0 x i8], ptr %149, i64 0, i64 %155
  store i8 0, ptr %156, align 1, !tbaa !42
  %157 = load ptr, ptr %15, align 8, !tbaa !9
  %158 = getelementptr inbounds %struct.dir, ptr %157, i32 0, i32 0
  %159 = load i32, ptr %158, align 8, !tbaa !24
  %160 = srem i32 %159, 16
  %161 = icmp eq i32 %160, 0
  br i1 %161, label %162, label %187

162:                                              ; preds = %125
  %163 = load ptr, ptr %15, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.dir, ptr %163, i32 0, i32 7
  %165 = load ptr, ptr %164, align 8, !tbaa !37
  %166 = load ptr, ptr %15, align 8, !tbaa !9
  %167 = getelementptr inbounds %struct.dir, ptr %166, i32 0, i32 0
  %168 = load i32, ptr %167, align 8, !tbaa !24
  %169 = add nsw i32 %168, 16
  %170 = sext i32 %169 to i64
  %171 = mul i64 %170, 272
  %172 = call ptr @realloc(ptr noundef %165, i64 noundef %171) #11
  store ptr %172, ptr %14, align 8, !tbaa !9
  %173 = load ptr, ptr %14, align 8, !tbaa !9
  %174 = icmp eq ptr %173, null
  br i1 %174, label %175, label %183

175:                                              ; preds = %162
  br label %176

176:                                              ; preds = %175
  %177 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #8
  %178 = load ptr, ptr @stderr, align 8, !tbaa !9
  %179 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %178, ptr noundef @.str.8) #8
  %180 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #8
  call void @exit(i32 noundef 1) #9
  unreachable

181:                                              ; No predecessors!
  br label %182

182:                                              ; preds = %181
  br label %183

183:                                              ; preds = %182, %162
  %184 = load ptr, ptr %14, align 8, !tbaa !9
  %185 = load ptr, ptr %15, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.dir, ptr %185, i32 0, i32 7
  store ptr %184, ptr %186, align 8, !tbaa !37
  br label %187

187:                                              ; preds = %183, %125
  %188 = load ptr, ptr %15, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.dir, ptr %188, i32 0, i32 7
  %190 = load ptr, ptr %189, align 8, !tbaa !37
  %191 = load ptr, ptr %15, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.dir, ptr %191, i32 0, i32 0
  %193 = load i32, ptr %192, align 8, !tbaa !24
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds %struct.dir_ent, ptr %190, i64 %194
  %196 = getelementptr inbounds %struct.dir_ent, ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds [257 x i8], ptr %196, i64 0, i64 0
  %198 = load ptr, ptr %9, align 8, !tbaa !9
  %199 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %198, i32 0, i32 4
  %200 = getelementptr inbounds [0 x i8], ptr %199, i64 0, i64 0
  %201 = call ptr @strcpy(ptr noundef %197, ptr noundef %200) #8
  %202 = getelementptr inbounds %struct.squashfs_dir_header, ptr %7, i32 0, i32 1
  %203 = load i32, ptr %202, align 4, !tbaa !43
  %204 = load ptr, ptr %15, align 8, !tbaa !9
  %205 = getelementptr inbounds %struct.dir, ptr %204, i32 0, i32 7
  %206 = load ptr, ptr %205, align 8, !tbaa !37
  %207 = load ptr, ptr %15, align 8, !tbaa !9
  %208 = getelementptr inbounds %struct.dir, ptr %207, i32 0, i32 0
  %209 = load i32, ptr %208, align 8, !tbaa !24
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds %struct.dir_ent, ptr %206, i64 %210
  %212 = getelementptr inbounds %struct.dir_ent, ptr %211, i32 0, i32 1
  store i32 %203, ptr %212, align 4, !tbaa !44
  %213 = load ptr, ptr %9, align 8, !tbaa !9
  %214 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %213, i32 0, i32 0
  %215 = load i16, ptr %214, align 2, !tbaa !46
  %216 = zext i16 %215 to i32
  %217 = load ptr, ptr %15, align 8, !tbaa !9
  %218 = getelementptr inbounds %struct.dir, ptr %217, i32 0, i32 7
  %219 = load ptr, ptr %218, align 8, !tbaa !37
  %220 = load ptr, ptr %15, align 8, !tbaa !9
  %221 = getelementptr inbounds %struct.dir, ptr %220, i32 0, i32 0
  %222 = load i32, ptr %221, align 8, !tbaa !24
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds %struct.dir_ent, ptr %219, i64 %223
  %225 = getelementptr inbounds %struct.dir_ent, ptr %224, i32 0, i32 2
  store i32 %216, ptr %225, align 4, !tbaa !47
  %226 = load ptr, ptr %9, align 8, !tbaa !9
  %227 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %226, i32 0, i32 2
  %228 = load i16, ptr %227, align 2, !tbaa !48
  %229 = zext i16 %228 to i32
  %230 = load ptr, ptr %15, align 8, !tbaa !9
  %231 = getelementptr inbounds %struct.dir, ptr %230, i32 0, i32 7
  %232 = load ptr, ptr %231, align 8, !tbaa !37
  %233 = load ptr, ptr %15, align 8, !tbaa !9
  %234 = getelementptr inbounds %struct.dir, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 8, !tbaa !24
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds %struct.dir_ent, ptr %232, i64 %236
  %238 = getelementptr inbounds %struct.dir_ent, ptr %237, i32 0, i32 3
  store i32 %229, ptr %238, align 4, !tbaa !49
  %239 = load ptr, ptr %15, align 8, !tbaa !9
  %240 = getelementptr inbounds %struct.dir, ptr %239, i32 0, i32 0
  %241 = load i32, ptr %240, align 8, !tbaa !24
  %242 = add nsw i32 %241, 1
  store i32 %242, ptr %240, align 8, !tbaa !24
  %243 = load ptr, ptr %9, align 8, !tbaa !9
  %244 = getelementptr inbounds %struct.squashfs_dir_entry, ptr %243, i32 0, i32 3
  %245 = load i16, ptr %244, align 2, !tbaa !40
  %246 = zext i16 %245 to i32
  %247 = add nsw i32 %246, 1
  %248 = load i32, ptr %11, align 4, !tbaa !5
  %249 = add nsw i32 %248, %247
  store i32 %249, ptr %11, align 4, !tbaa !5
  br label %121, !llvm.loop !50

250:                                              ; preds = %121
  br label %105, !llvm.loop !52

251:                                              ; preds = %105
  %252 = load ptr, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 265, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #8
  ret ptr %252
}

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #7

; Function Attrs: nounwind
declare ptr @strcpy(ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 #2 = { nounwind "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 = { noreturn nounwind "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 #4 = { "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 #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #7 = { nounwind allocsize(1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { nounwind allocsize(0) }
attributes #11 = { nounwind allocsize(1) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"squashfs_operations", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!13 = !{!14, !17, i64 72}
!14 = !{!"super_block", !15, i64 0, !6, i64 96, !6, i64 100, !17, i64 104, !17, i64 112}
!15 = !{!"squashfs_super_block", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !16, i64 20, !16, i64 22, !16, i64 24, !16, i64 26, !16, i64 28, !16, i64 30, !17, i64 32, !17, i64 40, !17, i64 48, !17, i64 56, !17, i64 64, !17, i64 72, !17, i64 80, !17, i64 88}
!16 = !{!"short", !7, i64 0}
!17 = !{!"long long", !7, i64 0}
!18 = !{!19, !17, i64 48}
!19 = !{!"inode", !6, i64 0, !10, i64 8, !17, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !17, i64 48, !10, i64 56, !20, i64 64, !6, i64 72, !6, i64 76, !7, i64 80, !6, i64 84}
!20 = !{!"long", !7, i64 0}
!21 = !{!17, !17, i64 0}
!22 = !{!19, !6, i64 44}
!23 = !{!19, !17, i64 16}
!24 = !{!25, !6, i64 0}
!25 = !{!"dir", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24, !10, i64 32}
!26 = !{!25, !6, i64 4}
!27 = !{!19, !6, i64 40}
!28 = !{!25, !6, i64 8}
!29 = !{!19, !6, i64 76}
!30 = !{!25, !6, i64 12}
!31 = !{!19, !6, i64 32}
!32 = !{!25, !6, i64 16}
!33 = !{!19, !20, i64 64}
!34 = !{!25, !6, i64 20}
!35 = !{!19, !6, i64 84}
!36 = !{!25, !6, i64 24}
!37 = !{!25, !10, i64 32}
!38 = !{!39, !6, i64 0}
!39 = !{!"squashfs_dir_header", !6, i64 0, !6, i64 4, !6, i64 8}
!40 = !{!41, !16, i64 6}
!41 = !{!"squashfs_dir_entry", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !7, i64 8}
!42 = !{!7, !7, i64 0}
!43 = !{!39, !6, i64 4}
!44 = !{!45, !6, i64 260}
!45 = !{!"dir_ent", !7, i64 0, !6, i64 260, !6, i64 264, !6, i64 268}
!46 = !{!41, !16, i64 0}
!47 = !{!45, !6, i64 264}
!48 = !{!41, !16, i64 4}
!49 = !{!45, !6, i64 268}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}
!52 = distinct !{!52, !51}


; 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.super_block = type { %struct.squashfs_super_block, i32, i32, i64, i64 }
%struct.squashfs_super_block = type { i32, i32, i32, i32, i32, i16, i16, i16, i16, i16, i16, i64, i64, i64, i64, i64, i64, i64, i64 }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%struct.squashfs_operations = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.dir_ent = type { [257 x i8], i32, i32, i32 }

@sBlk = external local_unnamed_addr global %struct.super_block, align 8
@screen_mutex = external global %union.pthread_mutex_t, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@s_ops = external local_unnamed_addr global %struct.squashfs_operations, align 8
@directory_table_hash = external global [65536 x ptr], align 16
@.str.6 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [56 x i8], align 1
@directory_table = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [57 x i8], align 1

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: nounwind
declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #4

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

declare i32 @lookup_entry(ptr noundef, i64 noundef) local_unnamed_addr #5

; 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) #6

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @squashfs_opendir_4(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #7 {
  %4 = alloca [265 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 265, ptr nonnull %4) #10
  %5 = load ptr, ptr getelementptr inbounds (i8, ptr @s_ops, i64 32), align 8, !tbaa !5
  %6 = tail call ptr %5(i32 noundef %0, i32 noundef %1) #10
  store ptr %6, ptr %2, align 8, !tbaa !10
  %7 = load i64, ptr getelementptr inbounds (i8, ptr @sBlk, i64 72), align 8, !tbaa !11
  %8 = getelementptr inbounds i8, ptr %6, i64 48
  %9 = load i64, ptr %8, align 8, !tbaa !17
  %10 = add nsw i64 %9, %7
  %11 = tail call i32 @lookup_entry(ptr noundef nonnull @directory_table_hash, i64 noundef %10) #10
  %12 = icmp eq i32 %11, -1
  br i1 %12, label %13, label %18

13:                                               ; preds = %3
  %14 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @screen_mutex) #10
  %15 = load ptr, ptr @stderr, align 8, !tbaa !10
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef nonnull @.str.6, i32 noundef %0) #11
  %17 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @screen_mutex) #10
  tail call void @exit(i32 noundef 1) #12
  unreachable

18:                                               ; preds = %3
  %19 = load ptr, ptr %2, align 8, !tbaa !10
  %20 = getelementptr inbounds i8, ptr %19, i64 44
  %21 = load i32, ptr %20, align 4, !tbaa !20
  %22 = add nsw i32 %21, %11
  %23 = getelementptr inbounds i8, ptr %19, i64 16
  %24 = load i64, ptr %23, align 8, !tbaa !21
  %25 = trunc i64 %24 to i32
  %26 = add i32 %22, -3
  %27 = add i32 %26, %25
  %28 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #13
  %29 = icmp eq ptr %28, null
  br i1 %29, label %30, label %35

30:                                               ; preds = %18
  %31 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @screen_mutex) #10
  %32 = load ptr, ptr @stderr, align 8, !tbaa !10
  %33 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.7) #11
  %34 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @screen_mutex) #10
  tail call void @exit(i32 noundef 1) #12
  unreachable

35:                                               ; preds = %18
  store i32 0, ptr %28, align 8, !tbaa !22
  %36 = getelementptr inbounds i8, ptr %28, i64 4
  store i32 0, ptr %36, align 4, !tbaa !24
  %37 = getelementptr inbounds i8, ptr %19, i64 40
  %38 = load i32, ptr %37, align 8, !tbaa !25
  %39 = getelementptr inbounds i8, ptr %28, i64 8
  store i32 %38, ptr %39, align 8, !tbaa !26
  %40 = getelementptr inbounds i8, ptr %19, i64 76
  %41 = load i32, ptr %40, align 4, !tbaa !27
  %42 = getelementptr inbounds i8, ptr %28, i64 12
  store i32 %41, ptr %42, align 4, !tbaa !28
  %43 = getelementptr inbounds i8, ptr %19, i64 32
  %44 = load i32, ptr %43, align 8, !tbaa !29
  %45 = getelementptr inbounds i8, ptr %28, i64 16
  store i32 %44, ptr %45, align 8, !tbaa !30
  %46 = getelementptr inbounds i8, ptr %19, i64 64
  %47 = load i64, ptr %46, align 8, !tbaa !31
  %48 = trunc i64 %47 to i32
  %49 = getelementptr inbounds i8, ptr %28, i64 20
  store i32 %48, ptr %49, align 4, !tbaa !32
  %50 = getelementptr inbounds i8, ptr %19, i64 84
  %51 = load i32, ptr %50, align 4, !tbaa !33
  %52 = getelementptr inbounds i8, ptr %28, i64 24
  store i32 %51, ptr %52, align 8, !tbaa !34
  %53 = getelementptr inbounds i8, ptr %28, i64 32
  store ptr null, ptr %53, align 8, !tbaa !35
  %54 = icmp slt i32 %22, %27
  br i1 %54, label %.lr.ph66, label %._crit_edge

.lr.ph66:                                         ; preds = %35
  %55 = getelementptr inbounds i8, ptr %4, i64 8
  %56 = getelementptr inbounds i8, ptr %4, i64 4
  br label %61

..loopexit_crit_edge:                             ; preds = %98
  %57 = trunc nsw i64 %indvars.iv.next to i32
  store i32 %57, ptr %28, align 8, !tbaa !22
  br label %.loopexit

.loopexit:                                        ; preds = %..loopexit_crit_edge, %61
  %58 = phi ptr [ %99, %..loopexit_crit_edge ], [ %62, %61 ]
  %59 = phi ptr [ %99, %..loopexit_crit_edge ], [ %63, %61 ]
  %.promoted72 = phi i32 [ %57, %..loopexit_crit_edge ], [ %.promoted, %61 ]
  %.1.lcssa = phi i32 [ %110, %..loopexit_crit_edge ], [ %67, %61 ]
  %60 = icmp slt i32 %.1.lcssa, %27
  br i1 %60, label %61, label %._crit_edge, !llvm.loop !36

61:                                               ; preds = %.lr.ph66, %.loopexit
  %62 = phi ptr [ null, %.lr.ph66 ], [ %58, %.loopexit ]
  %63 = phi ptr [ null, %.lr.ph66 ], [ %59, %.loopexit ]
  %.promoted = phi i32 [ 0, %.lr.ph66 ], [ %.promoted72, %.loopexit ]
  %.065 = phi i32 [ %22, %.lr.ph66 ], [ %.1.lcssa, %.loopexit ]
  %64 = load ptr, ptr @directory_table, align 8, !tbaa !10
  %65 = sext i32 %.065 to i64
  %66 = getelementptr inbounds i8, ptr %64, i64 %65
  %.sroa.0.0.copyload = load i32, ptr %66, align 1
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %66, i64 4
  %.sroa.4.0.copyload = load i32, ptr %.sroa.4.0..sroa_idx, align 1
  %67 = add i32 %.065, 12
  %.not62 = icmp eq i32 %.sroa.0.0.copyload, -1
  br i1 %.not62, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %61
  %68 = sext i32 %.promoted to i64
  br label %69

69:                                               ; preds = %.lr.ph, %98
  %70 = phi ptr [ %62, %.lr.ph ], [ %99, %98 ]
  %71 = phi ptr [ %63, %.lr.ph ], [ %99, %98 ]
  %indvars.iv = phi i64 [ %68, %.lr.ph ], [ %indvars.iv.next, %98 ]
  %72 = phi i32 [ %.sroa.0.0.copyload, %.lr.ph ], [ %111, %98 ]
  %.163 = phi i32 [ %67, %.lr.ph ], [ %110, %98 ]
  %73 = load ptr, ptr @directory_table, align 8, !tbaa !10
  %74 = sext i32 %.163 to i64
  %75 = getelementptr inbounds i8, ptr %73, i64 %74
  %76 = load i64, ptr %75, align 1
  store i64 %76, ptr %4, align 16
  %77 = add i32 %.163, 8
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %73, i64 %78
  %80 = lshr i64 %76, 48
  %81 = trunc nuw nsw i64 %80 to i32
  %82 = add nuw nsw i64 %80, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %55, ptr noundef nonnull align 1 dereferenceable(1) %79, i64 %82, i1 false)
  %83 = getelementptr inbounds [0 x i8], ptr %55, i64 0, i64 %82
  store i8 0, ptr %83, align 1, !tbaa !38
  %84 = trunc nsw i64 %indvars.iv to i32
  %85 = and i32 %84, 15
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %98

87:                                               ; preds = %69
  %88 = mul i64 %indvars.iv, 272
  %89 = add i64 %88, 4352
  %90 = tail call ptr @realloc(ptr noundef %71, i64 noundef %89) #14
  %91 = icmp eq ptr %90, null
  br i1 %91, label %92, label %97

92:                                               ; preds = %87
  store i32 %84, ptr %28, align 8, !tbaa !22
  %93 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @screen_mutex) #10
  %94 = load ptr, ptr @stderr, align 8, !tbaa !10
  %95 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef nonnull @.str.8) #11
  %96 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @screen_mutex) #10
  tail call void @exit(i32 noundef 1) #12
  unreachable

97:                                               ; preds = %87
  store ptr %90, ptr %53, align 8, !tbaa !35
  br label %98

98:                                               ; preds = %97, %69
  %99 = phi ptr [ %90, %97 ], [ %70, %69 ]
  %100 = getelementptr inbounds %struct.dir_ent, ptr %99, i64 %indvars.iv
  %101 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %100, ptr noundef nonnull dereferenceable(1) %55) #10
  %102 = getelementptr inbounds %struct.dir_ent, ptr %99, i64 %indvars.iv, i32 1
  store i32 %.sroa.4.0.copyload, ptr %102, align 4, !tbaa !39
  %103 = load i16, ptr %4, align 16, !tbaa !41
  %104 = zext i16 %103 to i32
  %105 = getelementptr inbounds %struct.dir_ent, ptr %99, i64 %indvars.iv, i32 2
  store i32 %104, ptr %105, align 4, !tbaa !43
  %106 = load i16, ptr %56, align 4, !tbaa !44
  %107 = zext i16 %106 to i32
  %108 = getelementptr inbounds %struct.dir_ent, ptr %99, i64 %indvars.iv, i32 3
  store i32 %107, ptr %108, align 4, !tbaa !45
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %109 = add i32 %.163, 9
  %110 = add i32 %109, %81
  %111 = add nsw i32 %72, -1
  %.not = icmp eq i32 %72, 0
  br i1 %.not, label %..loopexit_crit_edge, label %69, !llvm.loop !46

._crit_edge:                                      ; preds = %.loopexit, %35
  call void @llvm.lifetime.end.p0(i64 265, ptr nonnull %4) #10
  ret ptr %28
}

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #9

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "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 = { nofree nounwind "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 #4 = { noreturn nounwind "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 #5 = { "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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 #8 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #9 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #10 = { nounwind }
attributes #11 = { cold nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { nounwind allocsize(0) }
attributes #14 = { nounwind allocsize(1) }

!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 32}
!6 = !{!"squashfs_operations", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !16, i64 72}
!12 = !{!"super_block", !13, i64 0, !14, i64 96, !14, i64 100, !16, i64 104, !16, i64 112}
!13 = !{!"squashfs_super_block", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !15, i64 20, !15, i64 22, !15, i64 24, !15, i64 26, !15, i64 28, !15, i64 30, !16, i64 32, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !16, i64 72, !16, i64 80, !16, i64 88}
!14 = !{!"int", !8, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = !{!"long long", !8, i64 0}
!17 = !{!18, !16, i64 48}
!18 = !{!"inode", !14, i64 0, !7, i64 8, !16, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !16, i64 48, !7, i64 56, !19, i64 64, !14, i64 72, !14, i64 76, !8, i64 80, !14, i64 84}
!19 = !{!"long", !8, i64 0}
!20 = !{!18, !14, i64 44}
!21 = !{!18, !16, i64 16}
!22 = !{!23, !14, i64 0}
!23 = !{!"dir", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !7, i64 32}
!24 = !{!23, !14, i64 4}
!25 = !{!18, !14, i64 40}
!26 = !{!23, !14, i64 8}
!27 = !{!18, !14, i64 76}
!28 = !{!23, !14, i64 12}
!29 = !{!18, !14, i64 32}
!30 = !{!23, !14, i64 16}
!31 = !{!18, !19, i64 64}
!32 = !{!23, !14, i64 20}
!33 = !{!18, !14, i64 84}
!34 = !{!23, !14, i64 24}
!35 = !{!23, !7, i64 32}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = !{!8, !8, i64 0}
!39 = !{!40, !14, i64 260}
!40 = !{!"dir_ent", !8, i64 0, !14, i64 260, !14, i64 264, !14, i64 268}
!41 = !{!42, !15, i64 0}
!42 = !{!"squashfs_dir_entry", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !8, i64 8}
!43 = !{!40, !14, i64 264}
!44 = !{!42, !15, i64 4}
!45 = !{!40, !14, i64 268}
!46 = distinct !{!46, !37}


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