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

; 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.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.FLAC::Decoder::FuzzerDecoder" = type <{ %"class.FLAC::Decoder::Stream", ptr, ptr, [2048 x ptr], i32, [4 x i8] }>
%"class.FLAC::Decoder::Stream" = type { ptr, ptr }

@.str = 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

declare i32 @__gxx_personality_v0(...)

; 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 %"class.FLAC::Decoder::FuzzerDecoder", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %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 i8, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i8, align 1
  %32 = alloca i8, align 1
  %33 = alloca i8, align 1
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  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
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = load i64, ptr %5, align 8, !tbaa !9
  call void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %36, i64 noundef %37)
  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 %38 unwind label %152

38:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16424, ptr %10) #6
  invoke void @_ZN4FLAC7Decoder13FuzzerDecoderC2ERN7fuzzing10datasource10DatasourceERNS_7Encoder12FuzzerStreamE(ptr noundef nonnull align 8 dereferenceable(16420) %10, ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %39 unwind label %156

39:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %40 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %41 unwind label %160

41:                                               ; preds = %39
  %42 = zext i8 %40 to i32
  store i32 %42, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %43 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %44 unwind label %164

44:                                               ; preds = %41
  %45 = zext i8 %43 to i32
  store i32 %45, ptr %12, align 4, !tbaa !11
  %46 = load i32, ptr %11, align 4, !tbaa !11
  %47 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %46)
          to label %48 unwind label %164

48:                                               ; preds = %44
  %49 = load i32, ptr %12, align 4, !tbaa !11
  %50 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %49)
          to label %51 unwind label %164

51:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #6
  %52 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %53 unwind label %168

53:                                               ; preds = %51
  %54 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %52)
          to label %55 unwind label %168

55:                                               ; preds = %53
  %56 = zext i1 %54 to i8
  store i8 %56, ptr %13, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %57 unwind label %168

57:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  %58 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %59 unwind label %172

59:                                               ; preds = %57
  %60 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %58)
          to label %61 unwind label %172

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

63:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  %64 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %65 unwind label %176

65:                                               ; preds = %63
  %66 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %64)
          to label %67 unwind label %176

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

69:                                               ; preds = %67
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  %70 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %71 unwind label %180

71:                                               ; preds = %69
  %72 = zext i8 %70 to i32
  %73 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %72)
          to label %74 unwind label %180

74:                                               ; preds = %71
  %75 = zext i1 %73 to i8
  store i8 %75, ptr %16, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %76 unwind label %180

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  %77 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %78 unwind label %184

78:                                               ; preds = %76
  %79 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %77)
          to label %80 unwind label %184

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

82:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %83 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %84 unwind label %188

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

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

88:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  %89 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %90 unwind label %192

90:                                               ; preds = %88
  %91 = zext i8 %89 to i32
  %92 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %91)
          to label %93 unwind label %192

93:                                               ; preds = %90
  %94 = zext i1 %92 to i8
  store i8 %94, ptr %19, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %95 unwind label %192

95:                                               ; preds = %93
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %96 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %97 unwind label %196

97:                                               ; preds = %95
  %98 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %96)
          to label %99 unwind label %196

99:                                               ; preds = %97
  %100 = zext i1 %98 to i8
  store i8 %100, ptr %20, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %101 unwind label %196

101:                                              ; preds = %99
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  %102 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %103 unwind label %200

103:                                              ; preds = %101
  %104 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %102)
          to label %105 unwind label %200

105:                                              ; preds = %103
  %106 = zext i1 %104 to i8
  store i8 %106, ptr %21, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %107 unwind label %200

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %108 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %109 unwind label %204

109:                                              ; preds = %107
  %110 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %108)
          to label %111 unwind label %204

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

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

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

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

119:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %120 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %121 unwind label %212

121:                                              ; preds = %119
  %122 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %120)
          to label %123 unwind label %212

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

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %126 = invoke noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %127 unwind label %216

127:                                              ; preds = %125
  %128 = zext i16 %126 to i32
  %129 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %128)
          to label %130 unwind label %216

130:                                              ; preds = %127
  %131 = zext i1 %129 to i8
  store i8 %131, ptr %25, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %132 unwind label %216

132:                                              ; preds = %130
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  %133 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %134 unwind label %220

134:                                              ; preds = %132
  %135 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext %133)
          to label %136 unwind label %220

136:                                              ; preds = %134
  %137 = zext i1 %135 to i8
  store i8 %137, ptr %26, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %138 unwind label %220

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

140:                                              ; preds = %138
  %141 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %139)
          to label %142 unwind label %224

142:                                              ; preds = %140
  %143 = zext i1 %141 to i8
  store i8 %143, ptr %27, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %144 unwind label %224

144:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  %145 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream24set_metadata_respond_allEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %146 unwind label %164

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %147 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %148 unwind label %228

148:                                              ; preds = %146
  br i1 %147, label %149, label %232

149:                                              ; preds = %148
  %150 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %151 unwind label %228

151:                                              ; preds = %149
  store i32 %150, ptr %28, align 4, !tbaa !15
  br label %235

152:                                              ; preds = %2
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %8, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %9, align 4
  br label %651

156:                                              ; preds = %38
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %8, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %9, align 4
  br label %650

160:                                              ; preds = %39
  %161 = landingpad { ptr, i32 }
          catch ptr null
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %8, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %9, align 4
  br label %599

164:                                              ; preds = %588, %144, %48, %44, %41
  %165 = landingpad { ptr, i32 }
          catch ptr null
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %8, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %9, align 4
  br label %598

168:                                              ; preds = %55, %53, %51
  %169 = landingpad { ptr, i32 }
          catch ptr null
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %8, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #6
  br label %598

172:                                              ; preds = %61, %59, %57
  %173 = landingpad { ptr, i32 }
          catch ptr null
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %8, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %598

176:                                              ; preds = %67, %65, %63
  %177 = landingpad { ptr, i32 }
          catch ptr null
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %8, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  br label %598

180:                                              ; preds = %74, %71, %69
  %181 = landingpad { ptr, i32 }
          catch ptr null
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %8, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %598

184:                                              ; preds = %80, %78, %76
  %185 = landingpad { ptr, i32 }
          catch ptr null
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %8, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %598

188:                                              ; preds = %86, %84, %82
  %189 = landingpad { ptr, i32 }
          catch ptr null
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %8, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %598

192:                                              ; preds = %93, %90, %88
  %193 = landingpad { ptr, i32 }
          catch ptr null
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %8, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %598

196:                                              ; preds = %99, %97, %95
  %197 = landingpad { ptr, i32 }
          catch ptr null
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %8, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %598

200:                                              ; preds = %105, %103, %101
  %201 = landingpad { ptr, i32 }
          catch ptr null
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %8, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %598

204:                                              ; preds = %111, %109, %107
  %205 = landingpad { ptr, i32 }
          catch ptr null
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %8, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %598

208:                                              ; preds = %117, %115, %113
  %209 = landingpad { ptr, i32 }
          catch ptr null
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %8, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %598

212:                                              ; preds = %123, %121, %119
  %213 = landingpad { ptr, i32 }
          catch ptr null
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %8, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %598

216:                                              ; preds = %130, %127, %125
  %217 = landingpad { ptr, i32 }
          catch ptr null
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %8, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %598

220:                                              ; preds = %136, %134, %132
  %221 = landingpad { ptr, i32 }
          catch ptr null
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %8, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %598

224:                                              ; preds = %142, %140, %138
  %225 = landingpad { ptr, i32 }
          catch ptr null
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %8, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %598

228:                                              ; preds = %245, %239, %232, %149, %146
  %229 = landingpad { ptr, i32 }
          catch ptr null
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %8, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %598

232:                                              ; preds = %148
  %233 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %234 unwind label %228

234:                                              ; preds = %232
  store i32 %233, ptr %28, align 4, !tbaa !15
  br label %235

235:                                              ; preds = %234, %151
  %236 = load i32, ptr %28, align 4, !tbaa !15
  %237 = icmp ne i32 %236, 0
  br i1 %237, label %238, label %239

238:                                              ; preds = %235
  store i32 2, ptr %29, align 4
  br label %253

239:                                              ; preds = %235
  %240 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %241 unwind label %228

241:                                              ; preds = %239
  %242 = getelementptr inbounds %"class.FLAC::Decoder::FuzzerDecoder", ptr %10, i32 0, i32 4
  %243 = load i32, ptr %242, align 8, !tbaa !17
  %244 = icmp sgt i32 %243, 0
  br i1 %244, label %245, label %252

245:                                              ; preds = %241
  %246 = getelementptr inbounds %"class.FLAC::Decoder::FuzzerDecoder", ptr %10, i32 0, i32 3
  %247 = getelementptr inbounds [2048 x ptr], ptr %246, i64 0, i64 0
  %248 = getelementptr inbounds %"class.FLAC::Decoder::FuzzerDecoder", ptr %10, i32 0, i32 4
  %249 = load i32, ptr %248, align 8, !tbaa !17
  %250 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_metadataEPP20FLAC__StreamMetadataj(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %247, i32 noundef %249)
          to label %251 unwind label %228

251:                                              ; preds = %245
  br label %252

252:                                              ; preds = %251, %241
  store i32 0, ptr %29, align 4
  br label %253

253:                                              ; preds = %252, %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  %254 = load i32, ptr %29, align 4
  switch i32 %254, label %591 [
    i32 0, label %255
  ]

255:                                              ; preds = %253
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %256 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %257 unwind label %261

257:                                              ; preds = %255
  br i1 %256, label %258, label %265

258:                                              ; preds = %257
  %259 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %260 unwind label %261

260:                                              ; preds = %258
  store i32 %259, ptr %30, align 4, !tbaa !20
  br label %268

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

265:                                              ; preds = %257
  %266 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %267 unwind label %261

267:                                              ; preds = %265
  store i32 %266, ptr %30, align 4, !tbaa !20
  br label %268

268:                                              ; preds = %267, %260
  %269 = load i32, ptr %30, align 4, !tbaa !20
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %272

271:                                              ; preds = %268
  store i32 2, ptr %29, align 4
  br label %273

272:                                              ; preds = %268
  store i32 0, ptr %29, align 4
  br label %273

273:                                              ; preds = %272, %271
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  %274 = load i32, ptr %29, align 4
  switch i32 %274, label %591 [
    i32 0, label %275
  ]

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #6
  store i8 0, ptr %31, align 1, !tbaa !13
  %276 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %277 = trunc i8 %276 to i1
  br i1 %277, label %281, label %278

278:                                              ; preds = %275
  %279 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %280 unwind label %449

280:                                              ; preds = %278
  br label %281

281:                                              ; preds = %280, %275
  %282 = phi i1 [ true, %275 ], [ %279, %280 ]
  %283 = zext i1 %282 to i8
  store i8 %283, ptr %31, align 1, !tbaa !13
  %284 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %285 = trunc i8 %284 to i1
  br i1 %285, label %289, label %286

286:                                              ; preds = %281
  %287 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef 0)
          to label %288 unwind label %449

288:                                              ; preds = %286
  br label %289

289:                                              ; preds = %288, %281
  %290 = phi i1 [ true, %281 ], [ %287, %288 ]
  %291 = zext i1 %290 to i8
  store i8 %291, ptr %31, align 1, !tbaa !13
  %292 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %293 = trunc i8 %292 to i1
  br i1 %293, label %297, label %294

294:                                              ; preds = %289
  %295 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %296 unwind label %449

296:                                              ; preds = %294
  br label %297

297:                                              ; preds = %296, %289
  %298 = phi i1 [ true, %289 ], [ %295, %296 ]
  %299 = zext i1 %298 to i8
  store i8 %299, ptr %31, align 1, !tbaa !13
  %300 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %301 = trunc i8 %300 to i1
  br i1 %301, label %305, label %302

302:                                              ; preds = %297
  %303 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %304 unwind label %449

304:                                              ; preds = %302
  br label %305

305:                                              ; preds = %304, %297
  %306 = phi i1 [ true, %297 ], [ %303, %304 ]
  %307 = zext i1 %306 to i8
  store i8 %307, ptr %31, align 1, !tbaa !13
  %308 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %309 = trunc i8 %308 to i1
  br i1 %309, label %313, label %310

310:                                              ; preds = %305
  %311 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %312 unwind label %449

312:                                              ; preds = %310
  br label %313

313:                                              ; preds = %312, %305
  %314 = phi i1 [ true, %305 ], [ %311, %312 ]
  %315 = zext i1 %314 to i8
  store i8 %315, ptr %31, align 1, !tbaa !13
  %316 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %317 = trunc i8 %316 to i1
  br i1 %317, label %321, label %318

318:                                              ; preds = %313
  %319 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %320 unwind label %449

320:                                              ; preds = %318
  br label %321

321:                                              ; preds = %320, %313
  %322 = phi i1 [ true, %313 ], [ %319, %320 ]
  %323 = zext i1 %322 to i8
  store i8 %323, ptr %31, align 1, !tbaa !13
  %324 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %325 = trunc i8 %324 to i1
  br i1 %325, label %329, label %326

326:                                              ; preds = %321
  %327 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %328 unwind label %449

328:                                              ; preds = %326
  br label %329

329:                                              ; preds = %328, %321
  %330 = phi i1 [ true, %321 ], [ %327, %328 ]
  %331 = zext i1 %330 to i8
  store i8 %331, ptr %31, align 1, !tbaa !13
  %332 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %333 = trunc i8 %332 to i1
  br i1 %333, label %337, label %334

334:                                              ; preds = %329
  %335 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef @.str)
          to label %336 unwind label %449

336:                                              ; preds = %334
  br label %337

337:                                              ; preds = %336, %329
  %338 = phi i1 [ true, %329 ], [ %335, %336 ]
  %339 = zext i1 %338 to i8
  store i8 %339, ptr %31, align 1, !tbaa !13
  %340 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %341 = trunc i8 %340 to i1
  br i1 %341, label %345, label %342

342:                                              ; preds = %337
  %343 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %344 unwind label %449

344:                                              ; preds = %342
  br label %345

345:                                              ; preds = %344, %337
  %346 = phi i1 [ true, %337 ], [ %343, %344 ]
  %347 = zext i1 %346 to i8
  store i8 %347, ptr %31, align 1, !tbaa !13
  %348 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %349 = trunc i8 %348 to i1
  br i1 %349, label %353, label %350

350:                                              ; preds = %345
  %351 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %352 unwind label %449

352:                                              ; preds = %350
  br label %353

353:                                              ; preds = %352, %345
  %354 = phi i1 [ true, %345 ], [ %351, %352 ]
  %355 = zext i1 %354 to i8
  store i8 %355, ptr %31, align 1, !tbaa !13
  %356 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %357 = trunc i8 %356 to i1
  br i1 %357, label %361, label %358

358:                                              ; preds = %353
  %359 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %360 unwind label %449

360:                                              ; preds = %358
  br label %361

361:                                              ; preds = %360, %353
  %362 = phi i1 [ true, %353 ], [ %359, %360 ]
  %363 = zext i1 %362 to i8
  store i8 %363, ptr %31, align 1, !tbaa !13
  %364 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %365 = trunc i8 %364 to i1
  br i1 %365, label %369, label %366

366:                                              ; preds = %361
  %367 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %368 unwind label %449

368:                                              ; preds = %366
  br label %369

369:                                              ; preds = %368, %361
  %370 = phi i1 [ true, %361 ], [ %367, %368 ]
  %371 = zext i1 %370 to i8
  store i8 %371, ptr %31, align 1, !tbaa !13
  %372 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %373 = trunc i8 %372 to i1
  br i1 %373, label %377, label %374

374:                                              ; preds = %369
  %375 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %376 unwind label %449

376:                                              ; preds = %374
  br label %377

377:                                              ; preds = %376, %369
  %378 = phi i1 [ true, %369 ], [ %375, %376 ]
  %379 = zext i1 %378 to i8
  store i8 %379, ptr %31, align 1, !tbaa !13
  %380 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %381 = trunc i8 %380 to i1
  br i1 %381, label %385, label %382

382:                                              ; preds = %377
  %383 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %384 unwind label %449

384:                                              ; preds = %382
  br label %385

385:                                              ; preds = %384, %377
  %386 = phi i1 [ true, %377 ], [ %383, %384 ]
  %387 = zext i1 %386 to i8
  store i8 %387, ptr %31, align 1, !tbaa !13
  %388 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %389 = trunc i8 %388 to i1
  br i1 %389, label %393, label %390

390:                                              ; preds = %385
  %391 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 0)
          to label %392 unwind label %449

392:                                              ; preds = %390
  br label %393

393:                                              ; preds = %392, %385
  %394 = phi i1 [ true, %385 ], [ %391, %392 ]
  %395 = zext i1 %394 to i8
  store i8 %395, ptr %31, align 1, !tbaa !13
  %396 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %397 = trunc i8 %396 to i1
  br i1 %397, label %401, label %398

398:                                              ; preds = %393
  %399 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef 0)
          to label %400 unwind label %449

400:                                              ; preds = %398
  br label %401

401:                                              ; preds = %400, %393
  %402 = phi i1 [ true, %393 ], [ %399, %400 ]
  %403 = zext i1 %402 to i8
  store i8 %403, ptr %31, align 1, !tbaa !13
  %404 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %405 = trunc i8 %404 to i1
  br i1 %405, label %410, label %406

406:                                              ; preds = %401
  %407 = load i32, ptr %11, align 4, !tbaa !11
  %408 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %407)
          to label %409 unwind label %449

409:                                              ; preds = %406
  br label %410

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

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

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 %31, align 1, !tbaa !13
  %421 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %422 = trunc i8 %421 to i1
  br i1 %422, label %426, label %423

423:                                              ; preds = %418
  %424 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %7, i1 noundef zeroext true)
          to label %425 unwind label %449

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 %31, align 1, !tbaa !13
  %429 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %430 = trunc i8 %429 to i1
  br i1 %430, label %434, label %431

431:                                              ; preds = %426
  %432 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 3021)
          to label %433 unwind label %449

433:                                              ; preds = %431
  br label %434

434:                                              ; preds = %433, %426
  %435 = phi i1 [ true, %426 ], [ %432, %433 ]
  %436 = zext i1 %435 to i8
  store i8 %436, ptr %31, align 1, !tbaa !13
  %437 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %438 = trunc i8 %437 to i1
  br i1 %438, label %442, label %439

439:                                              ; preds = %434
  %440 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef 44100)
          to label %441 unwind label %449

441:                                              ; preds = %439
  br label %442

442:                                              ; preds = %441, %434
  %443 = phi i1 [ true, %434 ], [ %440, %441 ]
  %444 = zext i1 %443 to i8
  store i8 %444, ptr %31, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %445 unwind label %449

445:                                              ; preds = %442
  %446 = load i8, ptr %31, align 1, !tbaa !13, !range !22, !noundef !23
  %447 = trunc i8 %446 to i1
  br i1 %447, label %448, label %453

448:                                              ; preds = %445
  call void @abort() #7
  unreachable

449:                                              ; preds = %442, %439, %431, %423, %415, %406, %398, %390, %382, %374, %366, %358, %350, %342, %334, %326, %318, %310, %302, %294, %286, %278
  %450 = landingpad { ptr, i32 }
          catch ptr null
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %8, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  br label %598

453:                                              ; preds = %445
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #6
  store i8 0, ptr %32, align 1, !tbaa !13
  %454 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %455 = trunc i8 %454 to i1
  %456 = zext i1 %455 to i32
  %457 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %458 unwind label %594

458:                                              ; preds = %453
  %459 = zext i1 %457 to i32
  %460 = icmp ne i32 %456, %459
  %461 = zext i1 %460 to i8
  store i8 %461, ptr %32, align 1, !tbaa !13
  %462 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %463 = trunc i8 %462 to i1
  %464 = zext i1 %463 to i32
  %465 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream10get_verifyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %466 unwind label %594

466:                                              ; preds = %458
  %467 = zext i1 %465 to i32
  %468 = icmp ne i32 %464, %467
  %469 = zext i1 %468 to i8
  store i8 %469, ptr %32, align 1, !tbaa !13
  %470 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %471 = trunc i8 %470 to i1
  %472 = zext i1 %471 to i32
  %473 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %474 unwind label %594

474:                                              ; preds = %466
  %475 = zext i1 %473 to i32
  %476 = icmp ne i32 %472, %475
  %477 = zext i1 %476 to i8
  store i8 %477, ptr %32, align 1, !tbaa !13
  %478 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %479 = trunc i8 %478 to i1
  %480 = zext i1 %479 to i32
  %481 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %482 unwind label %594

482:                                              ; preds = %474
  %483 = zext i1 %481 to i32
  %484 = icmp ne i32 %480, %483
  %485 = zext i1 %484 to i8
  store i8 %485, ptr %32, align 1, !tbaa !13
  %486 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %487 = trunc i8 %486 to i1
  %488 = zext i1 %487 to i32
  %489 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %490 unwind label %594

490:                                              ; preds = %482
  %491 = zext i1 %489 to i32
  %492 = icmp ne i32 %488, %491
  %493 = zext i1 %492 to i8
  store i8 %493, ptr %32, align 1, !tbaa !13
  %494 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %495 = trunc i8 %494 to i1
  %496 = zext i1 %495 to i32
  %497 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %498 unwind label %594

498:                                              ; preds = %490
  %499 = icmp ne i32 %496, %497
  %500 = zext i1 %499 to i8
  store i8 %500, ptr %32, align 1, !tbaa !13
  %501 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %502 = trunc i8 %501 to i1
  %503 = zext i1 %502 to i32
  %504 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream23get_qlp_coeff_precisionEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %505 unwind label %594

505:                                              ; preds = %498
  %506 = icmp ne i32 %503, %504
  %507 = zext i1 %506 to i8
  store i8 %507, ptr %32, align 1, !tbaa !13
  %508 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %509 = trunc i8 %508 to i1
  %510 = zext i1 %509 to i32
  %511 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %512 unwind label %594

512:                                              ; preds = %505
  %513 = zext i1 %511 to i32
  %514 = icmp ne i32 %510, %513
  %515 = zext i1 %514 to i8
  store i8 %515, ptr %32, align 1, !tbaa !13
  %516 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %517 = trunc i8 %516 to i1
  %518 = zext i1 %517 to i32
  %519 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %520 unwind label %594

520:                                              ; preds = %512
  %521 = zext i1 %519 to i32
  %522 = icmp ne i32 %518, %521
  %523 = zext i1 %522 to i8
  store i8 %523, ptr %32, align 1, !tbaa !13
  %524 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %525 = trunc i8 %524 to i1
  %526 = zext i1 %525 to i32
  %527 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %528 unwind label %594

528:                                              ; preds = %520
  %529 = icmp ne i32 %526, %527
  %530 = zext i1 %529 to i8
  store i8 %530, ptr %32, align 1, !tbaa !13
  %531 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %532 = trunc i8 %531 to i1
  %533 = zext i1 %532 to i32
  %534 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_max_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %535 unwind label %594

535:                                              ; preds = %528
  %536 = icmp ne i32 %533, %534
  %537 = zext i1 %536 to i8
  store i8 %537, ptr %32, align 1, !tbaa !13
  %538 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %539 = trunc i8 %538 to i1
  %540 = zext i1 %539 to i32
  %541 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %542 unwind label %594

542:                                              ; preds = %535
  %543 = icmp ne i32 %540, %541
  %544 = zext i1 %543 to i8
  store i8 %544, ptr %32, align 1, !tbaa !13
  %545 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %546 = trunc i8 %545 to i1
  %547 = zext i1 %546 to i64
  %548 = invoke noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %549 unwind label %594

549:                                              ; preds = %542
  %550 = icmp ne i64 %547, %548
  %551 = zext i1 %550 to i8
  store i8 %551, ptr %32, align 1, !tbaa !13
  %552 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %553 = trunc i8 %552 to i1
  %554 = zext i1 %553 to i32
  %555 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %556 unwind label %594

556:                                              ; preds = %549
  %557 = icmp ne i32 %554, %555
  %558 = zext i1 %557 to i8
  store i8 %558, ptr %32, align 1, !tbaa !13
  %559 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %560 = trunc i8 %559 to i1
  %561 = zext i1 %560 to i32
  %562 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %563 unwind label %594

563:                                              ; preds = %556
  %564 = icmp ne i32 %561, %562
  %565 = zext i1 %564 to i8
  store i8 %565, ptr %32, align 1, !tbaa !13
  %566 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %567 = trunc i8 %566 to i1
  %568 = zext i1 %567 to i32
  %569 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %570 unwind label %594

570:                                              ; preds = %563
  %571 = zext i1 %569 to i32
  %572 = icmp ne i32 %568, %571
  %573 = zext i1 %572 to i8
  store i8 %573, ptr %32, align 1, !tbaa !13
  %574 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %575 = trunc i8 %574 to i1
  %576 = zext i1 %575 to i32
  %577 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %578 unwind label %594

578:                                              ; preds = %570
  %579 = icmp ne i32 %576, %577
  %580 = zext i1 %579 to i8
  store i8 %580, ptr %32, align 1, !tbaa !13
  %581 = load i8, ptr %32, align 1, !tbaa !13, !range !22, !noundef !23
  %582 = trunc i8 %581 to i1
  %583 = zext i1 %582 to i32
  %584 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %585 unwind label %594

585:                                              ; preds = %578
  %586 = icmp ne i32 %583, %584
  %587 = zext i1 %586 to i8
  store i8 %587, ptr %32, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %588 unwind label %594

588:                                              ; preds = %585
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  %589 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %590 unwind label %164

590:                                              ; preds = %588
  store i32 0, ptr %29, align 4
  br label %591

591:                                              ; preds = %590, %273, %253
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  %592 = load i32, ptr %29, align 4
  switch i32 %592, label %647 [
    i32 0, label %593
    i32 2, label %605
  ]

593:                                              ; preds = %591
  br label %604

594:                                              ; preds = %585, %578, %570, %563, %556, %549, %542, %535, %528, %520, %512, %505, %498, %490, %482, %474, %466, %458, %453
  %595 = landingpad { ptr, i32 }
          catch ptr null
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %8, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #6
  br label %598

598:                                              ; preds = %594, %449, %261, %228, %224, %220, %216, %212, %208, %204, %200, %196, %192, %188, %184, %180, %176, %172, %168, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %599

599:                                              ; preds = %598, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %600

600:                                              ; preds = %599
  %601 = load ptr, ptr %8, align 8
  %602 = call ptr @__cxa_begin_catch(ptr %601) #6
  invoke void @__cxa_end_catch()
          to label %603 unwind label %620

603:                                              ; preds = %600
  br label %604

604:                                              ; preds = %603, %593
  br label %605

605:                                              ; preds = %604, %591
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #6
  %606 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %607 unwind label %624

607:                                              ; preds = %605
  %608 = zext i1 %606 to i8
  store i8 %608, ptr %33, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %609 unwind label %624

609:                                              ; preds = %607
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #6
  %610 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %611 unwind label %628

611:                                              ; preds = %609
  %612 = zext i1 %610 to i8
  store i8 %612, ptr %34, align 1, !tbaa !13
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %613 unwind label %628

613:                                              ; preds = %611
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store i32 0, ptr %35, align 4, !tbaa !11
  br label %614

614:                                              ; preds = %639, %613
  %615 = load i32, ptr %35, align 4, !tbaa !11
  %616 = getelementptr inbounds %"class.FLAC::Decoder::FuzzerDecoder", ptr %10, i32 0, i32 4
  %617 = load i32, ptr %616, align 8, !tbaa !17
  %618 = icmp slt i32 %615, %617
  br i1 %618, label %632, label %619

619:                                              ; preds = %614
  store i32 3, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %646

620:                                              ; preds = %600
  %621 = landingpad { ptr, i32 }
          cleanup
  %622 = extractvalue { ptr, i32 } %621, 0
  store ptr %622, ptr %8, align 8
  %623 = extractvalue { ptr, i32 } %621, 1
  store i32 %623, ptr %9, align 4
  br label %649

624:                                              ; preds = %607, %605
  %625 = landingpad { ptr, i32 }
          cleanup
  %626 = extractvalue { ptr, i32 } %625, 0
  store ptr %626, ptr %8, align 8
  %627 = extractvalue { ptr, i32 } %625, 1
  store i32 %627, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #6
  br label %649

628:                                              ; preds = %611, %609
  %629 = landingpad { ptr, i32 }
          cleanup
  %630 = extractvalue { ptr, i32 } %629, 0
  store ptr %630, ptr %8, align 8
  %631 = extractvalue { ptr, i32 } %629, 1
  store i32 %631, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #6
  br label %649

632:                                              ; preds = %614
  %633 = getelementptr inbounds %"class.FLAC::Decoder::FuzzerDecoder", ptr %10, i32 0, i32 3
  %634 = load i32, ptr %35, align 4, !tbaa !11
  %635 = sext i32 %634 to i64
  %636 = getelementptr inbounds [2048 x ptr], ptr %633, i64 0, i64 %635
  %637 = load ptr, ptr %636, align 8, !tbaa !5
  invoke void @FLAC__metadata_object_delete(ptr noundef %637)
          to label %638 unwind label %642

638:                                              ; preds = %632
  br label %639

639:                                              ; preds = %638
  %640 = load i32, ptr %35, align 4, !tbaa !11
  %641 = add nsw i32 %640, 1
  store i32 %641, ptr %35, align 4, !tbaa !11
  br label %614, !llvm.loop !24

642:                                              ; preds = %632
  %643 = landingpad { ptr, i32 }
          cleanup
  %644 = extractvalue { ptr, i32 } %643, 0
  store ptr %644, ptr %8, align 8
  %645 = extractvalue { ptr, i32 } %643, 1
  store i32 %645, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  br label %649

646:                                              ; preds = %619
  store i32 0, ptr %3, align 4
  store i32 1, ptr %29, align 4
  br label %647

647:                                              ; preds = %646, %591
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16420) %10) #6
  call void @llvm.lifetime.end.p0(i64 16424, ptr %10) #6
  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
  %648 = load i32, ptr %3, align 4
  ret i32 %648

649:                                              ; preds = %642, %628, %624, %620
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16420) %10) #6
  br label %650

650:                                              ; preds = %649, %156
  call void @llvm.lifetime.end.p0(i64 16424, ptr %10) #6
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %651

651:                                              ; preds = %650, %152
  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 %652

652:                                              ; preds = %651
  %653 = load ptr, ptr %8, align 8
  %654 = load i32, ptr %9, align 4
  %655 = insertvalue { ptr, i32 } poison, ptr %653, 0
  %656 = insertvalue { ptr, i32 } %655, i32 %654, 1
  resume { ptr, i32 } %656
}

; 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 void @_ZN4FLAC7Decoder13FuzzerDecoderC2ERN7fuzzing10datasource10DatasourceERNS_7Encoder12FuzzerStreamE(ptr noundef nonnull align 8 dereferenceable(16420), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) 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 #2

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

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

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

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

; 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 #2

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

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

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

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

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

; 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 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #2

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

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

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

; 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 #2

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream24set_metadata_respond_allEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #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 #2

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @FLAC__metadata_object_delete(ptr noundef) #2

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

; 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 #3 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 = { "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 = { 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 #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__StreamDecoderInitStatus", !7, i64 0}
!17 = !{!18, !12, i64 16416}
!18 = !{!"_ZTSN4FLAC7Decoder13FuzzerDecoderE", !19, i64 0, !6, i64 16, !6, i64 24, !7, i64 32, !12, i64 16416}
!19 = !{!"_ZTSN4FLAC7Decoder6StreamE", !6, i64 8}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS29FLAC__StreamEncoderInitStatus", !7, i64 0}
!22 = !{i8 0, i8 2}
!23 = !{}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; 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.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.FLAC::Decoder::FuzzerDecoder" = type <{ %"class.FLAC::Decoder::Stream", ptr, ptr, [2048 x ptr], i32, [4 x i8] }>
%"class.FLAC::Decoder::Stream" = type { ptr, ptr }

@.str = 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

declare i32 @__gxx_personality_v0(...)

; 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 %"class.FLAC::Decoder::FuzzerDecoder", align 8
  %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 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 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
  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 %25 unwind label %121

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16424, ptr nonnull %5) #6
  invoke void @_ZN4FLAC7Decoder13FuzzerDecoderC2ERN7fuzzing10datasource10DatasourceERNS_7Encoder12FuzzerStreamE(ptr noundef nonnull align 8 dereferenceable(16420) %5, ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %26 unwind label %123

26:                                               ; preds = %25
  %27 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %28 unwind label %125

28:                                               ; preds = %26
  %29 = zext i8 %27 to i32
  %30 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %31 unwind label %127

31:                                               ; preds = %28
  %32 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %29)
          to label %33 unwind label %127

33:                                               ; preds = %31
  %34 = zext i8 %30 to i32
  %35 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %34)
          to label %36 unwind label %127

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

38:                                               ; preds = %36
  %39 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %37)
          to label %40 unwind label %129

40:                                               ; preds = %38
  %41 = zext i1 %39 to i8
  store i8 %41, 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
  %42 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %43 unwind label %131

43:                                               ; preds = %40
  %44 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %42)
          to label %45 unwind label %131

45:                                               ; preds = %43
  %46 = zext i1 %44 to i8
  store i8 %46, 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
  %47 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %48 unwind label %133

48:                                               ; preds = %45
  %49 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %47)
          to label %50 unwind label %133

50:                                               ; preds = %48
  %51 = zext i1 %49 to i8
  store i8 %51, 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
  %52 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %53 unwind label %135

53:                                               ; preds = %50
  %54 = zext i8 %52 to i32
  %55 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %54)
          to label %56 unwind label %135

56:                                               ; preds = %53
  %57 = zext i1 %55 to i8
  store i8 %57, 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
  %58 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %59 unwind label %137

59:                                               ; preds = %56
  %60 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %58)
          to label %61 unwind label %137

61:                                               ; preds = %59
  %62 = zext i1 %60 to i8
  store i8 %62, 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
  %63 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %64 unwind label %139

64:                                               ; preds = %61
  %65 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %63)
          to label %66 unwind label %139

66:                                               ; preds = %64
  %67 = zext i1 %65 to i8
  store i8 %67, 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 1, ptr nonnull %12) #6
  %68 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %69 unwind label %141

69:                                               ; preds = %66
  %70 = zext i8 %68 to i32
  %71 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %70)
          to label %72 unwind label %141

72:                                               ; preds = %69
  %73 = zext i1 %71 to i8
  store i8 %73, ptr %12, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %12)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #6
  %74 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %75 unwind label %143

75:                                               ; preds = %72
  %76 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %74)
          to label %77 unwind label %143

77:                                               ; preds = %75
  %78 = zext i1 %76 to i8
  store i8 %78, 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 @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #6
  %79 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %80 unwind label %145

80:                                               ; preds = %77
  %81 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %79)
          to label %82 unwind label %145

82:                                               ; preds = %80
  %83 = zext i1 %81 to i8
  store i8 %83, 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
  %84 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %85 unwind label %147

85:                                               ; preds = %82
  %86 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %84)
          to label %87 unwind label %147

87:                                               ; preds = %85
  %88 = zext i1 %86 to i8
  store i8 %88, 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
  %89 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %90 unwind label %149

90:                                               ; preds = %87
  %91 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %89)
          to label %92 unwind label %149

92:                                               ; preds = %90
  %93 = zext i1 %91 to i8
  store i8 %93, 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
  %94 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %95 unwind label %151

95:                                               ; preds = %92
  %96 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %94)
          to label %97 unwind label %151

97:                                               ; preds = %95
  %98 = zext i1 %96 to i8
  store i8 %98, 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
  %99 = invoke noundef zeroext i16 @_ZN7fuzzing10datasource4Base3GetItEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %100 unwind label %153

100:                                              ; preds = %97
  %101 = zext i16 %99 to i32
  %102 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %101)
          to label %103 unwind label %153

103:                                              ; preds = %100
  %104 = zext i1 %102 to i8
  store i8 %104, 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
  %105 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %106 unwind label %155

106:                                              ; preds = %103
  %107 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext %105)
          to label %108 unwind label %155

108:                                              ; preds = %106
  %109 = zext i1 %107 to i8
  store i8 %109, 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
  %110 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetIjEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %111 unwind label %157

111:                                              ; preds = %108
  %112 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %110)
          to label %113 unwind label %157

113:                                              ; preds = %111
  %114 = zext i1 %112 to i8
  store i8 %114, 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
  %115 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream24set_metadata_respond_allEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %116 unwind label %127

116:                                              ; preds = %113
  %117 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %118 unwind label %159

118:                                              ; preds = %116
  br i1 %117, label %119, label %161

119:                                              ; preds = %118
  %120 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %163 unwind label %159

121:                                              ; preds = %2
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %370

123:                                              ; preds = %25
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %369

125:                                              ; preds = %26
  %126 = landingpad { ptr, i32 }
          catch ptr null
  br label %341

127:                                              ; preds = %319, %113, %33, %31, %28
  %128 = landingpad { ptr, i32 }
          catch ptr null
  br label %341

129:                                              ; preds = %38, %36
  %130 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  br label %341

131:                                              ; preds = %43, %40
  %132 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #6
  br label %341

133:                                              ; preds = %48, %45
  %134 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  br label %341

135:                                              ; preds = %53, %50
  %136 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %341

137:                                              ; preds = %59, %56
  %138 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #6
  br label %341

139:                                              ; preds = %64, %61
  %140 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #6
  br label %341

141:                                              ; preds = %69, %66
  %142 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  br label %341

143:                                              ; preds = %75, %72
  %144 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #6
  br label %341

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

147:                                              ; preds = %85, %82
  %148 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #6
  br label %341

149:                                              ; preds = %90, %87
  %150 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #6
  br label %341

151:                                              ; preds = %95, %92
  %152 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #6
  br label %341

153:                                              ; preds = %100, %97
  %154 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  br label %341

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

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

159:                                              ; preds = %170, %164, %161, %119, %116
  %160 = landingpad { ptr, i32 }
          catch ptr null
  br label %341

161:                                              ; preds = %118
  %162 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %163 unwind label %159

163:                                              ; preds = %161, %119
  %.019 = phi i32 [ %120, %119 ], [ %162, %161 ]
  %.not = icmp eq i32 %.019, 0
  br i1 %.not, label %164, label %.thread70

164:                                              ; preds = %163
  %165 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %166 unwind label %159

166:                                              ; preds = %164
  %167 = getelementptr inbounds i8, ptr %5, i64 16416
  %168 = load i32, ptr %167, align 8, !tbaa !9
  %169 = icmp sgt i32 %168, 0
  br i1 %169, label %170, label %173

170:                                              ; preds = %166
  %171 = getelementptr inbounds i8, ptr %5, i64 32
  %172 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_metadataEPP20FLAC__StreamMetadataj(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %171, i32 noundef %168)
          to label %173 unwind label %159

173:                                              ; preds = %166, %170
  %174 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %175 unwind label %178

175:                                              ; preds = %173
  br i1 %174, label %176, label %180

176:                                              ; preds = %175
  %177 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %182 unwind label %178

178:                                              ; preds = %180, %176, %173
  %179 = landingpad { ptr, i32 }
          catch ptr null
  br label %341

180:                                              ; preds = %175
  %181 = invoke noundef i32 @_ZN4FLAC7Encoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %182 unwind label %178

182:                                              ; preds = %180, %176
  %.017 = phi i32 [ %177, %176 ], [ %181, %180 ]
  %.not27 = icmp eq i32 %.017, 0
  br i1 %.not27, label %183, label %.thread70

183:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #6
  store i8 0, ptr %21, align 1, !tbaa !5
  %184 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_streamable_subsetEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %185 unwind label %270

185:                                              ; preds = %183
  %186 = zext i1 %184 to i8
  store i8 %186, ptr %21, align 1, !tbaa !5
  br i1 %184, label %.critedge41, label %187

187:                                              ; preds = %185
  %188 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
          to label %189 unwind label %270

189:                                              ; preds = %187
  %190 = zext i1 %188 to i8
  store i8 %190, ptr %21, align 1, !tbaa !5
  br i1 %188, label %.critedge41, label %191

191:                                              ; preds = %189
  %192 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream10set_verifyEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %193 unwind label %270

193:                                              ; preds = %191
  %194 = zext i1 %192 to i8
  store i8 %194, ptr %21, align 1, !tbaa !5
  br i1 %192, label %.critedge41, label %195

195:                                              ; preds = %193
  %196 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_compression_levelEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %197 unwind label %270

197:                                              ; preds = %195
  %198 = zext i1 %196 to i8
  store i8 %198, ptr %21, align 1, !tbaa !5
  br i1 %196, label %.critedge41, label %199

199:                                              ; preds = %197
  %200 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_do_exhaustive_model_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %201 unwind label %270

201:                                              ; preds = %199
  %202 = zext i1 %200 to i8
  store i8 %202, ptr %21, align 1, !tbaa !5
  br i1 %200, label %.critedge41, label %203

203:                                              ; preds = %201
  %204 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream22set_do_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %205 unwind label %270

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

207:                                              ; preds = %205
  %208 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream25set_loose_mid_side_stereoEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %209 unwind label %270

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

211:                                              ; preds = %209
  %212 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_apodizationEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @.str)
          to label %213 unwind label %270

.critedge41:                                      ; preds = %201, %193, %185, %189, %197, %205
  store i8 1, ptr %21, align 1, !tbaa !5
  br label %.critedge55

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

215:                                              ; preds = %213
  %216 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream17set_max_lpc_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %217 unwind label %270

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

219:                                              ; preds = %217
  %220 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream23set_qlp_coeff_precisionEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %221 unwind label %270

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

223:                                              ; preds = %221
  %224 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream28set_do_qlp_coeff_prec_searchEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %225 unwind label %270

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

227:                                              ; preds = %225
  %228 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %229 unwind label %270

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

231:                                              ; preds = %229
  %232 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_min_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %233 unwind label %270

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

235:                                              ; preds = %233
  %236 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream32set_max_residual_partition_orderEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %237 unwind label %270

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

239:                                              ; preds = %237
  %240 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream30set_rice_parameter_search_distEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 0)
          to label %241 unwind label %270

.critedge55:                                      ; preds = %229, %221, %213, %.critedge41, %209, %217, %225, %233
  store i8 1, ptr %21, align 1, !tbaa !5
  br label %.critedge67

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

243:                                              ; preds = %241
  %244 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream26set_total_samples_estimateEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 0)
          to label %245 unwind label %270

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

247:                                              ; preds = %245
  %248 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream12set_channelsEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %29)
          to label %249 unwind label %270

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

251:                                              ; preds = %249
  %252 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream19set_bits_per_sampleEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 16)
          to label %253 unwind label %270

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

255:                                              ; preds = %253
  %256 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream21set_limit_min_bitrateEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
          to label %257 unwind label %270

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

259:                                              ; preds = %257
  %260 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream13set_blocksizeEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 3021)
          to label %261 unwind label %270

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

263:                                              ; preds = %261
  %264 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream15set_sample_rateEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 44100)
          to label %.critedge67 unwind label %270

.critedge67:                                      ; preds = %257, %249, %241, %.critedge55, %237, %245, %253, %263, %261
  %265 = phi i1 [ true, %261 ], [ %264, %263 ], [ true, %253 ], [ true, %245 ], [ true, %237 ], [ true, %.critedge55 ], [ true, %241 ], [ true, %249 ], [ true, %257 ]
  %266 = zext i1 %265 to i8
  store i8 %266, ptr %21, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
  %267 = load i8, ptr %21, align 1, !tbaa !5, !range !14, !noundef !15
  %268 = trunc nuw i8 %267 to i1
  br i1 %268, label %269, label %272

269:                                              ; preds = %.critedge67
  call void @abort() #7
  unreachable

270:                                              ; preds = %263, %259, %255, %251, %247, %243, %239, %235, %231, %227, %223, %219, %215, %211, %207, %203, %199, %195, %191, %187, %183
  %271 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  br label %341

272:                                              ; preds = %.critedge67
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #6
  %273 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_streamable_subsetEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %274 unwind label %339

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

276:                                              ; preds = %274
  %277 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream30get_do_exhaustive_model_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %278 unwind label %339

278:                                              ; preds = %276
  %279 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream22get_do_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %280 unwind label %339

280:                                              ; preds = %278
  %281 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream25get_loose_mid_side_stereoEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %282 unwind label %339

282:                                              ; preds = %280
  %283 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream17get_max_lpc_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %284 unwind label %339

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

286:                                              ; preds = %284
  %287 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream28get_do_qlp_coeff_prec_searchEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %288 unwind label %339

288:                                              ; preds = %286
  %289 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream20get_do_escape_codingEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %290 unwind label %339

290:                                              ; preds = %288
  %291 = xor i1 %273, %275
  %292 = xor i1 %291, %277
  %293 = xor i1 %292, %279
  %294 = xor i1 %293, %281
  %295 = zext i1 %294 to i32
  %296 = icmp ne i32 %283, %295
  %297 = zext i1 %296 to i32
  %298 = icmp ne i32 %285, %297
  %299 = xor i1 %298, %287
  %300 = xor i1 %299, %289
  %301 = zext i1 %300 to i8
  store i8 %301, ptr %22, align 1, !tbaa !5
  %302 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream32get_min_residual_partition_orderEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %303 unwind label %339

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

305:                                              ; preds = %303
  %306 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream30get_rice_parameter_search_distEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %307 unwind label %339

307:                                              ; preds = %305
  %308 = invoke noundef i64 @_ZNK4FLAC7Encoder6Stream26get_total_samples_estimateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %309 unwind label %339

309:                                              ; preds = %307
  %310 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %311 unwind label %339

311:                                              ; preds = %309
  %312 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %313 unwind label %339

313:                                              ; preds = %311
  %314 = invoke noundef zeroext i1 @_ZNK4FLAC7Encoder6Stream21get_limit_min_bitrateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %315 unwind label %339

315:                                              ; preds = %313
  %316 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %317 unwind label %339

317:                                              ; preds = %315
  %318 = invoke noundef i32 @_ZNK4FLAC7Encoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %319 unwind label %339

319:                                              ; preds = %317
  %320 = zext i1 %300 to i32
  %321 = icmp ne i32 %302, %320
  %322 = zext i1 %321 to i32
  %323 = icmp ne i32 %304, %322
  %324 = zext i1 %323 to i32
  %325 = icmp ne i32 %306, %324
  %326 = zext i1 %325 to i64
  %327 = icmp ne i64 %308, %326
  %328 = zext i1 %327 to i32
  %329 = icmp ne i32 %310, %328
  %330 = zext i1 %329 to i32
  %331 = icmp ne i32 %312, %330
  %332 = xor i1 %331, %314
  %333 = zext i1 %332 to i32
  %334 = icmp ne i32 %316, %333
  %335 = zext i1 %334 to i32
  %336 = icmp ne i32 %318, %335
  %337 = zext i1 %336 to i8
  store i8 %337, 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
  %338 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %.thread70 unwind label %127

339:                                              ; preds = %317, %315, %313, %311, %309, %307, %305, %303, %290, %288, %286, %284, %282, %280, %278, %276, %274, %272
  %340 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #6
  br label %341

341:                                              ; preds = %127, %129, %131, %133, %135, %137, %139, %141, %143, %145, %147, %149, %151, %153, %155, %157, %159, %178, %270, %339, %125
  %.pn.pn = phi { ptr, i32 } [ %126, %125 ], [ %128, %127 ], [ %340, %339 ], [ %271, %270 ], [ %179, %178 ], [ %160, %159 ], [ %158, %157 ], [ %156, %155 ], [ %154, %153 ], [ %152, %151 ], [ %150, %149 ], [ %148, %147 ], [ %146, %145 ], [ %144, %143 ], [ %142, %141 ], [ %140, %139 ], [ %138, %137 ], [ %136, %135 ], [ %134, %133 ], [ %132, %131 ], [ %130, %129 ]
  %.121 = extractvalue { ptr, i32 } %.pn.pn, 0
  %342 = call ptr @__cxa_begin_catch(ptr %.121) #6
  invoke void @__cxa_end_catch()
          to label %.thread70 unwind label %353

.thread70:                                        ; preds = %182, %163, %319, %341
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #6
  %343 = invoke noundef zeroext i1 @_ZN4FLAC7Encoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %344 unwind label %355

344:                                              ; preds = %.thread70
  %345 = zext i1 %343 to i8
  store i8 %345, 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
  %346 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %347 unwind label %357

347:                                              ; preds = %344
  %348 = zext i1 %346 to i8
  store i8 %348, 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
  %349 = getelementptr inbounds i8, ptr %5, i64 16416
  %350 = load i32, ptr %349, align 8, !tbaa !9
  %351 = icmp sgt i32 %350, 0
  br i1 %351, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %347
  %352 = getelementptr inbounds i8, ptr %5, i64 32
  br label %359

353:                                              ; preds = %341
  %354 = landingpad { ptr, i32 }
          cleanup
  br label %368

355:                                              ; preds = %.thread70
  %356 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #6
  br label %368

357:                                              ; preds = %344
  %358 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #6
  br label %368

359:                                              ; preds = %.lr.ph, %362
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %362 ]
  %360 = getelementptr inbounds [2048 x ptr], ptr %352, i64 0, i64 %indvars.iv
  %361 = load ptr, ptr %360, align 8, !tbaa !16
  invoke void @FLAC__metadata_object_delete(ptr noundef %361)
          to label %362 unwind label %366

362:                                              ; preds = %359
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %363 = load i32, ptr %349, align 8, !tbaa !9
  %364 = sext i32 %363 to i64
  %365 = icmp slt i64 %indvars.iv.next, %364
  br i1 %365, label %359, label %._crit_edge, !llvm.loop !17

366:                                              ; preds = %359
  %367 = landingpad { ptr, i32 }
          cleanup
  br label %368

._crit_edge:                                      ; preds = %362, %347
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16420) %5) #6
  call void @llvm.lifetime.end.p0(i64 16424, ptr nonnull %5) #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

368:                                              ; preds = %366, %357, %355, %353
  %.pn28 = phi { ptr, i32 } [ %367, %366 ], [ %358, %357 ], [ %356, %355 ], [ %354, %353 ]
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16420) %5) #6
  br label %369

369:                                              ; preds = %368, %123
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %368 ], [ %124, %123 ]
  call void @llvm.lifetime.end.p0(i64 16424, ptr nonnull %5) #6
  call void @_ZN4FLAC7Encoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #6
  br label %370

370:                                              ; preds = %369, %121
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %369 ], [ %122, %121 ]
  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 } %.pn28.pn.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 void @_ZN4FLAC7Decoder13FuzzerDecoderC2ERN7fuzzing10datasource10DatasourceERNS_7Encoder12FuzzerStreamE(ptr noundef nonnull align 8 dereferenceable(16420), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(16)) 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 #2

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

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

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

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

; 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 #2

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

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

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

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

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

; 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 @_ZN4FLAC7Encoder6Stream20set_do_escape_codingEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) unnamed_addr #2

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

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

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

; 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 #2

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream24set_metadata_respond_allEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

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

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

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

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

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

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

; 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 #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #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 #2

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @FLAC__metadata_object_delete(ptr noundef) local_unnamed_addr #2

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

; 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 #3 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 = { "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 = { 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 #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 = !{!10, !13, i64 16416}
!10 = !{!"_ZTSN4FLAC7Decoder13FuzzerDecoderE", !11, i64 0, !12, i64 16, !12, i64 24, !7, i64 32, !13, i64 16416}
!11 = !{!"_ZTSN4FLAC7Decoder6StreamE", !12, i64 8}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!12, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}


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