; LLVM IR from ebiggers/libdeflate :: programs (test_trailing_bytes)

; 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.anon = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@codecs = external hidden constant [3 x %struct.anon], align 16
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 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 i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i64, align 8
  %18 = 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 i64 32768, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store i64 32768, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store i64 30000, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %19 = load ptr, ptr %5, align 8, !tbaa !9
  call void @begin_program(ptr noundef %19)
  %20 = call ptr @xmalloc(i64 noundef 32768)
  store ptr %20, ptr %10, align 8, !tbaa !9
  %21 = load ptr, ptr %10, align 8, !tbaa !9
  %22 = icmp ne ptr %21, null
  %23 = xor i1 %22, true
  %24 = xor i1 %23, true
  %25 = xor i1 %24, true
  %26 = zext i1 %25 to i32
  %27 = sext i32 %26 to i64
  %28 = call i64 @llvm.expect.i64(i64 %27, i64 0)
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %30, label %31

30:                                               ; preds = %2
  call void @assertion_failed(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 73) #9
  unreachable

31:                                               ; preds = %2
  store i64 0, ptr %9, align 8, !tbaa !11
  br label %32

32:                                               ; preds = %45, %31
  %33 = load i64, ptr %9, align 8, !tbaa !11
  %34 = icmp ult i64 %33, 32768
  br i1 %34, label %35, label %48

35:                                               ; preds = %32
  %36 = load i64, ptr %9, align 8, !tbaa !11
  %37 = urem i64 %36, 123
  %38 = load i64, ptr %9, align 8, !tbaa !11
  %39 = urem i64 %38, 1023
  %40 = add i64 %37, %39
  %41 = trunc i64 %40 to i8
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  %43 = load i64, ptr %9, align 8, !tbaa !11
  %44 = getelementptr inbounds i8, ptr %42, i64 %43
  store i8 %41, ptr %44, align 1, !tbaa !13
  br label %45

45:                                               ; preds = %35
  %46 = load i64, ptr %9, align 8, !tbaa !11
  %47 = add i64 %46, 1
  store i64 %47, ptr %9, align 8, !tbaa !11
  br label %32, !llvm.loop !14

48:                                               ; preds = %32
  %49 = call ptr @xmalloc(i64 noundef 32768)
  store ptr %49, ptr %11, align 8, !tbaa !9
  %50 = load ptr, ptr %11, align 8, !tbaa !9
  %51 = icmp ne ptr %50, null
  %52 = xor i1 %51, true
  %53 = xor i1 %52, true
  %54 = xor i1 %53, true
  %55 = zext i1 %54 to i32
  %56 = sext i32 %55 to i64
  %57 = call i64 @llvm.expect.i64(i64 %56, i64 0)
  %58 = icmp ne i64 %57, 0
  br i1 %58, label %59, label %60

59:                                               ; preds = %48
  call void @assertion_failed(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 78) #9
  unreachable

60:                                               ; preds = %48
  %61 = load ptr, ptr %11, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %61, i8 0, i64 32768, i1 false)
  %62 = call ptr @xmalloc(i64 noundef 32768)
  store ptr %62, ptr %12, align 8, !tbaa !9
  %63 = load ptr, ptr %12, align 8, !tbaa !9
  %64 = icmp ne ptr %63, null
  %65 = xor i1 %64, true
  %66 = xor i1 %65, true
  %67 = xor i1 %66, true
  %68 = zext i1 %67 to i32
  %69 = sext i32 %68 to i64
  %70 = call i64 @llvm.expect.i64(i64 %69, i64 0)
  %71 = icmp ne i64 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %60
  call void @assertion_failed(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 82) #9
  unreachable

73:                                               ; preds = %60
  %74 = call ptr @libdeflate_alloc_compressor(i32 noundef 6)
  store ptr %74, ptr %13, align 8, !tbaa !9
  %75 = load ptr, ptr %13, align 8, !tbaa !9
  %76 = icmp ne ptr %75, null
  %77 = xor i1 %76, true
  %78 = xor i1 %77, true
  %79 = xor i1 %78, true
  %80 = zext i1 %79 to i32
  %81 = sext i32 %80 to i64
  %82 = call i64 @llvm.expect.i64(i64 %81, i64 0)
  %83 = icmp ne i64 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %73
  call void @assertion_failed(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 85) #9
  unreachable

85:                                               ; preds = %73
  %86 = call ptr @libdeflate_alloc_decompressor()
  store ptr %86, ptr %14, align 8, !tbaa !9
  %87 = load ptr, ptr %14, align 8, !tbaa !9
  %88 = icmp ne ptr %87, null
  %89 = xor i1 %88, true
  %90 = xor i1 %89, true
  %91 = xor i1 %90, true
  %92 = zext i1 %91 to i32
  %93 = sext i32 %92 to i64
  %94 = call i64 @llvm.expect.i64(i64 %93, i64 0)
  %95 = icmp ne i64 %94, 0
  br i1 %95, label %96, label %97

96:                                               ; preds = %85
  call void @assertion_failed(ptr noundef @.str.5, ptr noundef @.str.1, i32 noundef 88) #9
  unreachable

97:                                               ; preds = %85
  store i64 0, ptr %9, align 8, !tbaa !11
  br label %98

98:                                               ; preds = %334, %97
  %99 = load i64, ptr %9, align 8, !tbaa !11
  %100 = icmp ult i64 %99, 3
  br i1 %100, label %101, label %337

101:                                              ; preds = %98
  %102 = load i64, ptr %9, align 8, !tbaa !11
  %103 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %102
  %104 = getelementptr inbounds %struct.anon, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !16
  %106 = load ptr, ptr %13, align 8, !tbaa !9
  %107 = load ptr, ptr %10, align 8, !tbaa !9
  %108 = load ptr, ptr %11, align 8, !tbaa !9
  %109 = call i64 %105(ptr noundef %106, ptr noundef %107, i64 noundef 32768, ptr noundef %108, i64 noundef 30000)
  store i64 %109, ptr %15, align 8, !tbaa !11
  %110 = load i64, ptr %15, align 8, !tbaa !11
  %111 = icmp ugt i64 %110, 0
  %112 = xor i1 %111, true
  %113 = xor i1 %112, true
  %114 = xor i1 %113, true
  %115 = zext i1 %114 to i32
  %116 = sext i32 %115 to i64
  %117 = call i64 @llvm.expect.i64(i64 %116, i64 0)
  %118 = icmp ne i64 %117, 0
  br i1 %118, label %119, label %120

119:                                              ; preds = %101
  call void @assertion_failed(ptr noundef @.str.6, ptr noundef @.str.1, i32 noundef 95) #9
  unreachable

120:                                              ; preds = %101
  %121 = load i64, ptr %15, align 8, !tbaa !11
  %122 = icmp ule i64 %121, 30000
  %123 = xor i1 %122, true
  %124 = xor i1 %123, true
  %125 = xor i1 %124, true
  %126 = zext i1 %125 to i32
  %127 = sext i32 %126 to i64
  %128 = call i64 @llvm.expect.i64(i64 %127, i64 0)
  %129 = icmp ne i64 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %120
  call void @assertion_failed(ptr noundef @.str.7, ptr noundef @.str.1, i32 noundef 96) #9
  unreachable

131:                                              ; preds = %120
  store i64 0, ptr %18, align 8, !tbaa !11
  %132 = load ptr, ptr %12, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %132, i8 0, i64 32768, i1 false)
  %133 = load i64, ptr %9, align 8, !tbaa !11
  %134 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %133
  %135 = getelementptr inbounds %struct.anon, ptr %134, i32 0, i32 1
  %136 = load ptr, ptr %135, align 8, !tbaa !18
  %137 = load ptr, ptr %14, align 8, !tbaa !9
  %138 = load ptr, ptr %11, align 8, !tbaa !9
  %139 = load i64, ptr %15, align 8, !tbaa !11
  %140 = load ptr, ptr %12, align 8, !tbaa !9
  %141 = call i32 %136(ptr noundef %137, ptr noundef %138, i64 noundef %139, ptr noundef %140, i64 noundef 32768, ptr noundef %18)
  store i32 %141, ptr %16, align 4, !tbaa !5
  %142 = load i32, ptr %16, align 4, !tbaa !5
  %143 = icmp eq i32 %142, 0
  %144 = xor i1 %143, true
  %145 = xor i1 %144, true
  %146 = xor i1 %145, true
  %147 = zext i1 %146 to i32
  %148 = sext i32 %147 to i64
  %149 = call i64 @llvm.expect.i64(i64 %148, i64 0)
  %150 = icmp ne i64 %149, 0
  br i1 %150, label %151, label %152

151:                                              ; preds = %131
  call void @assertion_failed(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 104) #9
  unreachable

152:                                              ; preds = %131
  %153 = load i64, ptr %18, align 8, !tbaa !11
  %154 = icmp eq i64 %153, 32768
  %155 = xor i1 %154, true
  %156 = xor i1 %155, true
  %157 = xor i1 %156, true
  %158 = zext i1 %157 to i32
  %159 = sext i32 %158 to i64
  %160 = call i64 @llvm.expect.i64(i64 %159, i64 0)
  %161 = icmp ne i64 %160, 0
  br i1 %161, label %162, label %163

162:                                              ; preds = %152
  call void @assertion_failed(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 105) #9
  unreachable

163:                                              ; preds = %152
  %164 = load ptr, ptr %12, align 8, !tbaa !9
  %165 = load ptr, ptr %10, align 8, !tbaa !9
  %166 = call i32 @memcmp(ptr noundef %164, ptr noundef %165, i64 noundef 32768) #10
  %167 = icmp eq i32 %166, 0
  %168 = xor i1 %167, true
  %169 = xor i1 %168, true
  %170 = xor i1 %169, true
  %171 = zext i1 %170 to i32
  %172 = sext i32 %171 to i64
  %173 = call i64 @llvm.expect.i64(i64 %172, i64 0)
  %174 = icmp ne i64 %173, 0
  br i1 %174, label %175, label %176

175:                                              ; preds = %163
  call void @assertion_failed(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 106) #9
  unreachable

176:                                              ; preds = %163
  store i64 0, ptr %18, align 8, !tbaa !11
  store i64 0, ptr %17, align 8, !tbaa !11
  %177 = load ptr, ptr %12, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %177, i8 0, i64 32768, i1 false)
  %178 = load i64, ptr %9, align 8, !tbaa !11
  %179 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %178
  %180 = getelementptr inbounds %struct.anon, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !19
  %182 = load ptr, ptr %14, align 8, !tbaa !9
  %183 = load ptr, ptr %11, align 8, !tbaa !9
  %184 = load i64, ptr %15, align 8, !tbaa !11
  %185 = load ptr, ptr %12, align 8, !tbaa !9
  %186 = call i32 %181(ptr noundef %182, ptr noundef %183, i64 noundef %184, ptr noundef %185, i64 noundef 32768, ptr noundef %17, ptr noundef %18)
  store i32 %186, ptr %16, align 4, !tbaa !5
  %187 = load i32, ptr %16, align 4, !tbaa !5
  %188 = icmp eq i32 %187, 0
  %189 = xor i1 %188, true
  %190 = xor i1 %189, true
  %191 = xor i1 %190, true
  %192 = zext i1 %191 to i32
  %193 = sext i32 %192 to i64
  %194 = call i64 @llvm.expect.i64(i64 %193, i64 0)
  %195 = icmp ne i64 %194, 0
  br i1 %195, label %196, label %197

196:                                              ; preds = %176
  call void @assertion_failed(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 115) #9
  unreachable

197:                                              ; preds = %176
  %198 = load i64, ptr %17, align 8, !tbaa !11
  %199 = load i64, ptr %15, align 8, !tbaa !11
  %200 = icmp eq i64 %198, %199
  %201 = xor i1 %200, true
  %202 = xor i1 %201, true
  %203 = xor i1 %202, true
  %204 = zext i1 %203 to i32
  %205 = sext i32 %204 to i64
  %206 = call i64 @llvm.expect.i64(i64 %205, i64 0)
  %207 = icmp ne i64 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %197
  call void @assertion_failed(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 116) #9
  unreachable

209:                                              ; preds = %197
  %210 = load i64, ptr %18, align 8, !tbaa !11
  %211 = icmp eq i64 %210, 32768
  %212 = xor i1 %211, true
  %213 = xor i1 %212, true
  %214 = xor i1 %213, true
  %215 = zext i1 %214 to i32
  %216 = sext i32 %215 to i64
  %217 = call i64 @llvm.expect.i64(i64 %216, i64 0)
  %218 = icmp ne i64 %217, 0
  br i1 %218, label %219, label %220

219:                                              ; preds = %209
  call void @assertion_failed(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 117) #9
  unreachable

220:                                              ; preds = %209
  %221 = load ptr, ptr %12, align 8, !tbaa !9
  %222 = load ptr, ptr %10, align 8, !tbaa !9
  %223 = call i32 @memcmp(ptr noundef %221, ptr noundef %222, i64 noundef 32768) #10
  %224 = icmp eq i32 %223, 0
  %225 = xor i1 %224, true
  %226 = xor i1 %225, true
  %227 = xor i1 %226, true
  %228 = zext i1 %227 to i32
  %229 = sext i32 %228 to i64
  %230 = call i64 @llvm.expect.i64(i64 %229, i64 0)
  %231 = icmp ne i64 %230, 0
  br i1 %231, label %232, label %233

232:                                              ; preds = %220
  call void @assertion_failed(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 118) #9
  unreachable

233:                                              ; preds = %220
  store i64 0, ptr %18, align 8, !tbaa !11
  %234 = load ptr, ptr %12, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %234, i8 0, i64 32768, i1 false)
  %235 = load i64, ptr %9, align 8, !tbaa !11
  %236 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %235
  %237 = getelementptr inbounds %struct.anon, ptr %236, i32 0, i32 1
  %238 = load ptr, ptr %237, align 8, !tbaa !18
  %239 = load ptr, ptr %14, align 8, !tbaa !9
  %240 = load ptr, ptr %11, align 8, !tbaa !9
  %241 = load ptr, ptr %12, align 8, !tbaa !9
  %242 = call i32 %238(ptr noundef %239, ptr noundef %240, i64 noundef 32768, ptr noundef %241, i64 noundef 32768, ptr noundef %18)
  store i32 %242, ptr %16, align 4, !tbaa !5
  %243 = load i32, ptr %16, align 4, !tbaa !5
  %244 = icmp eq i32 %243, 0
  %245 = xor i1 %244, true
  %246 = xor i1 %245, true
  %247 = xor i1 %246, true
  %248 = zext i1 %247 to i32
  %249 = sext i32 %248 to i64
  %250 = call i64 @llvm.expect.i64(i64 %249, i64 0)
  %251 = icmp ne i64 %250, 0
  br i1 %251, label %252, label %253

252:                                              ; preds = %233
  call void @assertion_failed(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 127) #9
  unreachable

253:                                              ; preds = %233
  %254 = load i64, ptr %18, align 8, !tbaa !11
  %255 = icmp eq i64 %254, 32768
  %256 = xor i1 %255, true
  %257 = xor i1 %256, true
  %258 = xor i1 %257, true
  %259 = zext i1 %258 to i32
  %260 = sext i32 %259 to i64
  %261 = call i64 @llvm.expect.i64(i64 %260, i64 0)
  %262 = icmp ne i64 %261, 0
  br i1 %262, label %263, label %264

263:                                              ; preds = %253
  call void @assertion_failed(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 128) #9
  unreachable

264:                                              ; preds = %253
  %265 = load ptr, ptr %12, align 8, !tbaa !9
  %266 = load ptr, ptr %10, align 8, !tbaa !9
  %267 = call i32 @memcmp(ptr noundef %265, ptr noundef %266, i64 noundef 32768) #10
  %268 = icmp eq i32 %267, 0
  %269 = xor i1 %268, true
  %270 = xor i1 %269, true
  %271 = xor i1 %270, true
  %272 = zext i1 %271 to i32
  %273 = sext i32 %272 to i64
  %274 = call i64 @llvm.expect.i64(i64 %273, i64 0)
  %275 = icmp ne i64 %274, 0
  br i1 %275, label %276, label %277

276:                                              ; preds = %264
  call void @assertion_failed(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 129) #9
  unreachable

277:                                              ; preds = %264
  store i64 0, ptr %18, align 8, !tbaa !11
  store i64 0, ptr %17, align 8, !tbaa !11
  %278 = load ptr, ptr %12, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 1 %278, i8 0, i64 32768, i1 false)
  %279 = load i64, ptr %9, align 8, !tbaa !11
  %280 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %279
  %281 = getelementptr inbounds %struct.anon, ptr %280, i32 0, i32 2
  %282 = load ptr, ptr %281, align 8, !tbaa !19
  %283 = load ptr, ptr %14, align 8, !tbaa !9
  %284 = load ptr, ptr %11, align 8, !tbaa !9
  %285 = load ptr, ptr %12, align 8, !tbaa !9
  %286 = call i32 %282(ptr noundef %283, ptr noundef %284, i64 noundef 32768, ptr noundef %285, i64 noundef 32768, ptr noundef %17, ptr noundef %18)
  store i32 %286, ptr %16, align 4, !tbaa !5
  %287 = load i32, ptr %16, align 4, !tbaa !5
  %288 = icmp eq i32 %287, 0
  %289 = xor i1 %288, true
  %290 = xor i1 %289, true
  %291 = xor i1 %290, true
  %292 = zext i1 %291 to i32
  %293 = sext i32 %292 to i64
  %294 = call i64 @llvm.expect.i64(i64 %293, i64 0)
  %295 = icmp ne i64 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %277
  call void @assertion_failed(ptr noundef @.str.8, ptr noundef @.str.1, i32 noundef 139) #9
  unreachable

297:                                              ; preds = %277
  %298 = load i64, ptr %17, align 8, !tbaa !11
  %299 = load i64, ptr %15, align 8, !tbaa !11
  %300 = icmp eq i64 %298, %299
  %301 = xor i1 %300, true
  %302 = xor i1 %301, true
  %303 = xor i1 %302, true
  %304 = zext i1 %303 to i32
  %305 = sext i32 %304 to i64
  %306 = call i64 @llvm.expect.i64(i64 %305, i64 0)
  %307 = icmp ne i64 %306, 0
  br i1 %307, label %308, label %309

308:                                              ; preds = %297
  call void @assertion_failed(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 140) #9
  unreachable

309:                                              ; preds = %297
  %310 = load i64, ptr %18, align 8, !tbaa !11
  %311 = icmp eq i64 %310, 32768
  %312 = xor i1 %311, true
  %313 = xor i1 %312, true
  %314 = xor i1 %313, true
  %315 = zext i1 %314 to i32
  %316 = sext i32 %315 to i64
  %317 = call i64 @llvm.expect.i64(i64 %316, i64 0)
  %318 = icmp ne i64 %317, 0
  br i1 %318, label %319, label %320

319:                                              ; preds = %309
  call void @assertion_failed(ptr noundef @.str.9, ptr noundef @.str.1, i32 noundef 141) #9
  unreachable

320:                                              ; preds = %309
  %321 = load ptr, ptr %12, align 8, !tbaa !9
  %322 = load ptr, ptr %10, align 8, !tbaa !9
  %323 = call i32 @memcmp(ptr noundef %321, ptr noundef %322, i64 noundef 32768) #10
  %324 = icmp eq i32 %323, 0
  %325 = xor i1 %324, true
  %326 = xor i1 %325, true
  %327 = xor i1 %326, true
  %328 = zext i1 %327 to i32
  %329 = sext i32 %328 to i64
  %330 = call i64 @llvm.expect.i64(i64 %329, i64 0)
  %331 = icmp ne i64 %330, 0
  br i1 %331, label %332, label %333

332:                                              ; preds = %320
  call void @assertion_failed(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 142) #9
  unreachable

333:                                              ; preds = %320
  br label %334

334:                                              ; preds = %333
  %335 = load i64, ptr %9, align 8, !tbaa !11
  %336 = add i64 %335, 1
  store i64 %336, ptr %9, align 8, !tbaa !11
  br label %98, !llvm.loop !20

337:                                              ; preds = %98
  %338 = load ptr, ptr %10, align 8, !tbaa !9
  call void @free(ptr noundef %338) #8
  %339 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %339) #8
  %340 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %340) #8
  %341 = load ptr, ptr %13, align 8, !tbaa !9
  call void @libdeflate_free_compressor(ptr noundef %341)
  %342 = load ptr, ptr %14, align 8, !tbaa !9
  call void @libdeflate_free_decompressor(ptr noundef %342)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, 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 8, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret i32 0
}

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

declare void @begin_program(ptr noundef) #2

declare ptr @xmalloc(i64 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

; Function Attrs: noreturn
declare void @assertion_failed(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

declare ptr @libdeflate_alloc_compressor(i32 noundef) #2

declare ptr @libdeflate_alloc_decompressor() #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #6

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

declare void @libdeflate_free_compressor(ptr noundef) #2

declare void @libdeflate_free_decompressor(ptr noundef) #2

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(none) }
attributes #4 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { 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 #7 = { 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 }
attributes #9 = { noreturn }
attributes #10 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 0}
!17 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16}
!18 = !{!17, !10, i64 8}
!19 = !{!17, !10, i64 16}
!20 = distinct !{!20, !15}


; 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.anon = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@codecs = external hidden local_unnamed_addr constant [3 x %struct.anon], align 16
@.str.6 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [46 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  tail call void @begin_program(ptr noundef %1) #7
  %5 = tail call ptr @xmalloc(i64 noundef 32768) #7
  %.not = icmp eq ptr %5, null
  br i1 %.not, label %12, label %vector.body, !prof !5

vector.body:                                      ; preds = %2, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %2 ]
  %vec.ind = phi <16 x i16> [ %vec.ind.next, %vector.body ], [ <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 8, i16 9, i16 10, i16 11, i16 12, i16 13, i16 14, i16 15>, %2 ]
  %6 = urem <16 x i16> %vec.ind, <i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123, i16 123>
  %7 = urem <16 x i16> %vec.ind, <i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023, i16 1023>
  %8 = add nuw nsw <16 x i16> %6, %7
  %9 = trunc <16 x i16> %8 to <16 x i8>
  %10 = getelementptr inbounds i8, ptr %5, i64 %index
  store <16 x i8> %9, ptr %10, align 1, !tbaa !6
  %index.next = add nuw i64 %index, 16
  %vec.ind.next = add <16 x i16> %vec.ind, <i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16, i16 16>
  %11 = icmp eq i64 %index.next, 32768
  br i1 %11, label %middle.block, label %vector.body, !llvm.loop !9

12:                                               ; preds = %2
  tail call void @assertion_failed(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 73) #8
  unreachable

middle.block:                                     ; preds = %vector.body
  %13 = tail call ptr @xmalloc(i64 noundef 32768) #7
  %.not61 = icmp eq ptr %13, null
  br i1 %.not61, label %14, label %15, !prof !5

14:                                               ; preds = %middle.block
  tail call void @assertion_failed(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 78) #8
  unreachable

15:                                               ; preds = %middle.block
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32768) %13, i8 0, i64 32768, i1 false)
  %16 = tail call ptr @xmalloc(i64 noundef 32768) #7
  %.not62 = icmp eq ptr %16, null
  br i1 %.not62, label %17, label %18, !prof !5

17:                                               ; preds = %15
  tail call void @assertion_failed(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 82) #8
  unreachable

18:                                               ; preds = %15
  %19 = tail call ptr @libdeflate_alloc_compressor(i32 noundef 6) #7
  %.not63 = icmp eq ptr %19, null
  br i1 %.not63, label %20, label %21, !prof !5

20:                                               ; preds = %18
  tail call void @assertion_failed(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 85) #8
  unreachable

21:                                               ; preds = %18
  %22 = tail call ptr @libdeflate_alloc_decompressor() #7
  %.not64 = icmp eq ptr %22, null
  br i1 %.not64, label %23, label %.preheader, !prof !5

23:                                               ; preds = %21
  tail call void @assertion_failed(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1, i32 noundef 88) #8
  unreachable

24:                                               ; preds = %73
  %25 = add nuw nsw i64 %.187, 1
  %exitcond88.not = icmp eq i64 %25, 3
  br i1 %exitcond88.not, label %75, label %.preheader, !llvm.loop !13

.preheader:                                       ; preds = %21, %24
  %.187 = phi i64 [ %25, %24 ], [ 0, %21 ]
  %26 = getelementptr inbounds [3 x %struct.anon], ptr @codecs, i64 0, i64 %.187
  %27 = load ptr, ptr %26, align 8, !tbaa !14
  %28 = call i64 %27(ptr noundef nonnull %19, ptr noundef nonnull %5, i64 noundef 32768, ptr noundef nonnull %13, i64 noundef 30000) #7
  %.not65 = icmp eq i64 %28, 0
  br i1 %.not65, label %29, label %30, !prof !5

29:                                               ; preds = %.preheader
  call void @assertion_failed(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.1, i32 noundef 95) #8
  unreachable

30:                                               ; preds = %.preheader
  %31 = icmp ugt i64 %28, 30000
  br i1 %31, label %32, label %33, !prof !5

32:                                               ; preds = %30
  call void @assertion_failed(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.1, i32 noundef 96) #8
  unreachable

33:                                               ; preds = %30
  store i64 0, ptr %4, align 8, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32768) %16, i8 0, i64 32768, i1 false)
  %34 = getelementptr inbounds i8, ptr %26, i64 8
  %35 = load ptr, ptr %34, align 8, !tbaa !19
  %36 = call i32 %35(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef %28, ptr noundef nonnull %16, i64 noundef 32768, ptr noundef nonnull %4) #7
  %.not66 = icmp eq i32 %36, 0
  br i1 %.not66, label %38, label %37, !prof !20

37:                                               ; preds = %33
  call void @assertion_failed(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 104) #8
  unreachable

38:                                               ; preds = %33
  %39 = load i64, ptr %4, align 8, !tbaa !17
  %.not67 = icmp eq i64 %39, 32768
  br i1 %.not67, label %41, label %40, !prof !20

40:                                               ; preds = %38
  call void @assertion_failed(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 105) #8
  unreachable

41:                                               ; preds = %38
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(32768) %16, ptr noundef nonnull dereferenceable(32768) %5, i64 32768)
  %.not68 = icmp eq i32 %bcmp, 0
  br i1 %.not68, label %43, label %42, !prof !20

42:                                               ; preds = %41
  call void @assertion_failed(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 106) #8
  unreachable

43:                                               ; preds = %41
  store i64 0, ptr %4, align 8, !tbaa !17
  store i64 0, ptr %3, align 8, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32768) %16, i8 0, i64 32768, i1 false)
  %44 = getelementptr inbounds i8, ptr %26, i64 16
  %45 = load ptr, ptr %44, align 8, !tbaa !21
  %46 = call i32 %45(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef %28, ptr noundef nonnull %16, i64 noundef 32768, ptr noundef nonnull %3, ptr noundef nonnull %4) #7
  %.not69 = icmp eq i32 %46, 0
  br i1 %.not69, label %48, label %47, !prof !20

47:                                               ; preds = %43
  call void @assertion_failed(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 115) #8
  unreachable

48:                                               ; preds = %43
  %49 = load i64, ptr %3, align 8, !tbaa !17
  %.not70 = icmp eq i64 %49, %28
  br i1 %.not70, label %51, label %50, !prof !20

50:                                               ; preds = %48
  call void @assertion_failed(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 116) #8
  unreachable

51:                                               ; preds = %48
  %52 = load i64, ptr %4, align 8, !tbaa !17
  %.not71 = icmp eq i64 %52, 32768
  br i1 %.not71, label %54, label %53, !prof !20

53:                                               ; preds = %51
  call void @assertion_failed(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 117) #8
  unreachable

54:                                               ; preds = %51
  %bcmp72 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32768) %16, ptr noundef nonnull dereferenceable(32768) %5, i64 32768)
  %.not73 = icmp eq i32 %bcmp72, 0
  br i1 %.not73, label %56, label %55, !prof !20

55:                                               ; preds = %54
  call void @assertion_failed(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 118) #8
  unreachable

56:                                               ; preds = %54
  store i64 0, ptr %4, align 8, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32768) %16, i8 0, i64 32768, i1 false)
  %57 = call i32 %35(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef 32768, ptr noundef nonnull %16, i64 noundef 32768, ptr noundef nonnull %4) #7
  %.not74 = icmp eq i32 %57, 0
  br i1 %.not74, label %59, label %58, !prof !20

58:                                               ; preds = %56
  call void @assertion_failed(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 127) #8
  unreachable

59:                                               ; preds = %56
  %60 = load i64, ptr %4, align 8, !tbaa !17
  %.not75 = icmp eq i64 %60, 32768
  br i1 %.not75, label %62, label %61, !prof !20

61:                                               ; preds = %59
  call void @assertion_failed(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 128) #8
  unreachable

62:                                               ; preds = %59
  %bcmp76 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32768) %16, ptr noundef nonnull dereferenceable(32768) %5, i64 32768)
  %.not77 = icmp eq i32 %bcmp76, 0
  br i1 %.not77, label %64, label %63, !prof !20

63:                                               ; preds = %62
  call void @assertion_failed(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 129) #8
  unreachable

64:                                               ; preds = %62
  store i64 0, ptr %4, align 8, !tbaa !17
  store i64 0, ptr %3, align 8, !tbaa !17
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(32768) %16, i8 0, i64 32768, i1 false)
  %65 = call i32 %45(ptr noundef nonnull %22, ptr noundef nonnull %13, i64 noundef 32768, ptr noundef nonnull %16, i64 noundef 32768, ptr noundef nonnull %3, ptr noundef nonnull %4) #7
  %.not78 = icmp eq i32 %65, 0
  br i1 %.not78, label %67, label %66, !prof !20

66:                                               ; preds = %64
  call void @assertion_failed(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.1, i32 noundef 139) #8
  unreachable

67:                                               ; preds = %64
  %68 = load i64, ptr %3, align 8, !tbaa !17
  %.not79 = icmp eq i64 %68, %28
  br i1 %.not79, label %70, label %69, !prof !20

69:                                               ; preds = %67
  call void @assertion_failed(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 140) #8
  unreachable

70:                                               ; preds = %67
  %71 = load i64, ptr %4, align 8, !tbaa !17
  %.not80 = icmp eq i64 %71, 32768
  br i1 %.not80, label %73, label %72, !prof !20

72:                                               ; preds = %70
  call void @assertion_failed(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.1, i32 noundef 141) #8
  unreachable

73:                                               ; preds = %70
  %bcmp81 = call i32 @bcmp(ptr noundef nonnull dereferenceable(32768) %16, ptr noundef nonnull dereferenceable(32768) %5, i64 32768)
  %.not82 = icmp eq i32 %bcmp81, 0
  br i1 %.not82, label %24, label %74, !prof !20

74:                                               ; preds = %73
  call void @assertion_failed(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 142) #8
  unreachable

75:                                               ; preds = %24
  call void @free(ptr noundef %5) #7
  call void @free(ptr noundef %13) #7
  call void @free(ptr noundef nonnull %16) #7
  call void @libdeflate_free_compressor(ptr noundef nonnull %19) #7
  call void @libdeflate_free_decompressor(ptr noundef nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  ret i32 0
}

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

declare void @begin_program(ptr noundef) local_unnamed_addr #2

declare ptr @xmalloc(i64 noundef) local_unnamed_addr #2

; Function Attrs: noreturn
declare void @assertion_failed(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

declare ptr @libdeflate_alloc_compressor(i32 noundef) local_unnamed_addr #2

declare ptr @libdeflate_alloc_decompressor() local_unnamed_addr #2

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

declare void @libdeflate_free_compressor(ptr noundef) local_unnamed_addr #2

declare void @libdeflate_free_decompressor(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #6

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { 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 #6 = { nofree nounwind willreturn memory(argmem: read) }
attributes #7 = { nounwind }
attributes #8 = { noreturn nounwind }

!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 = !{!"branch_weights", !"expected", i32 1, i32 2000}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}
!14 = !{!15, !16, i64 0}
!15 = !{!"", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!15, !16, i64 8}
!20 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!21 = !{!15, !16, i64 16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,LowerExpectIntrinsicPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass