; LLVM IR from intel/qpl :: sources/isal/igzip (igzip_icf_base)

; 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.isal_zstream = type { ptr, i32, i32, ptr, i32, i32, ptr, i32, i32, ptr, i16, i16, i16, i16, %struct.isal_zstate }
%struct.isal_zstate = type { i32, i32, i32, i32, i32, i32, %struct.BitBuf2, i32, i8, i8, i8, i8, i16, i32, [16 x i8], i32, i32, i32, i32, [65824 x i8], [8192 x i16] }
%struct.BitBuf2 = type { i64, i32, ptr, ptr, ptr }
%struct.level_buf = type { %struct.hufftables_icf, %struct.isal_mod_hist, i32, i32, [328 x i8], ptr, i64, ptr, %union.anon.4 }
%struct.hufftables_icf = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { [31 x %struct.huff_code], [513 x %struct.huff_code] }
%struct.huff_code = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon.1 }
%struct.anon.1 = type { i32 }
%struct.isal_mod_hist = type { [30 x i32], [513 x i32] }
%union.anon.4 = type { %struct.hash_map_buf }
%struct.hash_map_buf = type { [32768 x i16], ptr, ptr, [4096 x %struct.deflate_icf], [288 x %struct.deflate_icf] }
%struct.deflate_icf = type { i32 }
%struct.hash_hist_buf = type { [32768 x i16] }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base = external hidden unnamed_addr constant [69 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @qpl_isal_deflate_icf_body_hash_hist_base(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i16, align 2
  %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 ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 0, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  store ptr null, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store ptr null, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %7) #4
  store i16 0, ptr %7, align 2, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.isal_zstream, ptr %25, i32 0, i32 14
  store ptr %26, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.isal_zstream, ptr %27, i32 0, i32 9
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  store ptr %29, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %30 = load ptr, ptr %13, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.level_buf, ptr %30, i32 0, i32 8
  %32 = getelementptr inbounds %struct.hash_hist_buf, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds [32768 x i16], ptr %32, i64 0, i64 0
  store ptr %33, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %34 = load ptr, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.isal_zstream, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !18
  %37 = ptrtoint ptr %36 to i64
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.isal_zstream, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 4, !tbaa !19
  %41 = zext i32 %40 to i64
  %42 = sub i64 %37, %41
  %43 = inttoptr i64 %42 to ptr
  store ptr %43, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.isal_zstate, ptr %44, i32 0, i32 3
  %46 = load i32, ptr %45, align 4, !tbaa !20
  store i32 %46, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %47 = load ptr, ptr %12, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.isal_zstate, ptr %47, i32 0, i32 4
  %49 = load i32, ptr %48, align 8, !tbaa !21
  store i32 %49, ptr %17, align 4, !tbaa !9
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.isal_zstream, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !22
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %54, label %70

54:                                               ; preds = %1
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.isal_zstream, ptr %55, i32 0, i32 10
  %57 = load i16, ptr %56, align 8, !tbaa !23
  %58 = zext i16 %57 to i32
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %66, label %60

60:                                               ; preds = %54
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.isal_zstream, ptr %61, i32 0, i32 11
  %63 = load i16, ptr %62, align 2, !tbaa !24
  %64 = zext i16 %63 to i32
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %69

66:                                               ; preds = %60, %54
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.isal_zstate, ptr %67, i32 0, i32 5
  store i32 4, ptr %68, align 4, !tbaa !25
  br label %69

69:                                               ; preds = %66, %60
  store i32 1, ptr %18, align 4
  br label %276

70:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.isal_zstream, ptr %71, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !18
  store ptr %73, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %74 = load ptr, ptr %19, align 8, !tbaa !5
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.isal_zstream, ptr %75, i32 0, i32 1
  %77 = load i32, ptr %76, align 8, !tbaa !22
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds i8, ptr %74, i64 %78
  store ptr %79, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %80 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %80, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.isal_zstream, ptr %81, i32 0, i32 9
  %83 = load ptr, ptr %82, align 8, !tbaa !13
  %84 = getelementptr inbounds %struct.level_buf, ptr %83, i32 0, i32 5
  %85 = load ptr, ptr %84, align 8, !tbaa !26
  store ptr %85, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %86 = load ptr, ptr %22, align 8, !tbaa !5
  %87 = load ptr, ptr %2, align 8, !tbaa !5
  %88 = getelementptr inbounds %struct.isal_zstream, ptr %87, i32 0, i32 9
  %89 = load ptr, ptr %88, align 8, !tbaa !13
  %90 = getelementptr inbounds %struct.level_buf, ptr %89, i32 0, i32 6
  %91 = load i64, ptr %90, align 8, !tbaa !30
  %92 = udiv i64 %91, 4
  %93 = getelementptr inbounds %struct.deflate_icf, ptr %86, i64 %92
  store ptr %93, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %94 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %94, ptr %24, align 8, !tbaa !5
  br label %95

95:                                               ; preds = %228, %196, %70
  %96 = load ptr, ptr %21, align 8, !tbaa !5
  %97 = getelementptr inbounds i8, ptr %96, i64 288
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  %99 = icmp ult ptr %97, %98
  br i1 %99, label %100, label %245

100:                                              ; preds = %95
  %101 = load ptr, ptr %24, align 8, !tbaa !5
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = icmp uge ptr %101, %102
  br i1 %103, label %104, label %114

104:                                              ; preds = %100
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.isal_zstate, ptr %105, i32 0, i32 5
  store i32 2, ptr %106, align 4, !tbaa !25
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = load ptr, ptr %19, align 8, !tbaa !5
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  %110 = load ptr, ptr %20, align 8, !tbaa !5
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = load ptr, ptr %24, align 8, !tbaa !5
  %113 = load ptr, ptr %23, align 8, !tbaa !5
  call void @update_state(ptr noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef %111, ptr noundef %112, ptr noundef %113)
  store i32 1, ptr %18, align 4
  br label %275

114:                                              ; preds = %100
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = call i32 @load_u32(ptr noundef %115)
  store i32 %116, ptr %3, align 4, !tbaa !9
  %117 = load i32, ptr %3, align 4, !tbaa !9
  %118 = call i32 @compute_hash(i32 noundef %117)
  %119 = load i32, ptr %17, align 4, !tbaa !9
  %120 = and i32 %118, %119
  store i32 %120, ptr %4, align 4, !tbaa !9
  %121 = load ptr, ptr %21, align 8, !tbaa !5
  %122 = load ptr, ptr %15, align 8, !tbaa !5
  %123 = ptrtoint ptr %121 to i64
  %124 = ptrtoint ptr %122 to i64
  %125 = sub i64 %123, %124
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = load i32, ptr %4, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = getelementptr inbounds i16, ptr %126, i64 %128
  %130 = load i16, ptr %129, align 2, !tbaa !11
  %131 = zext i16 %130 to i64
  %132 = sub nsw i64 %125, %131
  %133 = and i64 %132, 65535
  %134 = trunc i64 %133 to i32
  store i32 %134, ptr %8, align 4, !tbaa !9
  %135 = load ptr, ptr %21, align 8, !tbaa !5
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = ptrtoint ptr %135 to i64
  %138 = ptrtoint ptr %136 to i64
  %139 = sub i64 %137, %138
  %140 = trunc i64 %139 to i16
  %141 = load ptr, ptr %14, align 8, !tbaa !5
  %142 = load i32, ptr %4, align 4, !tbaa !9
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds i16, ptr %141, i64 %143
  store i16 %140, ptr %144, align 2, !tbaa !11
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sub i32 %145, 1
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = icmp ult i32 %146, %147
  br i1 %148, label %149, label %228

149:                                              ; preds = %114
  %150 = load i32, ptr %8, align 4, !tbaa !9
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %149
  br label %154

153:                                              ; preds = %149
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 85, ptr noundef @__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base) #5
  unreachable

154:                                              ; preds = %152
  %155 = load ptr, ptr %21, align 8, !tbaa !5
  %156 = load i32, ptr %8, align 4, !tbaa !9
  %157 = zext i32 %156 to i64
  %158 = sub i64 0, %157
  %159 = getelementptr inbounds i8, ptr %155, i64 %158
  %160 = load ptr, ptr %21, align 8, !tbaa !5
  %161 = call i32 @compare258(ptr noundef %159, ptr noundef %160, i32 noundef 258)
  %162 = trunc i32 %161 to i16
  store i16 %162, ptr %7, align 2, !tbaa !11
  %163 = load i16, ptr %7, align 2, !tbaa !11
  %164 = zext i16 %163 to i32
  %165 = icmp sge i32 %164, 4
  br i1 %165, label %166, label %227

166:                                              ; preds = %154
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %167, ptr %6, align 8, !tbaa !5
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds i8, ptr %168, i64 3
  store ptr %169, ptr %5, align 8, !tbaa !5
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds i8, ptr %170, i32 1
  store ptr %171, ptr %6, align 8, !tbaa !5
  br label %172

172:                                              ; preds = %193, %166
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load ptr, ptr %5, align 8, !tbaa !5
  %175 = icmp ult ptr %173, %174
  br i1 %175, label %176, label %196

176:                                              ; preds = %172
  %177 = load ptr, ptr %6, align 8, !tbaa !5
  %178 = call i32 @load_u32(ptr noundef %177)
  store i32 %178, ptr %3, align 4, !tbaa !9
  %179 = load i32, ptr %3, align 4, !tbaa !9
  %180 = call i32 @compute_hash(i32 noundef %179)
  %181 = load i32, ptr %17, align 4, !tbaa !9
  %182 = and i32 %180, %181
  store i32 %182, ptr %4, align 4, !tbaa !9
  %183 = load ptr, ptr %6, align 8, !tbaa !5
  %184 = load ptr, ptr %15, align 8, !tbaa !5
  %185 = ptrtoint ptr %183 to i64
  %186 = ptrtoint ptr %184 to i64
  %187 = sub i64 %185, %186
  %188 = trunc i64 %187 to i16
  %189 = load ptr, ptr %14, align 8, !tbaa !5
  %190 = load i32, ptr %4, align 4, !tbaa !9
  %191 = zext i32 %190 to i64
  %192 = getelementptr inbounds i16, ptr %189, i64 %191
  store i16 %188, ptr %192, align 2, !tbaa !11
  br label %193

193:                                              ; preds = %176
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds i8, ptr %194, i32 1
  store ptr %195, ptr %6, align 8, !tbaa !5
  br label %172, !llvm.loop !31

196:                                              ; preds = %172
  %197 = load i16, ptr %7, align 2, !tbaa !11
  %198 = zext i16 %197 to i32
  call void @get_len_icf_code(i32 noundef %198, ptr noundef %9)
  %199 = load i32, ptr %8, align 4, !tbaa !9
  call void @get_dist_icf_code(i32 noundef %199, ptr noundef %10, ptr noundef %11)
  %200 = load ptr, ptr %13, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.level_buf, ptr %200, i32 0, i32 1
  %202 = getelementptr inbounds %struct.isal_mod_hist, ptr %201, i32 0, i32 1
  %203 = load i32, ptr %9, align 4, !tbaa !9
  %204 = zext i32 %203 to i64
  %205 = getelementptr inbounds [513 x i32], ptr %202, i64 0, i64 %204
  %206 = load i32, ptr %205, align 4, !tbaa !9
  %207 = add i32 %206, 1
  store i32 %207, ptr %205, align 4, !tbaa !9
  %208 = load ptr, ptr %13, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.level_buf, ptr %208, i32 0, i32 1
  %210 = getelementptr inbounds %struct.isal_mod_hist, ptr %209, i32 0, i32 0
  %211 = load i32, ptr %10, align 4, !tbaa !9
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds [30 x i32], ptr %210, i64 0, i64 %212
  %214 = load i32, ptr %213, align 4, !tbaa !9
  %215 = add i32 %214, 1
  store i32 %215, ptr %213, align 4, !tbaa !9
  %216 = load ptr, ptr %24, align 8, !tbaa !5
  %217 = load i32, ptr %9, align 4, !tbaa !9
  %218 = load i32, ptr %10, align 4, !tbaa !9
  %219 = load i32, ptr %11, align 4, !tbaa !9
  call void @write_deflate_icf(ptr noundef %216, i32 noundef %217, i32 noundef %218, i32 noundef %219)
  %220 = load ptr, ptr %24, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.deflate_icf, ptr %220, i32 1
  store ptr %221, ptr %24, align 8, !tbaa !5
  %222 = load i16, ptr %7, align 2, !tbaa !11
  %223 = zext i16 %222 to i32
  %224 = load ptr, ptr %21, align 8, !tbaa !5
  %225 = sext i32 %223 to i64
  %226 = getelementptr inbounds i8, ptr %224, i64 %225
  store ptr %226, ptr %21, align 8, !tbaa !5
  br label %95, !llvm.loop !33

227:                                              ; preds = %154
  br label %228

228:                                              ; preds = %227, %114
  %229 = load i32, ptr %3, align 4, !tbaa !9
  %230 = and i32 %229, 255
  call void @get_lit_icf_code(i32 noundef %230, ptr noundef %9)
  %231 = load ptr, ptr %13, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.level_buf, ptr %231, i32 0, i32 1
  %233 = getelementptr inbounds %struct.isal_mod_hist, ptr %232, i32 0, i32 1
  %234 = load i32, ptr %9, align 4, !tbaa !9
  %235 = zext i32 %234 to i64
  %236 = getelementptr inbounds [513 x i32], ptr %233, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !9
  %238 = add i32 %237, 1
  store i32 %238, ptr %236, align 4, !tbaa !9
  %239 = load ptr, ptr %24, align 8, !tbaa !5
  %240 = load i32, ptr %9, align 4, !tbaa !9
  call void @write_deflate_icf(ptr noundef %239, i32 noundef %240, i32 noundef 30, i32 noundef 0)
  %241 = load ptr, ptr %24, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.deflate_icf, ptr %241, i32 1
  store ptr %242, ptr %24, align 8, !tbaa !5
  %243 = load ptr, ptr %21, align 8, !tbaa !5
  %244 = getelementptr inbounds i8, ptr %243, i32 1
  store ptr %244, ptr %21, align 8, !tbaa !5
  br label %95, !llvm.loop !33

245:                                              ; preds = %95
  %246 = load ptr, ptr %2, align 8, !tbaa !5
  %247 = load ptr, ptr %19, align 8, !tbaa !5
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = load ptr, ptr %20, align 8, !tbaa !5
  %250 = load ptr, ptr %22, align 8, !tbaa !5
  %251 = load ptr, ptr %24, align 8, !tbaa !5
  %252 = load ptr, ptr %23, align 8, !tbaa !5
  call void @update_state(ptr noundef %246, ptr noundef %247, ptr noundef %248, ptr noundef %249, ptr noundef %250, ptr noundef %251, ptr noundef %252)
  %253 = load ptr, ptr %2, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.isal_zstream, ptr %253, i32 0, i32 1
  %255 = load i32, ptr %254, align 8, !tbaa !22
  %256 = icmp ule i32 %255, 288
  br i1 %256, label %257, label %258

257:                                              ; preds = %245
  br label %259

258:                                              ; preds = %245
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 127, ptr noundef @__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base) #5
  unreachable

259:                                              ; preds = %257
  %260 = load ptr, ptr %2, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.isal_zstream, ptr %260, i32 0, i32 10
  %262 = load i16, ptr %261, align 8, !tbaa !23
  %263 = zext i16 %262 to i32
  %264 = icmp ne i32 %263, 0
  br i1 %264, label %271, label %265

265:                                              ; preds = %259
  %266 = load ptr, ptr %2, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.isal_zstream, ptr %266, i32 0, i32 11
  %268 = load i16, ptr %267, align 2, !tbaa !24
  %269 = zext i16 %268 to i32
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %274

271:                                              ; preds = %265, %259
  %272 = load ptr, ptr %12, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.isal_zstate, ptr %272, i32 0, i32 5
  store i32 4, ptr %273, align 4, !tbaa !25
  br label %274

274:                                              ; preds = %271, %265
  store i32 0, ptr %18, align 4
  br label %275

275:                                              ; preds = %274, %104
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %276

276:                                              ; preds = %275, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  %277 = load i32, ptr %18, align 4
  switch i32 %277, label %279 [
    i32 0, label %278
    i32 1, label %278
  ]

278:                                              ; preds = %276, %276
  ret void

279:                                              ; preds = %276
  unreachable
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @update_state(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @compute_hash(i32 noundef) #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_len_icf_code(i32 noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_dist_icf_code(i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @write_deflate_icf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_lit_icf_code(i32 noundef, 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 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!14, !6, i64 48}
!14 = !{!"isal_zstream", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !10, i64 24, !10, i64 28, !6, i64 32, !10, i64 40, !10, i64 44, !6, i64 48, !12, i64 56, !12, i64 58, !12, i64 60, !12, i64 62, !15, i64 64}
!15 = !{!"isal_zstate", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !16, i64 24, !10, i64 64, !7, i64 68, !7, i64 69, !7, i64 70, !7, i64 71, !12, i64 72, !10, i64 76, !7, i64 80, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !7, i64 112, !7, i64 65936}
!16 = !{!"BitBuf2", !17, i64 0, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !6, i64 0}
!19 = !{!14, !10, i64 12}
!20 = !{!15, !10, i64 12}
!21 = !{!15, !10, i64 16}
!22 = !{!14, !10, i64 8}
!23 = !{!14, !12, i64 56}
!24 = !{!14, !12, i64 58}
!25 = !{!15, !10, i64 20}
!26 = !{!27, !6, i64 4688}
!27 = !{!"level_buf", !28, i64 0, !29, i64 2176, !10, i64 4348, !10, i64 4352, !7, i64 4356, !6, i64 4688, !17, i64 4696, !6, i64 4704, !7, i64 4712}
!28 = !{!"hufftables_icf", !7, i64 0}
!29 = !{!"isal_mod_hist", !7, i64 0, !7, i64 120}
!30 = !{!27, !17, i64 4696}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}


; 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.deflate_icf = type { i32 }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [79 x i8], align 1
@__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base = external hidden unnamed_addr constant [69 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [36 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @qpl_isal_deflate_icf_body_hash_hist_base(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  store i32 0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 48
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %6, i64 4712
  %8 = load ptr, ptr %0, align 8, !tbaa !16
  %9 = ptrtoint ptr %8 to i64
  %10 = getelementptr inbounds i8, ptr %0, i64 12
  %11 = load i32, ptr %10, align 4, !tbaa !17
  %12 = zext i32 %11 to i64
  %13 = sub i64 %9, %12
  %14 = getelementptr inbounds i8, ptr %0, i64 76
  %15 = load i32, ptr %14, align 4, !tbaa !18
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  %17 = load i32, ptr %16, align 8, !tbaa !19
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load i32, ptr %18, align 8, !tbaa !20
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %29

21:                                               ; preds = %1
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  %23 = load i16, ptr %22, align 8, !tbaa !21
  %.not96 = icmp eq i16 %23, 0
  br i1 %.not96, label %24, label %27

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 58
  %26 = load i16, ptr %25, align 2, !tbaa !22
  %.not97 = icmp eq i16 %26, 0
  br i1 %.not97, label %114, label %27

27:                                               ; preds = %24, %21
  %28 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 4, ptr %28, align 4, !tbaa !23
  br label %114

29:                                               ; preds = %1
  %30 = zext i32 %19 to i64
  %31 = getelementptr inbounds i8, ptr %8, i64 %30
  %32 = getelementptr inbounds i8, ptr %6, i64 4688
  %33 = load ptr, ptr %32, align 8, !tbaa !24
  %34 = getelementptr inbounds i8, ptr %6, i64 4696
  %35 = load i64, ptr %34, align 8, !tbaa !28
  %36 = lshr i64 %35, 2
  %37 = getelementptr inbounds %struct.deflate_icf, ptr %33, i64 %36
  %38 = icmp ugt i32 %19, 288
  br i1 %38, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %29
  %39 = getelementptr inbounds i8, ptr %6, i64 2296
  %40 = getelementptr inbounds i8, ptr %6, i64 2176
  br label %41

41:                                               ; preds = %.lr.ph, %.backedge
  %.0104 = phi ptr [ %33, %.lr.ph ], [ %.0.be, %.backedge ]
  %.085103 = phi ptr [ %8, %.lr.ph ], [ %93, %.backedge ]
  %.not93 = icmp ult ptr %.0104, %37
  br i1 %.not93, label %44, label %42

42:                                               ; preds = %41
  %43 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 2, ptr %43, align 4, !tbaa !23
  call void @update_state(ptr noundef nonnull %0, ptr noundef %8, ptr noundef %.085103, ptr noundef nonnull %31, ptr noundef %33, ptr noundef %.0104, ptr noundef %37)
  br label %114

44:                                               ; preds = %41
  %45 = call i32 @load_u32(ptr noundef %.085103)
  %46 = call i32 @compute_hash(i32 noundef %45)
  %47 = and i32 %46, %17
  %48 = ptrtoint ptr %.085103 to i64
  %49 = sub i64 %48, %13
  %50 = zext i32 %47 to i64
  %51 = getelementptr inbounds i16, ptr %7, i64 %50
  %52 = load i16, ptr %51, align 2, !tbaa !29
  %.tr = trunc i64 %49 to i16
  %.narrow = sub i16 %.tr, %52
  %53 = zext i16 %.narrow to i32
  store i16 %.tr, ptr %51, align 2, !tbaa !29
  %54 = add nsw i32 %53, -1
  %55 = icmp ult i32 %54, %15
  br i1 %55, label %56, label %96

56:                                               ; preds = %44
  %.not94 = icmp eq i16 %52, %.tr
  br i1 %.not94, label %57, label %58

57:                                               ; preds = %56
  call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 85, ptr noundef nonnull @__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base) #5
  unreachable

58:                                               ; preds = %56
  %59 = zext i16 %.narrow to i64
  %60 = sub nsw i64 0, %59
  %61 = getelementptr inbounds i8, ptr %.085103, i64 %60
  %62 = call i32 @compare258(ptr noundef %61, ptr noundef %.085103, i32 noundef 258)
  %63 = and i32 %62, 65535
  %64 = icmp ugt i32 %63, 3
  br i1 %64, label %.preheader.preheader, label %96

.preheader.preheader:                             ; preds = %58
  %.086.ptr = getelementptr inbounds i8, ptr %.085103, i64 1
  %65 = call i32 @load_u32(ptr noundef nonnull %.086.ptr)
  %66 = call i32 @compute_hash(i32 noundef %65)
  %67 = and i32 %66, %17
  %68 = ptrtoint ptr %.086.ptr to i64
  %69 = sub i64 %68, %13
  %70 = trunc i64 %69 to i16
  %71 = zext i32 %67 to i64
  %72 = getelementptr inbounds i16, ptr %7, i64 %71
  store i16 %70, ptr %72, align 2, !tbaa !29
  %.086.ptr.1 = getelementptr inbounds i8, ptr %.085103, i64 2
  %73 = call i32 @load_u32(ptr noundef nonnull %.086.ptr.1)
  %74 = call i32 @compute_hash(i32 noundef %73)
  %75 = and i32 %74, %17
  %76 = ptrtoint ptr %.086.ptr.1 to i64
  %77 = sub i64 %76, %13
  %78 = trunc i64 %77 to i16
  %79 = zext i32 %75 to i64
  %80 = getelementptr inbounds i16, ptr %7, i64 %79
  store i16 %78, ptr %80, align 2, !tbaa !29
  call void @get_len_icf_code(i32 noundef %63, ptr noundef nonnull %2)
  call void @get_dist_icf_code(i32 noundef %53, ptr noundef nonnull %3, ptr noundef nonnull %4)
  %81 = load i32, ptr %2, align 4, !tbaa !5
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds [513 x i32], ptr %39, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = add i32 %84, 1
  store i32 %85, ptr %83, align 4, !tbaa !5
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds [30 x i32], ptr %40, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = add i32 %89, 1
  store i32 %90, ptr %88, align 4, !tbaa !5
  %91 = load i32, ptr %4, align 4, !tbaa !5
  call void @write_deflate_icf(ptr noundef %.0104, i32 noundef %81, i32 noundef %86, i32 noundef %91)
  %92 = zext nneg i32 %63 to i64
  br label %.backedge

.backedge:                                        ; preds = %.preheader.preheader, %96
  %.sink = phi i64 [ %92, %.preheader.preheader ], [ 1, %96 ]
  %93 = getelementptr inbounds i8, ptr %.085103, i64 %.sink
  %.0.be = getelementptr inbounds i8, ptr %.0104, i64 4
  %94 = getelementptr inbounds i8, ptr %93, i64 288
  %95 = icmp ult ptr %94, %31
  br i1 %95, label %41, label %._crit_edge, !llvm.loop !30

96:                                               ; preds = %58, %44
  %97 = and i32 %45, 255
  call void @get_lit_icf_code(i32 noundef %97, ptr noundef nonnull %2)
  %98 = load i32, ptr %2, align 4, !tbaa !5
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds [513 x i32], ptr %39, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  %102 = add i32 %101, 1
  store i32 %102, ptr %100, align 4, !tbaa !5
  call void @write_deflate_icf(ptr noundef %.0104, i32 noundef %98, i32 noundef 30, i32 noundef 0)
  br label %.backedge

._crit_edge:                                      ; preds = %.backedge, %29
  %.085.lcssa = phi ptr [ %8, %29 ], [ %93, %.backedge ]
  %.0.lcssa = phi ptr [ %33, %29 ], [ %.0.be, %.backedge ]
  call void @update_state(ptr noundef nonnull %0, ptr noundef %8, ptr noundef %.085.lcssa, ptr noundef nonnull %31, ptr noundef %33, ptr noundef %.0.lcssa, ptr noundef %37)
  %103 = load i32, ptr %18, align 8, !tbaa !20
  %104 = icmp ult i32 %103, 289
  br i1 %104, label %106, label %105

105:                                              ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 127, ptr noundef nonnull @__PRETTY_FUNCTION__.qpl_isal_deflate_icf_body_hash_hist_base) #5
  unreachable

106:                                              ; preds = %._crit_edge
  %107 = getelementptr inbounds i8, ptr %0, i64 56
  %108 = load i16, ptr %107, align 8, !tbaa !21
  %.not = icmp eq i16 %108, 0
  br i1 %.not, label %109, label %112

109:                                              ; preds = %106
  %110 = getelementptr inbounds i8, ptr %0, i64 58
  %111 = load i16, ptr %110, align 2, !tbaa !22
  %.not92 = icmp eq i16 %111, 0
  br i1 %.not92, label %114, label %112

112:                                              ; preds = %109, %106
  %113 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 4, ptr %113, align 4, !tbaa !23
  br label %114

114:                                              ; preds = %42, %112, %109, %24, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  ret void
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @update_state(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @compute_hash(i32 noundef) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_len_icf_code(i32 noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_dist_icf_code(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @write_deflate_icf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @get_lit_icf_code(i32 noundef, 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

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 = { 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 #3 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { 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 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 48}
!10 = !{!"isal_zstream", !11, i64 0, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24, !6, i64 28, !11, i64 32, !6, i64 40, !6, i64 44, !11, i64 48, !12, i64 56, !12, i64 58, !12, i64 60, !12, i64 62, !13, i64 64}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!"isal_zstate", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !14, i64 24, !6, i64 64, !7, i64 68, !7, i64 69, !7, i64 70, !7, i64 71, !12, i64 72, !6, i64 76, !7, i64 80, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !7, i64 112, !7, i64 65936}
!14 = !{!"BitBuf2", !15, i64 0, !6, i64 8, !11, i64 16, !11, i64 24, !11, i64 32}
!15 = !{!"long", !7, i64 0}
!16 = !{!10, !11, i64 0}
!17 = !{!10, !6, i64 12}
!18 = !{!13, !6, i64 12}
!19 = !{!13, !6, i64 16}
!20 = !{!10, !6, i64 8}
!21 = !{!10, !12, i64 56}
!22 = !{!10, !12, i64 58}
!23 = !{!13, !6, i64 20}
!24 = !{!25, !11, i64 4688}
!25 = !{!"level_buf", !26, i64 0, !27, i64 2176, !6, i64 4348, !6, i64 4352, !7, i64 4356, !11, i64 4688, !15, i64 4696, !11, i64 4704, !7, i64 4712}
!26 = !{!"hufftables_icf", !7, i64 0}
!27 = !{!"isal_mod_hist", !7, i64 0, !7, i64 120}
!28 = !{!25, !15, i64 4696}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


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