; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/modules/juce_audio_formats/codecs/oggvorbis (clear)

; 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.private_state = type { ptr, [2 x i32], [2 x ptr], [2 x %struct.drft_lookup], i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.bitrate_manager_state, i64 }
%struct.drft_lookup = type { i32, ptr, ptr }
%struct.bitrate_manager_state = type { i32, i64, i64, i64, i64, i64, i64, double, ptr, 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.vorbis_func_floor = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.vorbis_func_residue = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.vorbis_look_psy = type { i32, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i32, i32, i64, float }

@_floor_P = external constant [0 x ptr], align 8
@_residue_P = external constant [0 x ptr], align 8

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @vorbis_dsp_clear(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = icmp ne ptr %7, null
  br i1 %8, label %9, label %301

9:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %10, i32 0, i32 1
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %12, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = icmp ne ptr %13, null
  br i1 %14, label %15, label %19

15:                                               ; preds = %9
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.vorbis_info, ptr %16, i32 0, i32 7
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  br label %20

19:                                               ; preds = %9
  br label %20

20:                                               ; preds = %19, %15
  %21 = phi ptr [ %18, %15 ], [ null, %19 ]
  store ptr %21, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %22, i32 0, i32 19
  %24 = load ptr, ptr %23, align 8, !tbaa !15
  store ptr %24, ptr %6, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %217

27:                                               ; preds = %20
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.private_state, ptr %28, i32 0, i32 0
  %30 = load ptr, ptr %29, align 8, !tbaa !16
  %31 = icmp ne ptr %30, null
  br i1 %31, label %32, label %39

32:                                               ; preds = %27
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.private_state, ptr %33, i32 0, i32 0
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  call void @_ve_envelope_clear(ptr noundef %35)
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.private_state, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !16
  call void @free(ptr noundef %38) #5
  br label %39

39:                                               ; preds = %32, %27
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.private_state, ptr %40, i32 0, i32 2
  %42 = getelementptr inbounds [2 x ptr], ptr %41, i64 0, i64 0
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %62

45:                                               ; preds = %39
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.private_state, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds [2 x ptr], ptr %47, i64 0, i64 0
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = getelementptr inbounds ptr, ptr %49, i64 0
  %51 = load ptr, ptr %50, align 8, !tbaa !5
  call void @mdct_clear(ptr noundef %51)
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.private_state, ptr %52, i32 0, i32 2
  %54 = getelementptr inbounds [2 x ptr], ptr %53, i64 0, i64 0
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = getelementptr inbounds ptr, ptr %55, i64 0
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  call void @free(ptr noundef %57) #5
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.private_state, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds [2 x ptr], ptr %59, i64 0, i64 0
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  call void @free(ptr noundef %61) #5
  br label %62

62:                                               ; preds = %45, %39
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.private_state, ptr %63, i32 0, i32 2
  %65 = getelementptr inbounds [2 x ptr], ptr %64, i64 0, i64 1
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %85

68:                                               ; preds = %62
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.private_state, ptr %69, i32 0, i32 2
  %71 = getelementptr inbounds [2 x ptr], ptr %70, i64 0, i64 1
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds ptr, ptr %72, i64 0
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  call void @mdct_clear(ptr noundef %74)
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.private_state, ptr %75, i32 0, i32 2
  %77 = getelementptr inbounds [2 x ptr], ptr %76, i64 0, i64 1
  %78 = load ptr, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds ptr, ptr %78, i64 0
  %80 = load ptr, ptr %79, align 8, !tbaa !5
  call void @free(ptr noundef %80) #5
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.private_state, ptr %81, i32 0, i32 2
  %83 = getelementptr inbounds [2 x ptr], ptr %82, i64 0, i64 1
  %84 = load ptr, ptr %83, align 8, !tbaa !5
  call void @free(ptr noundef %84) #5
  br label %85

85:                                               ; preds = %68, %62
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.private_state, ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !20
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %127

90:                                               ; preds = %85
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %123

93:                                               ; preds = %90
  store i32 0, ptr %3, align 4, !tbaa !21
  br label %94

94:                                               ; preds = %119, %93
  %95 = load i32, ptr %3, align 4, !tbaa !21
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.codec_setup_info, ptr %96, i32 0, i32 3
  %98 = load i32, ptr %97, align 8, !tbaa !22
  %99 = icmp slt i32 %95, %98
  br i1 %99, label %100, label %122

100:                                              ; preds = %94
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.codec_setup_info, ptr %101, i32 0, i32 10
  %103 = load i32, ptr %3, align 4, !tbaa !21
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [64 x i32], ptr %102, i64 0, i64 %104
  %106 = load i32, ptr %105, align 4, !tbaa !21
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [0 x ptr], ptr @_floor_P, i64 0, i64 %107
  %109 = load ptr, ptr %108, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.vorbis_func_floor, ptr %109, i32 0, i32 4
  %111 = load ptr, ptr %110, align 8, !tbaa !28
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.private_state, ptr %112, i32 0, i32 5
  %114 = load ptr, ptr %113, align 8, !tbaa !20
  %115 = load i32, ptr %3, align 4, !tbaa !21
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds ptr, ptr %114, i64 %116
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  call void %111(ptr noundef %118)
  br label %119

119:                                              ; preds = %100
  %120 = load i32, ptr %3, align 4, !tbaa !21
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %3, align 4, !tbaa !21
  br label %94, !llvm.loop !30

122:                                              ; preds = %94
  br label %123

123:                                              ; preds = %122, %90
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.private_state, ptr %124, i32 0, i32 5
  %126 = load ptr, ptr %125, align 8, !tbaa !20
  call void @free(ptr noundef %126) #5
  br label %127

127:                                              ; preds = %123, %85
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.private_state, ptr %128, i32 0, i32 6
  %130 = load ptr, ptr %129, align 8, !tbaa !32
  %131 = icmp ne ptr %130, null
  br i1 %131, label %132, label %169

132:                                              ; preds = %127
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = icmp ne ptr %133, null
  br i1 %134, label %135, label %165

135:                                              ; preds = %132
  store i32 0, ptr %3, align 4, !tbaa !21
  br label %136

136:                                              ; preds = %161, %135
  %137 = load i32, ptr %3, align 4, !tbaa !21
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.codec_setup_info, ptr %138, i32 0, i32 4
  %140 = load i32, ptr %139, align 4, !tbaa !33
  %141 = icmp slt i32 %137, %140
  br i1 %141, label %142, label %164

142:                                              ; preds = %136
  %143 = load ptr, ptr %5, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.codec_setup_info, ptr %143, i32 0, i32 12
  %145 = load i32, ptr %3, align 4, !tbaa !21
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [64 x i32], ptr %144, i64 0, i64 %146
  %148 = load i32, ptr %147, align 4, !tbaa !21
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [0 x ptr], ptr @_residue_P, i64 0, i64 %149
  %151 = load ptr, ptr %150, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.vorbis_func_residue, ptr %151, i32 0, i32 4
  %153 = load ptr, ptr %152, align 8, !tbaa !34
  %154 = load ptr, ptr %6, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.private_state, ptr %154, i32 0, i32 6
  %156 = load ptr, ptr %155, align 8, !tbaa !32
  %157 = load i32, ptr %3, align 4, !tbaa !21
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds ptr, ptr %156, i64 %158
  %160 = load ptr, ptr %159, align 8, !tbaa !5
  call void %153(ptr noundef %160)
  br label %161

161:                                              ; preds = %142
  %162 = load i32, ptr %3, align 4, !tbaa !21
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %3, align 4, !tbaa !21
  br label %136, !llvm.loop !36

164:                                              ; preds = %136
  br label %165

165:                                              ; preds = %164, %132
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.private_state, ptr %166, i32 0, i32 6
  %168 = load ptr, ptr %167, align 8, !tbaa !32
  call void @free(ptr noundef %168) #5
  br label %169

169:                                              ; preds = %165, %127
  %170 = load ptr, ptr %6, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.private_state, ptr %170, i32 0, i32 7
  %172 = load ptr, ptr %171, align 8, !tbaa !37
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %199

174:                                              ; preds = %169
  %175 = load ptr, ptr %5, align 8, !tbaa !5
  %176 = icmp ne ptr %175, null
  br i1 %176, label %177, label %195

177:                                              ; preds = %174
  store i32 0, ptr %3, align 4, !tbaa !21
  br label %178

178:                                              ; preds = %191, %177
  %179 = load i32, ptr %3, align 4, !tbaa !21
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.codec_setup_info, ptr %180, i32 0, i32 6
  %182 = load i32, ptr %181, align 4, !tbaa !38
  %183 = icmp slt i32 %179, %182
  br i1 %183, label %184, label %194

184:                                              ; preds = %178
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.private_state, ptr %185, i32 0, i32 7
  %187 = load ptr, ptr %186, align 8, !tbaa !37
  %188 = load i32, ptr %3, align 4, !tbaa !21
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %struct.vorbis_look_psy, ptr %187, i64 %189
  call void @_vp_psy_clear(ptr noundef %190)
  br label %191

191:                                              ; preds = %184
  %192 = load i32, ptr %3, align 4, !tbaa !21
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %3, align 4, !tbaa !21
  br label %178, !llvm.loop !39

194:                                              ; preds = %178
  br label %195

195:                                              ; preds = %194, %174
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.private_state, ptr %196, i32 0, i32 7
  %198 = load ptr, ptr %197, align 8, !tbaa !37
  call void @free(ptr noundef %198) #5
  br label %199

199:                                              ; preds = %195, %169
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.private_state, ptr %200, i32 0, i32 8
  %202 = load ptr, ptr %201, align 8, !tbaa !40
  %203 = icmp ne ptr %202, null
  br i1 %203, label %204, label %208

204:                                              ; preds = %199
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.private_state, ptr %205, i32 0, i32 8
  %207 = load ptr, ptr %206, align 8, !tbaa !40
  call void @_vp_global_free(ptr noundef %207)
  br label %208

208:                                              ; preds = %204, %199
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.private_state, ptr %209, i32 0, i32 12
  call void @vorbis_bitrate_clear(ptr noundef %210)
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.private_state, ptr %211, i32 0, i32 3
  %213 = getelementptr inbounds [2 x %struct.drft_lookup], ptr %212, i64 0, i64 0
  call void @drft_clear(ptr noundef %213)
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.private_state, ptr %214, i32 0, i32 3
  %216 = getelementptr inbounds [2 x %struct.drft_lookup], ptr %215, i64 0, i64 1
  call void @drft_clear(ptr noundef %216)
  br label %217

217:                                              ; preds = %208, %20
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %218, i32 0, i32 2
  %220 = load ptr, ptr %219, align 8, !tbaa !41
  %221 = icmp ne ptr %220, null
  br i1 %221, label %222, label %267

222:                                              ; preds = %217
  %223 = load ptr, ptr %4, align 8, !tbaa !5
  %224 = icmp ne ptr %223, null
  br i1 %224, label %225, label %254

225:                                              ; preds = %222
  store i32 0, ptr %3, align 4, !tbaa !21
  br label %226

226:                                              ; preds = %250, %225
  %227 = load i32, ptr %3, align 4, !tbaa !21
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.vorbis_info, ptr %228, i32 0, i32 1
  %230 = load i32, ptr %229, align 4, !tbaa !42
  %231 = icmp slt i32 %227, %230
  br i1 %231, label %232, label %253

232:                                              ; preds = %226
  %233 = load ptr, ptr %2, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %233, i32 0, i32 2
  %235 = load ptr, ptr %234, align 8, !tbaa !41
  %236 = load i32, ptr %3, align 4, !tbaa !21
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds ptr, ptr %235, i64 %237
  %239 = load ptr, ptr %238, align 8, !tbaa !5
  %240 = icmp ne ptr %239, null
  br i1 %240, label %241, label %249

241:                                              ; preds = %232
  %242 = load ptr, ptr %2, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %242, i32 0, i32 2
  %244 = load ptr, ptr %243, align 8, !tbaa !41
  %245 = load i32, ptr %3, align 4, !tbaa !21
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds ptr, ptr %244, i64 %246
  %248 = load ptr, ptr %247, align 8, !tbaa !5
  call void @free(ptr noundef %248) #5
  br label %249

249:                                              ; preds = %241, %232
  br label %250

250:                                              ; preds = %249
  %251 = load i32, ptr %3, align 4, !tbaa !21
  %252 = add nsw i32 %251, 1
  store i32 %252, ptr %3, align 4, !tbaa !21
  br label %226, !llvm.loop !43

253:                                              ; preds = %226
  br label %254

254:                                              ; preds = %253, %222
  %255 = load ptr, ptr %2, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %255, i32 0, i32 2
  %257 = load ptr, ptr %256, align 8, !tbaa !41
  call void @free(ptr noundef %257) #5
  %258 = load ptr, ptr %2, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %258, i32 0, i32 3
  %260 = load ptr, ptr %259, align 8, !tbaa !44
  %261 = icmp ne ptr %260, null
  br i1 %261, label %262, label %266

262:                                              ; preds = %254
  %263 = load ptr, ptr %2, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.vorbis_dsp_state, ptr %263, i32 0, i32 3
  %265 = load ptr, ptr %264, align 8, !tbaa !44
  call void @free(ptr noundef %265) #5
  br label %266

266:                                              ; preds = %262, %254
  br label %267

267:                                              ; preds = %266, %217
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = icmp ne ptr %268, null
  br i1 %269, label %270, label %299

270:                                              ; preds = %267
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.private_state, ptr %271, i32 0, i32 9
  %273 = load ptr, ptr %272, align 8, !tbaa !45
  %274 = icmp ne ptr %273, null
  br i1 %274, label %275, label %279

275:                                              ; preds = %270
  %276 = load ptr, ptr %6, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.private_state, ptr %276, i32 0, i32 9
  %278 = load ptr, ptr %277, align 8, !tbaa !45
  call void @free(ptr noundef %278) #5
  br label %279

279:                                              ; preds = %275, %270
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.private_state, ptr %280, i32 0, i32 10
  %282 = load ptr, ptr %281, align 8, !tbaa !46
  %283 = icmp ne ptr %282, null
  br i1 %283, label %284, label %288

284:                                              ; preds = %279
  %285 = load ptr, ptr %6, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.private_state, ptr %285, i32 0, i32 10
  %287 = load ptr, ptr %286, align 8, !tbaa !46
  call void @free(ptr noundef %287) #5
  br label %288

288:                                              ; preds = %284, %279
  %289 = load ptr, ptr %6, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.private_state, ptr %289, i32 0, i32 11
  %291 = load ptr, ptr %290, align 8, !tbaa !47
  %292 = icmp ne ptr %291, null
  br i1 %292, label %293, label %297

293:                                              ; preds = %288
  %294 = load ptr, ptr %6, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.private_state, ptr %294, i32 0, i32 11
  %296 = load ptr, ptr %295, align 8, !tbaa !47
  call void @free(ptr noundef %296) #5
  br label %297

297:                                              ; preds = %293, %288
  %298 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %298) #5
  br label %299

299:                                              ; preds = %297, %267
  %300 = load ptr, ptr %2, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %300, i8 0, i64 144, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %301

301:                                              ; preds = %299, %1
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

declare void @_ve_envelope_clear(ptr noundef) #4

declare void @mdct_clear(ptr noundef) #4

declare void @_vp_psy_clear(ptr noundef) #4

declare void @_vp_global_free(ptr noundef) #4

declare void @vorbis_bitrate_clear(ptr noundef) #4

declare void @drft_clear(ptr noundef) #4

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

!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 = !{!10, !6, i64 136}
!16 = !{!17, !6, i64 0}
!17 = !{!"private_state", !6, i64 0, !7, i64 8, !7, i64 16, !7, i64 32, !11, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !18, i64 144, !12, i64 224}
!18 = !{!"bitrate_manager_state", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !19, i64 56, !6, i64 64, !11, i64 72}
!19 = !{!"double", !7, i64 0}
!20 = !{!17, !6, i64 88}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 24}
!23 = !{!"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, !24, i64 4944, !26, i64 5440, !27, i64 5488, !11, i64 5776}
!24 = !{!"", !11, i64 0, !7, i64 4, !7, i64 32, !25, i64 60, !25, i64 64, !25, i64 68, !7, i64 72, !7, i64 132, !7, i64 252, !7, i64 312, !7, i64 372}
!25 = !{!"float", !7, i64 0}
!26 = !{!"bitrate_manager_info", !12, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !19, i64 32, !19, i64 40}
!27 = !{!"highlevel_encode_setup", !11, i64 0, !6, i64 8, !19, i64 16, !19, i64 24, !25, i64 32, !11, i64 36, !12, i64 40, !12, i64 48, !19, i64 56, !12, i64 64, !12, i64 72, !19, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !19, i64 104, !19, i64 112, !11, i64 120, !19, i64 128, !19, i64 136, !19, i64 144, !19, i64 152, !7, i64 160}
!28 = !{!29, !6, i64 32}
!29 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!17, !6, i64 96}
!33 = !{!23, !11, i64 28}
!34 = !{!35, !6, i64 32}
!35 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56}
!36 = distinct !{!36, !31}
!37 = !{!17, !6, i64 104}
!38 = !{!23, !11, i64 36}
!39 = distinct !{!39, !31}
!40 = !{!17, !6, i64 112}
!41 = !{!10, !6, i64 16}
!42 = !{!14, !11, i64 4}
!43 = distinct !{!43, !31}
!44 = !{!10, !6, i64 24}
!45 = !{!17, !6, i64 120}
!46 = !{!17, !6, i64 128}
!47 = !{!17, !6, i64 136}


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

@_floor_P = external local_unnamed_addr constant [0 x ptr], align 8
@_residue_P = external local_unnamed_addr constant [0 x ptr], align 8

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

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

; Function Attrs: nounwind uwtable
define dso_local void @vorbis_dsp_clear(ptr noundef %0) local_unnamed_addr #2 {
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %134, label %2

2:                                                ; preds = %1
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %.not87 = icmp eq ptr %4, null
  br i1 %.not87, label %8, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %4, i64 48
  %7 = load ptr, ptr %6, align 8, !tbaa !12
  br label %8

8:                                                ; preds = %2, %5
  %9 = phi ptr [ %7, %5 ], [ null, %2 ]
  %10 = getelementptr inbounds i8, ptr %0, i64 136
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %.not88 = icmp eq ptr %11, null
  br i1 %.not88, label %99, label %12

12:                                               ; preds = %8
  %13 = load ptr, ptr %11, align 8, !tbaa !15
  %.not89 = icmp eq ptr %13, null
  br i1 %.not89, label %16, label %14

14:                                               ; preds = %12
  tail call void @_ve_envelope_clear(ptr noundef nonnull %13) #4
  %15 = load ptr, ptr %11, align 8, !tbaa !15
  tail call void @free(ptr noundef %15) #4
  br label %16

16:                                               ; preds = %14, %12
  %17 = getelementptr inbounds i8, ptr %11, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !19
  %.not90 = icmp eq ptr %18, null
  br i1 %.not90, label %24, label %19

19:                                               ; preds = %16
  %20 = load ptr, ptr %18, align 8, !tbaa !19
  tail call void @mdct_clear(ptr noundef %20) #4
  %21 = load ptr, ptr %17, align 8, !tbaa !19
  %22 = load ptr, ptr %21, align 8, !tbaa !19
  tail call void @free(ptr noundef %22) #4
  %23 = load ptr, ptr %17, align 8, !tbaa !19
  tail call void @free(ptr noundef %23) #4
  br label %24

24:                                               ; preds = %19, %16
  %25 = getelementptr inbounds i8, ptr %11, i64 24
  %26 = load ptr, ptr %25, align 8, !tbaa !19
  %.not91 = icmp eq ptr %26, null
  br i1 %.not91, label %32, label %27

27:                                               ; preds = %24
  %28 = load ptr, ptr %26, align 8, !tbaa !19
  tail call void @mdct_clear(ptr noundef %28) #4
  %29 = load ptr, ptr %25, align 8, !tbaa !19
  %30 = load ptr, ptr %29, align 8, !tbaa !19
  tail call void @free(ptr noundef %30) #4
  %31 = load ptr, ptr %25, align 8, !tbaa !19
  tail call void @free(ptr noundef %31) #4
  br label %32

32:                                               ; preds = %27, %24
  %33 = getelementptr inbounds i8, ptr %11, i64 88
  %34 = load ptr, ptr %33, align 8, !tbaa !20
  %.not92 = icmp eq ptr %34, null
  br i1 %.not92, label %55, label %35

35:                                               ; preds = %32
  %.not93 = icmp eq ptr %9, null
  br i1 %.not93, label %.loopexit110, label %.preheader109

.preheader109:                                    ; preds = %35
  %36 = getelementptr inbounds i8, ptr %9, i64 24
  %37 = load i32, ptr %36, align 8, !tbaa !21
  %38 = icmp sgt i32 %37, 0
  br i1 %38, label %.lr.ph, label %.loopexit110

.lr.ph:                                           ; preds = %.preheader109
  %39 = getelementptr inbounds i8, ptr %9, i64 1320
  br label %40

40:                                               ; preds = %.lr.ph, %40
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %40 ]
  %41 = getelementptr inbounds [64 x i32], ptr %39, i64 0, i64 %indvars.iv
  %42 = load i32, ptr %41, align 4, !tbaa !27
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [0 x ptr], ptr @_floor_P, i64 0, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !19
  %46 = getelementptr inbounds i8, ptr %45, i64 32
  %47 = load ptr, ptr %46, align 8, !tbaa !28
  %48 = load ptr, ptr %33, align 8, !tbaa !20
  %49 = getelementptr inbounds ptr, ptr %48, i64 %indvars.iv
  %50 = load ptr, ptr %49, align 8, !tbaa !19
  tail call void %47(ptr noundef %50) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = load i32, ptr %36, align 8, !tbaa !21
  %52 = sext i32 %51 to i64
  %53 = icmp slt i64 %indvars.iv.next, %52
  br i1 %53, label %40, label %.loopexit110.loopexit, !llvm.loop !30

.loopexit110.loopexit:                            ; preds = %40
  %.pre = load ptr, ptr %33, align 8, !tbaa !20
  br label %.loopexit110

.loopexit110:                                     ; preds = %.loopexit110.loopexit, %.preheader109, %35
  %54 = phi ptr [ %.pre, %.loopexit110.loopexit ], [ %34, %.preheader109 ], [ %34, %35 ]
  tail call void @free(ptr noundef %54) #4
  br label %55

55:                                               ; preds = %.loopexit110, %32
  %56 = getelementptr inbounds i8, ptr %11, i64 96
  %57 = load ptr, ptr %56, align 8, !tbaa !32
  %.not94 = icmp eq ptr %57, null
  br i1 %.not94, label %78, label %58

58:                                               ; preds = %55
  %.not95 = icmp eq ptr %9, null
  br i1 %.not95, label %.loopexit108, label %.preheader107

.preheader107:                                    ; preds = %58
  %59 = getelementptr inbounds i8, ptr %9, i64 28
  %60 = load i32, ptr %59, align 4, !tbaa !33
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %.lr.ph113, label %.loopexit108

.lr.ph113:                                        ; preds = %.preheader107
  %62 = getelementptr inbounds i8, ptr %9, i64 2088
  br label %63

63:                                               ; preds = %.lr.ph113, %63
  %indvars.iv119 = phi i64 [ 0, %.lr.ph113 ], [ %indvars.iv.next120, %63 ]
  %64 = getelementptr inbounds [64 x i32], ptr %62, i64 0, i64 %indvars.iv119
  %65 = load i32, ptr %64, align 4, !tbaa !27
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [0 x ptr], ptr @_residue_P, i64 0, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !19
  %69 = getelementptr inbounds i8, ptr %68, i64 32
  %70 = load ptr, ptr %69, align 8, !tbaa !34
  %71 = load ptr, ptr %56, align 8, !tbaa !32
  %72 = getelementptr inbounds ptr, ptr %71, i64 %indvars.iv119
  %73 = load ptr, ptr %72, align 8, !tbaa !19
  tail call void %70(ptr noundef %73) #4
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %74 = load i32, ptr %59, align 4, !tbaa !33
  %75 = sext i32 %74 to i64
  %76 = icmp slt i64 %indvars.iv.next120, %75
  br i1 %76, label %63, label %.loopexit108.loopexit, !llvm.loop !36

.loopexit108.loopexit:                            ; preds = %63
  %.pre128 = load ptr, ptr %56, align 8, !tbaa !32
  br label %.loopexit108

.loopexit108:                                     ; preds = %.loopexit108.loopexit, %.preheader107, %58
  %77 = phi ptr [ %.pre128, %.loopexit108.loopexit ], [ %57, %.preheader107 ], [ %57, %58 ]
  tail call void @free(ptr noundef %77) #4
  br label %78

78:                                               ; preds = %.loopexit108, %55
  %79 = getelementptr inbounds i8, ptr %11, i64 104
  %80 = load ptr, ptr %79, align 8, !tbaa !37
  %.not96 = icmp eq ptr %80, null
  br i1 %.not96, label %91, label %81

81:                                               ; preds = %78
  %.not97 = icmp eq ptr %9, null
  br i1 %.not97, label %.loopexit106, label %.preheader105

.preheader105:                                    ; preds = %81
  %82 = getelementptr inbounds i8, ptr %9, i64 36
  %83 = load i32, ptr %82, align 4, !tbaa !38
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph115, label %.loopexit106

.lr.ph115:                                        ; preds = %.preheader105, %.lr.ph115
  %indvars.iv122 = phi i64 [ %indvars.iv.next123, %.lr.ph115 ], [ 0, %.preheader105 ]
  %85 = load ptr, ptr %79, align 8, !tbaa !37
  %86 = getelementptr inbounds %struct.vorbis_look_psy, ptr %85, i64 %indvars.iv122
  tail call void @_vp_psy_clear(ptr noundef %86) #4
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %87 = load i32, ptr %82, align 4, !tbaa !38
  %88 = sext i32 %87 to i64
  %89 = icmp slt i64 %indvars.iv.next123, %88
  br i1 %89, label %.lr.ph115, label %.loopexit106.loopexit, !llvm.loop !39

.loopexit106.loopexit:                            ; preds = %.lr.ph115
  %.pre129 = load ptr, ptr %79, align 8, !tbaa !37
  br label %.loopexit106

.loopexit106:                                     ; preds = %.loopexit106.loopexit, %.preheader105, %81
  %90 = phi ptr [ %.pre129, %.loopexit106.loopexit ], [ %80, %.preheader105 ], [ %80, %81 ]
  tail call void @free(ptr noundef %90) #4
  br label %91

91:                                               ; preds = %.loopexit106, %78
  %92 = getelementptr inbounds i8, ptr %11, i64 112
  %93 = load ptr, ptr %92, align 8, !tbaa !40
  %.not98 = icmp eq ptr %93, null
  br i1 %.not98, label %95, label %94

94:                                               ; preds = %91
  tail call void @_vp_global_free(ptr noundef nonnull %93) #4
  br label %95

95:                                               ; preds = %94, %91
  %96 = getelementptr inbounds i8, ptr %11, i64 144
  tail call void @vorbis_bitrate_clear(ptr noundef nonnull %96) #4
  %97 = getelementptr inbounds i8, ptr %11, i64 32
  tail call void @drft_clear(ptr noundef nonnull %97) #4
  %98 = getelementptr inbounds i8, ptr %11, i64 56
  tail call void @drft_clear(ptr noundef nonnull %98) #4
  br label %99

99:                                               ; preds = %95, %8
  %100 = getelementptr inbounds i8, ptr %0, i64 16
  %101 = load ptr, ptr %100, align 8, !tbaa !41
  %.not99 = icmp eq ptr %101, null
  br i1 %.not99, label %119, label %102

102:                                              ; preds = %99
  br i1 %.not87, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %102
  %103 = getelementptr inbounds i8, ptr %4, i64 4
  %104 = load i32, ptr %103, align 4, !tbaa !42
  %105 = icmp sgt i32 %104, 0
  br i1 %105, label %.lr.ph117, label %.loopexit

.lr.ph117:                                        ; preds = %.preheader, %111
  %106 = phi i32 [ %112, %111 ], [ %104, %.preheader ]
  %indvars.iv125 = phi i64 [ %indvars.iv.next126, %111 ], [ 0, %.preheader ]
  %107 = load ptr, ptr %100, align 8, !tbaa !41
  %108 = getelementptr inbounds ptr, ptr %107, i64 %indvars.iv125
  %109 = load ptr, ptr %108, align 8, !tbaa !19
  %.not104 = icmp eq ptr %109, null
  br i1 %.not104, label %111, label %110

110:                                              ; preds = %.lr.ph117
  tail call void @free(ptr noundef nonnull %109) #4
  %.pre130 = load i32, ptr %103, align 4, !tbaa !42
  br label %111

111:                                              ; preds = %.lr.ph117, %110
  %112 = phi i32 [ %106, %.lr.ph117 ], [ %.pre130, %110 ]
  %indvars.iv.next126 = add nuw nsw i64 %indvars.iv125, 1
  %113 = sext i32 %112 to i64
  %114 = icmp slt i64 %indvars.iv.next126, %113
  br i1 %114, label %.lr.ph117, label %.loopexit.loopexit, !llvm.loop !43

.loopexit.loopexit:                               ; preds = %111
  %.pre131 = load ptr, ptr %100, align 8, !tbaa !41
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.preheader, %102
  %115 = phi ptr [ %.pre131, %.loopexit.loopexit ], [ %101, %.preheader ], [ %101, %102 ]
  tail call void @free(ptr noundef %115) #4
  %116 = getelementptr inbounds i8, ptr %0, i64 24
  %117 = load ptr, ptr %116, align 8, !tbaa !44
  %.not100 = icmp eq ptr %117, null
  br i1 %.not100, label %119, label %118

118:                                              ; preds = %.loopexit
  tail call void @free(ptr noundef nonnull %117) #4
  br label %119

119:                                              ; preds = %.loopexit, %118, %99
  br i1 %.not88, label %133, label %120

120:                                              ; preds = %119
  %121 = getelementptr inbounds i8, ptr %11, i64 120
  %122 = load ptr, ptr %121, align 8, !tbaa !45
  %.not101 = icmp eq ptr %122, null
  br i1 %.not101, label %124, label %123

123:                                              ; preds = %120
  tail call void @free(ptr noundef nonnull %122) #4
  br label %124

124:                                              ; preds = %123, %120
  %125 = getelementptr inbounds i8, ptr %11, i64 128
  %126 = load ptr, ptr %125, align 8, !tbaa !46
  %.not102 = icmp eq ptr %126, null
  br i1 %.not102, label %128, label %127

127:                                              ; preds = %124
  tail call void @free(ptr noundef nonnull %126) #4
  br label %128

128:                                              ; preds = %127, %124
  %129 = getelementptr inbounds i8, ptr %11, i64 136
  %130 = load ptr, ptr %129, align 8, !tbaa !47
  %.not103 = icmp eq ptr %130, null
  br i1 %.not103, label %132, label %131

131:                                              ; preds = %128
  tail call void @free(ptr noundef nonnull %130) #4
  br label %132

132:                                              ; preds = %131, %128
  tail call void @free(ptr noundef nonnull %11) #4
  br label %133

133:                                              ; preds = %132, %119
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(144) %0, i8 0, i64 144, i1 false)
  br label %134

134:                                              ; preds = %133, %1
  ret void
}

declare void @_ve_envelope_clear(ptr noundef) local_unnamed_addr #3

declare void @mdct_clear(ptr noundef) local_unnamed_addr #3

declare void @_vp_psy_clear(ptr noundef) local_unnamed_addr #3

declare void @_vp_global_free(ptr noundef) local_unnamed_addr #3

declare void @vorbis_bitrate_clear(ptr noundef) local_unnamed_addr #3

declare void @drft_clear(ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #1 = { 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 #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 = { "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 }

!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 = !{!6, !10, i64 136}
!15 = !{!16, !10, i64 0}
!16 = !{!"private_state", !10, i64 0, !8, i64 8, !8, i64 16, !8, i64 32, !7, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !17, i64 144, !11, i64 224}
!17 = !{!"bitrate_manager_state", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !18, i64 56, !10, i64 64, !7, i64 72}
!18 = !{!"double", !8, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!16, !10, i64 88}
!21 = !{!22, !7, i64 24}
!22 = !{!"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, !23, i64 4944, !25, i64 5440, !26, i64 5488, !7, i64 5776}
!23 = !{!"", !7, i64 0, !8, i64 4, !8, i64 32, !24, i64 60, !24, i64 64, !24, i64 68, !8, i64 72, !8, i64 132, !8, i64 252, !8, i64 312, !8, i64 372}
!24 = !{!"float", !8, i64 0}
!25 = !{!"bitrate_manager_info", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !18, i64 32, !18, i64 40}
!26 = !{!"highlevel_encode_setup", !7, i64 0, !10, i64 8, !18, i64 16, !18, i64 24, !24, i64 32, !7, i64 36, !11, i64 40, !11, i64 48, !18, i64 56, !11, i64 64, !11, i64 72, !18, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !18, i64 104, !18, i64 112, !7, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152, !8, i64 160}
!27 = !{!7, !7, i64 0}
!28 = !{!29, !10, i64 32}
!29 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = !{!16, !10, i64 96}
!33 = !{!22, !7, i64 28}
!34 = !{!35, !10, i64 32}
!35 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56}
!36 = distinct !{!36, !31}
!37 = !{!16, !10, i64 104}
!38 = !{!22, !7, i64 36}
!39 = distinct !{!39, !31}
!40 = !{!16, !10, i64 112}
!41 = !{!6, !10, i64 16}
!42 = !{!13, !7, i64 4}
!43 = distinct !{!43, !31}
!44 = !{!6, !10, i64 24}
!45 = !{!16, !10, i64 120}
!46 = !{!16, !10, i64 128}
!47 = !{!16, !10, i64 136}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass