; LLVM IR from VoidRune/Audio-engine :: src (minivorbis)

; 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.vorbis_dsp_state = type { i32, ptr, ptr, ptr, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, ptr }
%struct.vorbis_info = type { i32, i32, i64, i64, i64, i64, i64, ptr }
%struct.vorbis_look_residue0 = type { ptr, i32, i32, ptr, ptr, ptr, i32, ptr, i64, i64, i64 }
%struct.vorbis_info_residue0 = type { i64, i64, i32, i32, i32, i32, [64 x i32], [512 x i32], [64 x i32], [64 x i32] }
%struct.codec_setup_info = type { [2 x i64], i32, i32, i32, i32, i32, i32, [64 x ptr], [64 x i32], [64 x ptr], [64 x i32], [64 x ptr], [64 x i32], [64 x ptr], [256 x ptr], ptr, [4 x ptr], %struct.vorbis_info_psy_global, %struct.bitrate_manager_info, %struct.highlevel_encode_setup, i32 }
%struct.vorbis_info_psy_global = type { i32, [7 x float], [7 x float], float, float, float, [15 x i32], [2 x [15 x i32]], [15 x i32], [15 x i32], [2 x [15 x i32]] }
%struct.bitrate_manager_info = type { i64, i64, i64, i64, double, double }
%struct.highlevel_encode_setup = type { i32, ptr, double, double, float, i32, i64, i64, double, i64, i64, double, i32, i32, i32, double, double, i32, double, double, double, double, [4 x %struct.highlevel_byblocktype] }
%struct.highlevel_byblocktype = type { double, double, double, double }
%struct.codebook = type { i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32 }

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

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

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @ov_ilog(i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @res0_look(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %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 i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %17, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %18 = call noalias ptr @calloc(i64 noundef 1, i64 noundef 80) #5
  store ptr %18, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %19, i32 0, i32 1
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = getelementptr inbounds %struct.vorbis_info, ptr %21, i32 0, i32 7
  %23 = load ptr, ptr %22, align 8, !tbaa !13
  store ptr %23, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !15
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %25, i32 0, i32 0
  store ptr %24, ptr %26, align 8, !tbaa !16
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.vorbis_info_residue0, ptr %27, i32 0, i32 3
  %29 = load i32, ptr %28, align 4, !tbaa !18
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %30, i32 0, i32 1
  store i32 %29, ptr %31, align 8, !tbaa !20
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.codec_setup_info, ptr %32, i32 0, i32 15
  %34 = load ptr, ptr %33, align 8, !tbaa !21
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %35, i32 0, i32 3
  store ptr %34, ptr %36, align 8, !tbaa !28
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.codec_setup_info, ptr %37, i32 0, i32 15
  %39 = load ptr, ptr %38, align 8, !tbaa !21
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.vorbis_info_residue0, ptr %40, i32 0, i32 5
  %42 = load i32, ptr %41, align 4, !tbaa !29
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds %struct.codebook, ptr %39, i64 %43
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %45, i32 0, i32 4
  store ptr %44, ptr %46, align 8, !tbaa !30
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %47, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !30
  %50 = getelementptr inbounds %struct.codebook, ptr %49, i32 0, i32 0
  %51 = load i64, ptr %50, align 8, !tbaa !31
  %52 = trunc i64 %51 to i32
  store i32 %52, ptr %11, align 4, !tbaa !15
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %53, i32 0, i32 1
  %55 = load i32, ptr %54, align 8, !tbaa !20
  %56 = sext i32 %55 to i64
  %57 = call noalias ptr @calloc(i64 noundef %56, i64 noundef 8) #5
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %58, i32 0, i32 5
  store ptr %57, ptr %59, align 8, !tbaa !33
  store i32 0, ptr %8, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %136, %2
  %61 = load i32, ptr %8, align 4, !tbaa !15
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 8, !tbaa !20
  %65 = icmp slt i32 %61, %64
  br i1 %65, label %66, label %139

66:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.vorbis_info_residue0, ptr %67, i32 0, i32 6
  %69 = load i32, ptr %8, align 4, !tbaa !15
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [64 x i32], ptr %68, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = call i32 @ov_ilog(i32 noundef %72)
  store i32 %73, ptr %13, align 4, !tbaa !15
  %74 = load i32, ptr %13, align 4, !tbaa !15
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %76, label %135

76:                                               ; preds = %66
  %77 = load i32, ptr %13, align 4, !tbaa !15
  %78 = load i32, ptr %12, align 4, !tbaa !15
  %79 = icmp sgt i32 %77, %78
  br i1 %79, label %80, label %82

80:                                               ; preds = %76
  %81 = load i32, ptr %13, align 4, !tbaa !15
  store i32 %81, ptr %12, align 4, !tbaa !15
  br label %82

82:                                               ; preds = %80, %76
  %83 = load i32, ptr %13, align 4, !tbaa !15
  %84 = sext i32 %83 to i64
  %85 = call noalias ptr @calloc(i64 noundef %84, i64 noundef 8) #5
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !33
  %89 = load i32, ptr %8, align 4, !tbaa !15
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds ptr, ptr %88, i64 %90
  store ptr %85, ptr %91, align 8, !tbaa !5
  store i32 0, ptr %9, align 4, !tbaa !15
  br label %92

92:                                               ; preds = %131, %82
  %93 = load i32, ptr %9, align 4, !tbaa !15
  %94 = load i32, ptr %13, align 4, !tbaa !15
  %95 = icmp slt i32 %93, %94
  br i1 %95, label %96, label %134

96:                                               ; preds = %92
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.vorbis_info_residue0, ptr %97, i32 0, i32 6
  %99 = load i32, ptr %8, align 4, !tbaa !15
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [64 x i32], ptr %98, i64 0, i64 %100
  %102 = load i32, ptr %101, align 4, !tbaa !15
  %103 = load i32, ptr %9, align 4, !tbaa !15
  %104 = shl i32 1, %103
  %105 = and i32 %102, %104
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %130

107:                                              ; preds = %96
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.codec_setup_info, ptr %108, i32 0, i32 15
  %110 = load ptr, ptr %109, align 8, !tbaa !21
  %111 = load ptr, ptr %5, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.vorbis_info_residue0, ptr %111, i32 0, i32 7
  %113 = load i32, ptr %10, align 4, !tbaa !15
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %10, align 4, !tbaa !15
  %115 = sext i32 %113 to i64
  %116 = getelementptr inbounds [512 x i32], ptr %112, i64 0, i64 %115
  %117 = load i32, ptr %116, align 4, !tbaa !15
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds %struct.codebook, ptr %110, i64 %118
  %120 = load ptr, ptr %6, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %120, i32 0, i32 5
  %122 = load ptr, ptr %121, align 8, !tbaa !33
  %123 = load i32, ptr %8, align 4, !tbaa !15
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds ptr, ptr %122, i64 %124
  %126 = load ptr, ptr %125, align 8, !tbaa !5
  %127 = load i32, ptr %9, align 4, !tbaa !15
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds ptr, ptr %126, i64 %128
  store ptr %119, ptr %129, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %107, %96
  br label %131

131:                                              ; preds = %130
  %132 = load i32, ptr %9, align 4, !tbaa !15
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %9, align 4, !tbaa !15
  br label %92, !llvm.loop !34

134:                                              ; preds = %92
  br label %135

135:                                              ; preds = %134, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %8, align 4, !tbaa !15
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %8, align 4, !tbaa !15
  br label %60, !llvm.loop !36

139:                                              ; preds = %60
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %140, i32 0, i32 6
  store i32 1, ptr %141, align 8, !tbaa !37
  store i32 0, ptr %8, align 4, !tbaa !15
  br label %142

142:                                              ; preds = %154, %139
  %143 = load i32, ptr %8, align 4, !tbaa !15
  %144 = load i32, ptr %11, align 4, !tbaa !15
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %146, label %157

146:                                              ; preds = %142
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %147, i32 0, i32 1
  %149 = load i32, ptr %148, align 8, !tbaa !20
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %150, i32 0, i32 6
  %152 = load i32, ptr %151, align 8, !tbaa !37
  %153 = mul nsw i32 %152, %149
  store i32 %153, ptr %151, align 8, !tbaa !37
  br label %154

154:                                              ; preds = %146
  %155 = load i32, ptr %8, align 4, !tbaa !15
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %8, align 4, !tbaa !15
  br label %142, !llvm.loop !38

157:                                              ; preds = %142
  %158 = load i32, ptr %12, align 4, !tbaa !15
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %159, i32 0, i32 2
  store i32 %158, ptr %160, align 4, !tbaa !39
  %161 = load ptr, ptr %6, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %161, i32 0, i32 6
  %163 = load i32, ptr %162, align 8, !tbaa !37
  %164 = sext i32 %163 to i64
  %165 = mul i64 %164, 8
  %166 = call noalias ptr @malloc(i64 noundef %165) #6
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %167, i32 0, i32 7
  store ptr %166, ptr %168, align 8, !tbaa !40
  store i32 0, ptr %8, align 4, !tbaa !15
  br label %169

169:                                              ; preds = %231, %157
  %170 = load i32, ptr %8, align 4, !tbaa !15
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %171, i32 0, i32 6
  %173 = load i32, ptr %172, align 8, !tbaa !37
  %174 = icmp slt i32 %170, %173
  br i1 %174, label %175, label %234

175:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %176 = load i32, ptr %8, align 4, !tbaa !15
  %177 = sext i32 %176 to i64
  store i64 %177, ptr %14, align 8, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %178, i32 0, i32 6
  %180 = load i32, ptr %179, align 8, !tbaa !37
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %181, i32 0, i32 1
  %183 = load i32, ptr %182, align 8, !tbaa !20
  %184 = sdiv i32 %180, %183
  %185 = sext i32 %184 to i64
  store i64 %185, ptr %15, align 8, !tbaa !41
  %186 = load i32, ptr %11, align 4, !tbaa !15
  %187 = sext i32 %186 to i64
  %188 = mul i64 %187, 4
  %189 = call noalias ptr @malloc(i64 noundef %188) #6
  %190 = load ptr, ptr %6, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %190, i32 0, i32 7
  %192 = load ptr, ptr %191, align 8, !tbaa !40
  %193 = load i32, ptr %8, align 4, !tbaa !15
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds ptr, ptr %192, i64 %194
  store ptr %189, ptr %195, align 8, !tbaa !5
  store i32 0, ptr %9, align 4, !tbaa !15
  br label %196

196:                                              ; preds = %227, %175
  %197 = load i32, ptr %9, align 4, !tbaa !15
  %198 = load i32, ptr %11, align 4, !tbaa !15
  %199 = icmp slt i32 %197, %198
  br i1 %199, label %200, label %230

200:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %201 = load i64, ptr %14, align 8, !tbaa !41
  %202 = load i64, ptr %15, align 8, !tbaa !41
  %203 = sdiv i64 %201, %202
  store i64 %203, ptr %16, align 8, !tbaa !41
  %204 = load i64, ptr %16, align 8, !tbaa !41
  %205 = load i64, ptr %15, align 8, !tbaa !41
  %206 = mul nsw i64 %204, %205
  %207 = load i64, ptr %14, align 8, !tbaa !41
  %208 = sub nsw i64 %207, %206
  store i64 %208, ptr %14, align 8, !tbaa !41
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %209, i32 0, i32 1
  %211 = load i32, ptr %210, align 8, !tbaa !20
  %212 = sext i32 %211 to i64
  %213 = load i64, ptr %15, align 8, !tbaa !41
  %214 = sdiv i64 %213, %212
  store i64 %214, ptr %15, align 8, !tbaa !41
  %215 = load i64, ptr %16, align 8, !tbaa !41
  %216 = trunc i64 %215 to i32
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.vorbis_look_residue0, ptr %217, i32 0, i32 7
  %219 = load ptr, ptr %218, align 8, !tbaa !40
  %220 = load i32, ptr %8, align 4, !tbaa !15
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds ptr, ptr %219, i64 %221
  %223 = load ptr, ptr %222, align 8, !tbaa !5
  %224 = load i32, ptr %9, align 4, !tbaa !15
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds i32, ptr %223, i64 %225
  store i32 %216, ptr %226, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %227

227:                                              ; preds = %200
  %228 = load i32, ptr %9, align 4, !tbaa !15
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %9, align 4, !tbaa !15
  br label %196, !llvm.loop !42

230:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %231

231:                                              ; preds = %230
  %232 = load i32, ptr %8, align 4, !tbaa !15
  %233 = add nsw i32 %232, 1
  store i32 %233, ptr %8, align 4, !tbaa !15
  br label %169, !llvm.loop !43

234:                                              ; preds = %169
  %235 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, 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 8, 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
  ret ptr %235
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(0,1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { nounwind allocsize(0,1) }
attributes #6 = { 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 = !{!10, !6, i64 8}
!10 = !{!"vorbis_dsp_state", !11, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !12, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !6, i64 136}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !6, i64 48}
!14 = !{!"vorbis_info", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !6, i64 48}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !6, i64 48, !12, i64 56, !12, i64 64, !12, i64 72}
!18 = !{!19, !11, i64 20}
!19 = !{!"vorbis_info_residue0", !12, i64 0, !12, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !7, i64 32, !7, i64 288, !7, i64 2336, !7, i64 2592}
!20 = !{!17, !11, i64 8}
!21 = !{!22, !6, i64 4904}
!22 = !{!"codec_setup_info", !7, i64 0, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40, !7, i64 552, !7, i64 808, !7, i64 1320, !7, i64 1576, !7, i64 2088, !7, i64 2344, !7, i64 2856, !6, i64 4904, !7, i64 4912, !23, i64 4944, !25, i64 5440, !27, i64 5488, !11, i64 5776}
!23 = !{!"", !11, i64 0, !7, i64 4, !7, i64 32, !24, i64 60, !24, i64 64, !24, i64 68, !7, i64 72, !7, i64 132, !7, i64 252, !7, i64 312, !7, i64 372}
!24 = !{!"float", !7, i64 0}
!25 = !{!"bitrate_manager_info", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !26, i64 32, !26, i64 40}
!26 = !{!"double", !7, i64 0}
!27 = !{!"highlevel_encode_setup", !11, i64 0, !6, i64 8, !26, i64 16, !26, i64 24, !24, i64 32, !11, i64 36, !12, i64 40, !12, i64 48, !26, i64 56, !12, i64 64, !12, i64 72, !26, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !26, i64 104, !26, i64 112, !11, i64 120, !26, i64 128, !26, i64 136, !26, i64 144, !26, i64 152, !7, i64 160}
!28 = !{!17, !6, i64 16}
!29 = !{!19, !11, i64 28}
!30 = !{!17, !6, i64 24}
!31 = !{!32, !12, i64 0}
!32 = !{!"codebook", !12, i64 0, !12, i64 8, !12, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88}
!33 = !{!17, !6, i64 32}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = !{!17, !11, i64 40}
!38 = distinct !{!38, !35}
!39 = !{!17, !11, i64 12}
!40 = !{!17, !6, i64 48}
!41 = !{!12, !12, i64 0}
!42 = distinct !{!42, !35}
!43 = distinct !{!43, !35}


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

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @ov_ilog(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local noalias noundef ptr @res0_look(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = tail call noalias dereferenceable_or_null(80) ptr @calloc(i64 noundef 1, i64 noundef 80) #4
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %5, i64 48
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  store ptr %1, ptr %3, align 8, !tbaa !14
  %8 = getelementptr inbounds i8, ptr %1, i64 20
  %9 = load i32, ptr %8, align 4, !tbaa !16
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 %9, ptr %10, align 8, !tbaa !18
  %11 = getelementptr inbounds i8, ptr %7, i64 4904
  %12 = load ptr, ptr %11, align 8, !tbaa !19
  %13 = getelementptr inbounds i8, ptr %3, i64 16
  store ptr %12, ptr %13, align 8, !tbaa !26
  %14 = getelementptr inbounds i8, ptr %1, i64 28
  %15 = load i32, ptr %14, align 4, !tbaa !27
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds %struct.codebook, ptr %12, i64 %16
  %18 = getelementptr inbounds i8, ptr %3, i64 24
  store ptr %17, ptr %18, align 8, !tbaa !28
  %19 = load i64, ptr %17, align 8, !tbaa !29
  %20 = trunc i64 %19 to i32
  %21 = sext i32 %9 to i64
  %22 = tail call noalias ptr @calloc(i64 noundef %21, i64 noundef 8) #4
  %23 = getelementptr inbounds i8, ptr %3, i64 32
  store ptr %22, ptr %23, align 8, !tbaa !31
  %24 = icmp sgt i32 %9, 0
  br i1 %24, label %.lr.ph90, label %._crit_edge

.lr.ph90:                                         ; preds = %2
  %25 = getelementptr inbounds i8, ptr %1, i64 32
  %26 = getelementptr inbounds i8, ptr %1, i64 288
  %wide.trip.count111 = zext nneg i32 %9 to i64
  br label %27

27:                                               ; preds = %.lr.ph90, %.loopexit
  %indvars.iv108 = phi i64 [ 0, %.lr.ph90 ], [ %indvars.iv.next109, %.loopexit ]
  %.07588 = phi i32 [ 0, %.lr.ph90 ], [ %.277, %.loopexit ]
  %.07887 = phi i32 [ 0, %.lr.ph90 ], [ %.3, %.loopexit ]
  %28 = getelementptr inbounds [64 x i32], ptr %25, i64 0, i64 %indvars.iv108
  %29 = load i32, ptr %28, align 4, !tbaa !32
  %30 = tail call i32 @ov_ilog(i32 noundef %29)
  %.not = icmp eq i32 %30, 0
  br i1 %.not, label %.loopexit, label %31

31:                                               ; preds = %27
  %spec.select = tail call i32 @llvm.smax.i32(i32 %30, i32 %.07588)
  %32 = sext i32 %30 to i64
  %33 = tail call noalias ptr @calloc(i64 noundef %32, i64 noundef 8) #4
  %34 = getelementptr inbounds ptr, ptr %22, i64 %indvars.iv108
  store ptr %33, ptr %34, align 8, !tbaa !33
  %35 = icmp sgt i32 %30, 0
  br i1 %35, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %31
  %36 = load i32, ptr %28, align 4, !tbaa !32
  %wide.trip.count = zext nneg i32 %30 to i64
  br label %37

37:                                               ; preds = %.lr.ph, %51
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %51 ]
  %.17985 = phi i32 [ %.07887, %.lr.ph ], [ %.280, %51 ]
  %38 = trunc nuw nsw i64 %indvars.iv to i32
  %39 = shl nuw i32 1, %38
  %40 = and i32 %36, %39
  %.not84 = icmp eq i32 %40, 0
  br i1 %.not84, label %51, label %41

41:                                               ; preds = %37
  %42 = load ptr, ptr %11, align 8, !tbaa !19
  %43 = add nsw i32 %.17985, 1
  %44 = sext i32 %.17985 to i64
  %45 = getelementptr inbounds [512 x i32], ptr %26, i64 0, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !32
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds %struct.codebook, ptr %42, i64 %47
  %49 = load ptr, ptr %34, align 8, !tbaa !33
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv
  store ptr %48, ptr %50, align 8, !tbaa !33
  br label %51

51:                                               ; preds = %37, %41
  %.280 = phi i32 [ %43, %41 ], [ %.17985, %37 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %37, !llvm.loop !34

.loopexit:                                        ; preds = %51, %31, %27
  %.3 = phi i32 [ %.07887, %27 ], [ %.07887, %31 ], [ %.280, %51 ]
  %.277 = phi i32 [ %.07588, %27 ], [ %spec.select, %31 ], [ %spec.select, %51 ]
  %indvars.iv.next109 = add nuw nsw i64 %indvars.iv108, 1
  %exitcond112.not = icmp eq i64 %indvars.iv.next109, %wide.trip.count111
  br i1 %exitcond112.not, label %._crit_edge, label %27, !llvm.loop !36

._crit_edge:                                      ; preds = %.loopexit, %2
  %.075.lcssa = phi i32 [ 0, %2 ], [ %.277, %.loopexit ]
  %52 = getelementptr inbounds i8, ptr %3, i64 40
  store i32 1, ptr %52, align 8, !tbaa !37
  %53 = icmp sgt i32 %20, 0
  br i1 %53, label %.lr.ph94.preheader, label %61

.lr.ph94.preheader:                               ; preds = %._crit_edge
  %min.iters.check = icmp ult i32 %20, 8
  br i1 %min.iters.check, label %.lr.ph94.preheader133, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph94.preheader
  %n.vec = and i32 %20, 2147483640
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %9, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %vector.ph ], [ %54, %vector.body ]
  %vec.phi131 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %vector.ph ], [ %55, %vector.body ]
  %54 = mul <4 x i32> %vec.phi, %broadcast.splat
  %55 = mul <4 x i32> %vec.phi131, %broadcast.splat
  %index.next = add nuw i32 %index, 8
  %56 = icmp eq i32 %index.next, %n.vec
  br i1 %56, label %middle.block, label %vector.body, !llvm.loop !38

middle.block:                                     ; preds = %vector.body
  %bin.rdx = mul <4 x i32> %55, %54
  %57 = tail call i32 @llvm.vector.reduce.mul.v4i32(<4 x i32> %bin.rdx)
  %cmp.n = icmp eq i32 %n.vec, %20
  br i1 %cmp.n, label %._crit_edge95, label %.lr.ph94.preheader133

.lr.ph94.preheader133:                            ; preds = %middle.block, %.lr.ph94.preheader
  %.ph = phi i32 [ 1, %.lr.ph94.preheader ], [ %57, %middle.block ]
  %.192.ph = phi i32 [ 0, %.lr.ph94.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph94

.lr.ph94:                                         ; preds = %.lr.ph94.preheader133, %.lr.ph94
  %58 = phi i32 [ %59, %.lr.ph94 ], [ %.ph, %.lr.ph94.preheader133 ]
  %.192 = phi i32 [ %60, %.lr.ph94 ], [ %.192.ph, %.lr.ph94.preheader133 ]
  %59 = mul nsw i32 %58, %9
  %60 = add nuw nsw i32 %.192, 1
  %exitcond113.not = icmp eq i32 %60, %20
  br i1 %exitcond113.not, label %._crit_edge95, label %.lr.ph94, !llvm.loop !41

._crit_edge95:                                    ; preds = %.lr.ph94, %middle.block
  %.lcssa = phi i32 [ %57, %middle.block ], [ %59, %.lr.ph94 ]
  store i32 %.lcssa, ptr %52, align 8, !tbaa !37
  br label %61

61:                                               ; preds = %._crit_edge95, %._crit_edge
  %62 = phi i32 [ %.lcssa, %._crit_edge95 ], [ 1, %._crit_edge ]
  %63 = getelementptr inbounds i8, ptr %3, i64 12
  store i32 %.075.lcssa, ptr %63, align 4, !tbaa !42
  %64 = sext i32 %62 to i64
  %65 = shl nsw i64 %64, 3
  %66 = tail call noalias ptr @malloc(i64 noundef %65) #5
  %67 = getelementptr inbounds i8, ptr %3, i64 48
  store ptr %66, ptr %67, align 8, !tbaa !43
  %68 = icmp sgt i32 %62, 0
  br i1 %68, label %.lr.ph104, label %._crit_edge105

.lr.ph104:                                        ; preds = %61
  %69 = sdiv i32 %62, %9
  %70 = sext i32 %69 to i64
  %sext = shl i64 %19, 32
  %71 = ashr exact i64 %sext, 30
  %wide.trip.count127 = zext nneg i32 %62 to i64
  br i1 %53, label %.lr.ph100.us.preheader, label %.lr.ph104.split

.lr.ph100.us.preheader:                           ; preds = %.lr.ph104
  %wide.trip.count122 = and i64 %19, 2147483647
  %xtraiter = and i64 %19, 1
  %72 = icmp eq i64 %wide.trip.count122, 1
  %unroll_iter = sub nsw i64 %wide.trip.count122, %xtraiter
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.lr.ph100.us

.lr.ph100.us:                                     ; preds = %.lr.ph100.us.preheader, %._crit_edge101.us
  %indvars.iv124 = phi i64 [ 0, %.lr.ph100.us.preheader ], [ %indvars.iv.next125, %._crit_edge101.us ]
  %73 = tail call noalias ptr @malloc(i64 noundef %71) #5
  %74 = getelementptr inbounds ptr, ptr %66, i64 %indvars.iv124
  store ptr %73, ptr %74, align 8, !tbaa !33
  br i1 %72, label %._crit_edge101.us.unr-lcssa, label %.lr.ph100.us.new

.lr.ph100.us.new:                                 ; preds = %.lr.ph100.us, %.lr.ph100.us.new
  %indvars.iv119 = phi i64 [ %indvars.iv.next120.1, %.lr.ph100.us.new ], [ 0, %.lr.ph100.us ]
  %.07198.us = phi i64 [ %82, %.lr.ph100.us.new ], [ %70, %.lr.ph100.us ]
  %.07297.us = phi i64 [ %.recomposed142, %.lr.ph100.us.new ], [ %indvars.iv124, %.lr.ph100.us ]
  %niter = phi i64 [ %niter.next.1, %.lr.ph100.us.new ], [ 0, %.lr.ph100.us ]
  %75 = sdiv i64 %.07297.us, %.07198.us
  %76 = mul nsw i64 %75, %.07198.us
  %.recomposed = srem i64 %.07297.us, %.07198.us
  %77 = sdiv i64 %.07198.us, %21
  %78 = trunc i64 %75 to i32
  %79 = getelementptr inbounds i32, ptr %73, i64 %indvars.iv119
  store i32 %78, ptr %79, align 4, !tbaa !32
  %indvars.iv.next120 = or disjoint i64 %indvars.iv119, 1
  %80 = sdiv i64 %.recomposed, %77
  %81 = mul nsw i64 %80, %77
  %.recomposed142 = srem i64 %.recomposed, %77
  %82 = sdiv i64 %77, %21
  %83 = trunc i64 %80 to i32
  %84 = getelementptr inbounds i32, ptr %73, i64 %indvars.iv.next120
  store i32 %83, ptr %84, align 4, !tbaa !32
  %indvars.iv.next120.1 = add nuw nsw i64 %indvars.iv119, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge101.us.unr-lcssa, label %.lr.ph100.us.new, !llvm.loop !44

._crit_edge101.us.unr-lcssa:                      ; preds = %.lr.ph100.us.new, %.lr.ph100.us
  %indvars.iv119.unr = phi i64 [ 0, %.lr.ph100.us ], [ %indvars.iv.next120.1, %.lr.ph100.us.new ]
  %.07198.us.unr = phi i64 [ %70, %.lr.ph100.us ], [ %82, %.lr.ph100.us.new ]
  %.07297.us.unr = phi i64 [ %indvars.iv124, %.lr.ph100.us ], [ %.recomposed142, %.lr.ph100.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge101.us, label %._crit_edge101.us.epilog-lcssa

._crit_edge101.us.epilog-lcssa:                   ; preds = %._crit_edge101.us.unr-lcssa
  %85 = sdiv i64 %.07297.us.unr, %.07198.us.unr
  %86 = trunc i64 %85 to i32
  %87 = getelementptr inbounds i32, ptr %73, i64 %indvars.iv119.unr
  store i32 %86, ptr %87, align 4, !tbaa !32
  br label %._crit_edge101.us

._crit_edge101.us:                                ; preds = %._crit_edge101.us.unr-lcssa, %._crit_edge101.us.epilog-lcssa
  %indvars.iv.next125 = add nuw nsw i64 %indvars.iv124, 1
  %exitcond128.not = icmp eq i64 %indvars.iv.next125, %wide.trip.count127
  br i1 %exitcond128.not, label %._crit_edge105, label %.lr.ph100.us, !llvm.loop !45

.lr.ph104.split:                                  ; preds = %.lr.ph104, %.lr.ph104.split
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %.lr.ph104.split ], [ 0, %.lr.ph104 ]
  %88 = tail call noalias ptr @malloc(i64 noundef %71) #5
  %89 = getelementptr inbounds ptr, ptr %66, i64 %indvars.iv114
  store ptr %88, ptr %89, align 8, !tbaa !33
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %exitcond118.not = icmp eq i64 %indvars.iv.next115, %wide.trip.count127
  br i1 %exitcond118.not, label %._crit_edge105, label %.lr.ph104.split, !llvm.loop !45

._crit_edge105:                                   ; preds = %.lr.ph104.split, %._crit_edge101.us, %61
  ret ptr %3
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.mul.v4i32(<4 x i32>) #3

attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind allocsize(0,1) }
attributes #5 = { 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, !10, i64 8}
!6 = !{!"vorbis_dsp_state", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !10, i64 136}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !10, i64 48}
!13 = !{!"vorbis_info", !7, i64 0, !7, i64 4, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !10, i64 48}
!14 = !{!15, !10, i64 0}
!15 = !{!"", !10, i64 0, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !7, i64 40, !10, i64 48, !11, i64 56, !11, i64 64, !11, i64 72}
!16 = !{!17, !7, i64 20}
!17 = !{!"vorbis_info_residue0", !11, i64 0, !11, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !8, i64 32, !8, i64 288, !8, i64 2336, !8, i64 2592}
!18 = !{!15, !7, i64 8}
!19 = !{!20, !10, i64 4904}
!20 = !{!"codec_setup_info", !8, i64 0, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !8, i64 40, !8, i64 552, !8, i64 808, !8, i64 1320, !8, i64 1576, !8, i64 2088, !8, i64 2344, !8, i64 2856, !10, i64 4904, !8, i64 4912, !21, i64 4944, !23, i64 5440, !25, i64 5488, !7, i64 5776}
!21 = !{!"", !7, i64 0, !8, i64 4, !8, i64 32, !22, i64 60, !22, i64 64, !22, i64 68, !8, i64 72, !8, i64 132, !8, i64 252, !8, i64 312, !8, i64 372}
!22 = !{!"float", !8, i64 0}
!23 = !{!"bitrate_manager_info", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !24, i64 32, !24, i64 40}
!24 = !{!"double", !8, i64 0}
!25 = !{!"highlevel_encode_setup", !7, i64 0, !10, i64 8, !24, i64 16, !24, i64 24, !22, i64 32, !7, i64 36, !11, i64 40, !11, i64 48, !24, i64 56, !11, i64 64, !11, i64 72, !24, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !24, i64 104, !24, i64 112, !7, i64 120, !24, i64 128, !24, i64 136, !24, i64 144, !24, i64 152, !8, i64 160}
!26 = !{!15, !10, i64 16}
!27 = !{!17, !7, i64 28}
!28 = !{!15, !10, i64 24}
!29 = !{!30, !11, i64 0}
!30 = !{!"codebook", !11, i64 0, !11, i64 8, !11, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 76, !7, i64 80, !7, i64 84, !7, i64 88}
!31 = !{!15, !10, i64 32}
!32 = !{!7, !7, i64 0}
!33 = !{!10, !10, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = !{!15, !7, i64 40}
!38 = distinct !{!38, !35, !39, !40}
!39 = !{!"llvm.loop.isvectorized", i32 1}
!40 = !{!"llvm.loop.unroll.runtime.disable"}
!41 = distinct !{!41, !35, !40, !39}
!42 = !{!15, !7, i64 12}
!43 = !{!15, !10, i64 48}
!44 = distinct !{!44, !35}
!45 = distinct !{!45, !35}


; Effective O3 passes: DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass