; LLVM IR from clangen/musikcube :: src/plugins/taglib_plugin (TaglibMetadataReader)

; 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.TagLib::FileRef" = type { ptr, ptr }
%"class.TagLib::List" = type { ptr, ptr }
%"class.TagLib::Map.6" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.TagLib::PropertyMap" = type { %"class.TagLib::Map", %"class.TagLib::StringList" }
%"class.TagLib::Map" = type { ptr, ptr }
%"class.TagLib::StringList" = type { %"class.TagLib::List.7", ptr }
%"class.TagLib::List.7" = type { ptr, ptr }

@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZTIN6TagLib4FileE = external constant ptr
@_ZTIN6TagLib4RIFF3WAV4FileE = external constant ptr
@_ZTIN6TagLib4RIFF4AIFF4FileE = external constant ptr
@_ZTIN6TagLib3TagE = external constant ptr
@_ZTIN6TagLib3Ogg11XiphCommentE = external constant ptr
@_ZTIN6TagLib4FLAC4FileE = external constant ptr
@_ZTIN6TagLib3MP44FileE = external constant ptr
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZTIN6TagLib7WavPack4FileE = external constant ptr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20TaglibMetadataReader11ReadGenericEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %3) #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.TagLib::FileRef", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.TagLib::FileRef", align 8
  %13 = alloca %"class.TagLib::FileRef", align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.TagLib::List", align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca %"class.TagLib::List", align 8
  %22 = alloca ptr, align 8
  %23 = alloca %"class.TagLib::Map.6", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator.0", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator.0", align 1
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.0", align 1
  %32 = alloca ptr, align 8
  %33 = alloca %"class.TagLib::PropertyMap", align 8
  %34 = alloca %"class.TagLib::PropertyMap", align 8
  %35 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #8
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6TagLib7FileRefC1EPKcbNS_15AudioProperties9ReadStyleE(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %37, i1 noundef zeroext true, i32 noundef 1)
  %38 = invoke noundef zeroext i1 @_ZNK6TagLib7FileRef6isNullEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %39 unwind label %52

39:                                               ; preds = %4
  br i1 %38, label %40, label %74

40:                                               ; preds = %39
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef @.str.10)
          to label %43 unwind label %52

43:                                               ; preds = %40
  br i1 %42, label %44, label %74

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #8
  invoke void @_ZN6TagLib7FileRefC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %45 unwind label %56

45:                                               ; preds = %44
  %46 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %12)
          to label %47 unwind label %60

47:                                               ; preds = %45
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZL14resolveOggTypePKc(ptr dead_on_unwind writable sret(%"class.TagLib::FileRef") align 8 %13, ptr noundef %48)
          to label %49 unwind label %65

49:                                               ; preds = %47
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %13)
          to label %51 unwind label %69

51:                                               ; preds = %49
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %74

52:                                               ; preds = %40, %4
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %10, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %11, align 4
  br label %380

56:                                               ; preds = %44
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %10, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %11, align 4
  br label %64

60:                                               ; preds = %45
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %10, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %11, align 4
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  br label %64

64:                                               ; preds = %60, %56
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #8
  br label %380

65:                                               ; preds = %47
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %10, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %11, align 4
  br label %73

69:                                               ; preds = %49
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %10, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %11, align 4
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #8
  br label %73

73:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %380

74:                                               ; preds = %51, %43, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %75 = invoke noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %76 unwind label %90

76:                                               ; preds = %74
  store ptr %75, ptr %14, align 8, !tbaa !5
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %378

79:                                               ; preds = %76
  %80 = invoke noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %81 unwind label %90

81:                                               ; preds = %79
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader13ReadBasicDataIN6TagLib3TagEEEvPKT_PKcPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %80, ptr noundef %82, ptr noundef %83)
          to label %84 unwind label %90

84:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %85 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %86 unwind label %94

86:                                               ; preds = %84
  %87 = icmp eq ptr %85, null
  br i1 %87, label %98, label %88

88:                                               ; preds = %86
  %89 = call ptr @__dynamic_cast(ptr %85, ptr @_ZTIN6TagLib4FileE, ptr @_ZTIN6TagLib4RIFF3WAV4FileE, i64 0) #8
  br label %99

90:                                               ; preds = %81, %79, %74
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  br label %379

94:                                               ; preds = %121, %118, %114, %110, %107, %103, %84
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %10, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %11, align 4
  br label %377

98:                                               ; preds = %86
  br label %99

99:                                               ; preds = %98, %88
  %100 = phi ptr [ %89, %88 ], [ null, %98 ]
  store ptr %100, ptr %15, align 8, !tbaa !5
  %101 = load ptr, ptr %15, align 8, !tbaa !5
  %102 = icmp ne ptr %101, null
  br i1 %102, label %103, label %126

103:                                              ; preds = %99
  %104 = load ptr, ptr %15, align 8, !tbaa !5
  %105 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File10hasInfoTagEv(ptr noundef nonnull align 8 dereferenceable(32) %104)
          to label %106 unwind label %94

106:                                              ; preds = %103
  br i1 %105, label %107, label %114

107:                                              ; preds = %106
  %108 = load ptr, ptr %15, align 8, !tbaa !5
  %109 = invoke noundef ptr @_ZNK6TagLib4RIFF3WAV4File7InfoTagEv(ptr noundef nonnull align 8 dereferenceable(32) %108)
          to label %110 unwind label %94

110:                                              ; preds = %107
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader13ReadBasicDataIN6TagLib4RIFF4Info3TagEEEvPKT_PKcPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %109, ptr noundef %111, ptr noundef %112)
          to label %113 unwind label %94

113:                                              ; preds = %110
  br label %114

114:                                              ; preds = %113, %106
  %115 = load ptr, ptr %15, align 8, !tbaa !5
  %116 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %115)
          to label %117 unwind label %94

117:                                              ; preds = %114
  br i1 %116, label %118, label %125

118:                                              ; preds = %117
  %119 = load ptr, ptr %15, align 8, !tbaa !5
  %120 = invoke noundef ptr @_ZNK6TagLib4RIFF3WAV4File8ID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %119)
          to label %121 unwind label %94

121:                                              ; preds = %118
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = invoke noundef zeroext i1 @_ZN20TaglibMetadataReader9ReadID3V2EPN6TagLib5ID3v23TagEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %120, ptr noundef %122)
          to label %124 unwind label %94

124:                                              ; preds = %121
  br label %125

125:                                              ; preds = %124, %117
  br label %126

126:                                              ; preds = %125, %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %127 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %128 unwind label %132

128:                                              ; preds = %126
  %129 = icmp eq ptr %127, null
  br i1 %129, label %136, label %130

130:                                              ; preds = %128
  %131 = call ptr @__dynamic_cast(ptr %127, ptr @_ZTIN6TagLib4FileE, ptr @_ZTIN6TagLib4RIFF4AIFF4FileE, i64 0) #8
  br label %137

132:                                              ; preds = %151, %145, %141, %126
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  br label %376

136:                                              ; preds = %128
  br label %137

137:                                              ; preds = %136, %130
  %138 = phi ptr [ %131, %130 ], [ null, %136 ]
  store ptr %138, ptr %16, align 8, !tbaa !5
  %139 = load ptr, ptr %16, align 8, !tbaa !5
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %156

141:                                              ; preds = %137
  %142 = load ptr, ptr %16, align 8, !tbaa !5
  %143 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF4AIFF4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %142)
          to label %144 unwind label %132

144:                                              ; preds = %141
  br i1 %143, label %145, label %155

145:                                              ; preds = %144
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load ptr, ptr %146, align 8, !tbaa !9
  %148 = getelementptr inbounds ptr, ptr %147, i64 2
  %149 = load ptr, ptr %148, align 8
  %150 = invoke noundef ptr %149(ptr noundef nonnull align 8 dereferenceable(32) %146)
          to label %151 unwind label %132

151:                                              ; preds = %145
  %152 = load ptr, ptr %8, align 8, !tbaa !5
  %153 = invoke noundef zeroext i1 @_ZN20TaglibMetadataReader9ReadID3V2EPN6TagLib5ID3v23TagEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %150, ptr noundef %152)
          to label %154 unwind label %132

154:                                              ; preds = %151
  br label %155

155:                                              ; preds = %154, %144
  br label %156

156:                                              ; preds = %155, %137
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %157 = load ptr, ptr %14, align 8, !tbaa !5
  %158 = icmp eq ptr %157, null
  br i1 %158, label %161, label %159

159:                                              ; preds = %156
  %160 = call ptr @__dynamic_cast(ptr %157, ptr @_ZTIN6TagLib3TagE, ptr @_ZTIN6TagLib3Ogg11XiphCommentE, i64 0) #8
  br label %162

161:                                              ; preds = %156
  br label %162

162:                                              ; preds = %161, %159
  %163 = phi ptr [ %160, %159 ], [ null, %161 ]
  store ptr %163, ptr %17, align 8, !tbaa !5
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = icmp ne ptr %164, null
  br i1 %165, label %166, label %189

166:                                              ; preds = %162
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZN6TagLib3Ogg11XiphComment11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %167)
          to label %168 unwind label %181

168:                                              ; preds = %166
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef %18, ptr noundef %169)
          to label %170 unwind label %185

170:                                              ; preds = %168
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  %171 = load ptr, ptr %17, align 8, !tbaa !5
  %172 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %171)
          to label %173 unwind label %181

173:                                              ; preds = %170
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %172, ptr noundef %174)
          to label %175 unwind label %181

175:                                              ; preds = %173
  %176 = load ptr, ptr %17, align 8, !tbaa !5
  %177 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %178 unwind label %181

178:                                              ; preds = %175
  %179 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %177, ptr noundef %179)
          to label %180 unwind label %181

180:                                              ; preds = %178
  br label %189

181:                                              ; preds = %178, %175, %173, %170, %166
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %10, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %11, align 4
  br label %375

185:                                              ; preds = %168
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %10, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %11, align 4
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  br label %375

189:                                              ; preds = %180, %162
  %190 = load ptr, ptr %17, align 8, !tbaa !5
  %191 = icmp ne ptr %190, null
  br i1 %191, label %365, label %192

192:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  store i8 0, ptr %19, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %193 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %194 unwind label %198

194:                                              ; preds = %192
  %195 = icmp eq ptr %193, null
  br i1 %195, label %202, label %196

196:                                              ; preds = %194
  %197 = call ptr @__dynamic_cast(ptr %193, ptr @_ZTIN6TagLib4FileE, ptr @_ZTIN6TagLib4FLAC4FileE, i64 0) #8
  br label %203

198:                                              ; preds = %227, %225, %222, %220, %218, %215, %211, %207, %192
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %10, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %11, align 4
  br label %364

202:                                              ; preds = %194
  br label %203

203:                                              ; preds = %202, %196
  %204 = phi ptr [ %197, %196 ], [ null, %202 ]
  store ptr %204, ptr %20, align 8, !tbaa !5
  %205 = load ptr, ptr %20, align 8, !tbaa !5
  %206 = icmp ne ptr %205, null
  br i1 %206, label %207, label %235

207:                                              ; preds = %203
  %208 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZN6TagLib4FLAC4File11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %208)
          to label %209 unwind label %198

209:                                              ; preds = %207
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef %21, ptr noundef %210)
          to label %211 unwind label %230

211:                                              ; preds = %209
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  %212 = load ptr, ptr %20, align 8, !tbaa !5
  %213 = invoke noundef zeroext i1 @_ZNK6TagLib4FLAC4File14hasXiphCommentEv(ptr noundef nonnull align 8 dereferenceable(24) %212)
          to label %214 unwind label %198

214:                                              ; preds = %211
  br i1 %213, label %215, label %234

215:                                              ; preds = %214
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  %217 = invoke noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24) %216, i1 noundef zeroext false)
          to label %218 unwind label %198

218:                                              ; preds = %215
  %219 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %217)
          to label %220 unwind label %198

220:                                              ; preds = %218
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %219, ptr noundef %221)
          to label %222 unwind label %198

222:                                              ; preds = %220
  %223 = load ptr, ptr %20, align 8, !tbaa !5
  %224 = invoke noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24) %223, i1 noundef zeroext false)
          to label %225 unwind label %198

225:                                              ; preds = %222
  %226 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %224)
          to label %227 unwind label %198

227:                                              ; preds = %225
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %226, ptr noundef %228)
          to label %229 unwind label %198

229:                                              ; preds = %227
  store i8 1, ptr %19, align 1, !tbaa !11
  br label %234

230:                                              ; preds = %209
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %10, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %11, align 4
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  br label %364

234:                                              ; preds = %229, %214
  br label %235

235:                                              ; preds = %234, %203
  %236 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %237 = trunc i8 %236 to i1
  br i1 %237, label %312, label %238

238:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %239 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %240 unwind label %244

240:                                              ; preds = %238
  %241 = icmp eq ptr %239, null
  br i1 %241, label %248, label %242

242:                                              ; preds = %240
  %243 = call ptr @__dynamic_cast(ptr %239, ptr @_ZTIN6TagLib4FileE, ptr @_ZTIN6TagLib3MP44FileE, i64 0) #8
  br label %249

244:                                              ; preds = %253, %238
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %10, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %11, align 4
  br label %311

248:                                              ; preds = %240
  br label %249

249:                                              ; preds = %248, %242
  %250 = phi ptr [ %243, %242 ], [ null, %248 ]
  store ptr %250, ptr %22, align 8, !tbaa !5
  %251 = load ptr, ptr %22, align 8, !tbaa !5
  %252 = icmp ne ptr %251, null
  br i1 %252, label %253, label %310

253:                                              ; preds = %249
  %254 = load ptr, ptr %22, align 8, !tbaa !5
  %255 = invoke noundef zeroext i1 @_ZNK6TagLib3MP44File9hasMP4TagEv(ptr noundef nonnull align 8 dereferenceable(24) %254)
          to label %256 unwind label %244

256:                                              ; preds = %253
  br i1 %255, label %257, label %310

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #8
  %258 = load ptr, ptr %14, align 8, !tbaa !5
  %259 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3MP43Tag7itemMapEv(ptr noundef nonnull align 8 dereferenceable(24) %258)
          to label %260 unwind label %272

260:                                              ; preds = %257
  invoke void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %259)
          to label %261 unwind label %272

261:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %262 unwind label %276

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %263 unwind label %280

263:                                              ; preds = %262
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %264)
          to label %265 unwind label %284

265:                                              ; preds = %263
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef @.str.23, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %266 unwind label %290

266:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %267 unwind label %294

267:                                              ; preds = %266
  %268 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef %268)
          to label %269 unwind label %298

269:                                              ; preds = %267
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_3MP44ItemEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef %270)
          to label %271 unwind label %304

271:                                              ; preds = %269
  store i8 1, ptr %19, align 1, !tbaa !11
  call void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %310

272:                                              ; preds = %260, %257
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %10, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %11, align 4
  br label %309

276:                                              ; preds = %261
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %10, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %11, align 4
  br label %289

280:                                              ; preds = %262
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %10, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %11, align 4
  br label %288

284:                                              ; preds = %263
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %10, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  br label %288

288:                                              ; preds = %284, %280
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %289

289:                                              ; preds = %288, %276
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %308

290:                                              ; preds = %265
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %10, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %11, align 4
  br label %303

294:                                              ; preds = %266
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %10, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %11, align 4
  br label %302

298:                                              ; preds = %267
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %10, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %11, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %302

302:                                              ; preds = %298, %294
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %303

303:                                              ; preds = %302, %290
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  br label %308

304:                                              ; preds = %269
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %10, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %11, align 4
  br label %308

308:                                              ; preds = %304, %303, %289
  call void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #8
  br label %309

309:                                              ; preds = %308, %272
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #8
  br label %311

310:                                              ; preds = %271, %256, %249
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %312

311:                                              ; preds = %309, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %364

312:                                              ; preds = %310, %235
  %313 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %314 = trunc i8 %313 to i1
  br i1 %314, label %363, label %315

315:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %316 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %317 unwind label %321

317:                                              ; preds = %315
  %318 = icmp eq ptr %316, null
  br i1 %318, label %325, label %319

319:                                              ; preds = %317
  %320 = call ptr @__dynamic_cast(ptr %316, ptr @_ZTIN6TagLib4FileE, ptr @_ZTIN6TagLib7WavPack4FileE, i64 0) #8
  br label %326

321:                                              ; preds = %330, %315
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %10, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %11, align 4
  br label %362

325:                                              ; preds = %317
  br label %326

326:                                              ; preds = %325, %319
  %327 = phi ptr [ %320, %319 ], [ null, %325 ]
  store ptr %327, ptr %32, align 8, !tbaa !5
  %328 = load ptr, ptr %32, align 8, !tbaa !5
  %329 = icmp ne ptr %328, null
  br i1 %329, label %330, label %361

330:                                              ; preds = %326
  %331 = load ptr, ptr %32, align 8, !tbaa !5
  %332 = invoke noundef zeroext i1 @_ZNK6TagLib7WavPack4File9hasAPETagEv(ptr noundef nonnull align 8 dereferenceable(24) %331)
          to label %333 unwind label %321

333:                                              ; preds = %330
  br i1 %332, label %334, label %361

334:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 40, ptr %33) #8
  %335 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind writable sret(%"class.TagLib::PropertyMap") align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %335)
          to label %336 unwind label %343

336:                                              ; preds = %334
  %337 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef %337)
          to label %338 unwind label %347

338:                                              ; preds = %336
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr %34) #8
  %339 = load ptr, ptr %32, align 8, !tbaa !5
  invoke void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind writable sret(%"class.TagLib::PropertyMap") align 8 %34, ptr noundef nonnull align 8 dereferenceable(24) %339)
          to label %340 unwind label %352

340:                                              ; preds = %338
  %341 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef %341)
          to label %342 unwind label %356

342:                                              ; preds = %340
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #8
  store i8 1, ptr %19, align 1, !tbaa !11
  br label %361

343:                                              ; preds = %334
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %10, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %11, align 4
  br label %351

347:                                              ; preds = %336
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %10, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %11, align 4
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %33) #8
  br label %351

351:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 40, ptr %33) #8
  br label %362

352:                                              ; preds = %338
  %353 = landingpad { ptr, i32 }
          cleanup
  %354 = extractvalue { ptr, i32 } %353, 0
  store ptr %354, ptr %10, align 8
  %355 = extractvalue { ptr, i32 } %353, 1
  store i32 %355, ptr %11, align 4
  br label %360

356:                                              ; preds = %340
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %10, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %11, align 4
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %34) #8
  br label %360

360:                                              ; preds = %356, %352
  call void @llvm.lifetime.end.p0(i64 40, ptr %34) #8
  br label %362

361:                                              ; preds = %342, %333, %326
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %363

362:                                              ; preds = %360, %351, %321
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %364

363:                                              ; preds = %361, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %365

364:                                              ; preds = %362, %311, %230, %198
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  br label %375

365:                                              ; preds = %363, %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %366 = invoke noundef ptr @_ZNK6TagLib7FileRef15audioPropertiesEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %367 unwind label %371

367:                                              ; preds = %365
  store ptr %366, ptr %35, align 8, !tbaa !5
  %368 = load ptr, ptr %35, align 8, !tbaa !5
  %369 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN20TaglibMetadataReader18SetAudioPropertiesEPN6TagLib15AudioPropertiesEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %368, ptr noundef %369)
          to label %370 unwind label %371

370:                                              ; preds = %367
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %378

371:                                              ; preds = %367, %365
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %10, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  br label %375

375:                                              ; preds = %371, %364, %185, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %376

376:                                              ; preds = %375, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %377

377:                                              ; preds = %376, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %379

378:                                              ; preds = %370, %76
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  ret i1 true

379:                                              ; preds = %377, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %380

380:                                              ; preds = %379, %73, %64, %52
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #8
  br label %381

381:                                              ; preds = %380
  %382 = load ptr, ptr %10, align 8
  %383 = load i32, ptr %11, align 4
  %384 = insertvalue { ptr, i32 } poison, ptr %382, 0
  %385 = insertvalue { ptr, i32 } %384, i32 %383, 1
  resume { ptr, i32 } %385
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

declare void @_ZN6TagLib7FileRefC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL14resolveOggTypePKc(ptr dead_on_unwind noalias writable sret(%"class.TagLib::FileRef") align 8, ptr noundef) #2

declare noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

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

declare noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #6

declare noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File10hasInfoTagEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

declare noundef ptr @_ZNK6TagLib4RIFF3WAV4File7InfoTagEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

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

declare noundef ptr @_ZNK6TagLib4RIFF3WAV4File8ID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

declare noundef zeroext i1 @_ZNK6TagLib4RIFF4AIFF4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef, ptr noundef) #7

declare void @_ZN6TagLib3Ogg11XiphComment11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare void @_ZN6TagLib4FLAC4File11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef zeroext i1 @_ZNK6TagLib4FLAC4File14hasXiphCommentEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #3

declare noundef zeroext i1 @_ZNK6TagLib3MP44File9hasMP4TagEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3MP43Tag7itemMapEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2 align 2

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

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

declare noundef zeroext i1 @_ZNK6TagLib7WavPack4File9hasAPETagEv(ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind writable sret(%"class.TagLib::PropertyMap") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #3

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

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

declare noundef ptr @_ZNK6TagLib7FileRef15audioPropertiesEv(ptr noundef nonnull align 8 dereferenceable(16)) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint 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 #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 willreturn memory(read) }
attributes #7 = { inlinehint 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 #8 = { 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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.TagLib::FileRef" = type { ptr, ptr }
%"class.TagLib::List" = type { ptr, ptr }
%"class.TagLib::Map.6" = type { ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.TagLib::PropertyMap" = type { %"class.TagLib::Map", %"class.TagLib::StringList" }
%"class.TagLib::Map" = type { ptr, ptr }
%"class.TagLib::StringList" = type { %"class.TagLib::List.7", ptr }
%"class.TagLib::List.7" = type { ptr, ptr }

@.str.10 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZTIN6TagLib4FileE = external constant ptr
@_ZTIN6TagLib4RIFF3WAV4FileE = external constant ptr
@_ZTIN6TagLib4RIFF4AIFF4FileE = external constant ptr
@_ZTIN6TagLib3TagE = external constant ptr
@_ZTIN6TagLib3Ogg11XiphCommentE = external constant ptr
@_ZTIN6TagLib4FLAC4FileE = external constant ptr
@_ZTIN6TagLib3MP44FileE = external constant ptr
@.str.21 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [5 x i8], align 1
@_ZTIN6TagLib7WavPack4FileE = external constant ptr

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20TaglibMetadataReader11ReadGenericEPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef %3) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.TagLib::FileRef", align 8
  %6 = alloca %"class.TagLib::FileRef", align 8
  %7 = alloca %"class.TagLib::FileRef", align 8
  %8 = alloca %"class.TagLib::List", align 8
  %9 = alloca %"class.TagLib::List", align 8
  %10 = alloca %"class.TagLib::Map.6", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.0", align 1
  %19 = alloca %"class.TagLib::PropertyMap", align 8
  %20 = alloca %"class.TagLib::PropertyMap", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN6TagLib7FileRefC1EPKcbNS_15AudioProperties9ReadStyleE(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %1, i1 noundef zeroext true, i32 noundef 1)
  %21 = invoke noundef zeroext i1 @_ZNK6TagLib7FileRef6isNullEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %22 unwind label %32

22:                                               ; preds = %4
  br i1 %21, label %23, label %44

23:                                               ; preds = %22
  %24 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull @.str.10)
  br i1 %24, label %25, label %44

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #8
  invoke void @_ZN6TagLib7FileRefC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %26 unwind label %34

26:                                               ; preds = %25
  %27 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %28 unwind label %36

28:                                               ; preds = %26
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #8
  invoke void @_ZL14resolveOggTypePKc(ptr dead_on_unwind nonnull writable sret(%"class.TagLib::FileRef") align 8 %7, ptr noundef %1)
          to label %29 unwind label %39

29:                                               ; preds = %28
  %30 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %31 unwind label %41

31:                                               ; preds = %29
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %44

32:                                               ; preds = %4
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %200

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #8
  br label %38

38:                                               ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #8
  br label %200

39:                                               ; preds = %28
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %29
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #8
  br label %43

43:                                               ; preds = %41, %39
  %.pn87 = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #8
  br label %200

44:                                               ; preds = %31, %23, %22
  %45 = invoke noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %46 unwind label %54

46:                                               ; preds = %44
  %.not = icmp eq ptr %45, null
  br i1 %.not, label %199, label %47

47:                                               ; preds = %46
  %48 = invoke noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %49 unwind label %54

49:                                               ; preds = %47
  invoke void @_ZN20TaglibMetadataReader13ReadBasicDataIN6TagLib3TagEEEvPKT_PKcPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %48, ptr noundef %1, ptr noundef %3)
          to label %50 unwind label %54

50:                                               ; preds = %49
  %51 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %52 unwind label %56

52:                                               ; preds = %50
  %53 = icmp eq ptr %51, null
  br i1 %53, label %.thread, label %58

54:                                               ; preds = %49, %47, %44
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %200

56:                                               ; preds = %71, %69, %66, %65, %63, %60, %50
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %200

58:                                               ; preds = %52
  %59 = call ptr @__dynamic_cast(ptr nonnull %51, ptr nonnull @_ZTIN6TagLib4FileE, ptr nonnull @_ZTIN6TagLib4RIFF3WAV4FileE, i64 0) #8
  %.not89 = icmp eq ptr %59, null
  br i1 %.not89, label %.thread, label %60

60:                                               ; preds = %58
  %61 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File10hasInfoTagEv(ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %62 unwind label %56

62:                                               ; preds = %60
  br i1 %61, label %63, label %66

63:                                               ; preds = %62
  %64 = invoke noundef ptr @_ZNK6TagLib4RIFF3WAV4File7InfoTagEv(ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %65 unwind label %56

65:                                               ; preds = %63
  invoke void @_ZN20TaglibMetadataReader13ReadBasicDataIN6TagLib4RIFF4Info3TagEEEvPKT_PKcPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %64, ptr noundef %1, ptr noundef %3)
          to label %66 unwind label %56

66:                                               ; preds = %65, %62
  %67 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %68 unwind label %56

68:                                               ; preds = %66
  br i1 %67, label %69, label %.thread

69:                                               ; preds = %68
  %70 = invoke noundef ptr @_ZNK6TagLib4RIFF3WAV4File8ID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %59)
          to label %71 unwind label %56

71:                                               ; preds = %69
  %72 = invoke noundef zeroext i1 @_ZN20TaglibMetadataReader9ReadID3V2EPN6TagLib5ID3v23TagEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %70, ptr noundef %3)
          to label %.thread unwind label %56

.thread:                                          ; preds = %52, %68, %71, %58
  %73 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %74 unwind label %76

74:                                               ; preds = %.thread
  %75 = icmp eq ptr %73, null
  br i1 %75, label %.thread118, label %78

76:                                               ; preds = %88, %83, %80, %.thread
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %200

78:                                               ; preds = %74
  %79 = call ptr @__dynamic_cast(ptr nonnull %73, ptr nonnull @_ZTIN6TagLib4FileE, ptr nonnull @_ZTIN6TagLib4RIFF4AIFF4FileE, i64 0) #8
  %.not90 = icmp eq ptr %79, null
  br i1 %.not90, label %.thread118, label %80

80:                                               ; preds = %78
  %81 = invoke noundef zeroext i1 @_ZNK6TagLib4RIFF4AIFF4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32) %79)
          to label %82 unwind label %76

82:                                               ; preds = %80
  br i1 %81, label %83, label %.thread118

83:                                               ; preds = %82
  %84 = load ptr, ptr %79, align 8, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %84, i64 16
  %86 = load ptr, ptr %85, align 8
  %87 = invoke noundef ptr %86(ptr noundef nonnull align 8 dereferenceable(32) %79)
          to label %88 unwind label %76

88:                                               ; preds = %83
  %89 = invoke noundef zeroext i1 @_ZN20TaglibMetadataReader9ReadID3V2EPN6TagLib5ID3v23TagEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %87, ptr noundef %3)
          to label %.thread118 unwind label %76

.thread118:                                       ; preds = %74, %78, %88, %82
  %90 = call ptr @__dynamic_cast(ptr nonnull %45, ptr nonnull @_ZTIN6TagLib3TagE, ptr nonnull @_ZTIN6TagLib3Ogg11XiphCommentE, i64 0) #8
  %.not91 = icmp eq ptr %90, null
  br i1 %.not91, label %.critedge, label %91

91:                                               ; preds = %.thread118
  invoke void @_ZN6TagLib3Ogg11XiphComment11pictureListEv(ptr dead_on_unwind nonnull writable sret(%"class.TagLib::List") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %92 unwind label %99

92:                                               ; preds = %91
  invoke void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull %8, ptr noundef %3)
          to label %93 unwind label %101

93:                                               ; preds = %92
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  %94 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %95 unwind label %99

95:                                               ; preds = %93
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %94, ptr noundef %3)
          to label %96 unwind label %99

96:                                               ; preds = %95
  %97 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %90)
          to label %98 unwind label %99

98:                                               ; preds = %96
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef %3)
          to label %.thread130 unwind label %99

99:                                               ; preds = %98, %96, %95, %93, %91
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %200

101:                                              ; preds = %92
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #8
  br label %200

.critedge:                                        ; preds = %.thread118
  %103 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %104 unwind label %106

104:                                              ; preds = %.critedge
  %105 = icmp eq ptr %103, null
  br i1 %105, label %.thread120, label %108

106:                                              ; preds = %124, %122, %120, %119, %117, %115, %112, %110, %.critedge
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %200

108:                                              ; preds = %104
  %109 = call ptr @__dynamic_cast(ptr nonnull %103, ptr nonnull @_ZTIN6TagLib4FileE, ptr nonnull @_ZTIN6TagLib4FLAC4FileE, i64 0) #8
  %.not92 = icmp eq ptr %109, null
  br i1 %.not92, label %.thread120, label %110

110:                                              ; preds = %108
  invoke void @_ZN6TagLib4FLAC4File11pictureListEv(ptr dead_on_unwind nonnull writable sret(%"class.TagLib::List") align 8 %9, ptr noundef nonnull align 8 dereferenceable(24) %109)
          to label %111 unwind label %106

111:                                              ; preds = %110
  invoke void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull %9, ptr noundef %3)
          to label %112 unwind label %125

112:                                              ; preds = %111
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  %113 = invoke noundef zeroext i1 @_ZNK6TagLib4FLAC4File14hasXiphCommentEv(ptr noundef nonnull align 8 dereferenceable(24) %109)
          to label %114 unwind label %106

114:                                              ; preds = %112
  br i1 %113, label %115, label %.thread120

115:                                              ; preds = %114
  %116 = invoke noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24) %109, i1 noundef zeroext false)
          to label %117 unwind label %106

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %116)
          to label %119 unwind label %106

119:                                              ; preds = %117
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %118, ptr noundef %3)
          to label %120 unwind label %106

120:                                              ; preds = %119
  %121 = invoke noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24) %109, i1 noundef zeroext false)
          to label %122 unwind label %106

122:                                              ; preds = %120
  %123 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24) %121)
          to label %124 unwind label %106

124:                                              ; preds = %122
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %123, ptr noundef %3)
          to label %.thread130 unwind label %106

125:                                              ; preds = %111
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib4ListIPNS_4FLAC7PictureEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  br label %200

.thread120:                                       ; preds = %104, %114, %108
  %127 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %128 unwind label %130

128:                                              ; preds = %.thread120
  %129 = icmp eq ptr %127, null
  br i1 %129, label %.thread125, label %132

130:                                              ; preds = %134, %.thread120
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %200

132:                                              ; preds = %128
  %133 = call ptr @__dynamic_cast(ptr nonnull %127, ptr nonnull @_ZTIN6TagLib4FileE, ptr nonnull @_ZTIN6TagLib3MP44FileE, i64 0) #8
  %.not93 = icmp eq ptr %133, null
  br i1 %.not93, label %.thread125, label %134

134:                                              ; preds = %132
  %135 = invoke noundef zeroext i1 @_ZNK6TagLib3MP44File9hasMP4TagEv(ptr noundef nonnull align 8 dereferenceable(24) %133)
          to label %136 unwind label %130

136:                                              ; preds = %134
  br i1 %135, label %137, label %.thread125

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %138 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3MP43Tag7itemMapEv(ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %139 unwind label %148

139:                                              ; preds = %137
  invoke void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %138)
          to label %140 unwind label %148

140:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.21, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %141 unwind label %150

141:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %142 unwind label %152

142:                                              ; preds = %141
  invoke void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %3)
          to label %143 unwind label %154

143:                                              ; preds = %142
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull @.str.23, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %144 unwind label %158

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.24, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %145 unwind label %160

145:                                              ; preds = %144
  invoke void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %3)
          to label %146 unwind label %162

146:                                              ; preds = %145
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_3MP44ItemEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %3)
          to label %147 unwind label %166

147:                                              ; preds = %146
  call void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %.thread130

148:                                              ; preds = %139, %137
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %169

150:                                              ; preds = %140
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %157

152:                                              ; preds = %141
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %156

154:                                              ; preds = %142
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %156

156:                                              ; preds = %154, %152
  %.pn94 = phi { ptr, i32 } [ %155, %154 ], [ %153, %152 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %157

157:                                              ; preds = %156, %150
  %.pn94.pn = phi { ptr, i32 } [ %.pn94, %156 ], [ %151, %150 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %168

158:                                              ; preds = %143
  %159 = landingpad { ptr, i32 }
          cleanup
  br label %165

160:                                              ; preds = %144
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %164

162:                                              ; preds = %145
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %164

164:                                              ; preds = %162, %160
  %.pn97 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %165

165:                                              ; preds = %164, %158
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %164 ], [ %159, %158 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %168

166:                                              ; preds = %146
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %168

168:                                              ; preds = %166, %165, %157
  %.pn100 = phi { ptr, i32 } [ %167, %166 ], [ %.pn97.pn, %165 ], [ %.pn94.pn, %157 ]
  call void @_ZN6TagLib3MapINS_6StringENS_3MP44ItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  br label %169

169:                                              ; preds = %168, %148
  %.pn100.pn = phi { ptr, i32 } [ %.pn100, %168 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %200

.thread125:                                       ; preds = %128, %136, %132
  %170 = invoke noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %171 unwind label %173

171:                                              ; preds = %.thread125
  %172 = icmp eq ptr %170, null
  br i1 %172, label %.thread130, label %175

173:                                              ; preds = %177, %.thread125
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %200

175:                                              ; preds = %171
  %176 = call ptr @__dynamic_cast(ptr nonnull %170, ptr nonnull @_ZTIN6TagLib4FileE, ptr nonnull @_ZTIN6TagLib7WavPack4FileE, i64 0) #8
  %.not104 = icmp eq ptr %176, null
  br i1 %.not104, label %.thread130, label %177

177:                                              ; preds = %175
  %178 = invoke noundef zeroext i1 @_ZNK6TagLib7WavPack4File9hasAPETagEv(ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %179 unwind label %173

179:                                              ; preds = %177
  br i1 %178, label %180, label %.thread130

180:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #8
  invoke void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind nonnull writable sret(%"class.TagLib::PropertyMap") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %181 unwind label %185

181:                                              ; preds = %180
  invoke void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef %3)
          to label %182 unwind label %187

182:                                              ; preds = %181
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #8
  invoke void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind nonnull writable sret(%"class.TagLib::PropertyMap") align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %183 unwind label %190

183:                                              ; preds = %182
  invoke void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(40) %20, ptr noundef %3)
          to label %184 unwind label %192

184:                                              ; preds = %183
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #8
  br label %.thread130

185:                                              ; preds = %180
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %181
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #8
  br label %189

189:                                              ; preds = %187, %185
  %.pn105 = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #8
  br label %200

190:                                              ; preds = %182
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

192:                                              ; preds = %183
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TagLib11PropertyMapD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #8
  br label %194

194:                                              ; preds = %192, %190
  %.pn107 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #8
  br label %200

.thread130:                                       ; preds = %171, %147, %124, %98, %184, %179, %175
  %195 = invoke noundef ptr @_ZNK6TagLib7FileRef15audioPropertiesEv(ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %196 unwind label %197

196:                                              ; preds = %.thread130
  invoke void @_ZN20TaglibMetadataReader18SetAudioPropertiesEPN6TagLib15AudioPropertiesEPN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %195, ptr noundef %3)
          to label %199 unwind label %197

197:                                              ; preds = %196, %.thread130
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %200

199:                                              ; preds = %196, %46
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  ret i1 true

200:                                              ; preds = %54, %76, %106, %125, %169, %130, %194, %189, %173, %197, %101, %99, %56, %43, %38, %32
  %.pn111.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn87, %43 ], [ %.pn, %38 ], [ %33, %32 ], [ %55, %54 ], [ %57, %56 ], [ %77, %76 ], [ %198, %197 ], [ %100, %99 ], [ %102, %101 ], [ %107, %106 ], [ %126, %125 ], [ %.pn100.pn, %169 ], [ %131, %130 ], [ %.pn107, %194 ], [ %.pn105, %189 ], [ %174, %173 ]
  call void @_ZN6TagLib7FileRefD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  resume { ptr, i32 } %.pn111.pn.pn.pn.pn
}

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

declare noundef zeroext i1 @_ZNK6TagLib7FileRef6isNullEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

declare void @_ZN6TagLib7FileRefC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN6TagLib7FileRefaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL14resolveOggTypePKc(ptr dead_on_unwind noalias writable sret(%"class.TagLib::FileRef") align 8, ptr noundef) local_unnamed_addr #2

declare noundef ptr @_ZNK6TagLib7FileRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

declare noundef ptr @_ZNK6TagLib7FileRef4fileEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #6

declare noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File10hasInfoTagEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare noundef ptr @_ZNK6TagLib4RIFF3WAV4File7InfoTagEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK6TagLib4RIFF3WAV4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

declare noundef ptr @_ZNK6TagLib4RIFF3WAV4File8ID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK6TagLib4RIFF4AIFF4File11hasID3v2TagEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL15processAlbumArtN6TagLib4ListIPNS_4FLAC7PictureEEEPN5musik4core3sdk9ITagStoreE(ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN6TagLib3Ogg11XiphComment11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3Ogg11XiphComment12fieldListMapEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_10StringListEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

declare void @_ZN6TagLib4FLAC4File11pictureListEv(ptr dead_on_unwind writable sret(%"class.TagLib::List") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK6TagLib4FLAC4File14hasXiphCommentEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef ptr @_ZN6TagLib4FLAC4File11xiphCommentEb(ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK6TagLib3MP44File9hasMP4TagEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK6TagLib3MP43Tag7itemMapEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader18ExtractValueForKeyERKN6TagLib3MapINS0_6StringENS0_3MP44ItemEEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib3MapINS1_6StringENS1_3MP44ItemEEEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 align 2

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

declare noundef zeroext i1 @_ZNK6TagLib7WavPack4File9hasAPETagEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader11ReadFromMapIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2 align 2

declare void @_ZNK6TagLib7WavPack4File10propertiesEv(ptr dead_on_unwind writable sret(%"class.TagLib::PropertyMap") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20TaglibMetadataReader17ExtractReplayGainIN6TagLib11PropertyMapEEEvRKT_PN5musik4core3sdk9ITagStoreE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2 align 2

declare noundef ptr @_ZNK6TagLib7FileRef15audioPropertiesEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint 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 #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 = { mustprogress nofree nounwind willreturn memory(read) }
attributes #7 = { inlinehint 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 #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass