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

; 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_info = type { i32, i32, i64, i64, i64, i64, i64, ptr }
%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.ovectl_ratemanage_arg = type { i32, i64, i64, double, i64, i64, double, double }
%struct.ovectl_ratemanage2_arg = type { i32, i64, i64, i64, double, i64, double }

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare hidden ptr @get_setup_template(i64 noundef, i64 noundef, double noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden void @vorbis_encode_setup_setting(ptr noundef, i64 noundef, i64 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @vorbis_encode_ctl(ptr noundef %0, i32 noundef %1, ptr noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %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 ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %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 double, align 8
  %25 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %473

28:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #2
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.vorbis_info, ptr %29, i32 0, i32 7
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  store ptr %31, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.codec_setup_info, ptr %32, i32 0, i32 19
  store ptr %33, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  %34 = load i32, ptr %6, align 4, !tbaa !9
  %35 = and i32 %34, 15
  store i32 %35, ptr %10, align 4, !tbaa !9
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = icmp ne i32 %36, 0
  br i1 %37, label %38, label %44

38:                                               ; preds = %28
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %39, i32 0, i32 0
  %41 = load i32, ptr %40, align 8, !tbaa !14
  %42 = icmp ne i32 %41, 0
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

44:                                               ; preds = %38, %28
  %45 = load i32, ptr %6, align 4, !tbaa !9
  switch i32 %45, label %471 [
    i32 16, label %46
    i32 17, label %88
    i32 18, label %108
    i32 19, label %129
    i32 20, label %175
    i32 21, label %222
    i32 32, label %353
    i32 33, label %359
    i32 48, label %383
    i32 49, label %389
    i32 64, label %411
    i32 65, label %417
  ]

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %47, ptr %12, align 8, !tbaa !5
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %48, i32 0, i32 5
  %50 = load i32, ptr %49, align 4, !tbaa !18
  %51 = load ptr, ptr %12, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %51, i32 0, i32 0
  store i32 %50, ptr %52, align 8, !tbaa !19
  %53 = load ptr, ptr %9, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %53, i32 0, i32 10
  %55 = load i64, ptr %54, align 8, !tbaa !21
  %56 = sitofp i64 %55 to double
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.vorbis_info, ptr %57, i32 0, i32 2
  %59 = load i64, ptr %58, align 8, !tbaa !22
  %60 = sitofp i64 %59 to double
  %61 = fdiv double %56, %60
  %62 = load ptr, ptr %12, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %62, i32 0, i32 6
  store double %61, ptr %63, align 8, !tbaa !23
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %64, i32 0, i32 3
  store double %61, ptr %65, align 8, !tbaa !24
  %66 = load ptr, ptr %12, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %66, i32 0, i32 7
  store double 1.000000e+00, ptr %67, align 8, !tbaa !25
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %68, i32 0, i32 6
  %70 = load i64, ptr %69, align 8, !tbaa !26
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %71, i32 0, i32 1
  store i64 %70, ptr %72, align 8, !tbaa !27
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %73, i32 0, i32 9
  %75 = load i64, ptr %74, align 8, !tbaa !28
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %76, i32 0, i32 2
  store i64 %75, ptr %77, align 8, !tbaa !29
  %78 = load ptr, ptr %9, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %78, i32 0, i32 7
  %80 = load i64, ptr %79, align 8, !tbaa !30
  %81 = load ptr, ptr %12, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %81, i32 0, i32 4
  store i64 %80, ptr %82, align 8, !tbaa !31
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %83, i32 0, i32 7
  %85 = load i64, ptr %84, align 8, !tbaa !30
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %86, i32 0, i32 5
  store i64 %85, ptr %87, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

88:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %89, ptr %13, align 8, !tbaa !5
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = icmp eq ptr %90, null
  br i1 %91, label %92, label %95

92:                                               ; preds = %88
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %93, i32 0, i32 5
  store i32 0, ptr %94, align 4, !tbaa !18
  br label %107

95:                                               ; preds = %88
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %96, i32 0, i32 0
  %98 = load i32, ptr %97, align 8, !tbaa !19
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %99, i32 0, i32 5
  store i32 %98, ptr %100, align 4, !tbaa !18
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = call i32 @vorbis_encode_ctl(ptr noundef %101, i32 noundef 18, ptr noundef %102)
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = call i32 @vorbis_encode_ctl(ptr noundef %104, i32 noundef 19, ptr noundef %105)
  br label %107

107:                                              ; preds = %95, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

108:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %109, ptr %14, align 8, !tbaa !5
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = icmp eq ptr %110, null
  br i1 %111, label %112, label %115

112:                                              ; preds = %108
  %113 = load ptr, ptr %9, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %113, i32 0, i32 7
  store i64 0, ptr %114, align 8, !tbaa !30
  br label %128

115:                                              ; preds = %108
  %116 = load ptr, ptr %14, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %116, i32 0, i32 4
  %118 = load i64, ptr %117, align 8, !tbaa !31
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %119, i32 0, i32 5
  %121 = load i64, ptr %120, align 8, !tbaa !32
  %122 = add nsw i64 %118, %121
  %123 = sitofp i64 %122 to double
  %124 = fmul double %123, 5.000000e-01
  %125 = fptosi double %124 to i64
  %126 = load ptr, ptr %9, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %126, i32 0, i32 7
  store i64 %125, ptr %127, align 8, !tbaa !30
  br label %128

128:                                              ; preds = %115, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

129:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %130, ptr %15, align 8, !tbaa !5
  %131 = load ptr, ptr %15, align 8, !tbaa !5
  %132 = icmp eq ptr %131, null
  br i1 %132, label %133, label %138

133:                                              ; preds = %129
  %134 = load ptr, ptr %9, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %134, i32 0, i32 6
  store i64 0, ptr %135, align 8, !tbaa !26
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %136, i32 0, i32 9
  store i64 0, ptr %137, align 8, !tbaa !28
  br label %165

138:                                              ; preds = %129
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %139, i32 0, i32 1
  %141 = load i64, ptr %140, align 8, !tbaa !27
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %142, i32 0, i32 6
  store i64 %141, ptr %143, align 8, !tbaa !26
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %144, i32 0, i32 2
  %146 = load i64, ptr %145, align 8, !tbaa !29
  %147 = load ptr, ptr %9, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %147, i32 0, i32 9
  store i64 %146, ptr %148, align 8, !tbaa !28
  %149 = load ptr, ptr %15, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ovectl_ratemanage_arg, ptr %149, i32 0, i32 3
  %151 = load double, ptr %150, align 8, !tbaa !24
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %152, i32 0, i32 9
  %154 = load i64, ptr %153, align 8, !tbaa !28
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %155, i32 0, i32 6
  %157 = load i64, ptr %156, align 8, !tbaa !26
  %158 = add nsw i64 %154, %157
  %159 = sitofp i64 %158 to double
  %160 = fmul double %151, %159
  %161 = fmul double %160, 5.000000e-01
  %162 = fptosi double %161 to i64
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %163, i32 0, i32 10
  store i64 %162, ptr %164, align 8, !tbaa !21
  br label %165

165:                                              ; preds = %138, %133
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %166, i32 0, i32 10
  %168 = load i64, ptr %167, align 8, !tbaa !21
  %169 = sitofp i64 %168 to double
  %170 = fcmp olt double %169, 1.280000e+02
  br i1 %170, label %171, label %174

171:                                              ; preds = %165
  %172 = load ptr, ptr %9, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %172, i32 0, i32 10
  store i64 128, ptr %173, align 8, !tbaa !21
  br label %174

174:                                              ; preds = %171, %165
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

175:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %176, ptr %16, align 8, !tbaa !5
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  %178 = icmp eq ptr %177, null
  br i1 %178, label %179, label %180

179:                                              ; preds = %175
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %219

180:                                              ; preds = %175
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %181, i32 0, i32 5
  %183 = load i32, ptr %182, align 4, !tbaa !18
  %184 = load ptr, ptr %16, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %184, i32 0, i32 0
  store i32 %183, ptr %185, align 8, !tbaa !33
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %186, i32 0, i32 6
  %188 = load i64, ptr %187, align 8, !tbaa !26
  %189 = sdiv i64 %188, 1000
  %190 = load ptr, ptr %16, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %190, i32 0, i32 1
  store i64 %189, ptr %191, align 8, !tbaa !35
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %192, i32 0, i32 9
  %194 = load i64, ptr %193, align 8, !tbaa !28
  %195 = sdiv i64 %194, 1000
  %196 = load ptr, ptr %16, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %196, i32 0, i32 2
  store i64 %195, ptr %197, align 8, !tbaa !36
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %198, i32 0, i32 7
  %200 = load i64, ptr %199, align 8, !tbaa !30
  %201 = sdiv i64 %200, 1000
  %202 = load ptr, ptr %16, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %202, i32 0, i32 5
  store i64 %201, ptr %203, align 8, !tbaa !37
  %204 = load ptr, ptr %9, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %204, i32 0, i32 8
  %206 = load double, ptr %205, align 8, !tbaa !38
  %207 = load ptr, ptr %16, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %207, i32 0, i32 6
  store double %206, ptr %208, align 8, !tbaa !39
  %209 = load ptr, ptr %9, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %209, i32 0, i32 10
  %211 = load i64, ptr %210, align 8, !tbaa !21
  %212 = load ptr, ptr %16, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %212, i32 0, i32 3
  store i64 %211, ptr %213, align 8, !tbaa !40
  %214 = load ptr, ptr %9, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %214, i32 0, i32 11
  %216 = load double, ptr %215, align 8, !tbaa !41
  %217 = load ptr, ptr %16, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %217, i32 0, i32 4
  store double %216, ptr %218, align 8, !tbaa !42
  store i32 0, ptr %11, align 4
  br label %219

219:                                              ; preds = %180, %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  %220 = load i32, ptr %11, align 4
  switch i32 %220, label %472 [
    i32 0, label %221
  ]

221:                                              ; preds = %219
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

222:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #2
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %223, ptr %17, align 8, !tbaa !5
  %224 = load ptr, ptr %17, align 8, !tbaa !5
  %225 = icmp eq ptr %224, null
  br i1 %225, label %226, label %229

226:                                              ; preds = %222
  %227 = load ptr, ptr %9, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %227, i32 0, i32 5
  store i32 0, ptr %228, align 4, !tbaa !18
  br label %349

229:                                              ; preds = %222
  %230 = load ptr, ptr %17, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %230, i32 0, i32 1
  %232 = load i64, ptr %231, align 8, !tbaa !35
  %233 = icmp sgt i64 %232, 0
  br i1 %233, label %234, label %248

234:                                              ; preds = %229
  %235 = load ptr, ptr %17, align 8, !tbaa !5
  %236 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %235, i32 0, i32 5
  %237 = load i64, ptr %236, align 8, !tbaa !37
  %238 = icmp sgt i64 %237, 0
  br i1 %238, label %239, label %248

239:                                              ; preds = %234
  %240 = load ptr, ptr %17, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %240, i32 0, i32 1
  %242 = load i64, ptr %241, align 8, !tbaa !35
  %243 = load ptr, ptr %17, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %243, i32 0, i32 5
  %245 = load i64, ptr %244, align 8, !tbaa !37
  %246 = icmp sgt i64 %242, %245
  br i1 %246, label %247, label %248

247:                                              ; preds = %239
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

248:                                              ; preds = %239, %234, %229
  %249 = load ptr, ptr %17, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %249, i32 0, i32 2
  %251 = load i64, ptr %250, align 8, !tbaa !36
  %252 = icmp sgt i64 %251, 0
  br i1 %252, label %253, label %267

253:                                              ; preds = %248
  %254 = load ptr, ptr %17, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %254, i32 0, i32 5
  %256 = load i64, ptr %255, align 8, !tbaa !37
  %257 = icmp sgt i64 %256, 0
  br i1 %257, label %258, label %267

258:                                              ; preds = %253
  %259 = load ptr, ptr %17, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %259, i32 0, i32 2
  %261 = load i64, ptr %260, align 8, !tbaa !36
  %262 = load ptr, ptr %17, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %262, i32 0, i32 5
  %264 = load i64, ptr %263, align 8, !tbaa !37
  %265 = icmp slt i64 %261, %264
  br i1 %265, label %266, label %267

266:                                              ; preds = %258
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

267:                                              ; preds = %258, %253, %248
  %268 = load ptr, ptr %17, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %268, i32 0, i32 1
  %270 = load i64, ptr %269, align 8, !tbaa !35
  %271 = icmp sgt i64 %270, 0
  br i1 %271, label %272, label %286

272:                                              ; preds = %267
  %273 = load ptr, ptr %17, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %273, i32 0, i32 2
  %275 = load i64, ptr %274, align 8, !tbaa !36
  %276 = icmp sgt i64 %275, 0
  br i1 %276, label %277, label %286

277:                                              ; preds = %272
  %278 = load ptr, ptr %17, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %278, i32 0, i32 1
  %280 = load i64, ptr %279, align 8, !tbaa !35
  %281 = load ptr, ptr %17, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %281, i32 0, i32 2
  %283 = load i64, ptr %282, align 8, !tbaa !36
  %284 = icmp sgt i64 %280, %283
  br i1 %284, label %285, label %286

285:                                              ; preds = %277
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

286:                                              ; preds = %277, %272, %267
  %287 = load ptr, ptr %17, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %287, i32 0, i32 6
  %289 = load double, ptr %288, align 8, !tbaa !39
  %290 = fcmp ole double %289, 0.000000e+00
  br i1 %290, label %291, label %292

291:                                              ; preds = %286
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

292:                                              ; preds = %286
  %293 = load ptr, ptr %17, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %293, i32 0, i32 3
  %295 = load i64, ptr %294, align 8, !tbaa !40
  %296 = icmp slt i64 %295, 0
  br i1 %296, label %297, label %298

297:                                              ; preds = %292
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

298:                                              ; preds = %292
  %299 = load ptr, ptr %17, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %299, i32 0, i32 4
  %301 = load double, ptr %300, align 8, !tbaa !42
  %302 = fcmp olt double %301, 0.000000e+00
  br i1 %302, label %303, label %304

303:                                              ; preds = %298
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

304:                                              ; preds = %298
  %305 = load ptr, ptr %17, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %305, i32 0, i32 4
  %307 = load double, ptr %306, align 8, !tbaa !42
  %308 = fcmp ogt double %307, 1.000000e+00
  br i1 %308, label %309, label %310

309:                                              ; preds = %304
  store i32 -131, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %350

310:                                              ; preds = %304
  %311 = load ptr, ptr %17, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %311, i32 0, i32 0
  %313 = load i32, ptr %312, align 8, !tbaa !33
  %314 = load ptr, ptr %9, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %314, i32 0, i32 5
  store i32 %313, ptr %315, align 4, !tbaa !18
  %316 = load ptr, ptr %17, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %316, i32 0, i32 1
  %318 = load i64, ptr %317, align 8, !tbaa !35
  %319 = mul nsw i64 %318, 1000
  %320 = load ptr, ptr %9, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %320, i32 0, i32 6
  store i64 %319, ptr %321, align 8, !tbaa !26
  %322 = load ptr, ptr %17, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %322, i32 0, i32 2
  %324 = load i64, ptr %323, align 8, !tbaa !36
  %325 = mul nsw i64 %324, 1000
  %326 = load ptr, ptr %9, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %326, i32 0, i32 9
  store i64 %325, ptr %327, align 8, !tbaa !28
  %328 = load ptr, ptr %17, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %328, i32 0, i32 5
  %330 = load i64, ptr %329, align 8, !tbaa !37
  %331 = mul nsw i64 %330, 1000
  %332 = load ptr, ptr %9, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %332, i32 0, i32 7
  store i64 %331, ptr %333, align 8, !tbaa !30
  %334 = load ptr, ptr %17, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %334, i32 0, i32 6
  %336 = load double, ptr %335, align 8, !tbaa !39
  %337 = load ptr, ptr %9, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %337, i32 0, i32 8
  store double %336, ptr %338, align 8, !tbaa !38
  %339 = load ptr, ptr %17, align 8, !tbaa !5
  %340 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %339, i32 0, i32 3
  %341 = load i64, ptr %340, align 8, !tbaa !40
  %342 = load ptr, ptr %9, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %342, i32 0, i32 10
  store i64 %341, ptr %343, align 8, !tbaa !21
  %344 = load ptr, ptr %17, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ovectl_ratemanage2_arg, ptr %344, i32 0, i32 4
  %346 = load double, ptr %345, align 8, !tbaa !42
  %347 = load ptr, ptr %9, align 8, !tbaa !5
  %348 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %347, i32 0, i32 11
  store double %346, ptr %348, align 8, !tbaa !41
  br label %349

349:                                              ; preds = %310, %226
  store i32 0, ptr %11, align 4
  br label %350

350:                                              ; preds = %349, %309, %303, %297, %291, %285, %266, %247
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #2
  %351 = load i32, ptr %11, align 4
  switch i32 %351, label %472 [
    i32 0, label %352
  ]

352:                                              ; preds = %350
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

353:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #2
  %354 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %354, ptr %18, align 8, !tbaa !5
  %355 = load ptr, ptr %9, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %355, i32 0, i32 16
  %357 = load double, ptr %356, align 8, !tbaa !43
  %358 = load ptr, ptr %18, align 8, !tbaa !5
  store double %357, ptr %358, align 8, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

359:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #2
  %360 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %360, ptr %19, align 8, !tbaa !5
  %361 = load ptr, ptr %19, align 8, !tbaa !5
  %362 = load double, ptr %361, align 8, !tbaa !44
  %363 = load ptr, ptr %9, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %363, i32 0, i32 16
  store double %362, ptr %364, align 8, !tbaa !43
  %365 = load ptr, ptr %9, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %365, i32 0, i32 16
  %367 = load double, ptr %366, align 8, !tbaa !43
  %368 = fcmp olt double %367, 2.000000e+00
  br i1 %368, label %369, label %372

369:                                              ; preds = %359
  %370 = load ptr, ptr %9, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %370, i32 0, i32 16
  store double 2.000000e+00, ptr %371, align 8, !tbaa !43
  br label %372

372:                                              ; preds = %369, %359
  %373 = load ptr, ptr %9, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %373, i32 0, i32 16
  %375 = load double, ptr %374, align 8, !tbaa !43
  %376 = fcmp ogt double %375, 9.900000e+01
  br i1 %376, label %377, label %380

377:                                              ; preds = %372
  %378 = load ptr, ptr %9, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %378, i32 0, i32 16
  store double 9.900000e+01, ptr %379, align 8, !tbaa !43
  br label %380

380:                                              ; preds = %377, %372
  %381 = load ptr, ptr %9, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %381, i32 0, i32 17
  store i32 1, ptr %382, align 8, !tbaa !45
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

383:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #2
  %384 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %384, ptr %20, align 8, !tbaa !5
  %385 = load ptr, ptr %9, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %385, i32 0, i32 3
  %387 = load double, ptr %386, align 8, !tbaa !46
  %388 = load ptr, ptr %20, align 8, !tbaa !5
  store double %387, ptr %388, align 8, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

389:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #2
  %390 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %390, ptr %21, align 8, !tbaa !5
  %391 = load ptr, ptr %21, align 8, !tbaa !5
  %392 = load double, ptr %391, align 8, !tbaa !44
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %393, i32 0, i32 3
  store double %392, ptr %394, align 8, !tbaa !46
  %395 = load ptr, ptr %9, align 8, !tbaa !5
  %396 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %395, i32 0, i32 3
  %397 = load double, ptr %396, align 8, !tbaa !46
  %398 = fcmp ogt double %397, 0.000000e+00
  br i1 %398, label %399, label %402

399:                                              ; preds = %389
  %400 = load ptr, ptr %9, align 8, !tbaa !5
  %401 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %400, i32 0, i32 3
  store double 0.000000e+00, ptr %401, align 8, !tbaa !46
  br label %402

402:                                              ; preds = %399, %389
  %403 = load ptr, ptr %9, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %403, i32 0, i32 3
  %405 = load double, ptr %404, align 8, !tbaa !46
  %406 = fcmp olt double %405, -1.500000e+01
  br i1 %406, label %407, label %410

407:                                              ; preds = %402
  %408 = load ptr, ptr %9, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %408, i32 0, i32 3
  store double -1.500000e+01, ptr %409, align 8, !tbaa !46
  br label %410

410:                                              ; preds = %407, %402
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

411:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #2
  %412 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %412, ptr %22, align 8, !tbaa !5
  %413 = load ptr, ptr %9, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %413, i32 0, i32 14
  %415 = load i32, ptr %414, align 8, !tbaa !47
  %416 = load ptr, ptr %22, align 8, !tbaa !5
  store i32 %415, ptr %416, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #2
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

417:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #2
  store double 0.000000e+00, ptr %24, align 8, !tbaa !44
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #2
  %418 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %418, ptr %25, align 8, !tbaa !5
  %419 = load ptr, ptr %25, align 8, !tbaa !5
  %420 = load i32, ptr %419, align 4, !tbaa !9
  %421 = icmp ne i32 %420, 0
  %422 = zext i1 %421 to i32
  %423 = load ptr, ptr %9, align 8, !tbaa !5
  %424 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %423, i32 0, i32 14
  store i32 %422, ptr %424, align 8, !tbaa !47
  %425 = load ptr, ptr %9, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %425, i32 0, i32 14
  %427 = load i32, ptr %426, align 8, !tbaa !47
  %428 = icmp ne i32 %427, 0
  br i1 %428, label %429, label %433

429:                                              ; preds = %417
  %430 = load ptr, ptr %5, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.vorbis_info, ptr %430, i32 0, i32 1
  %432 = load i32, ptr %431, align 4, !tbaa !48
  br label %434

433:                                              ; preds = %417
  br label %434

434:                                              ; preds = %433, %429
  %435 = phi i32 [ %432, %429 ], [ -1, %433 ]
  %436 = sext i32 %435 to i64
  %437 = load ptr, ptr %5, align 8, !tbaa !5
  %438 = getelementptr inbounds %struct.vorbis_info, ptr %437, i32 0, i32 2
  %439 = load i64, ptr %438, align 8, !tbaa !22
  %440 = load ptr, ptr %9, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %440, i32 0, i32 4
  %442 = load float, ptr %441, align 8, !tbaa !49
  %443 = fpext float %442 to double
  %444 = load ptr, ptr %9, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %444, i32 0, i32 5
  %446 = load i32, ptr %445, align 4, !tbaa !18
  %447 = call ptr @get_setup_template(i64 noundef %436, i64 noundef %439, double noundef %443, i32 noundef %446, ptr noundef %24)
  store ptr %447, ptr %23, align 8, !tbaa !5
  %448 = load ptr, ptr %9, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %448, i32 0, i32 1
  %450 = load ptr, ptr %449, align 8, !tbaa !50
  %451 = icmp ne ptr %450, null
  br i1 %451, label %453, label %452

452:                                              ; preds = %434
  store i32 -130, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %468

453:                                              ; preds = %434
  %454 = load ptr, ptr %23, align 8, !tbaa !5
  %455 = load ptr, ptr %9, align 8, !tbaa !5
  %456 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %455, i32 0, i32 1
  store ptr %454, ptr %456, align 8, !tbaa !50
  %457 = load double, ptr %24, align 8, !tbaa !44
  %458 = load ptr, ptr %9, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.highlevel_encode_setup, ptr %458, i32 0, i32 2
  store double %457, ptr %459, align 8, !tbaa !51
  %460 = load ptr, ptr %5, align 8, !tbaa !5
  %461 = load ptr, ptr %5, align 8, !tbaa !5
  %462 = getelementptr inbounds %struct.vorbis_info, ptr %461, i32 0, i32 1
  %463 = load i32, ptr %462, align 4, !tbaa !48
  %464 = sext i32 %463 to i64
  %465 = load ptr, ptr %5, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.vorbis_info, ptr %465, i32 0, i32 2
  %467 = load i64, ptr %466, align 8, !tbaa !22
  call void @vorbis_encode_setup_setting(ptr noundef %460, i64 noundef %464, i64 noundef %467)
  store i32 0, ptr %11, align 4
  br label %468

468:                                              ; preds = %453, %452
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #2
  %469 = load i32, ptr %11, align 4
  switch i32 %469, label %472 [
    i32 0, label %470
  ]

470:                                              ; preds = %468
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

471:                                              ; preds = %44
  store i32 -130, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %472

472:                                              ; preds = %471, %470, %468, %411, %410, %383, %380, %353, %352, %350, %221, %219, %174, %128, %107, %46, %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #2
  br label %474

473:                                              ; preds = %3
  store i32 -131, ptr %4, align 4
  br label %474

474:                                              ; preds = %473, %472
  %475 = load i32, ptr %4, align 4
  ret i32 %475
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !6, i64 48}
!12 = !{!"vorbis_info", !10, i64 0, !10, i64 4, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !6, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !10, i64 0}
!15 = !{!"highlevel_encode_setup", !10, i64 0, !6, i64 8, !16, i64 16, !16, i64 24, !17, i64 32, !10, i64 36, !13, i64 40, !13, i64 48, !16, i64 56, !13, i64 64, !13, i64 72, !16, i64 80, !10, i64 88, !10, i64 92, !10, i64 96, !16, i64 104, !16, i64 112, !10, i64 120, !16, i64 128, !16, i64 136, !16, i64 144, !16, i64 152, !7, i64 160}
!16 = !{!"double", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!15, !10, i64 36}
!19 = !{!20, !10, i64 0}
!20 = !{!"ovectl_ratemanage_arg", !10, i64 0, !13, i64 8, !13, i64 16, !16, i64 24, !13, i64 32, !13, i64 40, !16, i64 48, !16, i64 56}
!21 = !{!15, !13, i64 72}
!22 = !{!12, !13, i64 8}
!23 = !{!20, !16, i64 48}
!24 = !{!20, !16, i64 24}
!25 = !{!20, !16, i64 56}
!26 = !{!15, !13, i64 40}
!27 = !{!20, !13, i64 8}
!28 = !{!15, !13, i64 64}
!29 = !{!20, !13, i64 16}
!30 = !{!15, !13, i64 48}
!31 = !{!20, !13, i64 32}
!32 = !{!20, !13, i64 40}
!33 = !{!34, !10, i64 0}
!34 = !{!"ovectl_ratemanage2_arg", !10, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !16, i64 32, !13, i64 40, !16, i64 48}
!35 = !{!34, !13, i64 8}
!36 = !{!34, !13, i64 16}
!37 = !{!34, !13, i64 40}
!38 = !{!15, !16, i64 56}
!39 = !{!34, !16, i64 48}
!40 = !{!34, !13, i64 24}
!41 = !{!15, !16, i64 80}
!42 = !{!34, !16, i64 32}
!43 = !{!15, !16, i64 112}
!44 = !{!16, !16, i64 0}
!45 = !{!15, !10, i64 120}
!46 = !{!15, !16, i64 24}
!47 = !{!15, !10, i64 96}
!48 = !{!12, !10, i64 4}
!49 = !{!15, !17, i64 32}
!50 = !{!15, !6, i64 8}
!51 = !{!15, !16, i64 16}


; 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"

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

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

; Function Attrs: nounwind uwtable
declare hidden ptr @get_setup_template(i64 noundef, i64 noundef, double noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden void @vorbis_encode_setup_setting(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -131, 1) i32 @vorbis_encode_ctl(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #1 {
  %4 = alloca double, align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %5 = getelementptr inbounds i8, ptr %0, i64 48
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 5488
  %8 = icmp eq ptr %2, null
  %9 = getelementptr inbounds i8, ptr %6, i64 5524
  %10 = getelementptr inbounds i8, ptr %2, i64 32
  %11 = getelementptr inbounds i8, ptr %2, i64 40
  %12 = getelementptr inbounds i8, ptr %6, i64 5536
  %13 = and i32 %1, 15
  %.not158.us = icmp eq i32 %13, 0
  br i1 %8, label %.lr.ph.split.us, label %.lr.ph.split.split.preheader

.lr.ph.split.us:                                  ; preds = %.lr.ph
  br i1 %.not158.us, label %16, label %14

14:                                               ; preds = %.lr.ph.split.us
  %15 = load i32, ptr %7, align 8, !tbaa !12
  %.not159.us = icmp eq i32 %15, 0
  br i1 %.not159.us, label %16, label %.thread

16:                                               ; preds = %14, %.lr.ph.split.us
  switch i32 %1, label %.thread [
    i32 16, label %.split.us
    i32 17, label %.split283.us
    i32 18, label %41
    i32 19, label %.split238.us
    i32 20, label %.split243.us.thread
    i32 21, label %93
    i32 32, label %.split253.us
    i32 33, label %.split258.us
    i32 48, label %.split263.us
    i32 49, label %.split268.us
    i32 64, label %.split273.us
    i32 65, label %.split278.us
  ]

.split243.us.thread:                              ; preds = %16
  br label %.thread

.lr.ph.split.split.preheader:                     ; preds = %.lr.ph
  br i1 %.not158.us, label %19, label %17

17:                                               ; preds = %.lr.ph.split.split.preheader
  %18 = load i32, ptr %7, align 8, !tbaa !12
  %.not159.peel = icmp eq i32 %18, 0
  br i1 %.not159.peel, label %19, label %.thread

19:                                               ; preds = %17, %.lr.ph.split.split.preheader
  switch i32 %1, label %.thread [
    i32 16, label %.split.us
    i32 17, label %20
    i32 18, label %.split233.us
    i32 19, label %54
    i32 20, label %.split243.us
    i32 21, label %.split248.us
    i32 32, label %.split253.us
    i32 33, label %.split258.us
    i32 48, label %.split263.us
    i32 49, label %.split268.us
    i32 64, label %.split273.us
    i32 65, label %.split278.us
  ]

20:                                               ; preds = %19
  %21 = load i32, ptr %2, align 8, !tbaa !16
  store i32 %21, ptr %9, align 4, !tbaa !18
  %22 = load i32, ptr %7, align 8, !tbaa !12
  %.not159.i.peel = icmp eq i32 %22, 0
  br i1 %.not159.i.peel, label %.split238.us.loopexit.loopexit, label %.thread

.split.us:                                        ; preds = %19, %16
  %23 = load i32, ptr %9, align 4, !tbaa !18
  store i32 %23, ptr %2, align 8, !tbaa !16
  %24 = getelementptr inbounds i8, ptr %6, i64 5560
  %25 = load i64, ptr %24, align 8, !tbaa !19
  %26 = sitofp i64 %25 to double
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  %28 = load i64, ptr %27, align 8, !tbaa !20
  %29 = sitofp i64 %28 to double
  %30 = fdiv double %26, %29
  %31 = getelementptr inbounds i8, ptr %2, i64 48
  store double %30, ptr %31, align 8, !tbaa !21
  %32 = getelementptr inbounds i8, ptr %2, i64 24
  store double %30, ptr %32, align 8, !tbaa !22
  %33 = getelementptr inbounds i8, ptr %2, i64 56
  store double 1.000000e+00, ptr %33, align 8, !tbaa !23
  %34 = getelementptr inbounds i8, ptr %6, i64 5528
  %35 = load i64, ptr %34, align 8, !tbaa !24
  %36 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %35, ptr %36, align 8, !tbaa !25
  %37 = getelementptr inbounds i8, ptr %6, i64 5552
  %38 = load i64, ptr %37, align 8, !tbaa !26
  %39 = getelementptr inbounds i8, ptr %2, i64 16
  store i64 %38, ptr %39, align 8, !tbaa !27
  %40 = load i64, ptr %12, align 8, !tbaa !28
  store i64 %40, ptr %10, align 8, !tbaa !29
  store i64 %40, ptr %11, align 8, !tbaa !30
  br label %.thread

.split283.us:                                     ; preds = %16
  store i32 0, ptr %9, align 4, !tbaa !18
  br label %.thread

41:                                               ; preds = %16
  store i64 0, ptr %12, align 8, !tbaa !28
  br label %.thread

.split233.us:                                     ; preds = %19
  %42 = load i64, ptr %10, align 8, !tbaa !29
  %43 = load i64, ptr %11, align 8, !tbaa !30
  %44 = add nsw i64 %43, %42
  %45 = sitofp i64 %44 to double
  %46 = fmul double %45, 5.000000e-01
  %47 = fptosi double %46 to i64
  store i64 %47, ptr %12, align 8, !tbaa !28
  br label %.thread

.split238.us.loopexit.loopexit:                   ; preds = %20
  %48 = load i64, ptr %10, align 8, !tbaa !29
  %49 = load i64, ptr %11, align 8, !tbaa !30
  %50 = add nsw i64 %49, %48
  %51 = sitofp i64 %50 to double
  %52 = fmul double %51, 5.000000e-01
  %53 = fptosi double %52 to i64
  store i64 %53, ptr %12, align 8, !tbaa !28
  br label %54

.split238.us:                                     ; preds = %16
  %.phi.trans.insert = getelementptr inbounds i8, ptr %6, i64 5560
  %.pre = load i64, ptr %.phi.trans.insert, align 8, !tbaa !19
  br label %67

54:                                               ; preds = %19, %.split238.us.loopexit.loopexit
  %55 = getelementptr inbounds i8, ptr %2, i64 8
  %56 = load i64, ptr %55, align 8, !tbaa !25
  %57 = getelementptr inbounds i8, ptr %2, i64 16
  %58 = load i64, ptr %57, align 8, !tbaa !27
  %59 = getelementptr inbounds i8, ptr %2, i64 24
  %60 = load double, ptr %59, align 8, !tbaa !22
  %61 = add nsw i64 %58, %56
  %62 = sitofp i64 %61 to double
  %63 = fmul double %60, %62
  %64 = fmul double %63, 5.000000e-01
  %65 = fptosi double %64 to i64
  %66 = getelementptr inbounds i8, ptr %6, i64 5560
  store i64 %65, ptr %66, align 8, !tbaa !19
  br label %67

67:                                               ; preds = %54, %.split238.us
  %68 = phi i64 [ %.pre, %.split238.us ], [ %65, %54 ]
  %.sink396 = phi i64 [ 0, %.split238.us ], [ %56, %54 ]
  %.sink = phi i64 [ 0, %.split238.us ], [ %58, %54 ]
  %69 = getelementptr inbounds i8, ptr %6, i64 5528
  store i64 %.sink396, ptr %69, align 8
  %70 = getelementptr inbounds i8, ptr %6, i64 5552
  store i64 %.sink, ptr %70, align 8
  %71 = icmp slt i64 %68, 128
  br i1 %71, label %72, label %.thread

72:                                               ; preds = %67
  %73 = getelementptr inbounds i8, ptr %6, i64 5560
  store i64 128, ptr %73, align 8, !tbaa !19
  br label %.thread

.split243.us:                                     ; preds = %19
  %74 = load i32, ptr %9, align 4, !tbaa !18
  store i32 %74, ptr %2, align 8, !tbaa !31
  %75 = getelementptr inbounds i8, ptr %6, i64 5528
  %76 = load i64, ptr %75, align 8, !tbaa !24
  %77 = sdiv i64 %76, 1000
  %78 = getelementptr inbounds i8, ptr %2, i64 8
  store i64 %77, ptr %78, align 8, !tbaa !33
  %79 = getelementptr inbounds i8, ptr %6, i64 5552
  %80 = load i64, ptr %79, align 8, !tbaa !26
  %81 = sdiv i64 %80, 1000
  %82 = getelementptr inbounds i8, ptr %2, i64 16
  store i64 %81, ptr %82, align 8, !tbaa !34
  %83 = load i64, ptr %12, align 8, !tbaa !28
  %84 = sdiv i64 %83, 1000
  store i64 %84, ptr %11, align 8, !tbaa !35
  %85 = getelementptr inbounds i8, ptr %6, i64 5544
  %86 = load double, ptr %85, align 8, !tbaa !36
  %87 = getelementptr inbounds i8, ptr %2, i64 48
  store double %86, ptr %87, align 8, !tbaa !37
  %88 = getelementptr inbounds i8, ptr %6, i64 5560
  %89 = load i64, ptr %88, align 8, !tbaa !19
  %90 = getelementptr inbounds i8, ptr %2, i64 24
  store i64 %89, ptr %90, align 8, !tbaa !38
  %91 = getelementptr inbounds i8, ptr %6, i64 5568
  %92 = load double, ptr %91, align 8, !tbaa !39
  store double %92, ptr %10, align 8, !tbaa !40
  br label %.thread

93:                                               ; preds = %16
  store i32 0, ptr %9, align 4, !tbaa !18
  br label %.thread

.split248.us:                                     ; preds = %19
  %94 = getelementptr inbounds i8, ptr %2, i64 8
  %95 = load i64, ptr %94, align 8, !tbaa !33
  %96 = icmp sgt i64 %95, 0
  br i1 %96, label %97, label %101

97:                                               ; preds = %.split248.us
  %98 = load i64, ptr %11, align 8, !tbaa !35
  %99 = icmp sgt i64 %98, 0
  %100 = icmp sgt i64 %95, %98
  %or.cond = and i1 %99, %100
  br i1 %or.cond, label %.thread, label %101

101:                                              ; preds = %97, %.split248.us
  %102 = getelementptr inbounds i8, ptr %2, i64 16
  %103 = load i64, ptr %102, align 8, !tbaa !34
  %104 = icmp sgt i64 %103, 0
  br i1 %104, label %105, label %.thread398

105:                                              ; preds = %101
  %106 = load i64, ptr %11, align 8, !tbaa !35
  %107 = icmp slt i64 %103, %106
  br i1 %107, label %.thread, label %108

108:                                              ; preds = %105
  %109 = icmp sgt i64 %95, %103
  %or.cond166 = and i1 %104, %109
  %or.cond171 = and i1 %96, %or.cond166
  br i1 %or.cond171, label %.thread, label %.thread398

.thread398:                                       ; preds = %101, %108
  %110 = getelementptr inbounds i8, ptr %2, i64 48
  %111 = load double, ptr %110, align 8, !tbaa !37
  %112 = fcmp ugt double %111, 0.000000e+00
  br i1 %112, label %113, label %.thread

113:                                              ; preds = %.thread398
  %114 = getelementptr inbounds i8, ptr %2, i64 24
  %115 = load i64, ptr %114, align 8, !tbaa !38
  %116 = icmp slt i64 %115, 0
  br i1 %116, label %.thread, label %117

117:                                              ; preds = %113
  %118 = load double, ptr %10, align 8, !tbaa !40
  %119 = fcmp olt double %118, 0.000000e+00
  %120 = fcmp ogt double %118, 1.000000e+00
  %or.cond169 = or i1 %119, %120
  br i1 %or.cond169, label %.thread, label %121

121:                                              ; preds = %117
  %122 = load i32, ptr %2, align 8, !tbaa !31
  store i32 %122, ptr %9, align 4, !tbaa !18
  %123 = mul nsw i64 %95, 1000
  %124 = getelementptr inbounds i8, ptr %6, i64 5528
  store i64 %123, ptr %124, align 8, !tbaa !24
  %125 = mul nsw i64 %103, 1000
  %126 = getelementptr inbounds i8, ptr %6, i64 5552
  store i64 %125, ptr %126, align 8, !tbaa !26
  %127 = load i64, ptr %11, align 8, !tbaa !35
  %128 = mul nsw i64 %127, 1000
  store i64 %128, ptr %12, align 8, !tbaa !28
  %129 = getelementptr inbounds i8, ptr %6, i64 5544
  store double %111, ptr %129, align 8, !tbaa !36
  %130 = getelementptr inbounds i8, ptr %6, i64 5560
  store i64 %115, ptr %130, align 8, !tbaa !19
  %131 = getelementptr inbounds i8, ptr %6, i64 5568
  store double %118, ptr %131, align 8, !tbaa !39
  br label %.thread

.split253.us:                                     ; preds = %19, %16
  %132 = getelementptr inbounds i8, ptr %6, i64 5600
  %133 = load double, ptr %132, align 8, !tbaa !41
  store double %133, ptr %2, align 8, !tbaa !42
  br label %.thread

.split258.us:                                     ; preds = %19, %16
  %134 = load double, ptr %2, align 8, !tbaa !42
  %135 = getelementptr inbounds i8, ptr %6, i64 5600
  %136 = fcmp olt double %134, 2.000000e+00
  %storemerge162 = select i1 %136, double 2.000000e+00, double %134
  %137 = fcmp ogt double %storemerge162, 9.900000e+01
  %storemerge163 = select i1 %137, double 9.900000e+01, double %storemerge162
  store double %storemerge163, ptr %135, align 8, !tbaa !41
  %138 = getelementptr inbounds i8, ptr %6, i64 5608
  store i32 1, ptr %138, align 8, !tbaa !43
  br label %.thread

.split263.us:                                     ; preds = %19, %16
  %139 = getelementptr inbounds i8, ptr %6, i64 5512
  %140 = load double, ptr %139, align 8, !tbaa !44
  store double %140, ptr %2, align 8, !tbaa !42
  br label %.thread

.split268.us:                                     ; preds = %19, %16
  %141 = load double, ptr %2, align 8, !tbaa !42
  %142 = getelementptr inbounds i8, ptr %6, i64 5512
  %143 = fcmp ogt double %141, 0.000000e+00
  %storemerge = select i1 %143, double 0.000000e+00, double %141
  %144 = fcmp olt double %storemerge, -1.500000e+01
  %storemerge161 = select i1 %144, double -1.500000e+01, double %storemerge
  store double %storemerge161, ptr %142, align 8, !tbaa !44
  br label %.thread

.split273.us:                                     ; preds = %19, %16
  %145 = getelementptr inbounds i8, ptr %6, i64 5584
  %146 = load i32, ptr %145, align 8, !tbaa !45
  store i32 %146, ptr %2, align 4, !tbaa !46
  br label %.thread

.split278.us:                                     ; preds = %19, %16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #2
  store double 0.000000e+00, ptr %4, align 8, !tbaa !42
  %147 = load i32, ptr %2, align 4, !tbaa !46
  %148 = icmp ne i32 %147, 0
  %149 = zext i1 %148 to i32
  %150 = getelementptr inbounds i8, ptr %6, i64 5584
  store i32 %149, ptr %150, align 8, !tbaa !45
  br i1 %148, label %151, label %155

151:                                              ; preds = %.split278.us
  %152 = getelementptr inbounds i8, ptr %0, i64 4
  %153 = load i32, ptr %152, align 4, !tbaa !47
  %154 = sext i32 %153 to i64
  br label %155

155:                                              ; preds = %.split278.us, %151
  %156 = phi i64 [ %154, %151 ], [ -1, %.split278.us ]
  %157 = getelementptr inbounds i8, ptr %0, i64 8
  %158 = load i64, ptr %157, align 8, !tbaa !20
  %159 = getelementptr inbounds i8, ptr %6, i64 5520
  %160 = load float, ptr %159, align 8, !tbaa !48
  %161 = fpext float %160 to double
  %162 = load i32, ptr %9, align 4, !tbaa !18
  %163 = call ptr @get_setup_template(i64 noundef %156, i64 noundef %158, double noundef %161, i32 noundef %162, ptr noundef nonnull %4)
  %164 = getelementptr inbounds i8, ptr %6, i64 5496
  %165 = load ptr, ptr %164, align 8, !tbaa !49
  %.not160.not = icmp eq ptr %165, null
  br i1 %.not160.not, label %173, label %166

166:                                              ; preds = %155
  store ptr %163, ptr %164, align 8, !tbaa !49
  %167 = load double, ptr %4, align 8, !tbaa !42
  %168 = getelementptr inbounds i8, ptr %6, i64 5504
  store double %167, ptr %168, align 8, !tbaa !50
  %169 = getelementptr inbounds i8, ptr %0, i64 4
  %170 = load i32, ptr %169, align 4, !tbaa !47
  %171 = sext i32 %170 to i64
  %172 = load i64, ptr %157, align 8, !tbaa !20
  call void @vorbis_encode_setup_setting(ptr noundef nonnull %0, i64 noundef %171, i64 noundef %172)
  br label %173

173:                                              ; preds = %155, %166
  %spec.select168 = phi i32 [ -130, %155 ], [ 0, %166 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #2
  br label %.thread

.thread:                                          ; preds = %17, %19, %20, %.split243.us.thread, %3, %16, %14, %.split243.us, %108, %117, %113, %.thread398, %105, %97, %121, %93, %173, %.split.us, %.split253.us, %.split258.us, %.split263.us, %.split268.us, %.split273.us, %.split283.us, %.split233.us, %41, %72, %67
  %ret.known.tr187 = phi i32 [ 0, %.split273.us ], [ 0, %.split268.us ], [ 0, %.split263.us ], [ 0, %.split258.us ], [ 0, %.split253.us ], [ 0, %.split.us ], [ 0, %.split283.us ], [ 0, %.split233.us ], [ 0, %41 ], [ 0, %72 ], [ 0, %67 ], [ %spec.select168, %173 ], [ 0, %121 ], [ 0, %93 ], [ -131, %97 ], [ -131, %105 ], [ -131, %.thread398 ], [ -131, %113 ], [ -131, %117 ], [ -131, %108 ], [ 0, %.split243.us ], [ -131, %3 ], [ -130, %16 ], [ -131, %14 ], [ -131, %.split243.us.thread ], [ -131, %17 ], [ -130, %19 ], [ 0, %20 ]
  ret i32 %ret.known.tr187
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !11, i64 48}
!6 = !{!"vorbis_info", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !11, i64 48}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !7, i64 0}
!13 = !{!"highlevel_encode_setup", !7, i64 0, !11, i64 8, !14, i64 16, !14, i64 24, !15, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !14, i64 56, !10, i64 64, !10, i64 72, !14, i64 80, !7, i64 88, !7, i64 92, !7, i64 96, !14, i64 104, !14, i64 112, !7, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !8, i64 160}
!14 = !{!"double", !8, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = !{!17, !7, i64 0}
!17 = !{!"ovectl_ratemanage_arg", !7, i64 0, !10, i64 8, !10, i64 16, !14, i64 24, !10, i64 32, !10, i64 40, !14, i64 48, !14, i64 56}
!18 = !{!13, !7, i64 36}
!19 = !{!13, !10, i64 72}
!20 = !{!6, !10, i64 8}
!21 = !{!17, !14, i64 48}
!22 = !{!17, !14, i64 24}
!23 = !{!17, !14, i64 56}
!24 = !{!13, !10, i64 40}
!25 = !{!17, !10, i64 8}
!26 = !{!13, !10, i64 64}
!27 = !{!17, !10, i64 16}
!28 = !{!13, !10, i64 48}
!29 = !{!17, !10, i64 32}
!30 = !{!17, !10, i64 40}
!31 = !{!32, !7, i64 0}
!32 = !{!"ovectl_ratemanage2_arg", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !10, i64 40, !14, i64 48}
!33 = !{!32, !10, i64 8}
!34 = !{!32, !10, i64 16}
!35 = !{!32, !10, i64 40}
!36 = !{!13, !14, i64 56}
!37 = !{!32, !14, i64 48}
!38 = !{!32, !10, i64 24}
!39 = !{!13, !14, i64 80}
!40 = !{!32, !14, i64 32}
!41 = !{!13, !14, i64 112}
!42 = !{!14, !14, i64 0}
!43 = !{!13, !7, i64 120}
!44 = !{!13, !14, i64 24}
!45 = !{!13, !7, i64 96}
!46 = !{!7, !7, i64 0}
!47 = !{!6, !7, i64 4}
!48 = !{!13, !15, i64 32}
!49 = !{!13, !11, i64 8}
!50 = !{!13, !14, i64 16}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InlinerPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,MergedLoadStoreMotionPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass