; LLVM IR from mncoppola/rpef :: utilities_src/squashfs4.2/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 = load ptr, ptr %15, align 8, !tbaa !9
  %71 = icmp eq ptr %70, null
  br i1 %71, label %72, label %80

72:                                               ; preds = %53
  br label %73

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

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78
  br label %80

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

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

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

125:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 9, ptr %16) #9
  %126 = load ptr, ptr @directory_table, align 8, !tbaa !9
  %127 = load i32, ptr %11, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds i8, ptr %126, i64 %128
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %16, ptr align 1 %129, 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
  %130 = getelementptr inbounds i8, ptr %16, i64 0
  store ptr %130, ptr %20, align 8, !tbaa !9
  %131 = getelementptr inbounds i8, ptr %19, i64 7
  store ptr %131, ptr %21, align 8, !tbaa !9
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %132

132:                                              ; preds = %143, %125
  %133 = load i32, ptr %17, align 4, !tbaa !5
  %134 = load i32, ptr %18, align 4, !tbaa !5
  %135 = add nsw i32 8, %134
  %136 = icmp slt i32 %133, %135
  br i1 %136, label %137, label %146

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

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

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

157:                                              ; preds = %168, %146
  %158 = load i32, ptr %17, align 4, !tbaa !5
  %159 = load i32, ptr %18, align 4, !tbaa !5
  %160 = add nsw i32 32, %159
  %161 = icmp slt i32 %158, %160
  br i1 %161, label %162, label %171

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

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

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

181:                                              ; preds = %192, %171
  %182 = load i32, ptr %17, align 4, !tbaa !5
  %183 = load i32, ptr %18, align 4, !tbaa !5
  %184 = add nsw i32 32, %183
  %185 = icmp slt i32 %182, %184
  br i1 %185, label %186, label %195

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

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

195:                                              ; preds = %181
  %196 = load i64, ptr %19, align 8, !tbaa !21
  %197 = load i32, ptr %18, align 4, !tbaa !5
  %198 = sub nsw i32 32, %197
  %199 = zext i32 %198 to i64
  %200 = lshr i64 %196, %199
  %201 = trunc i64 %200 to i32
  %202 = getelementptr inbounds %struct.squashfs_dir_header_3, ptr %7, i32 0, i32 2
  store i32 %201, ptr %202, 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 %208

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

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

216:                                              ; preds = %407, %208
  %217 = load i32, ptr %12, align 4, !tbaa !5
  %218 = add nsw i32 %217, -1
  store i32 %218, ptr %12, align 4, !tbaa !5
  %219 = icmp ne i32 %217, 0
  br i1 %219, label %220, label %470

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

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

231:                                              ; preds = %242, %223
  %232 = load i32, ptr %23, align 4, !tbaa !5
  %233 = load i32, ptr %24, align 4, !tbaa !5
  %234 = add nsw i32 13, %233
  %235 = icmp slt i32 %232, %234
  br i1 %235, label %236, label %245

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

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

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

261:                                              ; preds = %272, %245
  %262 = load i32, ptr %23, align 4, !tbaa !5
  %263 = load i32, ptr %24, align 4, !tbaa !5
  %264 = add nsw i32 3, %263
  %265 = icmp slt i32 %262, %264
  br i1 %265, label %266, label %275

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

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

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

292:                                              ; preds = %303, %275
  %293 = load i32, ptr %23, align 4, !tbaa !5
  %294 = load i32, ptr %24, align 4, !tbaa !5
  %295 = add nsw i32 8, %294
  %296 = icmp slt i32 %293, %295
  br i1 %296, label %297, label %306

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

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

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

319:                                              ; preds = %330, %306
  %320 = load i32, ptr %23, align 4, !tbaa !5
  %321 = load i32, ptr %24, align 4, !tbaa !5
  %322 = add nsw i32 16, %321
  %323 = icmp slt i32 %320, %322
  br i1 %323, label %324, label %333

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

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

333:                                              ; preds = %319
  %334 = load i64, ptr %25, align 8, !tbaa !21
  %335 = load i32, ptr %24, align 4, !tbaa !5
  %336 = sub nsw i32 48, %335
  %337 = zext i32 %336 to i64
  %338 = lshr i64 %334, %337
  %339 = trunc i64 %338 to i32
  %340 = load ptr, ptr %9, align 8, !tbaa !9
  %341 = getelementptr inbounds %struct.squashfs_dir_entry_3, ptr %340, i32 0, i32 2
  %342 = trunc i32 %339 to i16
  store i16 %342, ptr %341, align 1
  %343 = sext i16 %342 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 %350

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

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

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

395:                                              ; preds = %382
  br label %396

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

401:                                              ; No predecessors!
  br label %402

402:                                              ; preds = %401
  br label %403

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

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

470:                                              ; preds = %216
  br label %118, !llvm.loop !55

471:                                              ; preds = %118
  %472 = 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 %472
}

; 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 ]
  %.lcssa156 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %.loopexit ]
  %.0125154 = 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 %.0125154 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.4237.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.6238.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 3
  %.sroa.6238.0.copyload = load i8, ptr %.sroa.6238.0..sroa_idx, align 1
  %.sroa.7239.0..sroa_idx = getelementptr inbounds i8, ptr %63, i64 4
  %.sroa.7239.0.copyload = load i8, ptr %.sroa.7239.0..sroa_idx, align 1
  %.sroa.13.0.insert.ext232 = zext i8 %.sroa.4237.0.copyload to i32
  %.sroa.13.0.insert.shift233 = shl nuw i32 %.sroa.13.0.insert.ext232, 24
  %.sroa.11.0.insert.ext227 = zext i8 %.sroa.5.0.copyload to i32
  %.sroa.11.0.insert.shift228 = shl nuw nsw i32 %.sroa.11.0.insert.ext227, 16
  %.sroa.11.0.insert.insert230 = or disjoint i32 %.sroa.13.0.insert.shift233, %.sroa.11.0.insert.shift228
  %.sroa.9.0.insert.ext222 = zext i8 %.sroa.6238.0.copyload to i32
  %.sroa.9.0.insert.shift223 = shl nuw nsw i32 %.sroa.9.0.insert.ext222, 8
  %.sroa.9.0.insert.insert225 = or disjoint i32 %.sroa.11.0.insert.insert230, %.sroa.9.0.insert.shift223
  %.sroa.7215.0.insert.ext217 = zext i8 %.sroa.7239.0.copyload to i32
  %.sroa.7215.0.insert.insert220 = or disjoint i32 %.sroa.9.0.insert.insert225, %.sroa.7215.0.insert.ext217
  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.7215.0.insert.insert220, %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 %.0125154, 9
  %sext = shl i64 %.lcssa156, 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 ]
  %.1126153 = phi i32 [ %68, %66 ], [ %118, %104 ]
  %73 = load i32, ptr @swap, align 4, !tbaa !38
  %.not131 = icmp eq i32 %73, 0
  %74 = load ptr, ptr @directory_table, align 8, !tbaa !10
  %75 = sext i32 %.1126153 to i64
  %76 = getelementptr inbounds i8, ptr %74, i64 %75
  br i1 %.not131, label %81, label %77

77:                                               ; preds = %70
  %.sroa.0.0.copyload206 = 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_idx208 = getelementptr inbounds i8, ptr %76, i64 2
  %.sroa.6.0.copyload209245 = load i8, ptr %.sroa.6.0..sroa_idx208, align 1
  %.sroa.12.0.insert.ext = zext i8 %.sroa.0.0.copyload206 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.copyload209245, 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.copyload209245, %77 ]
  %84 = add i32 %.1126153, 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 %.1126153, 6
  %118 = add i32 %117, %116
  %119 = add nsw i32 %72, -1
  %.not130 = icmp eq i32 %72, 0
  br i1 %.not130, 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