; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/flac-src/oss-fuzz (encoder)

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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.fuzzing::datasource::Datasource" = type { %"class.fuzzing::datasource::Base", ptr, i64, i64, i64 }
%"class.fuzzing::datasource::Base" = type { ptr }
%"class.FLAC::Encoder::FuzzerStream" = type { %"class.FLAC::Encoder::Stream" }
%"class.FLAC::Encoder::Stream" = type { ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fuzzing10datasource4Base3GetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_m(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.fuzzing::datasource::Datasource", align 8
  %7 = alloca %"class.FLAC::Encoder::FuzzerStream", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  %31 = alloca i8, align 1
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i8, align 1
  %35 = alloca i8, align 1
  %36 = alloca %"class.std::vector.9", align 8
  %37 = alloca i64, align 8
  %38 = alloca i32, align 4
  %39 = alloca ptr, align 8
  %40 = alloca i8, align 1
  %41 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #6
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load i64, ptr %5, align 8, !tbaa !9
  call void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %42, i64 noundef %43)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  invoke void @_ZN4FLAC7Encoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %44 unwind label %181

44:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %45 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %46 unwind label %185

46:                                               ; preds = %44
  %47 = zext i8 %45 to i32
  store i32 %47, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %48 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %49 unwind label %189

49:                                               ; preds = %46
  %50 = zext i8 %48 to i32
  store i32 %50, ptr %11, align 4, !tbaa !11
  %51 = load i32, ptr %10, align 4, !tbaa !11
  %52 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %51)
          to label %53 unwind label %189

53:                                               ; preds = %49
  %54 = load i32, ptr %11, align 4, !tbaa !11
  %55 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %54)
          to label %56 unwind label %189

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  %57 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %58 unwind label %193

58:                                               ; preds = %56
  %59 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %57)
          to label %60 unwind label %193

60:                                               ; preds = %58
  %61 = zext i1 %59 to i8
  store i8 %61, ptr %12, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %62 unwind label %193

62:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %63 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %64 unwind label %197

64:                                               ; preds = %62
  %65 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %63)
          to label %66 unwind label %197

66:                                               ; preds = %64
  %67 = zext i1 %65 to i8
  store i8 %67, ptr %13, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %68 unwind label %197

68:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  %69 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %70 unwind label %201

70:                                               ; preds = %68
  %71 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %69)
          to label %72 unwind label %201

72:                                               ; preds = %70
  %73 = zext i1 %71 to i8
  store i8 %73, ptr %14, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %74 unwind label %201

74:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  %75 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %76 unwind label %205

76:                                               ; preds = %74
  %77 = zext i8 %75 to i32
  %78 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %77)
          to label %79 unwind label %205

79:                                               ; preds = %76
  %80 = zext i1 %78 to i8
  store i8 %80, ptr %15, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %81 unwind label %205

81:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  %82 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %83 unwind label %209

83:                                               ; preds = %81
  %84 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %82)
          to label %85 unwind label %209

85:                                               ; preds = %83
  %86 = zext i1 %84 to i8
  store i8 %86, ptr %16, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %87 unwind label %209

87:                                               ; preds = %85
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  %88 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %89 unwind label %213

89:                                               ; preds = %87
  %90 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %88)
          to label %91 unwind label %213

91:                                               ; preds = %89
  %92 = zext i1 %90 to i8
  store i8 %92, ptr %17, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %93 unwind label %213

93:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %94 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %95 unwind label %217

95:                                               ; preds = %93
  %96 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %94)
          to label %97 unwind label %217

97:                                               ; preds = %95
  %98 = zext i1 %96 to i8
  store i8 %98, ptr %18, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %99 unwind label %217

99:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  invoke void @_ZN7fuzzing10datasource4Base3GetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_m(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %100 unwind label %221

100:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %101 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  %102 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %101)
          to label %103 unwind label %225

103:                                              ; preds = %100
  %104 = zext i1 %102 to i8
  store i8 %104, ptr %20, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %105 unwind label %225

105:                                              ; preds = %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  %106 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %107 unwind label %230

107:                                              ; preds = %105
  %108 = zext i8 %106 to i32
  %109 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %108)
          to label %110 unwind label %230

110:                                              ; preds = %107
  %111 = zext i1 %109 to i8
  store i8 %111, ptr %21, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %112 unwind label %230

112:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %113 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %114 unwind label %234

114:                                              ; preds = %112
  %115 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %113)
          to label %116 unwind label %234

116:                                              ; preds = %114
  %117 = zext i1 %115 to i8
  store i8 %117, ptr %22, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %118 unwind label %234

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %119 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %120 unwind label %238

120:                                              ; preds = %118
  %121 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %119)
          to label %122 unwind label %238

122:                                              ; preds = %120
  %123 = zext i1 %121 to i8
  store i8 %123, ptr %23, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %124 unwind label %238

124:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %125 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %126 unwind label %242

126:                                              ; preds = %124
  %127 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %125)
          to label %128 unwind label %242

128:                                              ; preds = %126
  %129 = zext i1 %127 to i8
  store i8 %129, ptr %24, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %130 unwind label %242

130:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %131 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %132 unwind label %246

132:                                              ; preds = %130
  %133 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %131)
          to label %134 unwind label %246

134:                                              ; preds = %132
  %135 = zext i1 %133 to i8
  store i8 %135, ptr %25, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %136 unwind label %246

136:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  %137 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %138 unwind label %250

138:                                              ; preds = %136
  %139 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %137)
          to label %140 unwind label %250

140:                                              ; preds = %138
  %141 = zext i1 %139 to i8
  store i8 %141, ptr %26, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %142 unwind label %250

142:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  %143 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %144 unwind label %254

144:                                              ; preds = %142
  %145 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %143)
          to label %146 unwind label %254

146:                                              ; preds = %144
  %147 = zext i1 %145 to i8
  store i8 %147, ptr %27, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %148 unwind label %254

148:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  %149 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %150 unwind label %258

150:                                              ; preds = %148
  %151 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %149)
          to label %152 unwind label %258

152:                                              ; preds = %150
  %153 = zext i1 %151 to i8
  store i8 %153, ptr %28, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %154 unwind label %258

154:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  %155 = invoke noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %156 unwind label %262

156:                                              ; preds = %154
  %157 = zext i16 %155 to i32
  %158 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %157)
          to label %159 unwind label %262

159:                                              ; preds = %156
  %160 = zext i1 %158 to i8
  store i8 %160, ptr %29, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %161 unwind label %262

161:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  %162 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %163 unwind label %266

163:                                              ; preds = %161
  %164 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %162)
          to label %165 unwind label %266

165:                                              ; preds = %163
  %166 = zext i1 %164 to i8
  store i8 %166, ptr %30, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %167 unwind label %266

167:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  %168 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %169 unwind label %270

169:                                              ; preds = %167
  %170 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %168)
          to label %171 unwind label %270

171:                                              ; preds = %169
  %172 = zext i1 %170 to i8
  store i8 %172, ptr %31, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %173 unwind label %270

173:                                              ; preds = %171
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  %174 = load i64, ptr %5, align 8, !tbaa !9
  %175 = icmp ugt i64 %174, 524280
  br i1 %175, label %176, label %274

176:                                              ; preds = %173
  %177 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext false)
          to label %178 unwind label %189

178:                                              ; preds = %176
  %179 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext false)
          to label %180 unwind label %189

180:                                              ; preds = %178
  br label %274

181:                                              ; preds = %2
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %8, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %9, align 4
  br label %705

185:                                              ; preds = %44
  %186 = landingpad { ptr, i32 }
          catch ptr null
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %8, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %9, align 4
  br label %683

189:                                              ; preds = %614, %277, %178, %176, %53, %49, %46
  %190 = landingpad { ptr, i32 }
          catch ptr null
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %8, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %9, align 4
  br label %682

193:                                              ; preds = %60, %58, %56
  %194 = landingpad { ptr, i32 }
          catch ptr null
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %8, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  br label %682

197:                                              ; preds = %66, %64, %62
  %198 = landingpad { ptr, i32 }
          catch ptr null
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %8, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %682

201:                                              ; preds = %72, %70, %68
  %202 = landingpad { ptr, i32 }
          catch ptr null
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %8, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %682

205:                                              ; preds = %79, %76, %74
  %206 = landingpad { ptr, i32 }
          catch ptr null
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %8, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %682

209:                                              ; preds = %85, %83, %81
  %210 = landingpad { ptr, i32 }
          catch ptr null
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %8, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %682

213:                                              ; preds = %91, %89, %87
  %214 = landingpad { ptr, i32 }
          catch ptr null
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %8, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %682

217:                                              ; preds = %97, %95, %93
  %218 = landingpad { ptr, i32 }
          catch ptr null
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %8, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %682

221:                                              ; preds = %99
  %222 = landingpad { ptr, i32 }
          catch ptr null
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %8, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %9, align 4
  br label %229

225:                                              ; preds = %103, %100
  %226 = landingpad { ptr, i32 }
          catch ptr null
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %8, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %229

229:                                              ; preds = %225, %221
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  br label %682

230:                                              ; preds = %110, %107, %105
  %231 = landingpad { ptr, i32 }
          catch ptr null
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %8, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %682

234:                                              ; preds = %116, %114, %112
  %235 = landingpad { ptr, i32 }
          catch ptr null
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %8, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %682

238:                                              ; preds = %122, %120, %118
  %239 = landingpad { ptr, i32 }
          catch ptr null
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %8, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %682

242:                                              ; preds = %128, %126, %124
  %243 = landingpad { ptr, i32 }
          catch ptr null
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %8, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %682

246:                                              ; preds = %134, %132, %130
  %247 = landingpad { ptr, i32 }
          catch ptr null
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %8, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %682

250:                                              ; preds = %140, %138, %136
  %251 = landingpad { ptr, i32 }
          catch ptr null
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %8, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %682

254:                                              ; preds = %146, %144, %142
  %255 = landingpad { ptr, i32 }
          catch ptr null
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %8, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %682

258:                                              ; preds = %152, %150, %148
  %259 = landingpad { ptr, i32 }
          catch ptr null
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %8, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %682

262:                                              ; preds = %159, %156, %154
  %263 = landingpad { ptr, i32 }
          catch ptr null
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %8, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  br label %682

266:                                              ; preds = %165, %163, %161
  %267 = landingpad { ptr, i32 }
          catch ptr null
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %8, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  br label %682

270:                                              ; preds = %171, %169, %167
  %271 = landingpad { ptr, i32 }
          catch ptr null
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %8, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  br label %682

274:                                              ; preds = %180, %173
  %275 = load i64, ptr %5, align 8, !tbaa !9
  %276 = icmp ugt i64 %275, 33018
  br i1 %276, label %277, label %280

277:                                              ; preds = %274
  %278 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str)
          to label %279 unwind label %189

279:                                              ; preds = %277
  br label %280

280:                                              ; preds = %279, %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %281 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %282 unwind label %286

282:                                              ; preds = %280
  br i1 %281, label %283, label %290

283:                                              ; preds = %282
  %284 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %285 unwind label %286

285:                                              ; preds = %283
  store i32 %284, ptr %32, align 4, !tbaa !15
  br label %293

286:                                              ; preds = %290, %283, %280
  %287 = landingpad { ptr, i32 }
          catch ptr null
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %8, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %682

290:                                              ; preds = %282
  %291 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %292 unwind label %286

292:                                              ; preds = %290
  store i32 %291, ptr %32, align 4, !tbaa !15
  br label %293

293:                                              ; preds = %292, %285
  %294 = load i32, ptr %32, align 4, !tbaa !15
  %295 = icmp ne i32 %294, 0
  br i1 %295, label %296, label %297

296:                                              ; preds = %293
  store i32 2, ptr %33, align 4
  br label %298

297:                                              ; preds = %293
  store i32 0, ptr %33, align 4
  br label %298

298:                                              ; preds = %297, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  %299 = load i32, ptr %33, align 4
  switch i32 %299, label %679 [
    i32 0, label %300
  ]

300:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  store i8 0, ptr %34, align 1, !tbaa !13
  %301 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %302 = trunc i8 %301 to i1
  br i1 %302, label %306, label %303

303:                                              ; preds = %300
  %304 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %305 unwind label %474

305:                                              ; preds = %303
  br label %306

306:                                              ; preds = %305, %300
  %307 = phi i1 [ true, %300 ], [ %304, %305 ]
  %308 = zext i1 %307 to i8
  store i8 %308, ptr %34, align 1, !tbaa !13
  %309 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %310 = trunc i8 %309 to i1
  br i1 %310, label %314, label %311

311:                                              ; preds = %306
  %312 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef 0)
          to label %313 unwind label %474

313:                                              ; preds = %311
  br label %314

314:                                              ; preds = %313, %306
  %315 = phi i1 [ true, %306 ], [ %312, %313 ]
  %316 = zext i1 %315 to i8
  store i8 %316, ptr %34, align 1, !tbaa !13
  %317 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %318 = trunc i8 %317 to i1
  br i1 %318, label %322, label %319

319:                                              ; preds = %314
  %320 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %321 unwind label %474

321:                                              ; preds = %319
  br label %322

322:                                              ; preds = %321, %314
  %323 = phi i1 [ true, %314 ], [ %320, %321 ]
  %324 = zext i1 %323 to i8
  store i8 %324, ptr %34, align 1, !tbaa !13
  %325 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %326 = trunc i8 %325 to i1
  br i1 %326, label %330, label %327

327:                                              ; preds = %322
  %328 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %329 unwind label %474

329:                                              ; preds = %327
  br label %330

330:                                              ; preds = %329, %322
  %331 = phi i1 [ true, %322 ], [ %328, %329 ]
  %332 = zext i1 %331 to i8
  store i8 %332, ptr %34, align 1, !tbaa !13
  %333 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %334 = trunc i8 %333 to i1
  br i1 %334, label %338, label %335

335:                                              ; preds = %330
  %336 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %337 unwind label %474

337:                                              ; preds = %335
  br label %338

338:                                              ; preds = %337, %330
  %339 = phi i1 [ true, %330 ], [ %336, %337 ]
  %340 = zext i1 %339 to i8
  store i8 %340, ptr %34, align 1, !tbaa !13
  %341 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %342 = trunc i8 %341 to i1
  br i1 %342, label %346, label %343

343:                                              ; preds = %338
  %344 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %345 unwind label %474

345:                                              ; preds = %343
  br label %346

346:                                              ; preds = %345, %338
  %347 = phi i1 [ true, %338 ], [ %344, %345 ]
  %348 = zext i1 %347 to i8
  store i8 %348, ptr %34, align 1, !tbaa !13
  %349 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %350 = trunc i8 %349 to i1
  br i1 %350, label %354, label %351

351:                                              ; preds = %346
  %352 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %353 unwind label %474

353:                                              ; preds = %351
  br label %354

354:                                              ; preds = %353, %346
  %355 = phi i1 [ true, %346 ], [ %352, %353 ]
  %356 = zext i1 %355 to i8
  store i8 %356, ptr %34, align 1, !tbaa !13
  %357 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %358 = trunc i8 %357 to i1
  br i1 %358, label %362, label %359

359:                                              ; preds = %354
  %360 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str.1)
          to label %361 unwind label %474

361:                                              ; preds = %359
  br label %362

362:                                              ; preds = %361, %354
  %363 = phi i1 [ true, %354 ], [ %360, %361 ]
  %364 = zext i1 %363 to i8
  store i8 %364, ptr %34, align 1, !tbaa !13
  %365 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %366 = trunc i8 %365 to i1
  br i1 %366, label %370, label %367

367:                                              ; preds = %362
  %368 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %369 unwind label %474

369:                                              ; preds = %367
  br label %370

370:                                              ; preds = %369, %362
  %371 = phi i1 [ true, %362 ], [ %368, %369 ]
  %372 = zext i1 %371 to i8
  store i8 %372, ptr %34, align 1, !tbaa !13
  %373 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %374 = trunc i8 %373 to i1
  br i1 %374, label %378, label %375

375:                                              ; preds = %370
  %376 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %377 unwind label %474

377:                                              ; preds = %375
  br label %378

378:                                              ; preds = %377, %370
  %379 = phi i1 [ true, %370 ], [ %376, %377 ]
  %380 = zext i1 %379 to i8
  store i8 %380, ptr %34, align 1, !tbaa !13
  %381 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %382 = trunc i8 %381 to i1
  br i1 %382, label %386, label %383

383:                                              ; preds = %378
  %384 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %385 unwind label %474

385:                                              ; preds = %383
  br label %386

386:                                              ; preds = %385, %378
  %387 = phi i1 [ true, %378 ], [ %384, %385 ]
  %388 = zext i1 %387 to i8
  store i8 %388, ptr %34, align 1, !tbaa !13
  %389 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %390 = trunc i8 %389 to i1
  br i1 %390, label %394, label %391

391:                                              ; preds = %386
  %392 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %393 unwind label %474

393:                                              ; preds = %391
  br label %394

394:                                              ; preds = %393, %386
  %395 = phi i1 [ true, %386 ], [ %392, %393 ]
  %396 = zext i1 %395 to i8
  store i8 %396, ptr %34, align 1, !tbaa !13
  %397 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %398 = trunc i8 %397 to i1
  br i1 %398, label %402, label %399

399:                                              ; preds = %394
  %400 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %401 unwind label %474

401:                                              ; preds = %399
  br label %402

402:                                              ; preds = %401, %394
  %403 = phi i1 [ true, %394 ], [ %400, %401 ]
  %404 = zext i1 %403 to i8
  store i8 %404, ptr %34, align 1, !tbaa !13
  %405 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %406 = trunc i8 %405 to i1
  br i1 %406, label %410, label %407

407:                                              ; preds = %402
  %408 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %409 unwind label %474

409:                                              ; preds = %407
  br label %410

410:                                              ; preds = %409, %402
  %411 = phi i1 [ true, %402 ], [ %408, %409 ]
  %412 = zext i1 %411 to i8
  store i8 %412, ptr %34, align 1, !tbaa !13
  %413 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %414 = trunc i8 %413 to i1
  br i1 %414, label %418, label %415

415:                                              ; preds = %410
  %416 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %417 unwind label %474

417:                                              ; preds = %415
  br label %418

418:                                              ; preds = %417, %410
  %419 = phi i1 [ true, %410 ], [ %416, %417 ]
  %420 = zext i1 %419 to i8
  store i8 %420, ptr %34, align 1, !tbaa !13
  %421 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %422 = trunc i8 %421 to i1
  br i1 %422, label %426, label %423

423:                                              ; preds = %418
  %424 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef 0)
          to label %425 unwind label %474

425:                                              ; preds = %423
  br label %426

426:                                              ; preds = %425, %418
  %427 = phi i1 [ true, %418 ], [ %424, %425 ]
  %428 = zext i1 %427 to i8
  store i8 %428, ptr %34, align 1, !tbaa !13
  %429 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %430 = trunc i8 %429 to i1
  br i1 %430, label %435, label %431

431:                                              ; preds = %426
  %432 = load i32, ptr %10, align 4, !tbaa !11
  %433 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %432)
          to label %434 unwind label %474

434:                                              ; preds = %431
  br label %435

435:                                              ; preds = %434, %426
  %436 = phi i1 [ true, %426 ], [ %433, %434 ]
  %437 = zext i1 %436 to i8
  store i8 %437, ptr %34, align 1, !tbaa !13
  %438 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %439 = trunc i8 %438 to i1
  br i1 %439, label %443, label %440

440:                                              ; preds = %435
  %441 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 16)
          to label %442 unwind label %474

442:                                              ; preds = %440
  br label %443

443:                                              ; preds = %442, %435
  %444 = phi i1 [ true, %435 ], [ %441, %442 ]
  %445 = zext i1 %444 to i8
  store i8 %445, ptr %34, align 1, !tbaa !13
  %446 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %447 = trunc i8 %446 to i1
  br i1 %447, label %451, label %448

448:                                              ; preds = %443
  %449 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %450 unwind label %474

450:                                              ; preds = %448
  br label %451

451:                                              ; preds = %450, %443
  %452 = phi i1 [ true, %443 ], [ %449, %450 ]
  %453 = zext i1 %452 to i8
  store i8 %453, ptr %34, align 1, !tbaa !13
  %454 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %455 = trunc i8 %454 to i1
  br i1 %455, label %459, label %456

456:                                              ; preds = %451
  %457 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 3021)
          to label %458 unwind label %474

458:                                              ; preds = %456
  br label %459

459:                                              ; preds = %458, %451
  %460 = phi i1 [ true, %451 ], [ %457, %458 ]
  %461 = zext i1 %460 to i8
  store i8 %461, ptr %34, align 1, !tbaa !13
  %462 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %463 = trunc i8 %462 to i1
  br i1 %463, label %467, label %464

464:                                              ; preds = %459
  %465 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 44100)
          to label %466 unwind label %474

466:                                              ; preds = %464
  br label %467

467:                                              ; preds = %466, %459
  %468 = phi i1 [ true, %459 ], [ %465, %466 ]
  %469 = zext i1 %468 to i8
  store i8 %469, ptr %34, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %470 unwind label %474

470:                                              ; preds = %467
  %471 = load i8, ptr %34, align 1, !tbaa !13, !range !17, !noundef !18
  %472 = trunc i8 %471 to i1
  br i1 %472, label %473, label %478

473:                                              ; preds = %470
  call void @abort() #7
  unreachable

474:                                              ; preds = %467, %464, %456, %448, %440, %431, %423, %415, %407, %399, %391, %383, %375, %367, %359, %351, %343, %335, %327, %319, %311, %303
  %475 = landingpad { ptr, i32 }
          catch ptr null
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %8, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  br label %682

478:                                              ; preds = %470
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #6
  store i8 0, ptr %35, align 1, !tbaa !13
  %479 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %480 = trunc i8 %479 to i1
  %481 = zext i1 %480 to i32
  %482 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %483 unwind label %627

483:                                              ; preds = %478
  %484 = zext i1 %482 to i32
  %485 = icmp ne i32 %481, %484
  %486 = zext i1 %485 to i8
  store i8 %486, ptr %35, align 1, !tbaa !13
  %487 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %488 = trunc i8 %487 to i1
  %489 = zext i1 %488 to i32
  %490 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream10get_verifyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %491 unwind label %627

491:                                              ; preds = %483
  %492 = zext i1 %490 to i32
  %493 = icmp ne i32 %489, %492
  %494 = zext i1 %493 to i8
  store i8 %494, ptr %35, align 1, !tbaa !13
  %495 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %496 = trunc i8 %495 to i1
  %497 = zext i1 %496 to i32
  %498 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %499 unwind label %627

499:                                              ; preds = %491
  %500 = zext i1 %498 to i32
  %501 = icmp ne i32 %497, %500
  %502 = zext i1 %501 to i8
  store i8 %502, ptr %35, align 1, !tbaa !13
  %503 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %504 = trunc i8 %503 to i1
  %505 = zext i1 %504 to i32
  %506 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %507 unwind label %627

507:                                              ; preds = %499
  %508 = zext i1 %506 to i32
  %509 = icmp ne i32 %505, %508
  %510 = zext i1 %509 to i8
  store i8 %510, ptr %35, align 1, !tbaa !13
  %511 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %512 = trunc i8 %511 to i1
  %513 = zext i1 %512 to i32
  %514 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %515 unwind label %627

515:                                              ; preds = %507
  %516 = zext i1 %514 to i32
  %517 = icmp ne i32 %513, %516
  %518 = zext i1 %517 to i8
  store i8 %518, ptr %35, align 1, !tbaa !13
  %519 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %520 = trunc i8 %519 to i1
  %521 = zext i1 %520 to i32
  %522 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %523 unwind label %627

523:                                              ; preds = %515
  %524 = icmp ne i32 %521, %522
  %525 = zext i1 %524 to i8
  store i8 %525, ptr %35, align 1, !tbaa !13
  %526 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %527 = trunc i8 %526 to i1
  %528 = zext i1 %527 to i32
  %529 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream23get_qlp_coeff_precisionEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %530 unwind label %627

530:                                              ; preds = %523
  %531 = icmp ne i32 %528, %529
  %532 = zext i1 %531 to i8
  store i8 %532, ptr %35, align 1, !tbaa !13
  %533 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %534 = trunc i8 %533 to i1
  %535 = zext i1 %534 to i32
  %536 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %537 unwind label %627

537:                                              ; preds = %530
  %538 = zext i1 %536 to i32
  %539 = icmp ne i32 %535, %538
  %540 = zext i1 %539 to i8
  store i8 %540, ptr %35, align 1, !tbaa !13
  %541 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %542 = trunc i8 %541 to i1
  %543 = zext i1 %542 to i32
  %544 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %545 unwind label %627

545:                                              ; preds = %537
  %546 = zext i1 %544 to i32
  %547 = icmp ne i32 %543, %546
  %548 = zext i1 %547 to i8
  store i8 %548, ptr %35, align 1, !tbaa !13
  %549 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %550 = trunc i8 %549 to i1
  %551 = zext i1 %550 to i32
  %552 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %553 unwind label %627

553:                                              ; preds = %545
  %554 = icmp ne i32 %551, %552
  %555 = zext i1 %554 to i8
  store i8 %555, ptr %35, align 1, !tbaa !13
  %556 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %557 = trunc i8 %556 to i1
  %558 = zext i1 %557 to i32
  %559 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_max_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %560 unwind label %627

560:                                              ; preds = %553
  %561 = icmp ne i32 %558, %559
  %562 = zext i1 %561 to i8
  store i8 %562, ptr %35, align 1, !tbaa !13
  %563 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %564 = trunc i8 %563 to i1
  %565 = zext i1 %564 to i32
  %566 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %567 unwind label %627

567:                                              ; preds = %560
  %568 = icmp ne i32 %565, %566
  %569 = zext i1 %568 to i8
  store i8 %569, ptr %35, align 1, !tbaa !13
  %570 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %571 = trunc i8 %570 to i1
  %572 = zext i1 %571 to i64
  %573 = invoke noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %574 unwind label %627

574:                                              ; preds = %567
  %575 = icmp ne i64 %572, %573
  %576 = zext i1 %575 to i8
  store i8 %576, ptr %35, align 1, !tbaa !13
  %577 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %578 = trunc i8 %577 to i1
  %579 = zext i1 %578 to i32
  %580 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %581 unwind label %627

581:                                              ; preds = %574
  %582 = icmp ne i32 %579, %580
  %583 = zext i1 %582 to i8
  store i8 %583, ptr %35, align 1, !tbaa !13
  %584 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %585 = trunc i8 %584 to i1
  %586 = zext i1 %585 to i32
  %587 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %588 unwind label %627

588:                                              ; preds = %581
  %589 = icmp ne i32 %586, %587
  %590 = zext i1 %589 to i8
  store i8 %590, ptr %35, align 1, !tbaa !13
  %591 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %592 = trunc i8 %591 to i1
  %593 = zext i1 %592 to i32
  %594 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %595 unwind label %627

595:                                              ; preds = %588
  %596 = zext i1 %594 to i32
  %597 = icmp ne i32 %593, %596
  %598 = zext i1 %597 to i8
  store i8 %598, ptr %35, align 1, !tbaa !13
  %599 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %600 = trunc i8 %599 to i1
  %601 = zext i1 %600 to i32
  %602 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %603 unwind label %627

603:                                              ; preds = %595
  %604 = icmp ne i32 %601, %602
  %605 = zext i1 %604 to i8
  store i8 %605, ptr %35, align 1, !tbaa !13
  %606 = load i8, ptr %35, align 1, !tbaa !13, !range !17, !noundef !18
  %607 = trunc i8 %606 to i1
  %608 = zext i1 %607 to i32
  %609 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %610 unwind label %627

610:                                              ; preds = %603
  %611 = icmp ne i32 %608, %609
  %612 = zext i1 %611 to i8
  store i8 %612, ptr %35, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %613 unwind label %627

613:                                              ; preds = %610
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  br label %614

614:                                              ; preds = %675, %613
  %615 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %616 unwind label %189

616:                                              ; preds = %614
  br i1 %615, label %617, label %678

617:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #6
  invoke void @_ZN7fuzzing10datasource4Base9GetVectorIiEESt6vectorIT_SaIS4_EEm(ptr dead_on_unwind writable sret(%"class.std::vector.9") align 8 %36, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %618 unwind label %631

618:                                              ; preds = %617
  %619 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %620 unwind label %635

620:                                              ; preds = %618
  br i1 %619, label %621, label %655

621:                                              ; preds = %620
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #6
  store i64 0, ptr %37, align 8, !tbaa !9
  br label %622

622:                                              ; preds = %651, %621
  %623 = load i64, ptr %37, align 8, !tbaa !9
  %624 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %625 = icmp ult i64 %623, %624
  br i1 %625, label %639, label %626

626:                                              ; preds = %622
  store i32 5, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #6
  br label %654

627:                                              ; preds = %610, %603, %595, %588, %581, %574, %567, %560, %553, %545, %537, %530, %523, %515, %507, %499, %491, %483, %478
  %628 = landingpad { ptr, i32 }
          catch ptr null
  %629 = extractvalue { ptr, i32 } %628, 0
  store ptr %629, ptr %8, align 8
  %630 = extractvalue { ptr, i32 } %628, 1
  store i32 %630, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #6
  br label %682

631:                                              ; preds = %617
  %632 = landingpad { ptr, i32 }
          catch ptr null
  %633 = extractvalue { ptr, i32 } %632, 0
  store ptr %633, ptr %8, align 8
  %634 = extractvalue { ptr, i32 } %632, 1
  store i32 %634, ptr %9, align 4
  br label %677

635:                                              ; preds = %618
  %636 = landingpad { ptr, i32 }
          catch ptr null
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %8, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %9, align 4
  br label %676

639:                                              ; preds = %622
  %640 = load i64, ptr %37, align 8, !tbaa !9
  %641 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %640) #6
  %642 = load i32, ptr %641, align 4, !tbaa !11
  %643 = load i32, ptr %11, align 4, !tbaa !11
  %644 = sub nsw i32 32, %643
  %645 = shl i32 %642, %644
  %646 = load i32, ptr %11, align 4, !tbaa !11
  %647 = sub nsw i32 32, %646
  %648 = lshr i32 %645, %647
  %649 = load i64, ptr %37, align 8, !tbaa !9
  %650 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %649) #6
  store i32 %648, ptr %650, align 4, !tbaa !11
  br label %651

651:                                              ; preds = %639
  %652 = load i64, ptr %37, align 8, !tbaa !9
  %653 = add i64 %652, 1
  store i64 %653, ptr %37, align 8, !tbaa !9
  br label %622, !llvm.loop !19

654:                                              ; preds = %626
  br label %655

655:                                              ; preds = %654, %620
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %656 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  %657 = load i32, ptr %10, align 4, !tbaa !11
  %658 = sext i32 %657 to i64
  %659 = udiv i64 %656, %658
  %660 = trunc i64 %659 to i32
  store i32 %660, ptr %38, align 4, !tbaa !11
  %661 = load i32, ptr %38, align 4, !tbaa !11
  %662 = icmp ugt i32 %661, 0
  br i1 %662, label %663, label %675

663:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #6
  %664 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  store ptr %664, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #6
  %665 = load ptr, ptr %39, align 8, !tbaa !5
  %666 = load i32, ptr %38, align 4, !tbaa !11
  %667 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19process_interleavedEPKij(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %665, i32 noundef %666)
          to label %668 unwind label %671

668:                                              ; preds = %663
  %669 = zext i1 %667 to i8
  store i8 %669, ptr %40, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %670 unwind label %671

670:                                              ; preds = %668
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  br label %675

671:                                              ; preds = %668, %663
  %672 = landingpad { ptr, i32 }
          catch ptr null
  %673 = extractvalue { ptr, i32 } %672, 0
  store ptr %673, ptr %8, align 8
  %674 = extractvalue { ptr, i32 } %672, 1
  store i32 %674, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %676

675:                                              ; preds = %670, %655
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  br label %614, !llvm.loop !21

676:                                              ; preds = %671, %635
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #6
  br label %677

677:                                              ; preds = %676, %631
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #6
  br label %682

678:                                              ; preds = %616
  store i32 0, ptr %33, align 4
  br label %679

679:                                              ; preds = %678, %298
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %680 = load i32, ptr %33, align 4
  switch i32 %680, label %702 [
    i32 0, label %681
    i32 2, label %689
  ]

681:                                              ; preds = %679
  br label %688

682:                                              ; preds = %677, %627, %474, %286, %270, %266, %262, %258, %254, %250, %246, %242, %238, %234, %230, %229, %217, %213, %209, %205, %201, %197, %193, %189
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %683

683:                                              ; preds = %682, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %684

684:                                              ; preds = %683
  %685 = load ptr, ptr %8, align 8
  %686 = call ptr @__cxa_begin_catch(ptr %685) #6
  invoke void @__cxa_end_catch()
          to label %687 unwind label %694

687:                                              ; preds = %684
  br label %688

688:                                              ; preds = %687, %681
  br label %689

689:                                              ; preds = %688, %679
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #6
  %690 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %691 unwind label %698

691:                                              ; preds = %689
  %692 = zext i1 %690 to i8
  store i8 %692, ptr %41, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %693 unwind label %698

693:                                              ; preds = %691
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #6
  store i32 0, ptr %3, align 4
  store i32 1, ptr %33, align 4
  br label %702

694:                                              ; preds = %684
  %695 = landingpad { ptr, i32 }
          cleanup
  %696 = extractvalue { ptr, i32 } %695, 0
  store ptr %696, ptr %8, align 8
  %697 = extractvalue { ptr, i32 } %695, 1
  store i32 %697, ptr %9, align 4
  br label %704

698:                                              ; preds = %691, %689
  %699 = landingpad { ptr, i32 }
          cleanup
  %700 = extractvalue { ptr, i32 } %699, 0
  store ptr %700, ptr %8, align 8
  %701 = extractvalue { ptr, i32 } %699, 1
  store i32 %701, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #6
  br label %704

702:                                              ; preds = %693, %679
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  %703 = load i32, ptr %3, align 4
  ret i32 %703

704:                                              ; preds = %698, %694
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %705

705:                                              ; preds = %704, %181
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #6
  br label %706

706:                                              ; preds = %705
  %707 = load ptr, ptr %8, align 8
  %708 = load i32, ptr %9, align 4
  %709 = insertvalue { ptr, i32 } poison, ptr %707, 0
  %710 = insertvalue { ptr, i32 } %709, i32 %708, 1
  resume { ptr, i32 } %710
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4FLAC7Encoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1)) #2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @abort() #4

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream10get_verifyEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream23get_qlp_coeff_precisionEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream32get_max_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fuzzing10datasource4Base9GetVectorIiEESt6vectorIT_SaIS4_EEm(ptr dead_on_unwind noalias writable sret(%"class.std::vector.9") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19process_interleavedEPKij(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr, ptr, i64)

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS29FLAC__StreamEncoderInitStatus", !7, i64 0}
!17 = !{i8 0, i8 2}
!18 = !{}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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

%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.fuzzing::datasource::Datasource" = type { %"class.fuzzing::datasource::Base", ptr, i64, i64, i64 }
%"class.fuzzing::datasource::Base" = type { ptr }
%"class.FLAC::Encoder::FuzzerStream" = type { %"class.FLAC::Encoder::Stream" }
%"class.FLAC::Encoder::Stream" = type { ptr, ptr }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [1 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fuzzing10datasource4Base3GetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_m(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @LLVMFuzzerTestOneInput(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.fuzzing::datasource::Datasource", align 8
  %4 = alloca %"class.FLAC::Encoder::FuzzerStream", align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i8, align 1
  %11 = alloca i8, align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca %"class.std::vector.9", align 8
  %28 = alloca i8, align 1
  %29 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #6
  call void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %0, i64 noundef %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #6
  invoke void @_ZN4FLAC7Encoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %30 unwind label %144

30:                                               ; preds = %2
  %31 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %32 unwind label %146

32:                                               ; preds = %30
  %33 = zext i8 %31 to i32
  %34 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %35 unwind label %.loopexit.split-lp

35:                                               ; preds = %32
  %36 = zext i8 %34 to i32
  %37 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %33)
          to label %38 unwind label %.loopexit.split-lp

38:                                               ; preds = %35
  %39 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %36)
          to label %40 unwind label %.loopexit.split-lp

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  %41 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %42 unwind label %148

42:                                               ; preds = %40
  %43 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %41)
          to label %44 unwind label %148

44:                                               ; preds = %42
  %45 = zext i1 %43 to i8
  store i8 %45, ptr %5, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  %46 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %47 unwind label %150

47:                                               ; preds = %44
  %48 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %46)
          to label %49 unwind label %150

49:                                               ; preds = %47
  %50 = zext i1 %48 to i8
  store i8 %50, ptr %6, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #6
  %51 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %52 unwind label %152

52:                                               ; preds = %49
  %53 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %51)
          to label %54 unwind label %152

54:                                               ; preds = %52
  %55 = zext i1 %53 to i8
  store i8 %55, ptr %7, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %7)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  %56 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %57 unwind label %154

57:                                               ; preds = %54
  %58 = zext i8 %56 to i32
  %59 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %58)
          to label %60 unwind label %154

60:                                               ; preds = %57
  %61 = zext i1 %59 to i8
  store i8 %61, ptr %8, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  %62 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %63 unwind label %156

63:                                               ; preds = %60
  %64 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %62)
          to label %65 unwind label %156

65:                                               ; preds = %63
  %66 = zext i1 %64 to i8
  store i8 %66, ptr %9, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %9)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #6
  %67 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %68 unwind label %158

68:                                               ; preds = %65
  %69 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %67)
          to label %70 unwind label %158

70:                                               ; preds = %68
  %71 = zext i1 %69 to i8
  store i8 %71, ptr %10, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %10)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #6
  %72 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %73 unwind label %160

73:                                               ; preds = %70
  %74 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %72)
          to label %75 unwind label %160

75:                                               ; preds = %73
  %76 = zext i1 %74 to i8
  store i8 %76, ptr %11, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %11)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  invoke void @_ZN7fuzzing10datasource4Base3GetINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEET_m(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %77 unwind label %162

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  %78 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  %79 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %78)
          to label %80 unwind label %164

80:                                               ; preds = %77
  %81 = zext i1 %79 to i8
  store i8 %81, ptr %13, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %13)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  %82 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %83 unwind label %167

83:                                               ; preds = %80
  %84 = zext i8 %82 to i32
  %85 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %84)
          to label %86 unwind label %167

86:                                               ; preds = %83
  %87 = zext i1 %85 to i8
  store i8 %87, ptr %14, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %14)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #6
  %88 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %89 unwind label %169

89:                                               ; preds = %86
  %90 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %88)
          to label %91 unwind label %169

91:                                               ; preds = %89
  %92 = zext i1 %90 to i8
  store i8 %92, ptr %15, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %15)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #6
  %93 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %94 unwind label %171

94:                                               ; preds = %91
  %95 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %93)
          to label %96 unwind label %171

96:                                               ; preds = %94
  %97 = zext i1 %95 to i8
  store i8 %97, ptr %16, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %16)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #6
  %98 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %99 unwind label %173

99:                                               ; preds = %96
  %100 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %98)
          to label %101 unwind label %173

101:                                              ; preds = %99
  %102 = zext i1 %100 to i8
  store i8 %102, ptr %17, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %17)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  %103 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %104 unwind label %175

104:                                              ; preds = %101
  %105 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %103)
          to label %106 unwind label %175

106:                                              ; preds = %104
  %107 = zext i1 %105 to i8
  store i8 %107, ptr %18, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %18)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #6
  %108 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %109 unwind label %177

109:                                              ; preds = %106
  %110 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %108)
          to label %111 unwind label %177

111:                                              ; preds = %109
  %112 = zext i1 %110 to i8
  store i8 %112, ptr %19, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %19)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #6
  %113 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %114 unwind label %179

114:                                              ; preds = %111
  %115 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %113)
          to label %116 unwind label %179

116:                                              ; preds = %114
  %117 = zext i1 %115 to i8
  store i8 %117, ptr %20, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %20)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  %118 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %119 unwind label %181

119:                                              ; preds = %116
  %120 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %118)
          to label %121 unwind label %181

121:                                              ; preds = %119
  %122 = zext i1 %120 to i8
  store i8 %122, ptr %21, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  %123 = invoke noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %124 unwind label %183

124:                                              ; preds = %121
  %125 = zext i16 %123 to i32
  %126 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %125)
          to label %127 unwind label %183

127:                                              ; preds = %124
  %128 = zext i1 %126 to i8
  store i8 %128, ptr %22, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %22)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  %129 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %130 unwind label %185

130:                                              ; preds = %127
  %131 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %129)
          to label %132 unwind label %185

132:                                              ; preds = %130
  %133 = zext i1 %131 to i8
  store i8 %133, ptr %23, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %23)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #6
  %134 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %135 unwind label %187

135:                                              ; preds = %132
  %136 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %134)
          to label %137 unwind label %187

137:                                              ; preds = %135
  %138 = zext i1 %136 to i8
  store i8 %138, ptr %24, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %24)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  %139 = icmp ugt i64 %1, 524280
  br i1 %139, label %140, label %189

140:                                              ; preds = %137
  %141 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext false)
          to label %142 unwind label %.loopexit.split-lp

142:                                              ; preds = %140
  %143 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext false)
          to label %.thread unwind label %.loopexit.split-lp

144:                                              ; preds = %2
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %404

146:                                              ; preds = %30
  %147 = landingpad { ptr, i32 }
          catch ptr null
  br label %394

.loopexit71:                                      ; preds = %360
  %lpad.loopexit = landingpad { ptr, i32 }
          catch ptr null
  br label %394

.loopexit.split-lp:                               ; preds = %32, %35, %38, %140, %142, %.thread
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          catch ptr null
  br label %394

148:                                              ; preds = %42, %40
  %149 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  br label %394

150:                                              ; preds = %47, %44
  %151 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %394

152:                                              ; preds = %52, %49
  %153 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %394

154:                                              ; preds = %57, %54
  %155 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %394

156:                                              ; preds = %63, %60
  %157 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %394

158:                                              ; preds = %68, %65
  %159 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %394

160:                                              ; preds = %73, %70
  %161 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %394

162:                                              ; preds = %75
  %163 = landingpad { ptr, i32 }
          catch ptr null
  br label %166

164:                                              ; preds = %77
  %165 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %166

166:                                              ; preds = %164, %162
  %.pn = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %394

167:                                              ; preds = %83, %80
  %168 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #6
  br label %394

169:                                              ; preds = %89, %86
  %170 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %394

171:                                              ; preds = %94, %91
  %172 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %394

173:                                              ; preds = %99, %96
  %174 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  br label %394

175:                                              ; preds = %104, %101
  %176 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  br label %394

177:                                              ; preds = %109, %106
  %178 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #6
  br label %394

179:                                              ; preds = %114, %111
  %180 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #6
  br label %394

181:                                              ; preds = %119, %116
  %182 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %394

183:                                              ; preds = %124, %121
  %184 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  br label %394

185:                                              ; preds = %130, %127
  %186 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  br label %394

187:                                              ; preds = %135, %132
  %188 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  br label %394

189:                                              ; preds = %137
  %190 = icmp ugt i64 %1, 33018
  br i1 %190, label %.thread, label %192

.thread:                                          ; preds = %142, %189
  %191 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @.str)
          to label %192 unwind label %.loopexit.split-lp

192:                                              ; preds = %.thread, %189
  %193 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %194 unwind label %197

194:                                              ; preds = %192
  br i1 %193, label %195, label %199

195:                                              ; preds = %194
  %196 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %201 unwind label %197

197:                                              ; preds = %199, %195, %192
  %198 = landingpad { ptr, i32 }
          catch ptr null
  br label %394

199:                                              ; preds = %194
  %200 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %201 unwind label %197

201:                                              ; preds = %199, %195
  %.028 = phi i32 [ %196, %195 ], [ %200, %199 ]
  %.not = icmp eq i32 %.028, 0
  br i1 %.not, label %202, label %.loopexit72

202:                                              ; preds = %201
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #6
  store i8 0, ptr %25, align 1, !tbaa !5
  %203 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %204 unwind label %289

204:                                              ; preds = %202
  %205 = zext i1 %203 to i8
  store i8 %205, ptr %25, align 1, !tbaa !5
  br i1 %203, label %.critedge44, label %206

206:                                              ; preds = %204
  %207 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
          to label %208 unwind label %289

208:                                              ; preds = %206
  %209 = zext i1 %207 to i8
  store i8 %209, ptr %25, align 1, !tbaa !5
  br i1 %207, label %.critedge44, label %210

210:                                              ; preds = %208
  %211 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %212 unwind label %289

212:                                              ; preds = %210
  %213 = zext i1 %211 to i8
  store i8 %213, ptr %25, align 1, !tbaa !5
  br i1 %211, label %.critedge44, label %214

214:                                              ; preds = %212
  %215 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %216 unwind label %289

216:                                              ; preds = %214
  %217 = zext i1 %215 to i8
  store i8 %217, ptr %25, align 1, !tbaa !5
  br i1 %215, label %.critedge44, label %218

218:                                              ; preds = %216
  %219 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %220 unwind label %289

220:                                              ; preds = %218
  %221 = zext i1 %219 to i8
  store i8 %221, ptr %25, align 1, !tbaa !5
  br i1 %219, label %.critedge44, label %222

222:                                              ; preds = %220
  %223 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %224 unwind label %289

224:                                              ; preds = %222
  %225 = zext i1 %223 to i8
  store i8 %225, ptr %25, align 1, !tbaa !5
  br i1 %223, label %.critedge44, label %226

226:                                              ; preds = %224
  %227 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %228 unwind label %289

228:                                              ; preds = %226
  %229 = zext i1 %227 to i8
  store i8 %229, ptr %25, align 1, !tbaa !5
  br i1 %227, label %.critedge58, label %230

230:                                              ; preds = %228
  %231 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @.str.1)
          to label %232 unwind label %289

.critedge44:                                      ; preds = %220, %212, %204, %208, %216, %224
  store i8 1, ptr %25, align 1, !tbaa !5
  br label %.critedge58

232:                                              ; preds = %230
  %233 = zext i1 %231 to i8
  store i8 %233, ptr %25, align 1, !tbaa !5
  br i1 %231, label %.critedge58, label %234

234:                                              ; preds = %232
  %235 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %236 unwind label %289

236:                                              ; preds = %234
  %237 = zext i1 %235 to i8
  store i8 %237, ptr %25, align 1, !tbaa !5
  br i1 %235, label %.critedge58, label %238

238:                                              ; preds = %236
  %239 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %240 unwind label %289

240:                                              ; preds = %238
  %241 = zext i1 %239 to i8
  store i8 %241, ptr %25, align 1, !tbaa !5
  br i1 %239, label %.critedge58, label %242

242:                                              ; preds = %240
  %243 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %244 unwind label %289

244:                                              ; preds = %242
  %245 = zext i1 %243 to i8
  store i8 %245, ptr %25, align 1, !tbaa !5
  br i1 %243, label %.critedge58, label %246

246:                                              ; preds = %244
  %247 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %248 unwind label %289

248:                                              ; preds = %246
  %249 = zext i1 %247 to i8
  store i8 %249, ptr %25, align 1, !tbaa !5
  br i1 %247, label %.critedge58, label %250

250:                                              ; preds = %248
  %251 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %252 unwind label %289

252:                                              ; preds = %250
  %253 = zext i1 %251 to i8
  store i8 %253, ptr %25, align 1, !tbaa !5
  br i1 %251, label %.critedge58, label %254

254:                                              ; preds = %252
  %255 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %256 unwind label %289

256:                                              ; preds = %254
  %257 = zext i1 %255 to i8
  store i8 %257, ptr %25, align 1, !tbaa !5
  br i1 %255, label %.critedge70, label %258

258:                                              ; preds = %256
  %259 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %260 unwind label %289

.critedge58:                                      ; preds = %248, %240, %232, %.critedge44, %228, %236, %244, %252
  store i8 1, ptr %25, align 1, !tbaa !5
  br label %.critedge70

260:                                              ; preds = %258
  %261 = zext i1 %259 to i8
  store i8 %261, ptr %25, align 1, !tbaa !5
  br i1 %259, label %.critedge70, label %262

262:                                              ; preds = %260
  %263 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
          to label %264 unwind label %289

264:                                              ; preds = %262
  %265 = zext i1 %263 to i8
  store i8 %265, ptr %25, align 1, !tbaa !5
  br i1 %263, label %.critedge70, label %266

266:                                              ; preds = %264
  %267 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %33)
          to label %268 unwind label %289

268:                                              ; preds = %266
  %269 = zext i1 %267 to i8
  store i8 %269, ptr %25, align 1, !tbaa !5
  br i1 %267, label %.critedge70, label %270

270:                                              ; preds = %268
  %271 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 16)
          to label %272 unwind label %289

272:                                              ; preds = %270
  %273 = zext i1 %271 to i8
  store i8 %273, ptr %25, align 1, !tbaa !5
  br i1 %271, label %.critedge70, label %274

274:                                              ; preds = %272
  %275 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %276 unwind label %289

276:                                              ; preds = %274
  %277 = zext i1 %275 to i8
  store i8 %277, ptr %25, align 1, !tbaa !5
  br i1 %275, label %.critedge70, label %278

278:                                              ; preds = %276
  %279 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 3021)
          to label %280 unwind label %289

280:                                              ; preds = %278
  %281 = zext i1 %279 to i8
  store i8 %281, ptr %25, align 1, !tbaa !5
  br i1 %279, label %.critedge70, label %282

282:                                              ; preds = %280
  %283 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 44100)
          to label %.critedge70 unwind label %289

.critedge70:                                      ; preds = %276, %268, %260, %.critedge58, %256, %264, %272, %282, %280
  %284 = phi i1 [ true, %280 ], [ %283, %282 ], [ true, %272 ], [ true, %264 ], [ true, %256 ], [ true, %.critedge58 ], [ true, %260 ], [ true, %268 ], [ true, %276 ]
  %285 = zext i1 %284 to i8
  store i8 %285, ptr %25, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %25)
  %286 = load i8, ptr %25, align 1, !tbaa !5, !range !9, !noundef !10
  %287 = trunc nuw i8 %286 to i1
  br i1 %287, label %288, label %291

288:                                              ; preds = %.critedge70
  call void @abort() #7
  unreachable

289:                                              ; preds = %282, %278, %274, %270, %266, %262, %258, %254, %250, %246, %242, %238, %234, %230, %226, %222, %218, %214, %210, %206, %202
  %290 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #6
  br label %394

291:                                              ; preds = %.critedge70
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #6
  %292 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %293 unwind label %368

293:                                              ; preds = %291
  %294 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream10get_verifyEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %295 unwind label %368

295:                                              ; preds = %293
  %296 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %297 unwind label %368

297:                                              ; preds = %295
  %298 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %299 unwind label %368

299:                                              ; preds = %297
  %300 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %301 unwind label %368

301:                                              ; preds = %299
  %302 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %303 unwind label %368

303:                                              ; preds = %301
  %304 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream23get_qlp_coeff_precisionEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %305 unwind label %368

305:                                              ; preds = %303
  %306 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %307 unwind label %368

307:                                              ; preds = %305
  %308 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %309 unwind label %368

309:                                              ; preds = %307
  %310 = xor i1 %292, %294
  %311 = xor i1 %310, %296
  %312 = xor i1 %311, %298
  %313 = xor i1 %312, %300
  %314 = zext i1 %313 to i32
  %315 = icmp ne i32 %302, %314
  %316 = zext i1 %315 to i32
  %317 = icmp ne i32 %304, %316
  %318 = xor i1 %317, %306
  %319 = xor i1 %318, %308
  %320 = zext i1 %319 to i8
  store i8 %320, ptr %26, align 1, !tbaa !5
  %321 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %322 unwind label %368

322:                                              ; preds = %309
  %323 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_max_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %324 unwind label %368

324:                                              ; preds = %322
  %325 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %326 unwind label %368

326:                                              ; preds = %324
  %327 = invoke noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %328 unwind label %368

328:                                              ; preds = %326
  %329 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %330 unwind label %368

330:                                              ; preds = %328
  %331 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %332 unwind label %368

332:                                              ; preds = %330
  %333 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %334 unwind label %368

334:                                              ; preds = %332
  %335 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %336 unwind label %368

336:                                              ; preds = %334
  %337 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %338 unwind label %368

338:                                              ; preds = %336
  %339 = zext i1 %319 to i32
  %340 = icmp ne i32 %321, %339
  %341 = zext i1 %340 to i32
  %342 = icmp ne i32 %323, %341
  %343 = zext i1 %342 to i32
  %344 = icmp ne i32 %325, %343
  %345 = zext i1 %344 to i64
  %346 = icmp ne i64 %327, %345
  %347 = zext i1 %346 to i32
  %348 = icmp ne i32 %329, %347
  %349 = zext i1 %348 to i32
  %350 = icmp ne i32 %331, %349
  %351 = xor i1 %350, %333
  %352 = zext i1 %351 to i32
  %353 = icmp ne i32 %335, %352
  %354 = zext i1 %353 to i32
  %355 = icmp ne i32 %337, %354
  %356 = zext i1 %355 to i8
  store i8 %356, ptr %26, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %26)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  %357 = sub nsw i32 32, %36
  %358 = lshr i32 -1, %357
  %359 = zext i8 %31 to i64
  br label %360

360:                                              ; preds = %391, %338
  %361 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %362 unwind label %.loopexit71

362:                                              ; preds = %360
  br i1 %361, label %363, label %.loopexit72

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %27) #6
  invoke void @_ZN7fuzzing10datasource4Base9GetVectorIiEESt6vectorIT_SaIS4_EEm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.9") align 8 %27, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %364 unwind label %370

364:                                              ; preds = %363
  %365 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %366 unwind label %372

366:                                              ; preds = %364
  br i1 %365, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %366
  %367 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %.not74 = icmp eq i64 %367, 0
  br i1 %.not74, label %.loopexit, label %.lr.ph

368:                                              ; preds = %336, %334, %332, %330, %328, %326, %324, %322, %309, %307, %305, %303, %301, %299, %297, %295, %293, %291
  %369 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #6
  br label %394

370:                                              ; preds = %363
  %371 = landingpad { ptr, i32 }
          catch ptr null
  br label %393

372:                                              ; preds = %364
  %373 = landingpad { ptr, i32 }
          catch ptr null
  br label %392

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %.02573 = phi i64 [ %378, %.lr.ph ], [ 0, %.preheader ]
  %374 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.02573) #6
  %375 = load i32, ptr %374, align 4, !tbaa !11
  %376 = and i32 %375, %358
  %377 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %.02573) #6
  store i32 %376, ptr %377, align 4, !tbaa !11
  %378 = add nuw i64 %.02573, 1
  %379 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %380 = icmp ult i64 %378, %379
  br i1 %380, label %.lr.ph, label %.loopexit, !llvm.loop !13

.loopexit:                                        ; preds = %.lr.ph, %.preheader, %366
  %381 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  %382 = udiv i64 %381, %359
  %383 = trunc i64 %382 to i32
  %.not30 = icmp eq i32 %383, 0
  br i1 %.not30, label %391, label %384

384:                                              ; preds = %.loopexit
  %385 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #6
  %386 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19process_interleavedEPKij(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %385, i32 noundef %383)
          to label %387 unwind label %389

387:                                              ; preds = %384
  %388 = zext i1 %386 to i8
  store i8 %388, ptr %28, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %28)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  br label %391

389:                                              ; preds = %384
  %390 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #6
  br label %392

391:                                              ; preds = %387, %.loopexit
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  br label %360, !llvm.loop !15

392:                                              ; preds = %389, %372
  %.pn31 = phi { ptr, i32 } [ %390, %389 ], [ %373, %372 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  br label %393

393:                                              ; preds = %392, %370
  %.pn31.pn = phi { ptr, i32 } [ %.pn31, %392 ], [ %371, %370 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %27) #6
  br label %394

394:                                              ; preds = %.loopexit71, %.loopexit.split-lp, %148, %150, %152, %154, %156, %158, %160, %166, %167, %169, %171, %173, %175, %177, %179, %181, %183, %185, %187, %197, %289, %368, %393, %146
  %.pn31.pn.pn.pn = phi { ptr, i32 } [ %147, %146 ], [ %.pn31.pn, %393 ], [ %369, %368 ], [ %290, %289 ], [ %198, %197 ], [ %188, %187 ], [ %186, %185 ], [ %184, %183 ], [ %182, %181 ], [ %180, %179 ], [ %178, %177 ], [ %176, %175 ], [ %174, %173 ], [ %172, %171 ], [ %170, %169 ], [ %168, %167 ], [ %.pn, %166 ], [ %161, %160 ], [ %159, %158 ], [ %157, %156 ], [ %155, %154 ], [ %153, %152 ], [ %151, %150 ], [ %149, %148 ], [ %lpad.loopexit, %.loopexit71 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  %.4 = extractvalue { ptr, i32 } %.pn31.pn.pn.pn, 0
  %395 = call ptr @__cxa_begin_catch(ptr %.4) #6
  invoke void @__cxa_end_catch()
          to label %.loopexit72 unwind label %399

.loopexit72:                                      ; preds = %362, %201, %394
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #6
  %396 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %397 unwind label %401

397:                                              ; preds = %.loopexit72
  %398 = zext i1 %396 to i8
  store i8 %398, ptr %29, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %29)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  ret i32 0

399:                                              ; preds = %394
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %403

401:                                              ; preds = %.loopexit72
  %402 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #6
  br label %403

403:                                              ; preds = %401, %399
  %.pn32 = phi { ptr, i32 } [ %402, %401 ], [ %400, %399 ]
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %404

404:                                              ; preds = %403, %144
  %.pn32.pn = phi { ptr, i32 } [ %.pn32, %403 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #6
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn32.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4FLAC7Encoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4dataEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) unnamed_addr #3

declare noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #4

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream10get_verifyEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream23get_qlp_coeff_precisionEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream32get_max_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7fuzzing10datasource4Base9GetVectorIiEESt6vectorIT_SaIS4_EEm(ptr dead_on_unwind noalias writable sret(%"class.std::vector.9") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19process_interleavedEPKij(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i32 noundef) unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

declare noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

declare void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr, ptr, i64) local_unnamed_addr

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass