; LLVM IR from lzfse/lzfse :: src (lzfse_main)

; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, [3 x i64] }

@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %struct.stat, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i32, align 4
  %32 = alloca i64, align 8
  %33 = alloca i64, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store ptr null, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store ptr null, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 -1, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %34

34:                                               ; preds = %125, %123, %2
  %35 = load i32, ptr %10, align 4, !tbaa !5
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %126

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %40 = load ptr, ptr %5, align 8, !tbaa !9
  %41 = load i32, ptr %10, align 4, !tbaa !5
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %10, align 4, !tbaa !5
  %43 = sext i32 %41 to i64
  %44 = getelementptr inbounds ptr, ptr %40, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !9
  store ptr %45, ptr %12, align 8, !tbaa !9
  %46 = load ptr, ptr %12, align 8, !tbaa !9
  %47 = call i32 @strcmp(ptr noundef %46, ptr noundef @.str.1) #9
  %48 = icmp eq i32 %47, 0
  br i1 %48, label %49, label %55

49:                                               ; preds = %39
  br label %50

50:                                               ; preds = %49
  %51 = load i32, ptr %4, align 4, !tbaa !5
  %52 = load ptr, ptr %5, align 8, !tbaa !9
  call void @usage(i32 noundef %51, ptr noundef %52)
  call void @exit(i32 noundef 0) #10
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53
  br label %55

55:                                               ; preds = %54, %39
  %56 = load ptr, ptr %12, align 8, !tbaa !9
  %57 = call i32 @strcmp(ptr noundef %56, ptr noundef @.str.2) #9
  %58 = icmp eq i32 %57, 0
  br i1 %58, label %59, label %62

59:                                               ; preds = %55
  %60 = load i32, ptr %9, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %9, align 4, !tbaa !5
  store i32 3, ptr %11, align 4
  br label %123, !llvm.loop !11

62:                                               ; preds = %55
  %63 = load ptr, ptr %12, align 8, !tbaa !9
  %64 = call i32 @strcmp(ptr noundef %63, ptr noundef @.str.3) #9
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %62
  store i32 0, ptr %8, align 4, !tbaa !5
  store i32 3, ptr %11, align 4
  br label %123, !llvm.loop !11

67:                                               ; preds = %62
  %68 = load ptr, ptr %12, align 8, !tbaa !9
  %69 = call i32 @strcmp(ptr noundef %68, ptr noundef @.str.4) #9
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %71, label %72

71:                                               ; preds = %67
  store i32 1, ptr %8, align 4, !tbaa !5
  store i32 3, ptr %11, align 4
  br label %123, !llvm.loop !11

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store ptr null, ptr %13, align 8, !tbaa !9
  %73 = load ptr, ptr %12, align 8, !tbaa !9
  %74 = call i32 @strcmp(ptr noundef %73, ptr noundef @.str.5) #9
  %75 = icmp eq i32 %74, 0
  br i1 %75, label %76, label %80

76:                                               ; preds = %72
  %77 = load ptr, ptr %6, align 8, !tbaa !9
  %78 = icmp eq ptr %77, null
  br i1 %78, label %79, label %80

79:                                               ; preds = %76
  store ptr %6, ptr %13, align 8, !tbaa !9
  br label %89

80:                                               ; preds = %76, %72
  %81 = load ptr, ptr %12, align 8, !tbaa !9
  %82 = call i32 @strcmp(ptr noundef %81, ptr noundef @.str.6) #9
  %83 = icmp eq i32 %82, 0
  br i1 %83, label %84, label %88

84:                                               ; preds = %80
  %85 = load ptr, ptr %7, align 8, !tbaa !9
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %88

87:                                               ; preds = %84
  store ptr %7, ptr %13, align 8, !tbaa !9
  br label %88

88:                                               ; preds = %87, %84, %80
  br label %89

89:                                               ; preds = %88, %79
  %90 = load ptr, ptr %13, align 8, !tbaa !9
  %91 = icmp ne ptr %90, null
  br i1 %91, label %92, label %113

92:                                               ; preds = %89
  %93 = load i32, ptr %10, align 4, !tbaa !5
  %94 = load i32, ptr %4, align 4, !tbaa !5
  %95 = icmp eq i32 %93, %94
  br i1 %95, label %96, label %105

96:                                               ; preds = %92
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %4, align 4, !tbaa !5
  %99 = load ptr, ptr %5, align 8, !tbaa !9
  call void @usage(i32 noundef %98, ptr noundef %99)
  %100 = load ptr, ptr @stderr, align 8, !tbaa !9
  %101 = load ptr, ptr %12, align 8, !tbaa !9
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef @.str.7, ptr noundef %101) #8
  call void @exit(i32 noundef 1) #10
  unreachable

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104, %92
  %106 = load ptr, ptr %5, align 8, !tbaa !9
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %10, align 4, !tbaa !5
  %109 = sext i32 %107 to i64
  %110 = getelementptr inbounds ptr, ptr %106, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %111, ptr %112, align 8, !tbaa !9
  store i32 3, ptr %11, align 4
  br label %122, !llvm.loop !11

113:                                              ; preds = %89
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %4, align 4, !tbaa !5
  %116 = load ptr, ptr %5, align 8, !tbaa !9
  call void @usage(i32 noundef %115, ptr noundef %116)
  %117 = load ptr, ptr @stderr, align 8, !tbaa !9
  %118 = load ptr, ptr %12, align 8, !tbaa !9
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.8, ptr noundef %118) #8
  call void @exit(i32 noundef 1) #10
  unreachable

120:                                              ; No predecessors!
  br label %121

121:                                              ; preds = %120
  store i32 0, ptr %11, align 4
  br label %122

122:                                              ; preds = %121, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %123

123:                                              ; preds = %122, %71, %66, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %124 = load i32, ptr %11, align 4
  switch i32 %124, label %449 [
    i32 0, label %125
    i32 3, label %34
  ]

125:                                              ; preds = %123
  br label %34, !llvm.loop !11

126:                                              ; preds = %38
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = icmp slt i32 %127, 0
  br i1 %128, label %129, label %137

129:                                              ; preds = %126
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %4, align 4, !tbaa !5
  %132 = load ptr, ptr %5, align 8, !tbaa !9
  call void @usage(i32 noundef %131, ptr noundef %132)
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.9) #8
  call void @exit(i32 noundef 1) #10
  unreachable

135:                                              ; No predecessors!
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136, %126
  %138 = load i32, ptr %9, align 4, !tbaa !5
  %139 = icmp sgt i32 %138, 0
  br i1 %139, label %140, label %171

140:                                              ; preds = %137
  %141 = load i32, ptr %8, align 4, !tbaa !5
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %146

143:                                              ; preds = %140
  %144 = load ptr, ptr @stderr, align 8, !tbaa !9
  %145 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %144, ptr noundef @.str.10) #8
  br label %146

146:                                              ; preds = %143, %140
  %147 = load i32, ptr %8, align 4, !tbaa !5
  %148 = icmp eq i32 %147, 1
  br i1 %148, label %149, label %152

149:                                              ; preds = %146
  %150 = load ptr, ptr @stderr, align 8, !tbaa !9
  %151 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %150, ptr noundef @.str.11) #8
  br label %152

152:                                              ; preds = %149, %146
  %153 = load ptr, ptr @stderr, align 8, !tbaa !9
  %154 = load ptr, ptr %6, align 8, !tbaa !9
  %155 = icmp ne ptr %154, null
  br i1 %155, label %156, label %158

156:                                              ; preds = %152
  %157 = load ptr, ptr %6, align 8, !tbaa !9
  br label %159

158:                                              ; preds = %152
  br label %159

159:                                              ; preds = %158, %156
  %160 = phi ptr [ %157, %156 ], [ @.str.13, %158 ]
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.12, ptr noundef %160) #8
  %162 = load ptr, ptr @stderr, align 8, !tbaa !9
  %163 = load ptr, ptr %7, align 8, !tbaa !9
  %164 = icmp ne ptr %163, null
  br i1 %164, label %165, label %167

165:                                              ; preds = %159
  %166 = load ptr, ptr %7, align 8, !tbaa !9
  br label %168

167:                                              ; preds = %159
  br label %168

168:                                              ; preds = %167, %165
  %169 = phi ptr [ %166, %165 ], [ @.str.15, %167 ]
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.14, ptr noundef %169) #8
  br label %171

171:                                              ; preds = %168, %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store i64 0, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  store ptr null, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 -1, ptr %17, align 4, !tbaa !5
  %172 = load ptr, ptr %6, align 8, !tbaa !9
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %197

174:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 144, ptr %18) #8
  %175 = load ptr, ptr %6, align 8, !tbaa !9
  %176 = call i32 (ptr, i32, ...) @open(ptr noundef %175, i32 noundef 0)
  store i32 %176, ptr %17, align 4, !tbaa !5
  %177 = load i32, ptr %17, align 4, !tbaa !5
  %178 = icmp slt i32 %177, 0
  br i1 %178, label %179, label %181

179:                                              ; preds = %174
  %180 = load ptr, ptr %6, align 8, !tbaa !9
  call void @perror(ptr noundef %180)
  call void @exit(i32 noundef 1) #10
  unreachable

181:                                              ; preds = %174
  %182 = load i32, ptr %17, align 4, !tbaa !5
  %183 = call i32 @fstat(i32 noundef %182, ptr noundef %18) #8
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %185, label %187

185:                                              ; preds = %181
  %186 = load ptr, ptr %6, align 8, !tbaa !9
  call void @perror(ptr noundef %186)
  call void @exit(i32 noundef 1) #10
  unreachable

187:                                              ; preds = %181
  %188 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 8
  %189 = load i64, ptr %188, align 8, !tbaa !15
  %190 = icmp ugt i64 %189, -1
  br i1 %190, label %191, label %194

191:                                              ; preds = %187
  %192 = load ptr, ptr @stderr, align 8, !tbaa !9
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %192, ptr noundef @.str.16) #8
  call void @exit(i32 noundef 1) #10
  unreachable

194:                                              ; preds = %187
  %195 = getelementptr inbounds %struct.stat, ptr %18, i32 0, i32 8
  %196 = load i64, ptr %195, align 8, !tbaa !15
  store i64 %196, ptr %14, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 144, ptr %18) #8
  br label %198

197:                                              ; preds = %171
  store i64 1048576, ptr %14, align 8, !tbaa !13
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %197, %194
  %199 = load i64, ptr %14, align 8, !tbaa !13
  %200 = call noalias ptr @malloc(i64 noundef %199) #11
  store ptr %200, ptr %16, align 8, !tbaa !9
  %201 = load ptr, ptr %16, align 8, !tbaa !9
  %202 = icmp eq ptr %201, null
  br i1 %202, label %203, label %204

203:                                              ; preds = %198
  call void @perror(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #10
  unreachable

204:                                              ; preds = %198
  br label %205

205:                                              ; preds = %249, %204
  br label %206

206:                                              ; preds = %205
  %207 = load i64, ptr %15, align 8, !tbaa !13
  %208 = load i64, ptr %14, align 8, !tbaa !13
  %209 = icmp eq i64 %207, %208
  br i1 %209, label %210, label %227

210:                                              ; preds = %206
  %211 = load i64, ptr %14, align 8, !tbaa !13
  %212 = icmp ult i64 %211, 104857600
  br i1 %212, label %213, label %216

213:                                              ; preds = %210
  %214 = load i64, ptr %14, align 8, !tbaa !13
  %215 = shl i64 %214, 1
  store i64 %215, ptr %14, align 8, !tbaa !13
  br label %219

216:                                              ; preds = %210
  %217 = load i64, ptr %14, align 8, !tbaa !13
  %218 = add i64 %217, 104857600
  store i64 %218, ptr %14, align 8, !tbaa !13
  br label %219

219:                                              ; preds = %216, %213
  %220 = load ptr, ptr %16, align 8, !tbaa !9
  %221 = load i64, ptr %14, align 8, !tbaa !13
  %222 = call ptr @lzfse_reallocf(ptr noundef %220, i64 noundef %221)
  store ptr %222, ptr %16, align 8, !tbaa !9
  %223 = load ptr, ptr %16, align 8, !tbaa !9
  %224 = icmp eq ptr %223, null
  br i1 %224, label %225, label %226

225:                                              ; preds = %219
  call void @perror(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #10
  unreachable

226:                                              ; preds = %219
  br label %227

227:                                              ; preds = %226, %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %228 = load i32, ptr %17, align 4, !tbaa !5
  %229 = load ptr, ptr %16, align 8, !tbaa !9
  %230 = load i64, ptr %15, align 8, !tbaa !13
  %231 = getelementptr inbounds i8, ptr %229, i64 %230
  %232 = load i64, ptr %14, align 8, !tbaa !13
  %233 = load i64, ptr %15, align 8, !tbaa !13
  %234 = sub i64 %232, %233
  %235 = call i64 @read(i32 noundef %228, ptr noundef %231, i64 noundef %234)
  store i64 %235, ptr %19, align 8, !tbaa !13
  %236 = load i64, ptr %19, align 8, !tbaa !13
  %237 = icmp slt i64 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %227
  call void @perror(ptr noundef @.str.18)
  call void @exit(i32 noundef 1) #10
  unreachable

239:                                              ; preds = %227
  %240 = load i64, ptr %19, align 8, !tbaa !13
  %241 = icmp eq i64 %240, 0
  br i1 %241, label %242, label %243

242:                                              ; preds = %239
  store i32 13, ptr %11, align 4
  br label %247

243:                                              ; preds = %239
  %244 = load i64, ptr %19, align 8, !tbaa !13
  %245 = load i64, ptr %15, align 8, !tbaa !13
  %246 = add i64 %245, %244
  store i64 %246, ptr %15, align 8, !tbaa !13
  store i32 0, ptr %11, align 4
  br label %247

247:                                              ; preds = %243, %242
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %248 = load i32, ptr %11, align 4
  switch i32 %248, label %449 [
    i32 0, label %249
    i32 13, label %250
  ]

249:                                              ; preds = %247
  br label %205

250:                                              ; preds = %247
  %251 = load ptr, ptr %6, align 8, !tbaa !9
  %252 = icmp ne ptr %251, null
  br i1 %252, label %253, label %256

253:                                              ; preds = %250
  %254 = load i32, ptr %17, align 4, !tbaa !5
  %255 = call i32 @close(i32 noundef %254)
  store i32 -1, ptr %17, align 4, !tbaa !5
  br label %256

256:                                              ; preds = %253, %250
  %257 = load i32, ptr %9, align 4, !tbaa !5
  %258 = icmp sgt i32 %257, 0
  br i1 %258, label %259, label %263

259:                                              ; preds = %256
  %260 = load ptr, ptr @stderr, align 8, !tbaa !9
  %261 = load i64, ptr %15, align 8, !tbaa !13
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %260, ptr noundef @.str.19, i64 noundef %261) #8
  br label %263

263:                                              ; preds = %259, %256
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %264 = load i32, ptr %8, align 4, !tbaa !5
  %265 = icmp eq i32 %264, 0
  br i1 %265, label %266, label %268

266:                                              ; preds = %263
  %267 = load i64, ptr %15, align 8, !tbaa !13
  br label %271

268:                                              ; preds = %263
  %269 = load i64, ptr %15, align 8, !tbaa !13
  %270 = mul i64 4, %269
  br label %271

271:                                              ; preds = %268, %266
  %272 = phi i64 [ %267, %266 ], [ %270, %268 ]
  store i64 %272, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store i64 0, ptr %21, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %273 = load i32, ptr %8, align 4, !tbaa !5
  %274 = icmp eq i32 %273, 0
  br i1 %274, label %275, label %277

275:                                              ; preds = %271
  %276 = call i64 (...) @lzfse_encode_scratch_size()
  br label %279

277:                                              ; preds = %271
  %278 = call i64 (...) @lzfse_decode_scratch_size()
  br label %279

279:                                              ; preds = %277, %275
  %280 = phi i64 [ %276, %275 ], [ %278, %277 ]
  store i64 %280, ptr %22, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %281 = load i64, ptr %22, align 8, !tbaa !13
  %282 = icmp ne i64 %281, 0
  br i1 %282, label %283, label %286

283:                                              ; preds = %279
  %284 = load i64, ptr %22, align 8, !tbaa !13
  %285 = call noalias ptr @malloc(i64 noundef %284) #11
  br label %287

286:                                              ; preds = %279
  br label %287

287:                                              ; preds = %286, %283
  %288 = phi ptr [ %285, %283 ], [ null, %286 ]
  store ptr %288, ptr %23, align 8, !tbaa !9
  %289 = load i64, ptr %22, align 8, !tbaa !13
  %290 = icmp ne i64 %289, 0
  br i1 %290, label %291, label %295

291:                                              ; preds = %287
  %292 = load ptr, ptr %23, align 8, !tbaa !9
  %293 = icmp eq ptr %292, null
  br i1 %293, label %294, label %295

294:                                              ; preds = %291
  call void @perror(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #10
  unreachable

295:                                              ; preds = %291, %287
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %296 = load i64, ptr %20, align 8, !tbaa !13
  %297 = call noalias ptr @malloc(i64 noundef %296) #11
  store ptr %297, ptr %24, align 8, !tbaa !9
  %298 = load ptr, ptr %24, align 8, !tbaa !9
  %299 = icmp eq ptr %298, null
  br i1 %299, label %300, label %301

300:                                              ; preds = %295
  call void @perror(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #10
  unreachable

301:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %302 = call double @get_time()
  store double %302, ptr %25, align 8, !tbaa !17
  br label %303

303:                                              ; preds = %346, %301
  br label %304

304:                                              ; preds = %303
  %305 = load i32, ptr %8, align 4, !tbaa !5
  %306 = icmp eq i32 %305, 0
  br i1 %306, label %307, label %314

307:                                              ; preds = %304
  %308 = load ptr, ptr %24, align 8, !tbaa !9
  %309 = load i64, ptr %20, align 8, !tbaa !13
  %310 = load ptr, ptr %16, align 8, !tbaa !9
  %311 = load i64, ptr %15, align 8, !tbaa !13
  %312 = load ptr, ptr %23, align 8, !tbaa !9
  %313 = call i64 @lzfse_encode_buffer(ptr noundef %308, i64 noundef %309, ptr noundef %310, i64 noundef %311, ptr noundef %312)
  store i64 %313, ptr %21, align 8, !tbaa !13
  br label %321

314:                                              ; preds = %304
  %315 = load ptr, ptr %24, align 8, !tbaa !9
  %316 = load i64, ptr %20, align 8, !tbaa !13
  %317 = load ptr, ptr %16, align 8, !tbaa !9
  %318 = load i64, ptr %15, align 8, !tbaa !13
  %319 = load ptr, ptr %23, align 8, !tbaa !9
  %320 = call i64 @lzfse_decode_buffer(ptr noundef %315, i64 noundef %316, ptr noundef %317, i64 noundef %318, ptr noundef %319)
  store i64 %320, ptr %21, align 8, !tbaa !13
  br label %321

321:                                              ; preds = %314, %307
  %322 = load i64, ptr %21, align 8, !tbaa !13
  %323 = icmp eq i64 %322, 0
  br i1 %323, label %331, label %324

324:                                              ; preds = %321
  %325 = load i32, ptr %8, align 4, !tbaa !5
  %326 = icmp eq i32 %325, 1
  br i1 %326, label %327, label %347

327:                                              ; preds = %324
  %328 = load i64, ptr %21, align 8, !tbaa !13
  %329 = load i64, ptr %20, align 8, !tbaa !13
  %330 = icmp eq i64 %328, %329
  br i1 %330, label %331, label %347

331:                                              ; preds = %327, %321
  %332 = load i32, ptr %9, align 4, !tbaa !5
  %333 = icmp sgt i32 %332, 0
  br i1 %333, label %334, label %337

334:                                              ; preds = %331
  %335 = load ptr, ptr @stderr, align 8, !tbaa !9
  %336 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %335, ptr noundef @.str.20) #8
  br label %337

337:                                              ; preds = %334, %331
  %338 = load i64, ptr %20, align 8, !tbaa !13
  %339 = shl i64 %338, 1
  store i64 %339, ptr %20, align 8, !tbaa !13
  %340 = load ptr, ptr %24, align 8, !tbaa !9
  %341 = load i64, ptr %20, align 8, !tbaa !13
  %342 = call ptr @lzfse_reallocf(ptr noundef %340, i64 noundef %341)
  store ptr %342, ptr %24, align 8, !tbaa !9
  %343 = load ptr, ptr %24, align 8, !tbaa !9
  %344 = icmp eq ptr %343, null
  br i1 %344, label %345, label %346

345:                                              ; preds = %337
  call void @perror(ptr noundef @.str.17)
  call void @exit(i32 noundef 1) #10
  unreachable

346:                                              ; preds = %337
  br label %303

347:                                              ; preds = %327, %324
  br label %348

348:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %349 = call double @get_time()
  store double %349, ptr %26, align 8, !tbaa !17
  %350 = load i32, ptr %9, align 4, !tbaa !5
  %351 = icmp sgt i32 %350, 0
  br i1 %351, label %352, label %398

352:                                              ; preds = %348
  %353 = load ptr, ptr @stderr, align 8, !tbaa !9
  %354 = load i64, ptr %21, align 8, !tbaa !13
  %355 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %353, ptr noundef @.str.21, i64 noundef %354) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %356 = load i32, ptr %8, align 4, !tbaa !5
  %357 = icmp eq i32 %356, 0
  br i1 %357, label %358, label %360

358:                                              ; preds = %352
  %359 = load i64, ptr %15, align 8, !tbaa !13
  br label %362

360:                                              ; preds = %352
  %361 = load i64, ptr %21, align 8, !tbaa !13
  br label %362

362:                                              ; preds = %360, %358
  %363 = phi i64 [ %359, %358 ], [ %361, %360 ]
  store i64 %363, ptr %27, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %364 = load i32, ptr %8, align 4, !tbaa !5
  %365 = icmp eq i32 %364, 0
  br i1 %365, label %366, label %368

366:                                              ; preds = %362
  %367 = load i64, ptr %21, align 8, !tbaa !13
  br label %370

368:                                              ; preds = %362
  %369 = load i64, ptr %15, align 8, !tbaa !13
  br label %370

370:                                              ; preds = %368, %366
  %371 = phi i64 [ %367, %366 ], [ %369, %368 ]
  store i64 %371, ptr %28, align 8, !tbaa !13
  %372 = load ptr, ptr @stderr, align 8, !tbaa !9
  %373 = load i64, ptr %27, align 8, !tbaa !13
  %374 = uitofp i64 %373 to double
  %375 = load i64, ptr %28, align 8, !tbaa !13
  %376 = uitofp i64 %375 to double
  %377 = fdiv double %374, %376
  %378 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %372, ptr noundef @.str.22, double noundef %377) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %379 = load double, ptr %26, align 8, !tbaa !17
  %380 = load double, ptr %25, align 8, !tbaa !17
  %381 = fsub double %379, %380
  %382 = fmul double 1.000000e+09, %381
  %383 = load i64, ptr %27, align 8, !tbaa !13
  %384 = uitofp i64 %383 to double
  %385 = fdiv double %382, %384
  store double %385, ptr %29, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %386 = load i64, ptr %27, align 8, !tbaa !13
  %387 = uitofp i64 %386 to double
  %388 = fdiv double %387, 1.024000e+03
  %389 = fdiv double %388, 1.024000e+03
  %390 = load double, ptr %26, align 8, !tbaa !17
  %391 = load double, ptr %25, align 8, !tbaa !17
  %392 = fsub double %390, %391
  %393 = fdiv double %389, %392
  store double %393, ptr %30, align 8, !tbaa !17
  %394 = load ptr, ptr @stderr, align 8, !tbaa !9
  %395 = load double, ptr %29, align 8, !tbaa !17
  %396 = load double, ptr %30, align 8, !tbaa !17
  %397 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %394, ptr noundef @.str.23, double noundef %395, double noundef %396) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %398

398:                                              ; preds = %370, %348
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 -1, ptr %31, align 4, !tbaa !5
  %399 = load ptr, ptr %7, align 8, !tbaa !9
  %400 = icmp ne ptr %399, null
  br i1 %400, label %401, label %409

401:                                              ; preds = %398
  %402 = load ptr, ptr %7, align 8, !tbaa !9
  %403 = call i32 (ptr, i32, ...) @open(ptr noundef %402, i32 noundef 577, i32 noundef 420)
  store i32 %403, ptr %31, align 4, !tbaa !5
  %404 = load i32, ptr %31, align 4, !tbaa !5
  %405 = icmp slt i32 %404, 0
  br i1 %405, label %406, label %408

406:                                              ; preds = %401
  %407 = load ptr, ptr %7, align 8, !tbaa !9
  call void @perror(ptr noundef %407)
  call void @exit(i32 noundef 1) #10
  unreachable

408:                                              ; preds = %401
  br label %410

409:                                              ; preds = %398
  store i32 1, ptr %31, align 4, !tbaa !5
  br label %410

410:                                              ; preds = %409, %408
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  store i64 0, ptr %32, align 8, !tbaa !13
  br label %411

411:                                              ; preds = %434, %410
  %412 = load i64, ptr %32, align 8, !tbaa !13
  %413 = load i64, ptr %21, align 8, !tbaa !13
  %414 = icmp ult i64 %412, %413
  br i1 %414, label %416, label %415

415:                                              ; preds = %411
  store i32 16, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %438

416:                                              ; preds = %411
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  %417 = load i32, ptr %31, align 4, !tbaa !5
  %418 = load ptr, ptr %24, align 8, !tbaa !9
  %419 = load i64, ptr %32, align 8, !tbaa !13
  %420 = getelementptr inbounds i8, ptr %418, i64 %419
  %421 = load i64, ptr %21, align 8, !tbaa !13
  %422 = load i64, ptr %32, align 8, !tbaa !13
  %423 = sub i64 %421, %422
  %424 = call i64 @write(i32 noundef %417, ptr noundef %420, i64 noundef %423)
  store i64 %424, ptr %33, align 8, !tbaa !13
  %425 = load i64, ptr %33, align 8, !tbaa !13
  %426 = icmp slt i64 %425, 0
  br i1 %426, label %427, label %428

427:                                              ; preds = %416
  call void @perror(ptr noundef @.str.24)
  call void @exit(i32 noundef 1) #10
  unreachable

428:                                              ; preds = %416
  %429 = load i64, ptr %33, align 8, !tbaa !13
  %430 = icmp eq i64 %429, 0
  br i1 %430, label %431, label %434

431:                                              ; preds = %428
  %432 = load ptr, ptr @stderr, align 8, !tbaa !9
  %433 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %432, ptr noundef @.str.25) #8
  call void @exit(i32 noundef 1) #10
  unreachable

434:                                              ; preds = %428
  %435 = load i64, ptr %33, align 8, !tbaa !13
  %436 = load i64, ptr %32, align 8, !tbaa !13
  %437 = add i64 %436, %435
  store i64 %437, ptr %32, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %411, !llvm.loop !19

438:                                              ; preds = %415
  %439 = load ptr, ptr %7, align 8, !tbaa !9
  %440 = icmp ne ptr %439, null
  br i1 %440, label %441, label %444

441:                                              ; preds = %438
  %442 = load i32, ptr %31, align 4, !tbaa !5
  %443 = call i32 @close(i32 noundef %442)
  store i32 -1, ptr %31, align 4, !tbaa !5
  br label %444

444:                                              ; preds = %441, %438
  %445 = load ptr, ptr %16, align 8, !tbaa !9
  call void @free(ptr noundef %445) #8
  %446 = load ptr, ptr %24, align 8, !tbaa !9
  call void @free(ptr noundef %446) #8
  %447 = load ptr, ptr %23, align 8, !tbaa !9
  call void @free(ptr noundef %447) #8
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %448 = load i32, ptr %3, align 4
  ret i32 %448

449:                                              ; preds = %247, %123
  unreachable
}

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

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

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

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

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

declare void @perror(ptr noundef) #5

; Function Attrs: nounwind
declare i32 @fstat(i32 noundef, ptr noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @lzfse_reallocf(ptr noundef, i64 noundef) #7

declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #5

declare i32 @close(i32 noundef) #5

declare i64 @lzfse_encode_scratch_size(...) #5

declare i64 @lzfse_decode_scratch_size(...) #5

declare i64 @lzfse_encode_buffer(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #5

declare i64 @lzfse_decode_buffer(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) #5

declare i64 @write(i32 noundef, ptr noundef, i64 noundef) #5

; Function Attrs: nounwind
declare void @free(ptr noundef) #1

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

!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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !14, i64 48}
!16 = !{!"stat", !14, i64 0, !14, i64 8, !14, i64 16, !6, i64 24, !6, i64 28, !6, i64 32, !6, i64 36, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !7, i64 120}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !12}


; 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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, [3 x i64] }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [32 x i8], align 1

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

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.stat, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3)
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4)
  store ptr null, ptr %4, align 8, !tbaa !5
  %6 = icmp sgt i32 %0, 1
  br i1 %6, label %.lr.ph, label %._crit_edge.thread

._crit_edge:                                      ; preds = %46
  %7 = icmp slt i32 %.1, 0
  br i1 %7, label %._crit_edge.thread, label %50

.lr.ph:                                           ; preds = %2, %46
  %.0126189 = phi i32 [ %.1, %46 ], [ -1, %2 ]
  %.0127188 = phi i32 [ %.1128, %46 ], [ 0, %2 ]
  %.0129187 = phi i32 [ %.1130, %46 ], [ 1, %2 ]
  %8 = add nsw i32 %.0129187, 1
  %9 = sext i32 %.0129187 to i64
  %10 = getelementptr inbounds ptr, ptr %1, i64 %9
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.1) #10
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %15

14:                                               ; preds = %.lr.ph
  tail call void @usage(i32 noundef %0, ptr noundef nonnull %1)
  tail call void @exit(i32 noundef 0) #11
  unreachable

15:                                               ; preds = %.lr.ph
  %16 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.2) #10
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %18, label %20

18:                                               ; preds = %15
  %19 = add nsw i32 %.0127188, 1
  br label %46, !llvm.loop !9

20:                                               ; preds = %15
  %21 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.3) #10
  %22 = icmp eq i32 %21, 0
  br i1 %22, label %46, label %23, !llvm.loop !9

23:                                               ; preds = %20
  %24 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.4) #10
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %46, label %26, !llvm.loop !9

26:                                               ; preds = %23
  %27 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.5) #10
  %28 = icmp eq i32 %27, 0
  %.0..0.243 = load ptr, ptr %3, align 8
  %29 = icmp eq ptr %.0..0.243, null
  %or.cond = select i1 %28, i1 %29, i1 false
  br i1 %or.cond, label %select.unfold, label %30

30:                                               ; preds = %26
  %31 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %11, ptr noundef nonnull dereferenceable(1) @.str.6) #10
  %32 = icmp eq i32 %31, 0
  %.0..0.237 = load ptr, ptr %4, align 8
  %33 = icmp eq ptr %.0..0.237, null
  %or.cond3 = select i1 %32, i1 %33, i1 false
  br i1 %or.cond3, label %select.unfold, label %43

select.unfold:                                    ; preds = %30, %26
  %.0132.ph = phi ptr [ %3, %26 ], [ %4, %30 ]
  %34 = icmp eq i32 %8, %0
  br i1 %34, label %35, label %38

35:                                               ; preds = %select.unfold
  tail call void @usage(i32 noundef %0, ptr noundef nonnull %1)
  %36 = load ptr, ptr @stderr, align 8, !tbaa !5
  %37 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %36, ptr noundef nonnull @.str.7, ptr noundef %11) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

38:                                               ; preds = %select.unfold
  %39 = add nsw i32 %.0129187, 2
  %40 = sext i32 %8 to i64
  %41 = getelementptr inbounds ptr, ptr %1, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %42, ptr %.0132.ph, align 8, !tbaa !5
  br label %46

43:                                               ; preds = %30
  tail call void @usage(i32 noundef %0, ptr noundef nonnull %1)
  %44 = load ptr, ptr @stderr, align 8, !tbaa !5
  %45 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str.8, ptr noundef %11) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

46:                                               ; preds = %23, %20, %38, %18
  %.1130 = phi i32 [ %8, %18 ], [ %39, %38 ], [ %8, %20 ], [ %8, %23 ]
  %.1128 = phi i32 [ %19, %18 ], [ %.0127188, %38 ], [ %.0127188, %20 ], [ %.0127188, %23 ]
  %.1 = phi i32 [ %.0126189, %18 ], [ %.0126189, %38 ], [ 0, %20 ], [ 1, %23 ]
  %47 = icmp slt i32 %.1130, %0
  br i1 %47, label %.lr.ph, label %._crit_edge

._crit_edge.thread:                               ; preds = %2, %._crit_edge
  tail call void @usage(i32 noundef %0, ptr noundef %1)
  %48 = load ptr, ptr @stderr, align 8, !tbaa !5
  %49 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %48, ptr noundef nonnull @.str.9) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

50:                                               ; preds = %._crit_edge
  %51 = icmp sgt i32 %.1128, 0
  br i1 %51, label %52, label %._crit_edge244

._crit_edge244:                                   ; preds = %50
  %.0..0.239.pre = load ptr, ptr %3, align 8, !tbaa !5
  br label %63

52:                                               ; preds = %50
  switch i32 %.1, label %56 [
    i32 0, label %.sink.split
    i32 1, label %53
  ]

53:                                               ; preds = %52
  br label %.sink.split

.sink.split:                                      ; preds = %52, %53
  %.str.10.sink = phi ptr [ @.str.11, %53 ], [ @.str.10, %52 ]
  %54 = load ptr, ptr @stderr, align 8, !tbaa !5
  %55 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef nonnull %.str.10.sink) #12
  br label %56

56:                                               ; preds = %.sink.split, %52
  %57 = load ptr, ptr @stderr, align 8, !tbaa !5
  %.0..0.238 = load ptr, ptr %3, align 8
  %.not = icmp eq ptr %.0..0.238, null
  %58 = select i1 %.not, ptr @.str.13, ptr %.0..0.238
  %59 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef nonnull @.str.12, ptr noundef nonnull %58) #12
  %60 = load ptr, ptr @stderr, align 8, !tbaa !5
  %.0..0. = load ptr, ptr %4, align 8
  %.not156 = icmp eq ptr %.0..0., null
  %61 = select i1 %.not156, ptr @.str.15, ptr %.0..0.
  %62 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %60, ptr noundef nonnull @.str.14, ptr noundef nonnull %61) #12
  br label %63

63:                                               ; preds = %._crit_edge244, %56
  %.0.242 = phi ptr [ %.0..0.239.pre, %._crit_edge244 ], [ %.0..0.238, %56 ]
  %.not157 = icmp eq ptr %.0.242, null
  br i1 %.not157, label %74, label %64

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %5) #13
  %65 = tail call i32 (ptr, i32, ...) @open(ptr noundef nonnull %.0.242, i32 noundef 0) #13
  %66 = icmp slt i32 %65, 0
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  tail call void @perror(ptr noundef nonnull %.0.242) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

68:                                               ; preds = %64
  %69 = call i32 @fstat(i32 noundef %65, ptr noundef nonnull %5) #13
  %.not158 = icmp eq i32 %69, 0
  br i1 %.not158, label %71, label %70

70:                                               ; preds = %68
  tail call void @perror(ptr noundef nonnull %.0.242) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

71:                                               ; preds = %68
  %72 = getelementptr inbounds i8, ptr %5, i64 48
  %73 = load i64, ptr %72, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %5) #13
  br label %74

74:                                               ; preds = %63, %71
  %.0142 = phi i32 [ %65, %71 ], [ 0, %63 ]
  %.0133 = phi i64 [ %73, %71 ], [ 1048576, %63 ]
  %75 = tail call noalias ptr @malloc(i64 noundef %.0133) #15
  %76 = icmp eq ptr %75, null
  br i1 %76, label %77, label %.preheader

77:                                               ; preds = %74
  tail call void @perror(ptr noundef nonnull @.str.17) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

.preheader:                                       ; preds = %74, %92
  %.0138 = phi ptr [ %.1139, %92 ], [ %75, %74 ]
  %.0136 = phi i64 [ %94, %92 ], [ 0, %74 ]
  %.1134 = phi i64 [ %.3, %92 ], [ %.0133, %74 ]
  %78 = icmp eq i64 %.0136, %.1134
  br i1 %78, label %79, label %86

79:                                               ; preds = %.preheader
  %80 = icmp ult i64 %.0136, 104857600
  %81 = shl nuw nsw i64 %.0136, 1
  %82 = add i64 %.0136, 104857600
  %.2 = select i1 %80, i64 %81, i64 %82
  %83 = tail call ptr @lzfse_reallocf(ptr noundef %.0138, i64 noundef %.2)
  %84 = icmp eq ptr %83, null
  br i1 %84, label %85, label %86

85:                                               ; preds = %79
  tail call void @perror(ptr noundef nonnull @.str.17) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

86:                                               ; preds = %79, %.preheader
  %.1139 = phi ptr [ %83, %79 ], [ %.0138, %.preheader ]
  %.3 = phi i64 [ %.2, %79 ], [ %.1134, %.preheader ]
  %87 = getelementptr inbounds i8, ptr %.1139, i64 %.0136
  %88 = sub i64 %.3, %.0136
  %89 = tail call i64 @read(i32 noundef %.0142, ptr noundef %87, i64 noundef %88) #13
  %90 = icmp slt i64 %89, 0
  br i1 %90, label %91, label %92

91:                                               ; preds = %86
  tail call void @perror(ptr noundef nonnull @.str.18) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

92:                                               ; preds = %86
  %93 = icmp eq i64 %89, 0
  %94 = add i64 %89, %.0136
  br i1 %93, label %95, label %.preheader

95:                                               ; preds = %92
  br i1 %.not157, label %98, label %96

96:                                               ; preds = %95
  %97 = tail call i32 @close(i32 noundef %.0142) #13
  br label %98

98:                                               ; preds = %96, %95
  br i1 %51, label %99, label %102

99:                                               ; preds = %98
  %100 = load ptr, ptr @stderr, align 8, !tbaa !5
  %101 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.19, i64 noundef %94) #12
  br label %102

102:                                              ; preds = %99, %98
  %103 = icmp eq i32 %.1, 0
  %104 = shl i64 %.0136, 2
  %105 = select i1 %103, i64 %94, i64 %104
  br i1 %103, label %106, label %108

106:                                              ; preds = %102
  %107 = tail call i64 (...) @lzfse_encode_scratch_size() #13
  br label %110

108:                                              ; preds = %102
  %109 = tail call i64 (...) @lzfse_decode_scratch_size() #13
  br label %110

110:                                              ; preds = %108, %106
  %111 = phi i64 [ %107, %106 ], [ %109, %108 ]
  %.not213 = icmp eq i64 %111, 0
  br i1 %.not213, label %.thread167, label %112

112:                                              ; preds = %110
  %113 = tail call noalias ptr @malloc(i64 noundef %111) #15
  %114 = icmp eq ptr %113, null
  br i1 %114, label %115, label %.thread167

115:                                              ; preds = %112
  tail call void @perror(ptr noundef nonnull @.str.17) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

.thread167:                                       ; preds = %110, %112
  %116 = phi ptr [ %113, %112 ], [ null, %110 ]
  %117 = tail call noalias ptr @malloc(i64 noundef %105) #15
  %118 = icmp eq ptr %117, null
  br i1 %118, label %119, label %120

119:                                              ; preds = %.thread167
  tail call void @perror(ptr noundef nonnull @.str.17) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

120:                                              ; preds = %.thread167
  %121 = tail call double @get_time()
  %122 = icmp eq i32 %.1, 1
  br i1 %103, label %.split.us, label %.split

.split.us:                                        ; preds = %120, %130
  %.0141.us = phi i64 [ %131, %130 ], [ %94, %120 ]
  %.0135.us = phi ptr [ %132, %130 ], [ %117, %120 ]
  %123 = tail call i64 @lzfse_encode_buffer(ptr noundef nonnull %.0135.us, i64 noundef %.0141.us, ptr noundef %.1139, i64 noundef %94, ptr noundef %116) #13
  %124 = icmp eq i64 %123, 0
  %125 = icmp eq i64 %123, %.0141.us
  %or.cond163.us = and i1 %122, %125
  %or.cond210 = or i1 %124, %or.cond163.us
  br i1 %or.cond210, label %126, label %.split192.us

126:                                              ; preds = %.split.us
  br i1 %51, label %127, label %130

127:                                              ; preds = %126
  %128 = load ptr, ptr @stderr, align 8, !tbaa !5
  %129 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %128, ptr noundef nonnull @.str.20) #12
  br label %130

130:                                              ; preds = %127, %126
  %131 = shl i64 %.0141.us, 1
  %132 = tail call ptr @lzfse_reallocf(ptr noundef nonnull %.0135.us, i64 noundef %131)
  %133 = icmp eq ptr %132, null
  br i1 %133, label %.split197.us, label %.split.us

.split:                                           ; preds = %120
  br i1 %51, label %.split.split.us, label %.split.split

.split.split.us:                                  ; preds = %.split, %137
  %.0141.us198 = phi i64 [ %140, %137 ], [ %104, %.split ]
  %.0135.us199 = phi ptr [ %141, %137 ], [ %117, %.split ]
  %134 = tail call i64 @lzfse_decode_buffer(ptr noundef nonnull %.0135.us199, i64 noundef %.0141.us198, ptr noundef %.1139, i64 noundef %94, ptr noundef %116) #13
  %135 = icmp eq i64 %134, 0
  %136 = icmp eq i64 %134, %.0141.us198
  %or.cond163.us200 = and i1 %122, %136
  %or.cond211 = or i1 %135, %or.cond163.us200
  br i1 %or.cond211, label %137, label %.split192.us

137:                                              ; preds = %.split.split.us
  %138 = load ptr, ptr @stderr, align 8, !tbaa !5
  %139 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef nonnull @.str.20) #12
  %140 = shl i64 %.0141.us198, 1
  %141 = tail call ptr @lzfse_reallocf(ptr noundef nonnull %.0135.us199, i64 noundef %140)
  %142 = icmp eq ptr %141, null
  br i1 %142, label %.split197.us, label %.split.split.us

.split.split:                                     ; preds = %.split, %146
  %.0141 = phi i64 [ %147, %146 ], [ %104, %.split ]
  %.0135 = phi ptr [ %148, %146 ], [ %117, %.split ]
  %143 = tail call i64 @lzfse_decode_buffer(ptr noundef nonnull %.0135, i64 noundef %.0141, ptr noundef %.1139, i64 noundef %94, ptr noundef %116) #13
  %144 = icmp eq i64 %143, 0
  %145 = icmp eq i64 %143, %.0141
  %or.cond163 = and i1 %122, %145
  %or.cond212 = or i1 %144, %or.cond163
  br i1 %or.cond212, label %146, label %.split192.us

146:                                              ; preds = %.split.split
  %147 = shl i64 %.0141, 1
  %148 = tail call ptr @lzfse_reallocf(ptr noundef nonnull %.0135, i64 noundef %147)
  %149 = icmp eq ptr %148, null
  br i1 %149, label %.split197.us, label %.split.split

.split197.us:                                     ; preds = %146, %137, %130
  tail call void @perror(ptr noundef nonnull @.str.17) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

.split192.us:                                     ; preds = %.split.split, %.split.split.us, %.split.us
  %.us-phi = phi i64 [ %123, %.split.us ], [ %94, %.split.split.us ], [ %94, %.split.split ]
  %.us-phi193 = phi i64 [ %94, %.split.us ], [ %134, %.split.split.us ], [ %143, %.split.split ]
  %.us-phi194 = phi i64 [ %123, %.split.us ], [ %134, %.split.split.us ], [ %143, %.split.split ]
  %.us-phi195 = phi ptr [ %.0135.us, %.split.us ], [ %.0135.us199, %.split.split.us ], [ %.0135, %.split.split ]
  %150 = tail call double @get_time()
  br i1 %51, label %151, label %167

151:                                              ; preds = %.split192.us
  %152 = load ptr, ptr @stderr, align 8, !tbaa !5
  %153 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %152, ptr noundef nonnull @.str.21, i64 noundef %.us-phi194) #12
  %154 = load ptr, ptr @stderr, align 8, !tbaa !5
  %155 = uitofp i64 %.us-phi193 to double
  %156 = uitofp i64 %.us-phi to double
  %157 = fdiv double %155, %156
  %158 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef nonnull @.str.22, double noundef %157) #12
  %159 = fsub double %150, %121
  %160 = fmul double %159, 1.000000e+09
  %161 = fdiv double %160, %155
  %162 = fmul double %155, 0x3F50000000000000
  %163 = fmul double %162, 0x3F50000000000000
  %164 = fdiv double %163, %159
  %165 = load ptr, ptr @stderr, align 8, !tbaa !5
  %166 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef nonnull @.str.23, double noundef %161, double noundef %164) #12
  br label %167

167:                                              ; preds = %151, %.split192.us
  %.0..0.234 = load ptr, ptr %4, align 8, !tbaa !5
  %.not160 = icmp eq ptr %.0..0.234, null
  br i1 %.not160, label %172, label %168

168:                                              ; preds = %167
  %169 = tail call i32 (ptr, i32, ...) @open(ptr noundef nonnull %.0..0.234, i32 noundef 577, i32 noundef 420) #13
  %170 = icmp slt i32 %169, 0
  br i1 %170, label %171, label %172

171:                                              ; preds = %168
  tail call void @perror(ptr noundef nonnull %.0..0.234) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

172:                                              ; preds = %167, %168
  %.0125 = phi i32 [ %169, %168 ], [ 1, %167 ]
  br label %177

173:                                              ; preds = %183
  %174 = add i64 %180, %.0209
  %175 = icmp ult i64 %174, %.us-phi194
  br i1 %175, label %177, label %176, !llvm.loop !15

176:                                              ; preds = %173
  br i1 %.not160, label %190, label %188

177:                                              ; preds = %172, %173
  %.0209 = phi i64 [ 0, %172 ], [ %174, %173 ]
  %178 = getelementptr inbounds i8, ptr %.us-phi195, i64 %.0209
  %179 = sub i64 %.us-phi194, %.0209
  %180 = tail call i64 @write(i32 noundef %.0125, ptr noundef nonnull %178, i64 noundef %179) #13
  %181 = icmp slt i64 %180, 0
  br i1 %181, label %182, label %183

182:                                              ; preds = %177
  tail call void @perror(ptr noundef nonnull @.str.24) #14
  tail call void @exit(i32 noundef 1) #11
  unreachable

183:                                              ; preds = %177
  %184 = icmp eq i64 %180, 0
  br i1 %184, label %185, label %173

185:                                              ; preds = %183
  %186 = load ptr, ptr @stderr, align 8, !tbaa !5
  %187 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %186, ptr noundef nonnull @.str.25) #12
  tail call void @exit(i32 noundef 1) #11
  unreachable

188:                                              ; preds = %176
  %189 = tail call i32 @close(i32 noundef %.0125) #13
  br label %190

190:                                              ; preds = %188, %176
  tail call void @free(ptr noundef %.1139) #13
  tail call void @free(ptr noundef %.us-phi195) #13
  tail call void @free(ptr noundef %116) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3)
  ret i32 0
}

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

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

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

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

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_addr #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @lzfse_reallocf(ptr noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: nofree
declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #5

declare i32 @close(i32 noundef) local_unnamed_addr #8

declare i64 @lzfse_encode_scratch_size(...) local_unnamed_addr #8

declare i64 @lzfse_decode_scratch_size(...) local_unnamed_addr #8

declare i64 @lzfse_encode_buffer(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #8

declare i64 @lzfse_decode_buffer(ptr noundef, i64 noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #8

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9

; Function Attrs: nounwind uwtable
declare hidden double @get_time() 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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { 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 #6 = { 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 #7 = { 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 #8 = { "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 nounwind willreturn allockind("free") 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 #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn nounwind }
attributes #12 = { cold nounwind }
attributes #13 = { nounwind }
attributes #14 = { cold }
attributes #15 = { nounwind allocsize(0) }

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !13, i64 48}
!12 = !{!"stat", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !7, i64 120}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !10}


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