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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fuzzing::datasource::Datasource" = type { %"class.fuzzing::datasource::Base", ptr, i64, i64, i64 }
%"class.fuzzing::datasource::Base" = type { ptr }
%"class.FLAC::Decoder::FuzzerStream" = type { %"class.FLAC::Decoder::Stream", ptr }
%"class.FLAC::Decoder::Stream" = type { ptr, ptr }

; 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #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

; 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::Decoder::FuzzerStream", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca [4 x i8], align 1
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca [4 x i8], align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %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 i8, align 1
  %29 = alloca i8, align 1
  %30 = alloca i8, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #6
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = load i64, ptr %5, align 8, !tbaa !9
  call void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef %31, i64 noundef %32)
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #6
  invoke void @_ZN4FLAC7Decoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %33 unwind label %37

33:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 1, ptr %10, align 1, !tbaa !11
  %34 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %35 unwind label %41

35:                                               ; preds = %33
  br i1 %34, label %36, label %45

36:                                               ; preds = %35
  store i8 0, ptr %10, align 1, !tbaa !11
  br label %45

37:                                               ; preds = %2
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %8, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %9, align 4
  br label %310

41:                                               ; preds = %159, %156, %132, %129, %106, %103, %101, %98, %95, %92, %69, %66, %64, %61, %58, %56, %53, %50, %48, %45, %33
  %42 = landingpad { ptr, i32 }
          catch ptr null
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %8, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %9, align 4
  br label %287

45:                                               ; preds = %36, %35
  %46 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %47 unwind label %41

47:                                               ; preds = %45
  br i1 %46, label %48, label %53

48:                                               ; preds = %47
  %49 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %50 unwind label %41

50:                                               ; preds = %48
  %51 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %49)
          to label %52 unwind label %41

52:                                               ; preds = %50
  br label %53

53:                                               ; preds = %52, %47
  %54 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %55 unwind label %41

55:                                               ; preds = %53
  br i1 %54, label %56, label %61

56:                                               ; preds = %55
  %57 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %58 unwind label %41

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

60:                                               ; preds = %58
  br label %61

61:                                               ; preds = %60, %55
  %62 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %63 unwind label %41

63:                                               ; preds = %61
  br i1 %62, label %64, label %69

64:                                               ; preds = %63
  %65 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %66 unwind label %41

66:                                               ; preds = %64
  %67 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream20set_metadata_respondE18FLAC__MetadataType(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %65)
          to label %68 unwind label %41

68:                                               ; preds = %66
  br label %69

69:                                               ; preds = %68, %63
  %70 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %71 unwind label %41

71:                                               ; preds = %69
  br i1 %70, label %72, label %92

72:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  invoke void @_ZN7fuzzing10datasource4Base7GetDataEmmm(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0, i64 noundef 0, i64 noundef 0)
          to label %73 unwind label %82

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %74 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  %75 = icmp uge i64 %74, 4
  br i1 %75, label %76, label %90

76:                                               ; preds = %73
  %77 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  %78 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %77, ptr align 1 %78, i64 4, i1 false)
  %79 = getelementptr inbounds [4 x i8], ptr %12, i64 0, i64 0
  %80 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream32set_metadata_respond_applicationEPKh(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %79)
          to label %81 unwind label %86

81:                                               ; preds = %76
  br label %90

82:                                               ; preds = %72
  %83 = landingpad { ptr, i32 }
          catch ptr null
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %8, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %9, align 4
  br label %91

86:                                               ; preds = %76
  %87 = landingpad { ptr, i32 }
          catch ptr null
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %8, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %91

90:                                               ; preds = %81, %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  br label %92

91:                                               ; preds = %86, %82
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  br label %287

92:                                               ; preds = %90, %71
  %93 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %94 unwind label %41

94:                                               ; preds = %92
  br i1 %93, label %95, label %98

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

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97, %94
  %99 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %100 unwind label %41

100:                                              ; preds = %98
  br i1 %99, label %101, label %106

101:                                              ; preds = %100
  %102 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %103 unwind label %41

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

105:                                              ; preds = %103
  br label %106

106:                                              ; preds = %105, %100
  %107 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %108 unwind label %41

108:                                              ; preds = %106
  br i1 %107, label %109, label %129

109:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  invoke void @_ZN7fuzzing10datasource4Base7GetDataEmmm(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0, i64 noundef 0, i64 noundef 0)
          to label %110 unwind label %119

110:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %111 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %112 = icmp uge i64 %111, 4
  br i1 %112, label %113, label %127

113:                                              ; preds = %110
  %114 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
  %115 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %114, ptr align 1 %115, i64 4, i1 false)
  %116 = getelementptr inbounds [4 x i8], ptr %14, i64 0, i64 0
  %117 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream31set_metadata_ignore_applicationEPKh(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %116)
          to label %118 unwind label %123

118:                                              ; preds = %113
  br label %127

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          catch ptr null
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %8, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %9, align 4
  br label %128

123:                                              ; preds = %113
  %124 = landingpad { ptr, i32 }
          catch ptr null
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %8, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %128

127:                                              ; preds = %118, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  br label %129

128:                                              ; preds = %123, %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  br label %287

129:                                              ; preds = %127, %108
  %130 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %131 unwind label %41

131:                                              ; preds = %129
  br i1 %130, label %132, label %135

132:                                              ; preds = %131
  %133 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream23set_metadata_ignore_allEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %134 unwind label %41

134:                                              ; preds = %132
  br label %135

135:                                              ; preds = %134, %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %136 = load i8, ptr %10, align 1, !tbaa !11, !range !13, !noundef !14
  %137 = trunc i8 %136 to i1
  br i1 %137, label %145, label %138

138:                                              ; preds = %135
  %139 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %140 unwind label %141

140:                                              ; preds = %138
  store i32 %139, ptr %15, align 4, !tbaa !15
  br label %148

141:                                              ; preds = %145, %138
  %142 = landingpad { ptr, i32 }
          catch ptr null
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %8, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %287

145:                                              ; preds = %135
  %146 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %147 unwind label %141

147:                                              ; preds = %145
  store i32 %146, ptr %15, align 4, !tbaa !15
  br label %148

148:                                              ; preds = %147, %140
  %149 = load i32, ptr %15, align 4, !tbaa !15
  %150 = icmp ne i32 %149, 0
  br i1 %150, label %151, label %152

151:                                              ; preds = %148
  store i32 2, ptr %16, align 4
  br label %153

152:                                              ; preds = %148
  store i32 0, ptr %16, align 4
  br label %153

153:                                              ; preds = %152, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  %154 = load i32, ptr %16, align 4
  switch i32 %154, label %307 [
    i32 0, label %155
    i32 2, label %292
  ]

155:                                              ; preds = %153
  br label %156

156:                                              ; preds = %297, %155
  %157 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %158 unwind label %41

158:                                              ; preds = %156
  br i1 %157, label %159, label %298

159:                                              ; preds = %158
  %160 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %161 unwind label %41

161:                                              ; preds = %159
  %162 = zext i8 %160 to i32
  switch i32 %162, label %297 [
    i32 0, label %163
    i32 1, label %172
    i32 2, label %181
    i32 3, label %190
    i32 4, label %199
    i32 5, label %208
    i32 6, label %217
    i32 7, label %228
    i32 8, label %237
    i32 9, label %247
    i32 10, label %257
    i32 11, label %267
    i32 12, label %277
  ]

163:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #6
  %164 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5flushEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %165 unwind label %168

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

167:                                              ; preds = %165
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #6
  br label %297

168:                                              ; preds = %165, %163
  %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 %17) #6
  br label %287

172:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %173 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %174 unwind label %177

174:                                              ; preds = %172
  %175 = zext i1 %173 to i8
  store i8 %175, ptr %18, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %176 unwind label %177

176:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %297

177:                                              ; preds = %174, %172
  %178 = landingpad { ptr, i32 }
          catch ptr null
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %8, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %287

181:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #6
  %182 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream14process_singleEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %183 unwind label %186

183:                                              ; preds = %181
  %184 = zext i1 %182 to i8
  store i8 %184, ptr %19, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %185 unwind label %186

185:                                              ; preds = %183
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %297

186:                                              ; preds = %183, %181
  %187 = landingpad { ptr, i32 }
          catch ptr null
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %8, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #6
  br label %287

190:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  %191 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %192 unwind label %195

192:                                              ; preds = %190
  %193 = zext i1 %191 to i8
  store i8 %193, ptr %20, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %194 unwind label %195

194:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %297

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

199:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #6
  %200 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %201 unwind label %204

201:                                              ; preds = %199
  %202 = zext i1 %200 to i8
  store i8 %202, ptr %21, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %203 unwind label %204

203:                                              ; preds = %201
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #6
  br label %297

204:                                              ; preds = %201, %199
  %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 %21) #6
  br label %287

208:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  %209 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream17skip_single_frameEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %210 unwind label %213

210:                                              ; preds = %208
  %211 = zext i1 %209 to i8
  store i8 %211, ptr %22, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %212 unwind label %213

212:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %297

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

217:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #6
  %218 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
          to label %219 unwind label %224

219:                                              ; preds = %217
  %220 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream13seek_absoluteEm(ptr noundef nonnull align 8 dereferenceable(16) %7, i64 noundef %218)
          to label %221 unwind label %224

221:                                              ; preds = %219
  %222 = zext i1 %220 to i8
  store i8 %222, ptr %23, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %223 unwind label %224

223:                                              ; preds = %221
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #6
  br label %297

224:                                              ; preds = %221, %219, %217
  %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 %23) #6
  br label %287

228:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #6
  %229 = invoke noundef zeroext i1 @_ZNK4FLAC7Decoder6Stream16get_md5_checkingEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %230 unwind label %233

230:                                              ; preds = %228
  %231 = zext i1 %229 to i8
  store i8 %231, ptr %24, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %232 unwind label %233

232:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %297

233:                                              ; preds = %230, %228
  %234 = landingpad { ptr, i32 }
          catch ptr null
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %8, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #6
  br label %287

237:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #6
  %238 = invoke noundef i64 @_ZNK4FLAC7Decoder6Stream17get_total_samplesEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %239 unwind label %243

239:                                              ; preds = %237
  %240 = icmp ne i64 %238, 0
  %241 = zext i1 %240 to i8
  store i8 %241, ptr %25, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %242 unwind label %243

242:                                              ; preds = %239
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %297

243:                                              ; preds = %239, %237
  %244 = landingpad { ptr, i32 }
          catch ptr null
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %8, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #6
  br label %287

247:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  %248 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %249 unwind label %253

249:                                              ; preds = %247
  %250 = icmp ne i32 %248, 0
  %251 = zext i1 %250 to i8
  store i8 %251, ptr %26, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %252 unwind label %253

252:                                              ; preds = %249
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %297

253:                                              ; preds = %249, %247
  %254 = landingpad { ptr, i32 }
          catch ptr null
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %8, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  br label %287

257:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #6
  %258 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %259 unwind label %263

259:                                              ; preds = %257
  %260 = icmp ne i32 %258, 0
  %261 = zext i1 %260 to i8
  store i8 %261, ptr %27, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %262 unwind label %263

262:                                              ; preds = %259
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %297

263:                                              ; preds = %259, %257
  %264 = landingpad { ptr, i32 }
          catch ptr null
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %8, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #6
  br label %287

267:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #6
  %268 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %269 unwind label %273

269:                                              ; preds = %267
  %270 = icmp ne i32 %268, 0
  %271 = zext i1 %270 to i8
  store i8 %271, ptr %28, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %272 unwind label %273

272:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %297

273:                                              ; preds = %269, %267
  %274 = landingpad { ptr, i32 }
          catch ptr null
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %8, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #6
  br label %287

277:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #6
  %278 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %279 unwind label %283

279:                                              ; preds = %277
  %280 = icmp ne i32 %278, 0
  %281 = zext i1 %280 to i8
  store i8 %281, ptr %29, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %282 unwind label %283

282:                                              ; preds = %279
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  br label %297

283:                                              ; preds = %279, %277
  %284 = landingpad { ptr, i32 }
          catch ptr null
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %8, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #6
  br label %287

287:                                              ; preds = %283, %273, %263, %253, %243, %233, %224, %213, %204, %195, %186, %177, %168, %141, %128, %91, %41
  %288 = load ptr, ptr %8, align 8
  %289 = call ptr @__cxa_begin_catch(ptr %288) #6
  invoke void @__cxa_end_catch()
          to label %290 unwind label %299

290:                                              ; preds = %287
  br label %291

291:                                              ; preds = %298, %290
  br label %292

292:                                              ; preds = %291, %153
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #6
  %293 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %294 unwind label %303

294:                                              ; preds = %292
  %295 = zext i1 %293 to i8
  store i8 %295, ptr %30, align 1, !tbaa !11
  invoke void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %296 unwind label %303

296:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %307

297:                                              ; preds = %282, %272, %262, %252, %242, %232, %223, %212, %203, %194, %185, %176, %167, %161
  br label %156, !llvm.loop !17

298:                                              ; preds = %158
  br label %291

299:                                              ; preds = %287
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %8, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %9, align 4
  br label %309

303:                                              ; preds = %294, %292
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %8, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #6
  br label %309

307:                                              ; preds = %296, %153
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, 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
  %308 = load i32, ptr %3, align 4
  ret i32 %308

309:                                              ; preds = %303, %299
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %310

310:                                              ; preds = %309, %37
  call void @llvm.lifetime.end.p0(i64 24, 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 %311

311:                                              ; preds = %310
  %312 = load ptr, ptr %8, align 8
  %313 = load i32, ptr %9, align 4
  %314 = insertvalue { ptr, i32 } poison, ptr %312, 0
  %315 = insertvalue { ptr, i32 } %314, i32 %313, 1
  resume { ptr, i32 } %315
}

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream23set_metadata_ignore_allEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5flushEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5resetEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream14process_singleEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef zeroext i1 @_ZN4FLAC7Decoder6Stream17skip_single_frameEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

; 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 @_ZNK4FLAC7Decoder6Stream16get_md5_checkingEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef i64 @_ZNK4FLAC7Decoder6Stream17get_total_samplesEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef i32 @_ZNK4FLAC7Decoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef i32 @_ZNK4FLAC7Decoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef i32 @_ZNK4FLAC7Decoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare noundef i32 @_ZNK4FLAC7Decoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

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

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

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

declare void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr, ptr, i64)

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

!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 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS29FLAC__StreamDecoderInitStatus", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.fuzzing::datasource::Datasource" = type { %"class.fuzzing::datasource::Base", ptr, i64, i64, i64 }
%"class.fuzzing::datasource::Base" = type { ptr }
%"class.FLAC::Decoder::FuzzerStream" = type { %"class.FLAC::Decoder::Stream", ptr }
%"class.FLAC::Decoder::Stream" = type { ptr, ptr }

; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_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

; 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::Decoder::FuzzerStream", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca [4 x i8], align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca [4 x i8], align 4
  %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
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #5
  call void @_ZN7fuzzing10datasource10DatasourceC1EPKhm(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %0, i64 noundef %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  invoke void @_ZN4FLAC7Decoder12FuzzerStreamC2ERN7fuzzing10datasource10DatasourceE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %23 unwind label %27

23:                                               ; preds = %2
  %24 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %25 unwind label %.loopexit.split-lp

25:                                               ; preds = %23
  %26 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %29 unwind label %.loopexit.split-lp

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %207

.loopexit:                                        ; preds = %.preheader, %109
  %lpad.loopexit = landingpad { ptr, i32 }
          catch ptr null
  br label %197

.loopexit.split-lp:                               ; preds = %23, %25, %30, %32, %34, %37, %39, %41, %44, %46, %48, %65, %68, %70, %73, %75, %77, %94, %97
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          catch ptr null
  br label %197

29:                                               ; preds = %25
  br i1 %26, label %30, label %34

30:                                               ; preds = %29
  %31 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetIlEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %32 unwind label %.loopexit.split-lp

32:                                               ; preds = %30
  %33 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream21set_ogg_serial_numberEl(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef %31)
          to label %34 unwind label %.loopexit.split-lp

34:                                               ; preds = %32, %29
  %35 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %36 unwind label %.loopexit.split-lp

36:                                               ; preds = %34
  br i1 %35, label %37, label %41

37:                                               ; preds = %36
  %38 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %39 unwind label %.loopexit.split-lp

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

41:                                               ; preds = %39, %36
  %42 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %43 unwind label %.loopexit.split-lp

43:                                               ; preds = %41
  br i1 %42, label %44, label %48

44:                                               ; preds = %43
  %45 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %46 unwind label %.loopexit.split-lp

46:                                               ; preds = %44
  %47 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream20set_metadata_respondE18FLAC__MetadataType(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %45)
          to label %48 unwind label %.loopexit.split-lp

48:                                               ; preds = %46, %43
  %49 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %50 unwind label %.loopexit.split-lp

50:                                               ; preds = %48
  br i1 %49, label %51, label %65

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  invoke void @_ZN7fuzzing10datasource4Base7GetDataEmmm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0, i64 noundef 0, i64 noundef 0)
          to label %52 unwind label %59

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %53 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %54 = icmp ugt i64 %53, 3
  br i1 %54, label %55, label %63

55:                                               ; preds = %52
  %56 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %57 = load i32, ptr %56, align 1
  store i32 %57, ptr %6, align 4
  %58 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream32set_metadata_respond_applicationEPKh(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %6)
          to label %63 unwind label %61

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          catch ptr null
  br label %64

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br label %64

63:                                               ; preds = %55, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %65

64:                                               ; preds = %61, %59
  %.pn = phi { ptr, i32 } [ %62, %61 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %197

65:                                               ; preds = %63, %50
  %66 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %67 unwind label %.loopexit.split-lp

67:                                               ; preds = %65
  br i1 %66, label %68, label %70

68:                                               ; preds = %67
  %69 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream24set_metadata_respond_allEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %70 unwind label %.loopexit.split-lp

70:                                               ; preds = %68, %67
  %71 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %72 unwind label %.loopexit.split-lp

72:                                               ; preds = %70
  br i1 %71, label %73, label %77

73:                                               ; preds = %72
  %74 = invoke noundef i32 @_ZN7fuzzing10datasource4Base3GetI18FLAC__MetadataTypeEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %75 unwind label %.loopexit.split-lp

75:                                               ; preds = %73
  %76 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream19set_metadata_ignoreE18FLAC__MetadataType(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef %74)
          to label %77 unwind label %.loopexit.split-lp

77:                                               ; preds = %75, %72
  %78 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %79 unwind label %.loopexit.split-lp

79:                                               ; preds = %77
  br i1 %78, label %80, label %94

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  invoke void @_ZN7fuzzing10datasource4Base7GetDataEmmm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0, i64 noundef 0, i64 noundef 0)
          to label %81 unwind label %88

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  %82 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %83 = icmp ugt i64 %82, 3
  br i1 %83, label %84, label %92

84:                                               ; preds = %81
  %85 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  %86 = load i32, ptr %85, align 1
  store i32 %86, ptr %8, align 4
  %87 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream31set_metadata_ignore_applicationEPKh(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull %8)
          to label %92 unwind label %90

88:                                               ; preds = %80
  %89 = landingpad { ptr, i32 }
          catch ptr null
  br label %93

90:                                               ; preds = %84
  %91 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  br label %93

92:                                               ; preds = %84, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  br label %94

93:                                               ; preds = %90, %88
  %.pn13 = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  br label %197

94:                                               ; preds = %92, %79
  %95 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %96 unwind label %.loopexit.split-lp

96:                                               ; preds = %94
  br i1 %95, label %97, label %99

97:                                               ; preds = %96
  %98 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream23set_metadata_ignore_allEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %99 unwind label %.loopexit.split-lp

99:                                               ; preds = %97, %96
  br i1 %24, label %100, label %104

100:                                              ; preds = %99
  %101 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream4initEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %106 unwind label %102

102:                                              ; preds = %104, %100
  %103 = landingpad { ptr, i32 }
          catch ptr null
  br label %197

104:                                              ; preds = %99
  %105 = invoke noundef i32 @_ZN4FLAC7Decoder6Stream8init_oggEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %106 unwind label %102

106:                                              ; preds = %104, %100
  %.08 = phi i32 [ %101, %100 ], [ %105, %104 ]
  %.not = icmp eq i32 %.08, 0
  br i1 %.not, label %.preheader, label %.loopexit18

.preheader:                                       ; preds = %106, %.preheader.backedge
  %107 = invoke noundef zeroext i1 @_ZN7fuzzing10datasource4Base3GetIbEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %108 unwind label %.loopexit

108:                                              ; preds = %.preheader
  br i1 %107, label %109, label %.loopexit18

109:                                              ; preds = %108
  %110 = invoke noundef zeroext i8 @_ZN7fuzzing10datasource4Base3GetIhEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %111 unwind label %.loopexit

111:                                              ; preds = %109
  switch i8 %110, label %.preheader.backedge [
    i8 0, label %112
    i8 1, label %118
    i8 2, label %124
    i8 3, label %130
    i8 4, label %136
    i8 5, label %142
    i8 6, label %148
    i8 7, label %156
    i8 8, label %162
    i8 9, label %169
    i8 10, label %176
    i8 11, label %183
    i8 12, label %190
  ]

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #5
  %113 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5flushEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %114 unwind label %116

114:                                              ; preds = %112
  %115 = zext i1 %113 to i8
  store i8 %115, 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) #5
  br label %.preheader.backedge

116:                                              ; preds = %112
  %117 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #5
  br label %197

118:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #5
  %119 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream5resetEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %120 unwind label %122

120:                                              ; preds = %118
  %121 = zext i1 %119 to i8
  store i8 %121, 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) #5
  br label %.preheader.backedge

122:                                              ; preds = %118
  %123 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #5
  br label %197

124:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #5
  %125 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream14process_singleEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %126 unwind label %128

126:                                              ; preds = %124
  %127 = zext i1 %125 to i8
  store i8 %127, 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) #5
  br label %.preheader.backedge

128:                                              ; preds = %124
  %129 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #5
  br label %197

130:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #5
  %131 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream29process_until_end_of_metadataEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %132 unwind label %134

132:                                              ; preds = %130
  %133 = zext i1 %131 to i8
  store i8 %133, 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) #5
  br label %.preheader.backedge

134:                                              ; preds = %130
  %135 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #5
  br label %197

136:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #5
  %137 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream27process_until_end_of_streamEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %138 unwind label %140

138:                                              ; preds = %136
  %139 = zext i1 %137 to i8
  store i8 %139, 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) #5
  br label %.preheader.backedge

140:                                              ; preds = %136
  %141 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #5
  br label %197

142:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  %143 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream17skip_single_frameEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %144 unwind label %146

144:                                              ; preds = %142
  %145 = zext i1 %143 to i8
  store i8 %145, 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) #5
  br label %.preheader.backedge

146:                                              ; preds = %142
  %147 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %197

148:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  %149 = invoke noundef i64 @_ZN7fuzzing10datasource4Base3GetImEET_m(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef 0)
          to label %150 unwind label %154

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

152:                                              ; preds = %150
  %153 = zext i1 %151 to i8
  store i8 %153, 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) #5
  br label %.preheader.backedge

154:                                              ; preds = %150, %148
  %155 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  br label %197

156:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #5
  %157 = invoke noundef zeroext i1 @_ZNK4FLAC7Decoder6Stream16get_md5_checkingEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %158 unwind label %160

158:                                              ; preds = %156
  %159 = zext i1 %157 to i8
  store i8 %159, 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) #5
  br label %.preheader.backedge

160:                                              ; preds = %156
  %161 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #5
  br label %197

162:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #5
  %163 = invoke noundef i64 @_ZNK4FLAC7Decoder6Stream17get_total_samplesEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %164 unwind label %167

164:                                              ; preds = %162
  %165 = icmp ne i64 %163, 0
  %166 = zext i1 %165 to i8
  store i8 %166, 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) #5
  br label %.preheader.backedge

167:                                              ; preds = %162
  %168 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #5
  br label %197

169:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #5
  %170 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream12get_channelsEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %171 unwind label %174

171:                                              ; preds = %169
  %172 = icmp ne i32 %170, 0
  %173 = zext i1 %172 to i8
  store i8 %173, 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) #5
  br label %.preheader.backedge

174:                                              ; preds = %169
  %175 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #5
  br label %197

176:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #5
  %177 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream19get_bits_per_sampleEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %178 unwind label %181

178:                                              ; preds = %176
  %179 = icmp ne i32 %177, 0
  %180 = zext i1 %179 to i8
  store i8 %180, 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) #5
  br label %.preheader.backedge

181:                                              ; preds = %176
  %182 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #5
  br label %197

183:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #5
  %184 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream15get_sample_rateEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %185 unwind label %188

185:                                              ; preds = %183
  %186 = icmp ne i32 %184, 0
  %187 = zext i1 %186 to i8
  store i8 %187, 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) #5
  br label %.preheader.backedge

188:                                              ; preds = %183
  %189 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #5
  br label %197

190:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #5
  %191 = invoke noundef i32 @_ZNK4FLAC7Decoder6Stream13get_blocksizeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %192 unwind label %195

192:                                              ; preds = %190
  %193 = icmp ne i32 %191, 0
  %194 = zext i1 %193 to i8
  store i8 %194, ptr %21, align 1, !tbaa !5
  call void @_ZN7fuzzing6memory11memory_testIbEEvRKT_(ptr noundef nonnull align 1 dereferenceable(1) %21)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  br label %.preheader.backedge

.preheader.backedge:                              ; preds = %192, %185, %178, %171, %164, %158, %152, %144, %138, %132, %126, %120, %114, %111
  br label %.preheader, !llvm.loop !9

195:                                              ; preds = %190
  %196 = landingpad { ptr, i32 }
          catch ptr null
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #5
  br label %197

197:                                              ; preds = %.loopexit, %.loopexit.split-lp, %195, %188, %181, %174, %167, %160, %154, %146, %140, %134, %128, %122, %116, %102, %93, %64
  %.pn14 = phi { ptr, i32 } [ %196, %195 ], [ %189, %188 ], [ %182, %181 ], [ %175, %174 ], [ %168, %167 ], [ %161, %160 ], [ %155, %154 ], [ %147, %146 ], [ %141, %140 ], [ %135, %134 ], [ %129, %128 ], [ %123, %122 ], [ %117, %116 ], [ %103, %102 ], [ %.pn13, %93 ], [ %.pn, %64 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  %.2 = extractvalue { ptr, i32 } %.pn14, 0
  %198 = call ptr @__cxa_begin_catch(ptr %.2) #5
  invoke void @__cxa_end_catch()
          to label %.loopexit18 unwind label %202

.loopexit18:                                      ; preds = %108, %106, %197
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #5
  %199 = invoke noundef zeroext i1 @_ZN4FLAC7Decoder6Stream6finishEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %200 unwind label %204

200:                                              ; preds = %.loopexit18
  %201 = zext i1 %199 to i8
  store i8 %201, 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) #5
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #5
  ret i32 0

202:                                              ; preds = %197
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %.loopexit18
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #5
  br label %206

206:                                              ; preds = %204, %202
  %.pn15 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @_ZN4FLAC7Decoder6StreamD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %207

207:                                              ; preds = %206, %27
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %206 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN7fuzzing10datasource4BaseD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn15.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

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

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

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

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

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

!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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass