; LLVM IR from jspd-group/pegit :: src (status)

; 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.pack_file_cache = type { ptr, %struct.strbuf }
%struct.strbuf = type { i64, i64, ptr }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.dirent = type { i64, i64, i16, i8, [256 x i8] }
%struct.index = type { [256 x i8], %struct.stat, i8, i64, i64, i64 }
%struct.index_list = type { ptr, ptr }

@count = external dso_local global i64, align 8
@d_root = external dso_local global ptr, align 8
@d_sptr = external dso_local global ptr, align 8
@count_new = external dso_local global i32, align 4
@count_modified = external dso_local global i32, align 4
@count_deleted = external dso_local global i32, align 4
@root = external dso_local global ptr, align 8
@sig = external dso_local global i8, align 1
@__const.status.cache = external hidden unnamed_addr constant %struct.pack_file_cache, align 8
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@stdout = external global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@__const.status.buf1 = external hidden unnamed_addr constant %struct.strbuf, align 8
@__const.status.buf2 = external hidden unnamed_addr constant %struct.strbuf, align 8
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @file_path(ptr noundef, ptr noundef) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @status(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.stat, align 8
  %7 = alloca %struct.strbuf, align 8
  %8 = alloca %struct.strbuf, align 8
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.pack_file_cache, align 8
  %20 = alloca i32, align 4
  %21 = alloca %struct.strbuf, align 8
  %22 = alloca %struct.strbuf, align 8
  %23 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %24 = load ptr, ptr @root, align 8, !tbaa !5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %27

26:                                               ; preds = %1
  store ptr null, ptr @root, align 8, !tbaa !5
  br label %27

27:                                               ; preds = %26, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.start.p0(i64 144, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  store ptr null, ptr %11, align 8, !tbaa !5
  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
  store ptr null, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  store ptr %28, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 @__const.status.cache, i64 32, i1 false)
  %29 = call i32 @set_timer(i32 noundef 300)
  %30 = call i64 @make_commit_list(ptr noundef %16)
  %31 = load ptr, ptr %16, align 8, !tbaa !5
  %32 = call ptr @get_head_commit_list(ptr noundef %31)
  store ptr %32, ptr %17, align 8, !tbaa !5
  %33 = call i32 @cache_pack_file(ptr noundef %19)
  br label %34

34:                                               ; preds = %264, %27
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = call ptr @opendir(ptr noundef %35)
  store ptr %36, ptr %3, align 8, !tbaa !5
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = icmp eq ptr %37, null
  br i1 %38, label %39, label %57

39:                                               ; preds = %34
  br label %40

40:                                               ; preds = %39
  %41 = load ptr, ptr @stderr, align 8, !tbaa !5
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef @.str.1) #9
  %43 = load ptr, ptr @stderr, align 8, !tbaa !5
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef @.str.2) #9
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str.3) #9
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.4) #9
  %49 = load ptr, ptr @stderr, align 8, !tbaa !5
  %50 = load ptr, ptr %15, align 8, !tbaa !5
  %51 = call ptr @__errno_location() #10
  %52 = load i32, ptr %51, align 4, !tbaa !9
  %53 = call ptr @strerror(i32 noundef %52) #9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.5, ptr noundef %50, ptr noundef %53) #9
  call void @exit(i32 noundef 1) #11
  unreachable

55:                                               ; No predecessors!
  br label %56

56:                                               ; preds = %55
  br label %57

57:                                               ; preds = %56, %34
  br label %58

58:                                               ; preds = %257, %252, %95, %57
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = call ptr @readdir(ptr noundef %59)
  store ptr %60, ptr %5, align 8, !tbaa !5
  %61 = icmp ne ptr %60, null
  br i1 %61, label %62, label %258

62:                                               ; preds = %58
  %63 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %64 = trunc i8 %63 to i1
  br i1 %64, label %69, label %65

65:                                               ; preds = %62
  %66 = call i32 (...) @got_signal()
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %69

68:                                               ; preds = %65
  store i8 1, ptr @sig, align 1, !tbaa !11
  call void (...) @reset_signal()
  br label %69

69:                                               ; preds = %68, %65, %62
  %70 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %80

72:                                               ; preds = %69
  %73 = call i32 (...) @got_signal()
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %80

75:                                               ; preds = %72
  %76 = load i64, ptr @count, align 8, !tbaa !15
  %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %76)
  %78 = load ptr, ptr @stdout, align 8, !tbaa !5
  %79 = call i32 @fflush(ptr noundef %78)
  call void (...) @reset_signal()
  br label %80

80:                                               ; preds = %75, %72, %69
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.dirent, ptr %81, i32 0, i32 4
  %83 = getelementptr inbounds [256 x i8], ptr %82, i64 0, i64 0
  store ptr %83, ptr %4, align 8, !tbaa !5
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = call i32 @strcmp(ptr noundef %84, ptr noundef @.str.7) #12
  %86 = icmp ne i32 %85, 0
  br i1 %86, label %87, label %95

87:                                               ; preds = %80
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = call i32 @strcmp(ptr noundef %88, ptr noundef @.str.8) #12
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %95

91:                                               ; preds = %87
  %92 = load ptr, ptr %4, align 8, !tbaa !5
  %93 = call i32 @strcmp(ptr noundef %92, ptr noundef @.str.9) #12
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %96, label %95

95:                                               ; preds = %91, %87, %80
  br label %58, !llvm.loop !17

96:                                               ; preds = %91
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = load ptr, ptr %4, align 8, !tbaa !5
  %99 = call ptr @file_path(ptr noundef %97, ptr noundef %98)
  store ptr %99, ptr %4, align 8, !tbaa !5
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = call i32 @stat(ptr noundef %100, ptr noundef %6) #9
  %102 = icmp slt i32 %101, 0
  br i1 %102, label %103, label %121

103:                                              ; preds = %96
  br label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr @stderr, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %105, ptr noundef @.str.1) #9
  %107 = load ptr, ptr @stderr, align 8, !tbaa !5
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %107, ptr noundef @.str.2) #9
  %109 = load ptr, ptr @stderr, align 8, !tbaa !5
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.3) #9
  %111 = load ptr, ptr @stderr, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.4) #9
  %113 = load ptr, ptr @stderr, align 8, !tbaa !5
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = call ptr @__errno_location() #10
  %116 = load i32, ptr %115, align 4, !tbaa !9
  %117 = call ptr @strerror(i32 noundef %116) #9
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.10, ptr noundef %114, ptr noundef %117) #9
  call void @exit(i32 noundef 1) #11
  unreachable

119:                                              ; No predecessors!
  br label %120

120:                                              ; preds = %119
  br label %121

121:                                              ; preds = %120, %96
  %122 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 3
  %123 = load i32, ptr %122, align 8, !tbaa !19
  %124 = and i32 %123, 61440
  %125 = icmp eq i32 %124, 32768
  br i1 %125, label %126, label %235

126:                                              ; preds = %121
  %127 = load ptr, ptr %17, align 8, !tbaa !5
  %128 = load ptr, ptr %4, align 8, !tbaa !5
  %129 = call ptr @find_file_index_list(ptr noundef %127, ptr noundef %128)
  store ptr %129, ptr %18, align 8, !tbaa !5
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %139

132:                                              ; preds = %126
  store i32 1, ptr %13, align 4, !tbaa !9
  %133 = load ptr, ptr %18, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.index, ptr %133, i32 0, i32 2
  %135 = load i8, ptr %134, align 8, !tbaa !22
  %136 = zext i8 %135 to i32
  %137 = or i32 %136, 32
  %138 = trunc i32 %137 to i8
  store i8 %138, ptr %134, align 8, !tbaa !22
  br label %140

139:                                              ; preds = %126
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %139, %132
  %141 = load i32, ptr %13, align 4, !tbaa !9
  %142 = icmp ne i32 %141, 0
  br i1 %142, label %143, label %210

143:                                              ; preds = %140
  %144 = load ptr, ptr %18, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.index, ptr %144, i32 0, i32 1
  %146 = getelementptr inbounds %struct.stat, ptr %145, i32 0, i32 12
  %147 = getelementptr inbounds %struct.timespec, ptr %146, i32 0, i32 0
  %148 = load i64, ptr %147, align 8, !tbaa !24
  %149 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 12
  %150 = getelementptr inbounds %struct.timespec, ptr %149, i32 0, i32 0
  %151 = load i64, ptr %150, align 8, !tbaa !25
  %152 = icmp slt i64 %148, %151
  %153 = zext i1 %152 to i32
  store i32 %153, ptr %12, align 4, !tbaa !9
  %154 = load i32, ptr %12, align 4, !tbaa !9
  %155 = icmp ne i32 %154, 0
  br i1 %155, label %156, label %209

156:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  %158 = call i32 (ptr, i32, ...) @open(ptr noundef %157, i32 noundef 0)
  store i32 %158, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 @__const.status.buf1, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 @__const.status.buf2, i64 24, i1 false)
  %159 = load i32, ptr %20, align 4, !tbaa !9
  %160 = icmp slt i32 %159, 0
  br i1 %160, label %161, label %179

161:                                              ; preds = %156
  br label %162

162:                                              ; preds = %161
  %163 = load ptr, ptr @stderr, align 8, !tbaa !5
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.1) #9
  %165 = load ptr, ptr @stderr, align 8, !tbaa !5
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.2) #9
  %167 = load ptr, ptr @stderr, align 8, !tbaa !5
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.3) #9
  %169 = load ptr, ptr @stderr, align 8, !tbaa !5
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.4) #9
  %171 = load ptr, ptr @stderr, align 8, !tbaa !5
  %172 = load ptr, ptr %4, align 8, !tbaa !5
  %173 = call ptr @__errno_location() #10
  %174 = load i32, ptr %173, align 4, !tbaa !9
  %175 = call ptr @strerror(i32 noundef %174) #9
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.11, ptr noundef %172, ptr noundef %175) #9
  call void @exit(i32 noundef 1) #11
  unreachable

177:                                              ; No predecessors!
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178, %156
  %180 = load i32, ptr %20, align 4, !tbaa !9
  %181 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 8
  %182 = load i64, ptr %181, align 8, !tbaa !26
  %183 = call i64 @strbuf_read(ptr noundef %21, i32 noundef %180, i64 noundef %182)
  %184 = load i32, ptr %20, align 4, !tbaa !9
  %185 = call i32 @close(i32 noundef %184)
  %186 = icmp slt i32 %185, 0
  br i1 %186, label %187, label %205

187:                                              ; preds = %179
  br label %188

188:                                              ; preds = %187
  %189 = load ptr, ptr @stderr, align 8, !tbaa !5
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.1) #9
  %191 = load ptr, ptr @stderr, align 8, !tbaa !5
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.2) #9
  %193 = load ptr, ptr @stderr, align 8, !tbaa !5
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.3) #9
  %195 = load ptr, ptr @stderr, align 8, !tbaa !5
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.4) #9
  %197 = load ptr, ptr @stderr, align 8, !tbaa !5
  %198 = load ptr, ptr %4, align 8, !tbaa !5
  %199 = call ptr @__errno_location() #10
  %200 = load i32, ptr %199, align 4, !tbaa !9
  %201 = call ptr @strerror(i32 noundef %200) #9
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.12, ptr noundef %198, ptr noundef %201) #9
  call void @exit(i32 noundef 1) #11
  unreachable

203:                                              ; No predecessors!
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204, %179
  %206 = load ptr, ptr %18, align 8, !tbaa !5
  %207 = call i32 @get_file_content(ptr noundef %19, ptr noundef %22, ptr noundef %206)
  %208 = call i32 @strbuf_cmp(ptr noundef %21, ptr noundef %22)
  store i32 %208, ptr %12, align 4, !tbaa !9
  call void @strbuf_release(ptr noundef %21)
  call void @strbuf_release(ptr noundef %22)
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %209

209:                                              ; preds = %205, %143
  br label %210

210:                                              ; preds = %209, %140
  %211 = load i32, ptr %13, align 4, !tbaa !9
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %227

213:                                              ; preds = %210
  %214 = load i32, ptr %12, align 4, !tbaa !9
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %219

216:                                              ; preds = %213
  %217 = call ptr @createnode()
  store ptr %217, ptr %10, align 8, !tbaa !5
  %218 = load ptr, ptr %4, align 8, !tbaa !5
  call void @intialise_node(ptr noundef %10, ptr noundef %218, i32 noundef 0, ptr noundef null)
  call void @insert_node(ptr noundef @root, ptr noundef %10, ptr noundef %11)
  br label %224

219:                                              ; preds = %213
  %220 = load i32, ptr @count_modified, align 4, !tbaa !9
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr @count_modified, align 4, !tbaa !9
  %222 = call ptr @createnode()
  store ptr %222, ptr %10, align 8, !tbaa !5
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  call void @intialise_node(ptr noundef %10, ptr noundef %223, i32 noundef 256, ptr noundef null)
  call void @insert_node(ptr noundef @root, ptr noundef %10, ptr noundef %11)
  br label %224

224:                                              ; preds = %219, %216
  %225 = load i64, ptr @count, align 8, !tbaa !15
  %226 = add i64 %225, 1
  store i64 %226, ptr @count, align 8, !tbaa !15
  br label %234

227:                                              ; preds = %210
  %228 = load i32, ptr @count_new, align 4, !tbaa !9
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr @count_new, align 4, !tbaa !9
  %230 = call ptr @createnode()
  store ptr %230, ptr %10, align 8, !tbaa !5
  %231 = load ptr, ptr %4, align 8, !tbaa !5
  call void @intialise_node(ptr noundef %10, ptr noundef %231, i32 noundef 512, ptr noundef null)
  call void @insert_node(ptr noundef @root, ptr noundef %10, ptr noundef %11)
  %232 = load i64, ptr @count, align 8, !tbaa !15
  %233 = add i64 %232, 1
  store i64 %233, ptr @count, align 8, !tbaa !15
  br label %234

234:                                              ; preds = %227, %224
  br label %257

235:                                              ; preds = %121
  %236 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 3
  %237 = load i32, ptr %236, align 8, !tbaa !19
  %238 = and i32 %237, 61440
  %239 = icmp eq i32 %238, 16384
  br i1 %239, label %240, label %256

240:                                              ; preds = %235
  %241 = load ptr, ptr %5, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.dirent, ptr %241, i32 0, i32 4
  %243 = getelementptr inbounds [256 x i8], ptr %242, i64 0, i64 0
  %244 = call i32 @strcmp(ptr noundef %243, ptr noundef @.str.7) #12
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %252

246:                                              ; preds = %240
  %247 = load ptr, ptr %5, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.dirent, ptr %247, i32 0, i32 4
  %249 = getelementptr inbounds [256 x i8], ptr %248, i64 0, i64 0
  %250 = call i32 @strcmp(ptr noundef %249, ptr noundef @.str.8) #12
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %253, label %252

252:                                              ; preds = %246, %240
  br label %58, !llvm.loop !17

253:                                              ; preds = %246
  %254 = load ptr, ptr %5, align 8, !tbaa !5
  %255 = load ptr, ptr %15, align 8, !tbaa !5
  call void @push(ptr noundef %254, ptr noundef %255)
  br label %256

256:                                              ; preds = %253, %235
  br label %257

257:                                              ; preds = %256, %234
  br label %58, !llvm.loop !17

258:                                              ; preds = %58
  %259 = load ptr, ptr %3, align 8, !tbaa !5
  %260 = call i32 @closedir(ptr noundef %259)
  %261 = load ptr, ptr @d_sptr, align 8, !tbaa !5
  %262 = load ptr, ptr @d_root, align 8, !tbaa !5
  %263 = icmp ne ptr %261, %262
  br i1 %263, label %264, label %268

264:                                              ; preds = %258
  %265 = call ptr @pop()
  store ptr %265, ptr %14, align 8, !tbaa !5
  %266 = load ptr, ptr %14, align 8, !tbaa !5
  %267 = call ptr @path(ptr noundef %266)
  store ptr %267, ptr %15, align 8, !tbaa !5
  br label %34

268:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %269 = load ptr, ptr %17, align 8, !tbaa !5
  store ptr %269, ptr %23, align 8, !tbaa !5
  br label %270

270:                                              ; preds = %330, %281, %268
  %271 = load ptr, ptr %23, align 8, !tbaa !5
  %272 = icmp ne ptr %271, null
  br i1 %272, label %273, label %331

273:                                              ; preds = %270
  %274 = load ptr, ptr %23, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.index_list, ptr %274, i32 0, i32 0
  %276 = load ptr, ptr %275, align 8, !tbaa !27
  %277 = getelementptr inbounds %struct.index, ptr %276, i32 0, i32 2
  %278 = load i8, ptr %277, align 8, !tbaa !22
  %279 = zext i8 %278 to i32
  %280 = icmp eq i32 %279, 8
  br i1 %280, label %281, label %285

281:                                              ; preds = %273
  %282 = load ptr, ptr %23, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.index_list, ptr %282, i32 0, i32 1
  %284 = load ptr, ptr %283, align 8, !tbaa !29
  store ptr %284, ptr %23, align 8, !tbaa !5
  br label %270, !llvm.loop !30

285:                                              ; preds = %273
  %286 = load ptr, ptr %23, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.index_list, ptr %286, i32 0, i32 0
  %288 = load ptr, ptr %287, align 8, !tbaa !27
  %289 = getelementptr inbounds %struct.index, ptr %288, i32 0, i32 2
  %290 = load i8, ptr %289, align 8, !tbaa !22
  %291 = zext i8 %290 to i32
  %292 = and i32 %291, 32
  %293 = icmp ne i32 %292, 0
  br i1 %293, label %294, label %298

294:                                              ; preds = %285
  %295 = load ptr, ptr %23, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.index_list, ptr %295, i32 0, i32 1
  %297 = load ptr, ptr %296, align 8, !tbaa !29
  store ptr %297, ptr %23, align 8, !tbaa !5
  br label %312

298:                                              ; preds = %285
  %299 = call ptr @createnode()
  store ptr %299, ptr %10, align 8, !tbaa !5
  %300 = load ptr, ptr %23, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.index_list, ptr %300, i32 0, i32 0
  %302 = load ptr, ptr %301, align 8, !tbaa !27
  %303 = getelementptr inbounds %struct.index, ptr %302, i32 0, i32 0
  %304 = getelementptr inbounds [256 x i8], ptr %303, i64 0, i64 0
  call void @intialise_node(ptr noundef %10, ptr noundef %304, i32 noundef 2048, ptr noundef null)
  call void @insert_node(ptr noundef @root, ptr noundef %10, ptr noundef %11)
  %305 = load ptr, ptr %23, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.index_list, ptr %305, i32 0, i32 1
  %307 = load ptr, ptr %306, align 8, !tbaa !29
  store ptr %307, ptr %23, align 8, !tbaa !5
  %308 = load i32, ptr @count_deleted, align 4, !tbaa !9
  %309 = add nsw i32 %308, 1
  store i32 %309, ptr @count_deleted, align 4, !tbaa !9
  %310 = load i64, ptr @count, align 8, !tbaa !15
  %311 = add i64 %310, 1
  store i64 %311, ptr @count, align 8, !tbaa !15
  br label %312

312:                                              ; preds = %298, %294
  %313 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %314 = trunc i8 %313 to i1
  br i1 %314, label %319, label %315

315:                                              ; preds = %312
  %316 = call i32 (...) @got_signal()
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %319

318:                                              ; preds = %315
  store i8 1, ptr @sig, align 1, !tbaa !11
  br label %319

319:                                              ; preds = %318, %315, %312
  %320 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %321 = trunc i8 %320 to i1
  br i1 %321, label %322, label %330

322:                                              ; preds = %319
  %323 = call i32 (...) @got_signal()
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %325, label %330

325:                                              ; preds = %322
  %326 = load i64, ptr @count, align 8, !tbaa !15
  %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %326)
  %328 = load ptr, ptr @stdout, align 8, !tbaa !5
  %329 = call i32 @fflush(ptr noundef %328)
  call void (...) @reset_signal()
  br label %330

330:                                              ; preds = %325, %322, %319
  br label %270, !llvm.loop !30

331:                                              ; preds = %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  %332 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %333 = trunc i8 %332 to i1
  br i1 %333, label %334, label %342

334:                                              ; preds = %331
  %335 = call i32 (...) @got_signal()
  %336 = icmp ne i32 %335, 0
  br i1 %336, label %337, label %342

337:                                              ; preds = %334
  %338 = load i64, ptr @count, align 8, !tbaa !15
  %339 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i64 noundef %338)
  %340 = load ptr, ptr @stdout, align 8, !tbaa !5
  %341 = call i32 @fflush(ptr noundef %340)
  call void (...) @reset_signal()
  br label %342

342:                                              ; preds = %337, %334, %331
  %343 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %344 = trunc i8 %343 to i1
  br i1 %344, label %345, label %347

345:                                              ; preds = %342
  %346 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
  br label %347

347:                                              ; preds = %345, %342
  call void @commit_list_del(ptr noundef %16)
  call void (...) @stop_timer()
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #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 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #9
  ret i32 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) #2

declare i32 @set_timer(i32 noundef) #3

declare i64 @make_commit_list(ptr noundef) #3

declare ptr @get_head_commit_list(ptr noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @cache_pack_file(ptr noundef) #4

declare ptr @opendir(ptr noundef) #3

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #5

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #6

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

declare ptr @readdir(ptr noundef) #3

declare i32 @got_signal(...) #3

declare void @reset_signal(...) #3

declare i32 @printf(ptr noundef, ...) #3

declare i32 @fflush(ptr noundef) #3

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #8

; Function Attrs: nounwind
declare i32 @stat(ptr noundef, ptr noundef) #5

declare ptr @find_file_index_list(ptr noundef, ptr noundef) #3

declare i32 @open(ptr noundef, i32 noundef, ...) #3

declare i64 @strbuf_read(ptr noundef, i32 noundef, i64 noundef) #3

declare i32 @close(i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @get_file_content(ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @strbuf_cmp(ptr noundef, ptr noundef) #3

declare void @strbuf_release(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local void @intialise_node(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @insert_node(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @push(ptr noundef, ptr noundef) #0

declare i32 @closedir(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @path(ptr noundef) #0

declare void @commit_list_del(ptr noundef) #3

declare void @stop_timer(...) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @createnode() #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pop() #0

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 24}
!20 = !{!"stat", !16, i64 0, !16, i64 8, !16, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !21, i64 72, !21, i64 88, !21, i64 104, !7, i64 120}
!21 = !{!"timespec", !16, i64 0, !16, i64 8}
!22 = !{!23, !7, i64 400}
!23 = !{!"index", !7, i64 0, !20, i64 256, !7, i64 400, !16, i64 408, !16, i64 416, !16, i64 424}
!24 = !{!23, !16, i64 344}
!25 = !{!20, !16, i64 88}
!26 = !{!20, !16, i64 48}
!27 = !{!28, !6, i64 0}
!28 = !{!"index_list", !6, i64 0, !6, i64 8}
!29 = !{!28, !6, i64 8}
!30 = distinct !{!30, !18}


; 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.pack_file_cache = type { ptr, %struct.strbuf }
%struct.strbuf = type { i64, i64, ptr }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }

@count = external dso_local local_unnamed_addr global i64, align 8
@d_root = external dso_local local_unnamed_addr global ptr, align 8
@d_sptr = external dso_local local_unnamed_addr global ptr, align 8
@count_new = external dso_local local_unnamed_addr global i32, align 4
@count_modified = external dso_local local_unnamed_addr global i32, align 4
@count_deleted = external dso_local local_unnamed_addr global i32, align 4
@root = external dso_local global ptr, align 8
@sig = external dso_local local_unnamed_addr global i8, align 1
@__const.status.cache = external hidden unnamed_addr constant %struct.pack_file_cache, align 8
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@__const.status.buf1 = external hidden unnamed_addr constant %struct.strbuf, align 8
@__const.status.buf2 = external hidden unnamed_addr constant %struct.strbuf, align 8
@.str.11 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @file_path(ptr noundef, ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @status(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.stat, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %struct.pack_file_cache, align 8
  %7 = alloca %struct.strbuf, align 8
  %8 = alloca %struct.strbuf, align 8
  %9 = load ptr, ptr @root, align 8, !tbaa !5
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %11, label %10

10:                                               ; preds = %1
  store ptr null, ptr @root, align 8, !tbaa !5
  br label %11

11:                                               ; preds = %10, %1
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %2) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #11
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #11
  store ptr null, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) @__const.status.cache, i64 32, i1 false)
  %12 = tail call i32 @set_timer(i32 noundef 300) #11
  %13 = call i64 @make_commit_list(ptr noundef nonnull %5) #11
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call ptr @get_head_commit_list(ptr noundef %14) #11
  %16 = call i32 @cache_pack_file(ptr noundef nonnull %6)
  %17 = call ptr @opendir(ptr noundef %0)
  %18 = icmp eq ptr %17, null
  br i1 %18, label %._crit_edge100, label %.preheader75.lr.ph

.preheader75.lr.ph:                               ; preds = %11
  %19 = getelementptr inbounds i8, ptr %2, i64 24
  %20 = getelementptr inbounds i8, ptr %2, i64 88
  %21 = getelementptr inbounds i8, ptr %2, i64 48
  br label %.preheader75

.preheader75:                                     ; preds = %.preheader75.lr.ph, %152
  %22 = phi ptr [ %17, %.preheader75.lr.ph ], [ %155, %152 ]
  %.04898 = phi ptr [ %0, %.preheader75.lr.ph ], [ %154, %152 ]
  %23 = call ptr @readdir(ptr noundef nonnull %22) #11
  %.not549395 = icmp eq ptr %23, null
  br i1 %.not549395, label %.outer._crit_edge, label %.lr.ph

._crit_edge100:                                   ; preds = %152, %11
  %.048.lcssa = phi ptr [ %0, %11 ], [ %154, %152 ]
  %24 = load ptr, ptr @stderr, align 8, !tbaa !5
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.1) #12
  %26 = load ptr, ptr @stderr, align 8, !tbaa !5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.2) #12
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.3) #12
  %30 = load ptr, ptr @stderr, align 8, !tbaa !5
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef nonnull @.str.4) #12
  %32 = load ptr, ptr @stderr, align 8, !tbaa !5
  %33 = tail call ptr @__errno_location() #13
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = call ptr @strerror(i32 noundef %34) #11
  %36 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef nonnull @.str.5, ptr noundef %.048.lcssa, ptr noundef %35) #12
  call void @exit(i32 noundef 1) #14
  unreachable

.lr.ph:                                           ; preds = %.preheader75, %.lr.ph.backedge
  %37 = phi ptr [ %.be, %.lr.ph.backedge ], [ %23, %.preheader75 ]
  %38 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %43, label %40

40:                                               ; preds = %.lr.ph
  %41 = call i32 (...) @got_signal() #11
  %.not61 = icmp eq i32 %41, 0
  br i1 %.not61, label %43, label %42

42:                                               ; preds = %40
  store i8 1, ptr @sig, align 1, !tbaa !11
  call void (...) @reset_signal() #11
  br label %43

43:                                               ; preds = %42, %40, %.lr.ph
  %44 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %46, label %53

46:                                               ; preds = %43
  %47 = call i32 (...) @got_signal() #11
  %.not62 = icmp eq i32 %47, 0
  br i1 %.not62, label %53, label %48

48:                                               ; preds = %46
  %49 = load i64, ptr @count, align 8, !tbaa !15
  %50 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef %49)
  %51 = load ptr, ptr @stdout, align 8, !tbaa !5
  %52 = call i32 @fflush(ptr noundef %51)
  call void (...) @reset_signal() #11
  br label %53

53:                                               ; preds = %48, %46, %43
  %54 = getelementptr inbounds i8, ptr %37, i64 19
  %55 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.7) #15
  %.not63 = icmp eq i32 %55, 0
  br i1 %.not63, label %.backedge76, label %56

56:                                               ; preds = %53
  %57 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.8) #15
  %.not64 = icmp eq i32 %57, 0
  br i1 %.not64, label %.backedge76, label %58

58:                                               ; preds = %56
  %59 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.9) #15
  %.not65 = icmp eq i32 %59, 0
  br i1 %.not65, label %.backedge76, label %61

.backedge76:                                      ; preds = %143, %145, %53, %56, %58
  %60 = call ptr @readdir(ptr noundef nonnull %22) #11
  %.not54 = icmp eq ptr %60, null
  br i1 %.not54, label %.outer._crit_edge, label %.lr.ph.backedge

.lr.ph.backedge:                                  ; preds = %.backedge76, %.outer
  %.be = phi ptr [ %60, %.backedge76 ], [ %148, %.outer ]
  br label %.lr.ph, !llvm.loop !17

61:                                               ; preds = %58
  %62 = call ptr @file_path(ptr noundef %.04898, ptr noundef nonnull %54)
  %63 = call i32 @stat(ptr noundef %62, ptr noundef nonnull %2) #11
  %64 = icmp slt i32 %63, 0
  br i1 %64, label %65, label %79

65:                                               ; preds = %61
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str.1) #12
  %68 = load ptr, ptr @stderr, align 8, !tbaa !5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %68, ptr noundef nonnull @.str.2) #12
  %70 = load ptr, ptr @stderr, align 8, !tbaa !5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef nonnull @.str.3) #12
  %72 = load ptr, ptr @stderr, align 8, !tbaa !5
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %72, ptr noundef nonnull @.str.4) #12
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = tail call ptr @__errno_location() #13
  %76 = load i32, ptr %75, align 4, !tbaa !9
  %77 = call ptr @strerror(i32 noundef %76) #11
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef nonnull @.str.10, ptr noundef %62, ptr noundef %77) #12
  call void @exit(i32 noundef 1) #14
  unreachable

79:                                               ; preds = %61
  %80 = load i32, ptr %19, align 8, !tbaa !19
  %81 = trunc i32 %80 to i16
  %trunc = and i16 %81, -4096
  switch i16 %trunc, label %.outer [
    i16 -32768, label %82
    i16 16384, label %143
  ]

82:                                               ; preds = %79
  %83 = call ptr @find_file_index_list(ptr noundef %15, ptr noundef %62) #11
  %.not68 = icmp eq ptr %83, null
  br i1 %.not68, label %.critedge, label %84

84:                                               ; preds = %82
  %85 = getelementptr inbounds i8, ptr %83, i64 400
  %86 = load i8, ptr %85, align 8, !tbaa !22
  %87 = or i8 %86, 32
  store i8 %87, ptr %85, align 8, !tbaa !22
  %88 = getelementptr inbounds i8, ptr %83, i64 344
  %89 = load i64, ptr %88, align 8, !tbaa !24
  %90 = load i64, ptr %20, align 8, !tbaa !25
  %91 = icmp slt i64 %89, %90
  br i1 %91, label %92, label %.thread

92:                                               ; preds = %84
  %93 = call i32 (ptr, i32, ...) @open(ptr noundef %62, i32 noundef 0) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) @__const.status.buf1, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) @__const.status.buf2, i64 24, i1 false)
  %94 = icmp slt i32 %93, 0
  br i1 %94, label %95, label %109

95:                                               ; preds = %92
  %96 = load ptr, ptr @stderr, align 8, !tbaa !5
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.1) #12
  %98 = load ptr, ptr @stderr, align 8, !tbaa !5
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str.2) #12
  %100 = load ptr, ptr @stderr, align 8, !tbaa !5
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.3) #12
  %102 = load ptr, ptr @stderr, align 8, !tbaa !5
  %103 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %102, ptr noundef nonnull @.str.4) #12
  %104 = load ptr, ptr @stderr, align 8, !tbaa !5
  %105 = tail call ptr @__errno_location() #13
  %106 = load i32, ptr %105, align 4, !tbaa !9
  %107 = call ptr @strerror(i32 noundef %106) #11
  %108 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %104, ptr noundef nonnull @.str.11, ptr noundef %62, ptr noundef %107) #12
  call void @exit(i32 noundef 1) #14
  unreachable

109:                                              ; preds = %92
  %110 = load i64, ptr %21, align 8, !tbaa !26
  %111 = call i64 @strbuf_read(ptr noundef nonnull %7, i32 noundef %93, i64 noundef %110) #11
  %112 = call i32 @close(i32 noundef %93) #11
  %113 = icmp slt i32 %112, 0
  br i1 %113, label %114, label %128

114:                                              ; preds = %109
  %115 = load ptr, ptr @stderr, align 8, !tbaa !5
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef nonnull @.str.1) #12
  %117 = load ptr, ptr @stderr, align 8, !tbaa !5
  %118 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef nonnull @.str.2) #12
  %119 = load ptr, ptr @stderr, align 8, !tbaa !5
  %120 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %119, ptr noundef nonnull @.str.3) #12
  %121 = load ptr, ptr @stderr, align 8, !tbaa !5
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %121, ptr noundef nonnull @.str.4) #12
  %123 = load ptr, ptr @stderr, align 8, !tbaa !5
  %124 = tail call ptr @__errno_location() #13
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = call ptr @strerror(i32 noundef %125) #11
  %127 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef nonnull @.str.12, ptr noundef %62, ptr noundef %126) #12
  call void @exit(i32 noundef 1) #14
  unreachable

128:                                              ; preds = %109
  %129 = call i32 @get_file_content(ptr noundef nonnull %6, ptr noundef nonnull %8, ptr noundef nonnull %83)
  %130 = call i32 @strbuf_cmp(ptr noundef nonnull %7, ptr noundef nonnull %8) #11
  call void @strbuf_release(ptr noundef nonnull %7) #11
  call void @strbuf_release(ptr noundef nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #11
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %.thread, label %132

132:                                              ; preds = %128
  %133 = load i32, ptr @count_modified, align 4, !tbaa !9
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr @count_modified, align 4, !tbaa !9
  br label %.thread

.thread:                                          ; preds = %128, %84, %132
  %.sink = phi i32 [ 256, %132 ], [ 0, %84 ], [ 0, %128 ]
  %135 = call ptr @createnode()
  store ptr %135, ptr %3, align 8, !tbaa !5
  call void @intialise_node(ptr noundef nonnull %3, ptr noundef %62, i32 noundef %.sink, ptr noundef null)
  call void @insert_node(ptr noundef nonnull @root, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %136 = load i64, ptr @count, align 8, !tbaa !15
  %137 = add i64 %136, 1
  store i64 %137, ptr @count, align 8, !tbaa !15
  br label %.outer

.critedge:                                        ; preds = %82
  %138 = load i32, ptr @count_new, align 4, !tbaa !9
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr @count_new, align 4, !tbaa !9
  %140 = call ptr @createnode()
  store ptr %140, ptr %3, align 8, !tbaa !5
  call void @intialise_node(ptr noundef nonnull %3, ptr noundef %62, i32 noundef 512, ptr noundef null)
  call void @insert_node(ptr noundef nonnull @root, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %141 = load i64, ptr @count, align 8, !tbaa !15
  %142 = add i64 %141, 1
  store i64 %142, ptr @count, align 8, !tbaa !15
  br label %.outer

143:                                              ; preds = %79
  %144 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.7) #15
  %.not66 = icmp eq i32 %144, 0
  br i1 %.not66, label %.backedge76, label %145

145:                                              ; preds = %143
  %146 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %54, ptr noundef nonnull dereferenceable(1) @.str.8) #15
  %.not67 = icmp eq i32 %146, 0
  br i1 %.not67, label %.backedge76, label %147

147:                                              ; preds = %145
  call void @push(ptr noundef nonnull %37, ptr noundef %.04898)
  br label %.outer

.outer:                                           ; preds = %79, %147, %.thread, %.critedge
  %148 = call ptr @readdir(ptr noundef nonnull %22) #11
  %.not5493 = icmp eq ptr %148, null
  br i1 %.not5493, label %.outer._crit_edge, label %.lr.ph.backedge

.outer._crit_edge:                                ; preds = %.outer, %.backedge76, %.preheader75
  %149 = call i32 @closedir(ptr noundef nonnull %22)
  %150 = load ptr, ptr @d_sptr, align 8, !tbaa !5
  %151 = load ptr, ptr @d_root, align 8, !tbaa !5
  %.not55 = icmp eq ptr %150, %151
  br i1 %.not55, label %.preheader, label %152

.preheader:                                       ; preds = %.outer._crit_edge
  %.not56102 = icmp eq ptr %15, null
  br i1 %.not56102, label %._crit_edge105, label %.lr.ph104

152:                                              ; preds = %.outer._crit_edge
  %153 = call ptr @pop()
  %154 = call ptr @path(ptr noundef %153)
  %155 = call ptr @opendir(ptr noundef %154)
  %156 = icmp eq ptr %155, null
  br i1 %156, label %._crit_edge100, label %.preheader75

.lr.ph104:                                        ; preds = %.preheader, %.backedge
  %.0103 = phi ptr [ %.0.be, %.backedge ], [ %15, %.preheader ]
  %157 = load ptr, ptr %.0103, align 8, !tbaa !27
  %158 = getelementptr inbounds i8, ptr %157, i64 400
  %159 = load i8, ptr %158, align 8, !tbaa !22
  %160 = icmp eq i8 %159, 8
  br i1 %160, label %161, label %164

161:                                              ; preds = %.lr.ph104
  %162 = getelementptr inbounds i8, ptr %.0103, i64 8
  %163 = load ptr, ptr %162, align 8, !tbaa !29
  br label %.backedge

.backedge:                                        ; preds = %183, %186, %188, %161
  %.0.be = phi ptr [ %163, %161 ], [ %.1, %188 ], [ %.1, %186 ], [ %.1, %183 ]
  %.not56 = icmp eq ptr %.0.be, null
  br i1 %.not56, label %._crit_edge105, label %.lr.ph104, !llvm.loop !30

164:                                              ; preds = %.lr.ph104
  %165 = and i8 %159, 32
  %.not58 = icmp eq i8 %165, 0
  br i1 %.not58, label %169, label %166

166:                                              ; preds = %164
  %167 = getelementptr inbounds i8, ptr %.0103, i64 8
  %168 = load ptr, ptr %167, align 8, !tbaa !29
  br label %178

169:                                              ; preds = %164
  %170 = call ptr @createnode()
  store ptr %170, ptr %3, align 8, !tbaa !5
  %171 = load ptr, ptr %.0103, align 8, !tbaa !27
  call void @intialise_node(ptr noundef nonnull %3, ptr noundef %171, i32 noundef 2048, ptr noundef null)
  call void @insert_node(ptr noundef nonnull @root, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %172 = getelementptr inbounds i8, ptr %.0103, i64 8
  %173 = load ptr, ptr %172, align 8, !tbaa !29
  %174 = load i32, ptr @count_deleted, align 4, !tbaa !9
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr @count_deleted, align 4, !tbaa !9
  %176 = load i64, ptr @count, align 8, !tbaa !15
  %177 = add i64 %176, 1
  store i64 %177, ptr @count, align 8, !tbaa !15
  br label %178

178:                                              ; preds = %169, %166
  %.1 = phi ptr [ %168, %166 ], [ %173, %169 ]
  %179 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %180 = trunc nuw i8 %179 to i1
  br i1 %180, label %183, label %181

181:                                              ; preds = %178
  %182 = call i32 (...) @got_signal() #11
  %.not59 = icmp eq i32 %182, 0
  br i1 %.not59, label %._crit_edge, label %.thread121

._crit_edge:                                      ; preds = %181
  %.pre = load i8, ptr @sig, align 1, !tbaa !11, !range !13
  br label %183

.thread121:                                       ; preds = %181
  store i8 1, ptr @sig, align 1, !tbaa !11
  br label %186

183:                                              ; preds = %._crit_edge, %178
  %184 = phi i8 [ %.pre, %._crit_edge ], [ %179, %178 ]
  %185 = trunc nuw i8 %184 to i1
  br i1 %185, label %186, label %.backedge

186:                                              ; preds = %.thread121, %183
  %187 = call i32 (...) @got_signal() #11
  %.not60 = icmp eq i32 %187, 0
  br i1 %.not60, label %.backedge, label %188

188:                                              ; preds = %186
  %189 = load i64, ptr @count, align 8, !tbaa !15
  %190 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef %189)
  %191 = load ptr, ptr @stdout, align 8, !tbaa !5
  %192 = call i32 @fflush(ptr noundef %191)
  call void (...) @reset_signal() #11
  br label %.backedge

._crit_edge105:                                   ; preds = %.backedge, %.preheader
  %193 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %194 = trunc nuw i8 %193 to i1
  br i1 %194, label %195, label %202

195:                                              ; preds = %._crit_edge105
  %196 = call i32 (...) @got_signal() #11
  %.not57 = icmp eq i32 %196, 0
  br i1 %.not57, label %202, label %197

197:                                              ; preds = %195
  %198 = load i64, ptr @count, align 8, !tbaa !15
  %199 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i64 noundef %198)
  %200 = load ptr, ptr @stdout, align 8, !tbaa !5
  %201 = call i32 @fflush(ptr noundef %200)
  call void (...) @reset_signal() #11
  br label %202

202:                                              ; preds = %197, %195, %._crit_edge105
  %203 = load i8, ptr @sig, align 1, !tbaa !11, !range !13, !noundef !14
  %204 = trunc nuw i8 %203 to i1
  br i1 %204, label %205, label %207

205:                                              ; preds = %202
  %206 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13)
  br label %207

207:                                              ; preds = %205, %202
  call void @commit_list_del(ptr noundef nonnull %5) #11
  call void (...) @stop_timer() #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %2) #11
  ret i32 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) #2

declare i32 @set_timer(i32 noundef) local_unnamed_addr #3

declare i64 @make_commit_list(ptr noundef) local_unnamed_addr #3

declare ptr @get_head_commit_list(ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @cache_pack_file(ptr noundef) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noalias noundef ptr @opendir(ptr nocapture noundef readonly) local_unnamed_addr #5

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

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #7

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

declare ptr @readdir(ptr noundef) local_unnamed_addr #3

declare i32 @got_signal(...) local_unnamed_addr #3

declare void @reset_signal(...) local_unnamed_addr #3

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

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #5

declare ptr @find_file_index_list(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #10

declare i64 @strbuf_read(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

declare i32 @close(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @get_file_content(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @strbuf_cmp(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @strbuf_release(ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local void @intialise_node(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @insert_node(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @push(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @closedir(ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local ptr @path(ptr noundef) local_unnamed_addr #0

declare void @commit_list_del(ptr noundef) local_unnamed_addr #3

declare void @stop_timer(...) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @createnode() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @pop() local_unnamed_addr #0

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { inlinehint 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { 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 #9 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree "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 #11 = { nounwind }
attributes #12 = { cold nounwind }
attributes #13 = { nounwind willreturn memory(none) }
attributes #14 = { noreturn nounwind }
attributes #15 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_Bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 24}
!20 = !{!"stat", !16, i64 0, !16, i64 8, !16, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !16, i64 40, !16, i64 48, !16, i64 56, !16, i64 64, !21, i64 72, !21, i64 88, !21, i64 104, !7, i64 120}
!21 = !{!"timespec", !16, i64 0, !16, i64 8}
!22 = !{!23, !7, i64 400}
!23 = !{!"index", !7, i64 0, !20, i64 256, !7, i64 400, !16, i64 408, !16, i64 416, !16, i64 424}
!24 = !{!23, !16, i64 344}
!25 = !{!20, !16, i64 88}
!26 = !{!20, !16, i64 48}
!27 = !{!28, !6, i64 0}
!28 = !{!"index_list", !6, i64 0, !6, i64 8}
!29 = !{!28, !6, i64 8}
!30 = distinct !{!30, !18}


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