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

; 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_3 = type <{ i8, i32, i32 }>
%struct.squashfs_dir_entry_3 = type <{ i16, i8, i16, [0 x i8] }>
%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.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
@swap = external global i32, align 4
@s_ops = external global %struct.squashfs_operations, align 8
@directory_table_hash = external global [65536 x ptr], align 16
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@directory_table = external global ptr, align 8
@.str.9 = 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

; 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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @squashfs_opendir_3(i32 noundef %0, i32 noundef %1, ptr noundef %2) #7 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %struct.squashfs_dir_header_3, align 1
  %8 = alloca [262 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
  %16 = alloca %struct.squashfs_dir_header_3, align 1
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i64, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.squashfs_dir_entry_3, align 1
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca ptr, align 8
  %27 = 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 9, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 262, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  %28 = getelementptr inbounds [262 x i8], ptr %8, i64 0, i64 0
  store ptr %28, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %29 = load ptr, ptr getelementptr inbounds (%struct.squashfs_operations, ptr @s_ops, i32 0, i32 4), align 8, !tbaa !11
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = call ptr %29(i32 noundef %30, i32 noundef %31)
  %33 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %32, ptr %33, align 8, !tbaa !9
  %34 = load i64, ptr getelementptr inbounds (%struct.squashfs_super_block, ptr @sBlk, i32 0, i32 16), align 8, !tbaa !13
  %35 = load ptr, ptr %6, align 8, !tbaa !9
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.inode, ptr %36, i32 0, i32 9
  %38 = load i64, ptr %37, align 8, !tbaa !18
  %39 = add nsw i64 %34, %38
  store i64 %39, ptr %10, align 8, !tbaa !21
  %40 = load i64, ptr %10, align 8, !tbaa !21
  %41 = call i32 @lookup_entry(ptr noundef @directory_table_hash, i64 noundef %40)
  store i32 %41, ptr %11, align 4, !tbaa !5
  %42 = load i32, ptr %11, align 4, !tbaa !5
  %43 = icmp eq i32 %42, -1
  br i1 %43, label %44, label %53

44:                                               ; preds = %3
  br label %45

45:                                               ; preds = %44
  %46 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #9
  %47 = load ptr, ptr @stderr, align 8, !tbaa !9
  %48 = load i32, ptr %4, align 4, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.7, i32 noundef %48) #9
  %50 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #9
  call void @exit(i32 noundef 1) #10
  unreachable

51:                                               ; No predecessors!
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52, %3
  %54 = load ptr, ptr %6, align 8, !tbaa !9
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.inode, ptr %55, i32 0, i32 8
  %57 = load i32, ptr %56, align 4, !tbaa !22
  %58 = load i32, ptr %11, align 4, !tbaa !5
  %59 = add nsw i32 %58, %57
  store i32 %59, ptr %11, align 4, !tbaa !5
  %60 = load ptr, ptr %6, align 8, !tbaa !9
  %61 = load ptr, ptr %60, align 8, !tbaa !9
  %62 = getelementptr inbounds %struct.inode, ptr %61, i32 0, i32 2
  %63 = load i64, ptr %62, align 8, !tbaa !23
  %64 = load i32, ptr %11, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = add nsw i64 %63, %65
  %67 = sub nsw i64 %66, 3
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %13, align 4, !tbaa !5
  %69 = call noalias ptr @malloc(i64 noundef 40) #11
  store ptr %69, ptr %15, align 8, !tbaa !9
  %70 = icmp eq ptr %69, null
  br i1 %70, label %71, label %79

71:                                               ; preds = %53
  br label %72

72:                                               ; preds = %71
  %73 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #9
  %74 = load ptr, ptr @stderr, align 8, !tbaa !9
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.8) #9
  %76 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #9
  call void @exit(i32 noundef 1) #10
  unreachable

77:                                               ; No predecessors!
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78, %53
  %80 = load ptr, ptr %15, align 8, !tbaa !9
  %81 = getelementptr inbounds %struct.dir, ptr %80, i32 0, i32 0
  store i32 0, ptr %81, align 8, !tbaa !24
  %82 = load ptr, ptr %15, align 8, !tbaa !9
  %83 = getelementptr inbounds %struct.dir, ptr %82, i32 0, i32 1
  store i32 0, ptr %83, align 4, !tbaa !26
  %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 7
  %87 = load i32, ptr %86, align 8, !tbaa !27
  %88 = load ptr, ptr %15, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.dir, ptr %88, i32 0, i32 2
  store i32 %87, ptr %89, align 8, !tbaa !28
  %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 13
  %93 = load i32, ptr %92, align 4, !tbaa !29
  %94 = load ptr, ptr %15, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct.dir, ptr %94, i32 0, i32 3
  store i32 %93, ptr %95, align 4, !tbaa !30
  %96 = load ptr, ptr %6, align 8, !tbaa !9
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.inode, ptr %97, i32 0, i32 5
  %99 = load i32, ptr %98, align 8, !tbaa !31
  %100 = load ptr, ptr %15, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.dir, ptr %100, i32 0, i32 4
  store i32 %99, ptr %101, align 8, !tbaa !32
  %102 = load ptr, ptr %6, align 8, !tbaa !9
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.inode, ptr %103, i32 0, i32 11
  %105 = load i64, ptr %104, align 8, !tbaa !33
  %106 = trunc i64 %105 to i32
  %107 = load ptr, ptr %15, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.dir, ptr %107, i32 0, i32 5
  store i32 %106, ptr %108, align 4, !tbaa !34
  %109 = load ptr, ptr %6, align 8, !tbaa !9
  %110 = load ptr, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.inode, ptr %110, i32 0, i32 15
  %112 = load i32, ptr %111, align 4, !tbaa !35
  %113 = load ptr, ptr %15, align 8, !tbaa !9
  %114 = getelementptr inbounds %struct.dir, ptr %113, i32 0, i32 6
  store i32 %112, ptr %114, align 8, !tbaa !36
  %115 = load ptr, ptr %15, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.dir, ptr %115, i32 0, i32 7
  store ptr null, ptr %116, align 8, !tbaa !37
  br label %117

117:                                              ; preds = %469, %79
  %118 = load i32, ptr %11, align 4, !tbaa !5
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %121, label %470

121:                                              ; preds = %117
  %122 = load i32, ptr @swap, align 4, !tbaa !5
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %202

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 9, ptr %16) #9
  %125 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %126 = load i32, ptr %11, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i8, ptr %125, i64 %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %16, ptr align 1 %128, i64 9, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 9, i1 false)
  store i32 0, ptr %18, align 4, !tbaa !5
  store i64 0, ptr %19, align 8, !tbaa !21
  %129 = getelementptr inbounds i8, ptr %16, i64 0
  store ptr %129, ptr %20, align 8, !tbaa !9
  %130 = getelementptr inbounds i8, ptr %19, i64 7
  store ptr %130, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %142, %124
  %132 = load i32, ptr %17, align 4, !tbaa !5
  %133 = load i32, ptr %18, align 4, !tbaa !5
  %134 = add nsw i32 8, %133
  %135 = icmp slt i32 %132, %134
  br i1 %135, label %136, label %145

136:                                              ; preds = %131
  %137 = load ptr, ptr %20, align 8, !tbaa !9
  %138 = getelementptr inbounds i8, ptr %137, i32 1
  store ptr %138, ptr %20, align 8, !tbaa !9
  %139 = load i8, ptr %137, align 1, !tbaa !38
  %140 = load ptr, ptr %21, align 8, !tbaa !9
  %141 = getelementptr inbounds i8, ptr %140, i32 -1
  store ptr %141, ptr %21, align 8, !tbaa !9
  store i8 %139, ptr %140, align 1, !tbaa !38
  br label %142

142:                                              ; preds = %136
  %143 = load i32, ptr %17, align 4, !tbaa !5
  %144 = add nsw i32 %143, 8
  store i32 %144, ptr %17, align 4, !tbaa !5
  br label %131, !llvm.loop !39

145:                                              ; preds = %131
  %146 = load i64, ptr %19, align 8, !tbaa !21
  %147 = load i32, ptr %18, align 4, !tbaa !5
  %148 = sub nsw i32 56, %147
  %149 = zext i32 %148 to i64
  %150 = lshr i64 %146, %149
  %151 = trunc i64 %150 to i32
  %152 = trunc i32 %151 to i8
  store i8 %152, ptr %7, align 1
  %153 = zext i8 %152 to i32
  store i32 0, ptr %18, align 4, !tbaa !5
  store i64 0, ptr %19, align 8, !tbaa !21
  %154 = getelementptr inbounds i8, ptr %16, i64 1
  store ptr %154, ptr %20, align 8, !tbaa !9
  %155 = getelementptr inbounds i8, ptr %19, i64 7
  store ptr %155, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %156

156:                                              ; preds = %167, %145
  %157 = load i32, ptr %17, align 4, !tbaa !5
  %158 = load i32, ptr %18, align 4, !tbaa !5
  %159 = add nsw i32 32, %158
  %160 = icmp slt i32 %157, %159
  br i1 %160, label %161, label %170

161:                                              ; preds = %156
  %162 = load ptr, ptr %20, align 8, !tbaa !9
  %163 = getelementptr inbounds i8, ptr %162, i32 1
  store ptr %163, ptr %20, align 8, !tbaa !9
  %164 = load i8, ptr %162, align 1, !tbaa !38
  %165 = load ptr, ptr %21, align 8, !tbaa !9
  %166 = getelementptr inbounds i8, ptr %165, i32 -1
  store ptr %166, ptr %21, align 8, !tbaa !9
  store i8 %164, ptr %165, align 1, !tbaa !38
  br label %167

167:                                              ; preds = %161
  %168 = load i32, ptr %17, align 4, !tbaa !5
  %169 = add nsw i32 %168, 8
  store i32 %169, ptr %17, align 4, !tbaa !5
  br label %156, !llvm.loop !41

170:                                              ; preds = %156
  %171 = load i64, ptr %19, align 8, !tbaa !21
  %172 = load i32, ptr %18, align 4, !tbaa !5
  %173 = sub nsw i32 32, %172
  %174 = zext i32 %173 to i64
  %175 = lshr i64 %171, %174
  %176 = trunc i64 %175 to i32
  %177 = getelementptr inbounds %struct.squashfs_dir_header_3, ptr %7, i32 0, i32 1
  store i32 %176, ptr %177, align 1, !tbaa !42
  store i32 0, ptr %18, align 4, !tbaa !5
  store i64 0, ptr %19, align 8, !tbaa !21
  %178 = getelementptr inbounds i8, ptr %16, i64 5
  store ptr %178, ptr %20, align 8, !tbaa !9
  %179 = getelementptr inbounds i8, ptr %19, i64 7
  store ptr %179, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %180

180:                                              ; preds = %191, %170
  %181 = load i32, ptr %17, align 4, !tbaa !5
  %182 = load i32, ptr %18, align 4, !tbaa !5
  %183 = add nsw i32 32, %182
  %184 = icmp slt i32 %181, %183
  br i1 %184, label %185, label %194

185:                                              ; preds = %180
  %186 = load ptr, ptr %20, align 8, !tbaa !9
  %187 = getelementptr inbounds i8, ptr %186, i32 1
  store ptr %187, ptr %20, align 8, !tbaa !9
  %188 = load i8, ptr %186, align 1, !tbaa !38
  %189 = load ptr, ptr %21, align 8, !tbaa !9
  %190 = getelementptr inbounds i8, ptr %189, i32 -1
  store ptr %190, ptr %21, align 8, !tbaa !9
  store i8 %188, ptr %189, align 1, !tbaa !38
  br label %191

191:                                              ; preds = %185
  %192 = load i32, ptr %17, align 4, !tbaa !5
  %193 = add nsw i32 %192, 8
  store i32 %193, ptr %17, align 4, !tbaa !5
  br label %180, !llvm.loop !44

194:                                              ; preds = %180
  %195 = load i64, ptr %19, align 8, !tbaa !21
  %196 = load i32, ptr %18, align 4, !tbaa !5
  %197 = sub nsw i32 32, %196
  %198 = zext i32 %197 to i64
  %199 = lshr i64 %195, %198
  %200 = trunc i64 %199 to i32
  %201 = getelementptr inbounds %struct.squashfs_dir_header_3, ptr %7, i32 0, i32 2
  store i32 %200, ptr %201, align 1, !tbaa !45
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 9, ptr %16) #9
  br label %207

202:                                              ; preds = %121
  %203 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds i8, ptr %203, i64 %205
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 %206, i64 9, i1 false)
  br label %207

207:                                              ; preds = %202, %194
  %208 = load i8, ptr %7, align 1
  %209 = zext i8 %208 to i32
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %12, align 4, !tbaa !5
  %211 = load i32, ptr %11, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = add i64 %212, 9
  %214 = trunc i64 %213 to i32
  store i32 %214, ptr %11, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %406, %207
  %216 = load i32, ptr %12, align 4, !tbaa !5
  %217 = add nsw i32 %216, -1
  store i32 %217, ptr %12, align 4, !tbaa !5
  %218 = icmp ne i32 %216, 0
  br i1 %218, label %219, label %469

219:                                              ; preds = %215
  %220 = load i32, ptr @swap, align 4, !tbaa !5
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %222, label %343

222:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 5, ptr %22) #9
  %223 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %224 = load i32, ptr %11, align 4, !tbaa !5
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i8, ptr %223, i64 %225
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %22, ptr align 1 %226, i64 5, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #9
  %227 = load ptr, ptr %9, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %227, i8 0, i64 5, i1 false)
  store i32 0, ptr %24, align 4, !tbaa !5
  store i64 0, ptr %25, align 8, !tbaa !21
  %228 = getelementptr inbounds i8, ptr %22, i64 0
  store ptr %228, ptr %26, align 8, !tbaa !9
  %229 = getelementptr inbounds i8, ptr %25, i64 7
  store ptr %229, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %230

230:                                              ; preds = %241, %222
  %231 = load i32, ptr %23, align 4, !tbaa !5
  %232 = load i32, ptr %24, align 4, !tbaa !5
  %233 = add nsw i32 13, %232
  %234 = icmp slt i32 %231, %233
  br i1 %234, label %235, label %244

235:                                              ; preds = %230
  %236 = load ptr, ptr %26, align 8, !tbaa !9
  %237 = getelementptr inbounds i8, ptr %236, i32 1
  store ptr %237, ptr %26, align 8, !tbaa !9
  %238 = load i8, ptr %236, align 1, !tbaa !38
  %239 = load ptr, ptr %27, align 8, !tbaa !9
  %240 = getelementptr inbounds i8, ptr %239, i32 -1
  store ptr %240, ptr %27, align 8, !tbaa !9
  store i8 %238, ptr %239, align 1, !tbaa !38
  br label %241

241:                                              ; preds = %235
  %242 = load i32, ptr %23, align 4, !tbaa !5
  %243 = add nsw i32 %242, 8
  store i32 %243, ptr %23, align 4, !tbaa !5
  br label %230, !llvm.loop !46

244:                                              ; preds = %230
  %245 = load i64, ptr %25, align 8, !tbaa !21
  %246 = load i32, ptr %24, align 4, !tbaa !5
  %247 = sub nsw i32 51, %246
  %248 = zext i32 %247 to i64
  %249 = lshr i64 %245, %248
  %250 = trunc i64 %249 to i32
  %251 = load ptr, ptr %9, align 8, !tbaa !9
  %252 = trunc i32 %250 to i16
  %253 = load i16, ptr %251, align 1
  %254 = and i16 %252, 8191
  %255 = and i16 %253, -8192
  %256 = or i16 %255, %254
  store i16 %256, ptr %251, align 1
  %257 = zext i16 %254 to i32
  store i32 5, ptr %24, align 4, !tbaa !5
  store i64 0, ptr %25, align 8, !tbaa !21
  %258 = getelementptr inbounds i8, ptr %22, i64 1
  store ptr %258, ptr %26, align 8, !tbaa !9
  %259 = getelementptr inbounds i8, ptr %25, i64 7
  store ptr %259, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %260

260:                                              ; preds = %271, %244
  %261 = load i32, ptr %23, align 4, !tbaa !5
  %262 = load i32, ptr %24, align 4, !tbaa !5
  %263 = add nsw i32 3, %262
  %264 = icmp slt i32 %261, %263
  br i1 %264, label %265, label %274

265:                                              ; preds = %260
  %266 = load ptr, ptr %26, align 8, !tbaa !9
  %267 = getelementptr inbounds i8, ptr %266, i32 1
  store ptr %267, ptr %26, align 8, !tbaa !9
  %268 = load i8, ptr %266, align 1, !tbaa !38
  %269 = load ptr, ptr %27, align 8, !tbaa !9
  %270 = getelementptr inbounds i8, ptr %269, i32 -1
  store ptr %270, ptr %27, align 8, !tbaa !9
  store i8 %268, ptr %269, align 1, !tbaa !38
  br label %271

271:                                              ; preds = %265
  %272 = load i32, ptr %23, align 4, !tbaa !5
  %273 = add nsw i32 %272, 8
  store i32 %273, ptr %23, align 4, !tbaa !5
  br label %260, !llvm.loop !47

274:                                              ; preds = %260
  %275 = load i64, ptr %25, align 8, !tbaa !21
  %276 = load i32, ptr %24, align 4, !tbaa !5
  %277 = sub nsw i32 61, %276
  %278 = zext i32 %277 to i64
  %279 = lshr i64 %275, %278
  %280 = trunc i64 %279 to i32
  %281 = load ptr, ptr %9, align 8, !tbaa !9
  %282 = trunc i32 %280 to i16
  %283 = load i16, ptr %281, align 1
  %284 = and i16 %282, 7
  %285 = shl i16 %284, 13
  %286 = and i16 %283, 8191
  %287 = or i16 %286, %285
  store i16 %287, ptr %281, align 1
  %288 = zext i16 %284 to i32
  store i32 0, ptr %24, align 4, !tbaa !5
  store i64 0, ptr %25, align 8, !tbaa !21
  %289 = getelementptr inbounds i8, ptr %22, i64 2
  store ptr %289, ptr %26, align 8, !tbaa !9
  %290 = getelementptr inbounds i8, ptr %25, i64 7
  store ptr %290, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %291

291:                                              ; preds = %302, %274
  %292 = load i32, ptr %23, align 4, !tbaa !5
  %293 = load i32, ptr %24, align 4, !tbaa !5
  %294 = add nsw i32 8, %293
  %295 = icmp slt i32 %292, %294
  br i1 %295, label %296, label %305

296:                                              ; preds = %291
  %297 = load ptr, ptr %26, align 8, !tbaa !9
  %298 = getelementptr inbounds i8, ptr %297, i32 1
  store ptr %298, ptr %26, align 8, !tbaa !9
  %299 = load i8, ptr %297, align 1, !tbaa !38
  %300 = load ptr, ptr %27, align 8, !tbaa !9
  %301 = getelementptr inbounds i8, ptr %300, i32 -1
  store ptr %301, ptr %27, align 8, !tbaa !9
  store i8 %299, ptr %300, align 1, !tbaa !38
  br label %302

302:                                              ; preds = %296
  %303 = load i32, ptr %23, align 4, !tbaa !5
  %304 = add nsw i32 %303, 8
  store i32 %304, ptr %23, align 4, !tbaa !5
  br label %291, !llvm.loop !48

305:                                              ; preds = %291
  %306 = load i64, ptr %25, align 8, !tbaa !21
  %307 = load i32, ptr %24, align 4, !tbaa !5
  %308 = sub nsw i32 56, %307
  %309 = zext i32 %308 to i64
  %310 = lshr i64 %306, %309
  %311 = trunc i64 %310 to i32
  %312 = load ptr, ptr %9, align 8, !tbaa !9
  %313 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %312, i32 0, i32 1
  %314 = trunc i32 %311 to i8
  store i8 %314, ptr %313, align 1
  %315 = zext i8 %314 to i32
  store i32 0, ptr %24, align 4, !tbaa !5
  store i64 0, ptr %25, align 8, !tbaa !21
  %316 = getelementptr inbounds i8, ptr %22, i64 3
  store ptr %316, ptr %26, align 8, !tbaa !9
  %317 = getelementptr inbounds i8, ptr %25, i64 7
  store ptr %317, ptr %27, align 8, !tbaa !9
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %318

318:                                              ; preds = %329, %305
  %319 = load i32, ptr %23, align 4, !tbaa !5
  %320 = load i32, ptr %24, align 4, !tbaa !5
  %321 = add nsw i32 16, %320
  %322 = icmp slt i32 %319, %321
  br i1 %322, label %323, label %332

323:                                              ; preds = %318
  %324 = load ptr, ptr %26, align 8, !tbaa !9
  %325 = getelementptr inbounds i8, ptr %324, i32 1
  store ptr %325, ptr %26, align 8, !tbaa !9
  %326 = load i8, ptr %324, align 1, !tbaa !38
  %327 = load ptr, ptr %27, align 8, !tbaa !9
  %328 = getelementptr inbounds i8, ptr %327, i32 -1
  store ptr %328, ptr %27, align 8, !tbaa !9
  store i8 %326, ptr %327, align 1, !tbaa !38
  br label %329

329:                                              ; preds = %323
  %330 = load i32, ptr %23, align 4, !tbaa !5
  %331 = add nsw i32 %330, 8
  store i32 %331, ptr %23, align 4, !tbaa !5
  br label %318, !llvm.loop !49

332:                                              ; preds = %318
  %333 = load i64, ptr %25, align 8, !tbaa !21
  %334 = load i32, ptr %24, align 4, !tbaa !5
  %335 = sub nsw i32 48, %334
  %336 = zext i32 %335 to i64
  %337 = lshr i64 %333, %336
  %338 = trunc i64 %337 to i32
  %339 = load ptr, ptr %9, align 8, !tbaa !9
  %340 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %339, i32 0, i32 2
  %341 = trunc i32 %338 to i16
  store i16 %341, ptr %340, align 1
  %342 = sext i16 %341 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 5, ptr %22) #9
  br label %349

343:                                              ; preds = %219
  %344 = load ptr, ptr %9, align 8, !tbaa !9
  %345 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %346 = load i32, ptr %11, align 4, !tbaa !5
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds i8, ptr %345, i64 %347
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %344, ptr align 1 %348, i64 5, i1 false)
  br label %349

349:                                              ; preds = %343, %332
  %350 = load i32, ptr %11, align 4, !tbaa !5
  %351 = sext i32 %350 to i64
  %352 = add i64 %351, 5
  %353 = trunc i64 %352 to i32
  store i32 %353, ptr %11, align 4, !tbaa !5
  %354 = load ptr, ptr %9, align 8, !tbaa !9
  %355 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %354, i32 0, i32 3
  %356 = getelementptr inbounds [0 x i8], ptr %355, i64 0, i64 0
  %357 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %358 = load i32, ptr %11, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds i8, ptr %357, i64 %359
  %361 = load ptr, ptr %9, align 8, !tbaa !9
  %362 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %361, i32 0, i32 1
  %363 = load i8, ptr %362, align 1
  %364 = zext i8 %363 to i32
  %365 = add nsw i32 %364, 1
  %366 = sext i32 %365 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %356, ptr align 1 %360, i64 %366, i1 false)
  %367 = load ptr, ptr %9, align 8, !tbaa !9
  %368 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %367, i32 0, i32 3
  %369 = load ptr, ptr %9, align 8, !tbaa !9
  %370 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %369, i32 0, i32 1
  %371 = load i8, ptr %370, align 1
  %372 = zext i8 %371 to i32
  %373 = add nsw i32 %372, 1
  %374 = sext i32 %373 to i64
  %375 = getelementptr inbounds [0 x i8], ptr %368, i64 0, i64 %374
  store i8 0, ptr %375, align 1, !tbaa !38
  %376 = load ptr, ptr %15, align 8, !tbaa !9
  %377 = getelementptr inbounds %struct.dir, ptr %376, i32 0, i32 0
  %378 = load i32, ptr %377, align 8, !tbaa !24
  %379 = srem i32 %378, 16
  %380 = icmp eq i32 %379, 0
  br i1 %380, label %381, label %406

381:                                              ; preds = %349
  %382 = load ptr, ptr %15, align 8, !tbaa !9
  %383 = getelementptr inbounds %struct.dir, ptr %382, i32 0, i32 7
  %384 = load ptr, ptr %383, align 8, !tbaa !37
  %385 = load ptr, ptr %15, align 8, !tbaa !9
  %386 = getelementptr inbounds %struct.dir, ptr %385, i32 0, i32 0
  %387 = load i32, ptr %386, align 8, !tbaa !24
  %388 = add nsw i32 %387, 16
  %389 = sext i32 %388 to i64
  %390 = mul i64 %389, 272
  %391 = call ptr @realloc(ptr noundef %384, i64 noundef %390) #12
  store ptr %391, ptr %14, align 8, !tbaa !9
  %392 = load ptr, ptr %14, align 8, !tbaa !9
  %393 = icmp eq ptr %392, null
  br i1 %393, label %394, label %402

394:                                              ; preds = %381
  br label %395

395:                                              ; preds = %394
  %396 = call i32 @pthread_mutex_lock(ptr noundef @screen_mutex) #9
  %397 = load ptr, ptr @stderr, align 8, !tbaa !9
  %398 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %397, ptr noundef @.str.9) #9
  %399 = call i32 @pthread_mutex_unlock(ptr noundef @screen_mutex) #9
  call void @exit(i32 noundef 1) #10
  unreachable

400:                                              ; No predecessors!
  br label %401

401:                                              ; preds = %400
  br label %402

402:                                              ; preds = %401, %381
  %403 = load ptr, ptr %14, align 8, !tbaa !9
  %404 = load ptr, ptr %15, align 8, !tbaa !9
  %405 = getelementptr inbounds %struct.dir, ptr %404, i32 0, i32 7
  store ptr %403, ptr %405, align 8, !tbaa !37
  br label %406

406:                                              ; preds = %402, %349
  %407 = load ptr, ptr %15, align 8, !tbaa !9
  %408 = getelementptr inbounds %struct.dir, ptr %407, i32 0, i32 7
  %409 = load ptr, ptr %408, align 8, !tbaa !37
  %410 = load ptr, ptr %15, align 8, !tbaa !9
  %411 = getelementptr inbounds %struct.dir, ptr %410, i32 0, i32 0
  %412 = load i32, ptr %411, align 8, !tbaa !24
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %struct.dir_ent, ptr %409, i64 %413
  %415 = getelementptr inbounds %struct.dir_ent, ptr %414, i32 0, i32 0
  %416 = getelementptr inbounds [257 x i8], ptr %415, i64 0, i64 0
  %417 = load ptr, ptr %9, align 8, !tbaa !9
  %418 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %417, i32 0, i32 3
  %419 = getelementptr inbounds [0 x i8], ptr %418, i64 0, i64 0
  %420 = call ptr @strcpy(ptr noundef %416, ptr noundef %419) #9
  %421 = getelementptr inbounds %struct.squashfs_dir_header_3, ptr %7, i32 0, i32 1
  %422 = load i32, ptr %421, align 1, !tbaa !42
  %423 = load ptr, ptr %15, align 8, !tbaa !9
  %424 = getelementptr inbounds %struct.dir, ptr %423, i32 0, i32 7
  %425 = load ptr, ptr %424, align 8, !tbaa !37
  %426 = load ptr, ptr %15, align 8, !tbaa !9
  %427 = getelementptr inbounds %struct.dir, ptr %426, i32 0, i32 0
  %428 = load i32, ptr %427, align 8, !tbaa !24
  %429 = sext i32 %428 to i64
  %430 = getelementptr inbounds %struct.dir_ent, ptr %425, i64 %429
  %431 = getelementptr inbounds %struct.dir_ent, ptr %430, i32 0, i32 1
  store i32 %422, ptr %431, align 4, !tbaa !50
  %432 = load ptr, ptr %9, align 8, !tbaa !9
  %433 = load i16, ptr %432, align 1
  %434 = and i16 %433, 8191
  %435 = zext i16 %434 to i32
  %436 = load ptr, ptr %15, align 8, !tbaa !9
  %437 = getelementptr inbounds %struct.dir, ptr %436, i32 0, i32 7
  %438 = load ptr, ptr %437, align 8, !tbaa !37
  %439 = load ptr, ptr %15, align 8, !tbaa !9
  %440 = getelementptr inbounds %struct.dir, ptr %439, i32 0, i32 0
  %441 = load i32, ptr %440, align 8, !tbaa !24
  %442 = sext i32 %441 to i64
  %443 = getelementptr inbounds %struct.dir_ent, ptr %438, i64 %442
  %444 = getelementptr inbounds %struct.dir_ent, ptr %443, i32 0, i32 2
  store i32 %435, ptr %444, align 4, !tbaa !52
  %445 = load ptr, ptr %9, align 8, !tbaa !9
  %446 = load i16, ptr %445, align 1
  %447 = lshr i16 %446, 13
  %448 = zext i16 %447 to i32
  %449 = load ptr, ptr %15, align 8, !tbaa !9
  %450 = getelementptr inbounds %struct.dir, ptr %449, i32 0, i32 7
  %451 = load ptr, ptr %450, align 8, !tbaa !37
  %452 = load ptr, ptr %15, align 8, !tbaa !9
  %453 = getelementptr inbounds %struct.dir, ptr %452, i32 0, i32 0
  %454 = load i32, ptr %453, align 8, !tbaa !24
  %455 = sext i32 %454 to i64
  %456 = getelementptr inbounds %struct.dir_ent, ptr %451, i64 %455
  %457 = getelementptr inbounds %struct.dir_ent, ptr %456, i32 0, i32 3
  store i32 %448, ptr %457, align 4, !tbaa !53
  %458 = load ptr, ptr %15, align 8, !tbaa !9
  %459 = getelementptr inbounds %struct.dir, ptr %458, i32 0, i32 0
  %460 = load i32, ptr %459, align 8, !tbaa !24
  %461 = add nsw i32 %460, 1
  store i32 %461, ptr %459, align 8, !tbaa !24
  %462 = load ptr, ptr %9, align 8, !tbaa !9
  %463 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %462, i32 0, i32 1
  %464 = load i8, ptr %463, align 1
  %465 = zext i8 %464 to i32
  %466 = add nsw i32 %465, 1
  %467 = load i32, ptr %11, align 4, !tbaa !5
  %468 = add nsw i32 %467, %466
  store i32 %468, ptr %11, align 4, !tbaa !5
  br label %215, !llvm.loop !54

469:                                              ; preds = %215
  br label %117, !llvm.loop !55

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

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

; 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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { "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 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 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind allocsize(0) }
attributes #12 = { 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 = !{!7, !7, i64 0}
!39 = distinct !{!39, !40}
!40 = !{!"llvm.loop.mustprogress"}
!41 = distinct !{!41, !40}
!42 = !{!43, !6, i64 1}
!43 = !{!"squashfs_dir_header_3", !6, i64 0, !6, i64 1, !6, i64 5}
!44 = distinct !{!44, !40}
!45 = !{!43, !6, i64 5}
!46 = distinct !{!46, !40}
!47 = distinct !{!47, !40}
!48 = distinct !{!48, !40}
!49 = distinct !{!49, !40}
!50 = !{!51, !6, i64 260}
!51 = !{!"dir_ent", !7, i64 0, !6, i64 260, !6, i64 264, !6, i64 268}
!52 = !{!51, !6, i64 264}
!53 = !{!51, !6, i64 268}
!54 = distinct !{!54, !40}
!55 = distinct !{!55, !40}


; 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
@swap = external local_unnamed_addr global i32, align 4
@s_ops = external local_unnamed_addr global %struct.squashfs_operations, align 8
@directory_table_hash = external global [65536 x ptr], align 16
@.str.7 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [56 x i8], align 1
@directory_table = external local_unnamed_addr global ptr, align 8
@.str.9 = 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

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @squashfs_opendir_3(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #7 {
  %4 = alloca [262 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 262, 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.7, 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.8) #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.ph, label %121

.lr.ph:                                           ; preds = %35
  %55 = getelementptr inbounds i8, ptr %4, i64 5
  %56 = getelementptr inbounds i8, ptr %4, i64 2
  br label %58

.loopexit:                                        ; preds = %104
  %57 = icmp slt i32 %118, %27
  br i1 %57, label %58, label %._crit_edge, !llvm.loop !36

58:                                               ; preds = %.lr.ph, %.loopexit
  %59 = phi ptr [ null, %.lr.ph ], [ %105, %.loopexit ]
  %.lcssa155 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.loopexit ]
  %.0124153 = phi i32 [ %22, %.lr.ph ], [ %118, %.loopexit ]
  %60 = load i32, ptr @swap, align 4, !tbaa !38
  %.not = icmp eq i32 %60, 0
  %61 = load ptr, ptr @directory_table, align 8, !tbaa !10
  %62 = sext i32 %.0124153 to i64
  %63 = getelementptr inbounds i8, ptr %61, i64 %62
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 1
  br i1 %.not, label %65, label %64

64:                                               ; preds = %58
  %.sroa.4236.0.copyload = load i8, ptr %.sroa.6.0..sroa_idx, align 1
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 2
  %.sroa.5.0.copyload = load i8, ptr %.sroa.5.0..sroa_idx, align 1
  %.sroa.6237.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 3
  %.sroa.6237.0.copyload = load i8, ptr %.sroa.6237.0..sroa_idx, align 1
  %.sroa.7238.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 4
  %.sroa.7238.0.copyload = load i8, ptr %.sroa.7238.0..sroa_idx, align 1
  %.sroa.13.0.insert.ext231 = zext i8 %.sroa.4236.0.copyload to i32
  %.sroa.13.0.insert.shift232 = shl nuw i32 %.sroa.13.0.insert.ext231, 24
  %.sroa.11.0.insert.ext226 = zext i8 %.sroa.5.0.copyload to i32
  %.sroa.11.0.insert.shift227 = shl nuw nsw i32 %.sroa.11.0.insert.ext226, 16
  %.sroa.11.0.insert.insert229 = or disjoint i32 %.sroa.13.0.insert.shift232, %.sroa.11.0.insert.shift227
  %.sroa.9.0.insert.ext221 = zext i8 %.sroa.6237.0.copyload to i32
  %.sroa.9.0.insert.shift222 = shl nuw nsw i32 %.sroa.9.0.insert.ext221, 8
  %.sroa.9.0.insert.insert224 = or disjoint i32 %.sroa.11.0.insert.insert229, %.sroa.9.0.insert.shift222
  %.sroa.7214.0.insert.ext216 = zext i8 %.sroa.7238.0.copyload to i32
  %.sroa.7214.0.insert.insert219 = or disjoint i32 %.sroa.9.0.insert.insert224, %.sroa.7214.0.insert.ext216
  br label %66

65:                                               ; preds = %58
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 1
  br label %66

66:                                               ; preds = %65, %64
  %.sroa.6.1 = phi i32 [ %.sroa.7214.0.insert.insert219, %64 ], [ %.sroa.6.0.copyload, %65 ]
  %.sroa.0.1 = load i8, ptr %63, align 1
  %67 = zext i8 %.sroa.0.1 to i32
  %68 = add i32 %.0124153, 9
  %sext = shl i64 %.lcssa155, 32
  %69 = ashr exact i64 %sext, 32
  br label %70

70:                                               ; preds = %66, %104
  %71 = phi ptr [ %59, %66 ], [ %105, %104 ]
  %indvars.iv = phi i64 [ %69, %66 ], [ %indvars.iv.next, %104 ]
  %72 = phi i32 [ %67, %66 ], [ %119, %104 ]
  %.1125152 = phi i32 [ %68, %66 ], [ %118, %104 ]
  %73 = load i32, ptr @swap, align 4, !tbaa !38
  %.not130 = icmp eq i32 %73, 0
  %74 = load ptr, ptr @directory_table, align 8, !tbaa !10
  %75 = sext i32 %.1125152 to i64
  %76 = getelementptr inbounds i8, ptr %74, i64 %75
  br i1 %.not130, label %81, label %77

77:                                               ; preds = %70
  %.sroa.0.0.copyload205 = load i8, ptr %76, align 1
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %76, i64 1
  %.sroa.4.0.copyload = load i8, ptr %.sroa.4.0..sroa_idx, align 1
  %.sroa.6.0..sroa_idx207 = getelementptr inbounds i8, ptr %76, i64 2
  %.sroa.6.0.copyload208244 = load i8, ptr %.sroa.6.0..sroa_idx207, align 1
  %.sroa.12.0.insert.ext = zext i8 %.sroa.0.0.copyload205 to i64
  %.sroa.12.0.insert.shift = shl nuw i64 %.sroa.12.0.insert.ext, 56
  %.sroa.10.0.insert.ext = zext i8 %.sroa.4.0.copyload to i64
  %.sroa.10.0.insert.shift = shl nuw nsw i64 %.sroa.10.0.insert.ext, 48
  %.sroa.10.0.insert.insert = or disjoint i64 %.sroa.12.0.insert.shift, %.sroa.10.0.insert.shift
  %78 = lshr i64 %.sroa.10.0.insert.insert, 51
  %79 = trunc nuw nsw i64 %78 to i16
  %.sroa.10.0.insert.ext.tr = zext i8 %.sroa.4.0.copyload to i16
  %tr.sh.diff = shl i16 %.sroa.10.0.insert.ext.tr, 13
  %80 = or disjoint i16 %tr.sh.diff, %79
  store i16 %80, ptr %4, align 16
  store i8 %.sroa.6.0.copyload208244, ptr %56, align 2
  br label %82

81:                                               ; preds = %70
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(5) %4, ptr noundef nonnull align 1 dereferenceable(5) %76, i64 5, i1 false)
  %.pre = load i8, ptr %56, align 2
  br label %82

82:                                               ; preds = %81, %77
  %83 = phi i8 [ %.pre, %81 ], [ %.sroa.6.0.copyload208244, %77 ]
  %84 = add i32 %.1125152, 5
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds i8, ptr %74, i64 %85
  %87 = zext i8 %83 to i64
  %88 = add nuw nsw i64 %87, 1
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %55, ptr noundef nonnull align 1 dereferenceable(1) %86, i64 %88, i1 false)
  %89 = getelementptr inbounds [0 x i8], ptr %55, i64 0, i64 %88
  store i8 0, ptr %89, align 1, !tbaa !39
  %90 = trunc nsw i64 %indvars.iv to i32
  %91 = and i32 %90, 15
  %92 = icmp eq i32 %91, 0
  br i1 %92, label %93, label %104

93:                                               ; preds = %82
  %94 = mul i64 %indvars.iv, 272
  %95 = add i64 %94, 4352
  %96 = tail call ptr @realloc(ptr noundef %71, i64 noundef %95) #14
  %97 = icmp eq ptr %96, null
  br i1 %97, label %98, label %103

98:                                               ; preds = %93
  store i32 %90, ptr %28, align 8, !tbaa !22
  %99 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @screen_mutex) #10
  %100 = load ptr, ptr @stderr, align 8, !tbaa !10
  %101 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.9) #11
  %102 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @screen_mutex) #10
  tail call void @exit(i32 noundef 1) #12
  unreachable

103:                                              ; preds = %93
  store ptr %96, ptr %53, align 8, !tbaa !35
  br label %104

104:                                              ; preds = %103, %82
  %105 = phi ptr [ %96, %103 ], [ %71, %82 ]
  %106 = getelementptr inbounds %struct.dir_ent, ptr %105, i64 %indvars.iv
  %107 = call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %106, ptr noundef nonnull dereferenceable(1) %55) #10
  %108 = getelementptr inbounds %struct.dir_ent, ptr %105, i64 %indvars.iv, i32 1
  store i32 %.sroa.6.1, ptr %108, align 4, !tbaa !40
  %109 = load i16, ptr %4, align 16
  %110 = and i16 %109, 8191
  %111 = zext nneg i16 %110 to i32
  %112 = getelementptr inbounds %struct.dir_ent, ptr %105, i64 %indvars.iv, i32 2
  store i32 %111, ptr %112, align 4, !tbaa !42
  %113 = lshr i16 %109, 13
  %114 = zext nneg i16 %113 to i32
  %115 = getelementptr inbounds %struct.dir_ent, ptr %105, i64 %indvars.iv, i32 3
  store i32 %114, ptr %115, align 4, !tbaa !43
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %116 = zext i8 %83 to i32
  %117 = add i32 %.1125152, 6
  %118 = add i32 %117, %116
  %119 = add nsw i32 %72, -1
  %.not129 = icmp eq i32 %72, 0
  br i1 %.not129, label %.loopexit, label %70, !llvm.loop !44

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

121:                                              ; preds = %._crit_edge, %35
  call void @llvm.lifetime.end.p0(i64 262, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { "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 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 = !{!14, !14, i64 0}
!39 = !{!8, !8, i64 0}
!40 = !{!41, !14, i64 260}
!41 = !{!"dir_ent", !8, i64 0, !14, i64 260, !14, i64 264, !14, i64 268}
!42 = !{!41, !14, i64 264}
!43 = !{!41, !14, i64 268}
!44 = distinct !{!44, !37}


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