; LLVM IR from reworks-org/galaxy :: deps/sfml_deps/flac-src/src/test_libFLAC++ (metadata_object)

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

%struct.FLAC__StreamMetadata = type { i32, i32, i32, %union.anon }
%union.anon = type { %struct.FLAC__StreamMetadata_CueSheet }
%struct.FLAC__StreamMetadata_CueSheet = type { [129 x i8], i64, i32, i32, ptr }
%"class.FLAC::Metadata::Picture" = type { %"class.FLAC::Metadata::Prototype.base", [7 x i8] }
%"class.FLAC::Metadata::Prototype.base" = type <{ ptr, ptr, i8 }>
%struct.FLAC__StreamMetadata_Picture = type { i32, ptr, ptr, i32, i32, i32, i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTIN4FLAC8Metadata9PrototypeE = external constant ptr
@.str.45 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [31 x i8], align 1
@FLAC__STREAM_METADATA_PICTURE_TYPE_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_COLORS_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN = external constant i32, align 4
@.str.261 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.263 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZL8picture_ = external hidden global %struct.FLAC__StreamMetadata, align 8
@.str.266 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.272 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.273 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.274 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.278 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.279 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.288 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.304 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.305 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.306 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.307 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.308 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZTIN4FLAC8Metadata7PictureE = external constant ptr

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

declare i32 @printf(ptr noundef, ...) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17)) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL4die_PKc(ptr noundef) #3

declare noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

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

declare ptr @FLAC__metadata_object_clone(ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @memcmp(ptr noundef, ptr noundef, i64 noundef) #4

declare noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z28test_metadata_object_picturev() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i1, align 1
  %2 = alloca i32, align 4
  %3 = alloca %"class.FLAC::Metadata::Picture", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.FLAC::Metadata::Picture", align 8
  %8 = alloca %"class.FLAC::Metadata::Picture", align 8
  %9 = alloca %"class.FLAC::Metadata::Picture", align 8
  %10 = alloca %"class.FLAC::Metadata::Picture", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.FLAC::Metadata::Picture", align 8
  %13 = alloca %"class.FLAC::Metadata::Picture", align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.FLAC::Metadata::Picture", align 8
  %16 = alloca %"class.FLAC::Metadata::Picture", align 8
  %17 = alloca %"class.FLAC::Metadata::Picture", align 8
  %18 = alloca %"class.FLAC::Metadata::Picture", align 8
  %19 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.259)
  %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.260)
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3)
  %22 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %23 unwind label %27

23:                                               ; preds = %0
  br i1 %22, label %31, label %24

24:                                               ; preds = %23
  %25 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.2)
          to label %26 unwind label %27

26:                                               ; preds = %24
  store i1 %25, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

27:                                               ; preds = %615, %613, %610, %602, %599, %594, %590, %588, %585, %582, %580, %578, %575, %571, %569, %567, %564, %560, %559, %557, %555, %553, %550, %546, %544, %542, %539, %535, %534, %532, %530, %528, %525, %521, %519, %517, %514, %510, %509, %507, %505, %503, %500, %496, %494, %492, %489, %485, %484, %482, %480, %478, %475, %471, %469, %467, %464, %458, %454, %452, %449, %446, %444, %442, %439, %433, %429, %427, %424, %421, %419, %417, %414, %410, %409, %407, %405, %403, %399, %395, %393, %364, %362, %333, %331, %301, %299, %261, %259, %227, %225, %189, %187, %158, %156, %127, %125, %96, %94, %92, %62, %60, %58, %55, %52, %31, %24, %0
  %28 = landingpad { ptr, i32 }
          cleanup
  %29 = extractvalue { ptr, i32 } %28, 0
  store ptr %29, ptr %4, align 8
  %30 = extractvalue { ptr, i32 } %28, 1
  store i32 %30, ptr %5, align 4
  br label %673

31:                                               ; preds = %23
  %32 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_TYPE_LEN, align 4, !tbaa !5
  %33 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN, align 4, !tbaa !5
  %34 = add i32 %32, %33
  %35 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN, align 4, !tbaa !5
  %36 = add i32 %34, %35
  %37 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN, align 4, !tbaa !5
  %38 = add i32 %36, %37
  %39 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN, align 4, !tbaa !5
  %40 = add i32 %38, %39
  %41 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN, align 4, !tbaa !5
  %42 = add i32 %40, %41
  %43 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_COLORS_LEN, align 4, !tbaa !5
  %44 = add i32 %42, %43
  %45 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN, align 4, !tbaa !5
  %46 = add i32 %44, %45
  %47 = udiv i32 %46, 8
  store i32 %47, ptr %2, align 4, !tbaa !5
  %48 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %49 unwind label %27

49:                                               ; preds = %31
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = icmp ne i32 %48, %50
  br i1 %51, label %52, label %58

52:                                               ; preds = %49
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %55 unwind label %27

55:                                               ; preds = %52
  %56 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53, i32 noundef %54)
          to label %57 unwind label %27

57:                                               ; preds = %55
  store i1 false, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

58:                                               ; preds = %49
  %59 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %60 unwind label %27

60:                                               ; preds = %58
  %61 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.261)
          to label %62 unwind label %27

62:                                               ; preds = %60
  %63 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.262)
          to label %64 unwind label %27

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %65 unwind label %71

65:                                               ; preds = %64
  %66 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %7)
          to label %67 unwind label %75

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

68:                                               ; preds = %67
  %69 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %70 unwind label %75

70:                                               ; preds = %68
  store i1 %69, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %90

71:                                               ; preds = %64
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %4, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %5, align 4
  br label %105

75:                                               ; preds = %87, %85, %82, %79, %68, %65
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %4, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #8
  br label %105

79:                                               ; preds = %67
  %80 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %81 unwind label %75

81:                                               ; preds = %79
  br i1 %80, label %82, label %85

82:                                               ; preds = %81
  %83 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %84 unwind label %75

84:                                               ; preds = %82
  store i1 %83, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %90

85:                                               ; preds = %81
  %86 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %87 unwind label %75

87:                                               ; preds = %85
  %88 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.263)
          to label %89 unwind label %75

89:                                               ; preds = %87
  store i32 0, ptr %6, align 4
  br label %90

90:                                               ; preds = %89, %84, %70
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  %91 = load i32, ptr %6, align 4
  switch i32 %91, label %671 [
    i32 0, label %92
  ]

92:                                               ; preds = %90
  %93 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %94 unwind label %27

94:                                               ; preds = %92
  %95 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.264)
          to label %96 unwind label %27

96:                                               ; preds = %94
  %97 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.265)
          to label %98 unwind label %27

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %99 unwind label %106

99:                                               ; preds = %98
  %100 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %8)
          to label %101 unwind label %110

101:                                              ; preds = %99
  br i1 %100, label %114, label %102

102:                                              ; preds = %101
  %103 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %104 unwind label %110

104:                                              ; preds = %102
  store i1 %103, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %123

105:                                              ; preds = %75, %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %673

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %4, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %5, align 4
  br label %136

110:                                              ; preds = %120, %117, %114, %102, %99
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %4, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #8
  br label %136

114:                                              ; preds = %101
  %115 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %116 unwind label %110

116:                                              ; preds = %114
  br i1 %115, label %117, label %120

117:                                              ; preds = %116
  %118 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %119 unwind label %110

119:                                              ; preds = %117
  store i1 %118, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %123

120:                                              ; preds = %116
  %121 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %122 unwind label %110

122:                                              ; preds = %120
  store i32 0, ptr %6, align 4
  br label %123

123:                                              ; preds = %122, %119, %104
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  %124 = load i32, ptr %6, align 4
  switch i32 %124, label %671 [
    i32 0, label %125
  ]

125:                                              ; preds = %123
  %126 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.266)
          to label %127 unwind label %27

127:                                              ; preds = %125
  %128 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.267)
          to label %129 unwind label %27

129:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef @_ZL8picture_)
          to label %130 unwind label %137

130:                                              ; preds = %129
  %131 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %9)
          to label %132 unwind label %141

132:                                              ; preds = %130
  br i1 %131, label %145, label %133

133:                                              ; preds = %132
  %134 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %135 unwind label %141

135:                                              ; preds = %133
  store i1 %134, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %154

136:                                              ; preds = %110, %106
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  br label %673

137:                                              ; preds = %129
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %4, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %5, align 4
  br label %167

141:                                              ; preds = %151, %148, %145, %133, %130
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %4, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #8
  br label %167

145:                                              ; preds = %132
  %146 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %147 unwind label %141

147:                                              ; preds = %145
  br i1 %146, label %148, label %151

148:                                              ; preds = %147
  %149 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %150 unwind label %141

150:                                              ; preds = %148
  store i1 %149, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %154

151:                                              ; preds = %147
  %152 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %153 unwind label %141

153:                                              ; preds = %151
  store i32 0, ptr %6, align 4
  br label %154

154:                                              ; preds = %153, %150, %135
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  %155 = load i32, ptr %6, align 4
  switch i32 %155, label %671 [
    i32 0, label %156
  ]

156:                                              ; preds = %154
  %157 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.268)
          to label %158 unwind label %27

158:                                              ; preds = %156
  %159 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.267)
          to label %160 unwind label %27

160:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef @_ZL8picture_, i1 noundef zeroext true)
          to label %161 unwind label %168

161:                                              ; preds = %160
  %162 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %10)
          to label %163 unwind label %172

163:                                              ; preds = %161
  br i1 %162, label %176, label %164

164:                                              ; preds = %163
  %165 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %166 unwind label %172

166:                                              ; preds = %164
  store i1 %165, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %185

167:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  br label %673

168:                                              ; preds = %160
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %4, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %5, align 4
  br label %201

172:                                              ; preds = %182, %179, %176, %164, %161
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %4, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #8
  br label %201

176:                                              ; preds = %163
  %177 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %178 unwind label %172

178:                                              ; preds = %176
  br i1 %177, label %179, label %182

179:                                              ; preds = %178
  %180 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %181 unwind label %172

181:                                              ; preds = %179
  store i1 %180, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %185

182:                                              ; preds = %178
  %183 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %184 unwind label %172

184:                                              ; preds = %182
  store i32 0, ptr %6, align 4
  br label %185

185:                                              ; preds = %184, %181, %166
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  %186 = load i32, ptr %6, align 4
  switch i32 %186, label %671 [
    i32 0, label %187
  ]

187:                                              ; preds = %185
  %188 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.269)
          to label %189 unwind label %27

189:                                              ; preds = %187
  %190 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.267)
          to label %191 unwind label %27

191:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %192 = invoke ptr @FLAC__metadata_object_clone(ptr noundef @_ZL8picture_)
          to label %193 unwind label %202

193:                                              ; preds = %191
  store ptr %192, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  %194 = load ptr, ptr %11, align 8, !tbaa !9
  invoke void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef %194, i1 noundef zeroext false)
          to label %195 unwind label %206

195:                                              ; preds = %193
  %196 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %12)
          to label %197 unwind label %210

197:                                              ; preds = %195
  br i1 %196, label %214, label %198

198:                                              ; preds = %197
  %199 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %200 unwind label %210

200:                                              ; preds = %198
  store i1 %199, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %223

201:                                              ; preds = %172, %168
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  br label %673

202:                                              ; preds = %191
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %4, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %5, align 4
  br label %239

206:                                              ; preds = %193
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %4, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %5, align 4
  br label %238

210:                                              ; preds = %220, %217, %214, %198, %195
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %4, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #8
  br label %238

214:                                              ; preds = %197
  %215 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %216 unwind label %210

216:                                              ; preds = %214
  br i1 %215, label %217, label %220

217:                                              ; preds = %216
  %218 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %219 unwind label %210

219:                                              ; preds = %217
  store i1 %218, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %223

220:                                              ; preds = %216
  %221 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %222 unwind label %210

222:                                              ; preds = %220
  store i32 0, ptr %6, align 4
  br label %223

223:                                              ; preds = %222, %219, %200
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  %224 = load i32, ptr %6, align 4
  switch i32 %224, label %671 [
    i32 0, label %225
  ]

225:                                              ; preds = %223
  %226 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.270)
          to label %227 unwind label %27

227:                                              ; preds = %225
  %228 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.267)
          to label %229 unwind label %27

229:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #8
  invoke void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %230 unwind label %240

230:                                              ; preds = %229
  %231 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata7Picture6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef @_ZL8picture_, i1 noundef zeroext true)
          to label %232 unwind label %244

232:                                              ; preds = %230
  %233 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %234 unwind label %244

234:                                              ; preds = %232
  br i1 %233, label %248, label %235

235:                                              ; preds = %234
  %236 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %237 unwind label %244

237:                                              ; preds = %235
  store i1 %236, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %257

238:                                              ; preds = %210, %206
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %239

239:                                              ; preds = %238, %202
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %673

240:                                              ; preds = %229
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %4, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %5, align 4
  br label %275

244:                                              ; preds = %254, %251, %248, %235, %232, %230
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %4, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #8
  br label %275

248:                                              ; preds = %234
  %249 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %250 unwind label %244

250:                                              ; preds = %248
  br i1 %249, label %251, label %254

251:                                              ; preds = %250
  %252 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %253 unwind label %244

253:                                              ; preds = %251
  store i1 %252, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %257

254:                                              ; preds = %250
  %255 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %256 unwind label %244

256:                                              ; preds = %254
  store i32 0, ptr %6, align 4
  br label %257

257:                                              ; preds = %256, %253, %237
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  %258 = load i32, ptr %6, align 4
  switch i32 %258, label %671 [
    i32 0, label %259
  ]

259:                                              ; preds = %257
  %260 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.271)
          to label %261 unwind label %27

261:                                              ; preds = %259
  %262 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.267)
          to label %263 unwind label %27

263:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %264 = invoke ptr @FLAC__metadata_object_clone(ptr noundef @_ZL8picture_)
          to label %265 unwind label %276

265:                                              ; preds = %263
  store ptr %264, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #8
  invoke void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15)
          to label %266 unwind label %280

266:                                              ; preds = %265
  %267 = load ptr, ptr %14, align 8, !tbaa !9
  %268 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata7Picture6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef %267, i1 noundef zeroext false)
          to label %269 unwind label %284

269:                                              ; preds = %266
  %270 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %15)
          to label %271 unwind label %284

271:                                              ; preds = %269
  br i1 %270, label %288, label %272

272:                                              ; preds = %271
  %273 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %274 unwind label %284

274:                                              ; preds = %272
  store i1 %273, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %297

275:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #8
  br label %673

276:                                              ; preds = %263
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %4, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %5, align 4
  br label %311

280:                                              ; preds = %265
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %4, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %5, align 4
  br label %310

284:                                              ; preds = %294, %291, %288, %272, %269, %266
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %4, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #8
  br label %310

288:                                              ; preds = %271
  %289 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %290 unwind label %284

290:                                              ; preds = %288
  br i1 %289, label %291, label %294

291:                                              ; preds = %290
  %292 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %293 unwind label %284

293:                                              ; preds = %291
  store i1 %292, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %297

294:                                              ; preds = %290
  %295 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %296 unwind label %284

296:                                              ; preds = %294
  store i32 0, ptr %6, align 4
  br label %297

297:                                              ; preds = %296, %293, %274
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %298 = load i32, ptr %6, align 4
  switch i32 %298, label %671 [
    i32 0, label %299
  ]

299:                                              ; preds = %297
  %300 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.272)
          to label %301 unwind label %27

301:                                              ; preds = %299
  %302 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.273)
          to label %303 unwind label %27

303:                                              ; preds = %301
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %16, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %304 unwind label %312

304:                                              ; preds = %303
  %305 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %16)
          to label %306 unwind label %316

306:                                              ; preds = %304
  br i1 %305, label %320, label %307

307:                                              ; preds = %306
  %308 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %309 unwind label %316

309:                                              ; preds = %307
  store i1 %308, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %329

310:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #8
  br label %311

311:                                              ; preds = %310, %276
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %673

312:                                              ; preds = %303
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %4, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %5, align 4
  br label %342

316:                                              ; preds = %326, %323, %320, %307, %304
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %4, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #8
  br label %342

320:                                              ; preds = %306
  %321 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %16, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %322 unwind label %316

322:                                              ; preds = %320
  br i1 %321, label %326, label %323

323:                                              ; preds = %322
  %324 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %325 unwind label %316

325:                                              ; preds = %323
  store i1 %324, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %329

326:                                              ; preds = %322
  %327 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %328 unwind label %316

328:                                              ; preds = %326
  store i32 0, ptr %6, align 4
  br label %329

329:                                              ; preds = %328, %325, %309
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  %330 = load i32, ptr %6, align 4
  switch i32 %330, label %671 [
    i32 0, label %331
  ]

331:                                              ; preds = %329
  %332 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.274)
          to label %333 unwind label %27

333:                                              ; preds = %331
  %334 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.275)
          to label %335 unwind label %27

335:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %336 unwind label %343

336:                                              ; preds = %335
  %337 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %17)
          to label %338 unwind label %347

338:                                              ; preds = %336
  br i1 %337, label %351, label %339

339:                                              ; preds = %338
  %340 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %341 unwind label %347

341:                                              ; preds = %339
  store i1 %340, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %360

342:                                              ; preds = %316, %312
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  br label %673

343:                                              ; preds = %335
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %4, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %5, align 4
  br label %373

347:                                              ; preds = %357, %354, %351, %339, %336
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %4, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #8
  br label %373

351:                                              ; preds = %338
  %352 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %353 unwind label %347

353:                                              ; preds = %351
  br i1 %352, label %357, label %354

354:                                              ; preds = %353
  %355 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %356 unwind label %347

356:                                              ; preds = %354
  store i1 %355, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %360

357:                                              ; preds = %353
  %358 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %359 unwind label %347

359:                                              ; preds = %357
  store i32 0, ptr %6, align 4
  br label %360

360:                                              ; preds = %359, %356, %341
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  %361 = load i32, ptr %6, align 4
  switch i32 %361, label %671 [
    i32 0, label %362
  ]

362:                                              ; preds = %360
  %363 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.276)
          to label %364 unwind label %27

364:                                              ; preds = %362
  %365 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.277)
          to label %366 unwind label %27

366:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #8
  invoke void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %18, ptr noundef @_ZL8picture_)
          to label %367 unwind label %374

367:                                              ; preds = %366
  %368 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %18)
          to label %369 unwind label %378

369:                                              ; preds = %367
  br i1 %368, label %382, label %370

370:                                              ; preds = %369
  %371 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %372 unwind label %378

372:                                              ; preds = %370
  store i1 %371, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %391

373:                                              ; preds = %347, %343
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #8
  br label %673

374:                                              ; preds = %366
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %4, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %5, align 4
  br label %402

378:                                              ; preds = %388, %385, %382, %370, %367
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %4, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %5, align 4
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #8
  br label %402

382:                                              ; preds = %369
  %383 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %18, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %384 unwind label %378

384:                                              ; preds = %382
  br i1 %383, label %388, label %385

385:                                              ; preds = %384
  %386 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %387 unwind label %378

387:                                              ; preds = %385
  store i1 %386, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %391

388:                                              ; preds = %384
  %389 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %390 unwind label %378

390:                                              ; preds = %388
  store i32 0, ptr %6, align 4
  br label %391

391:                                              ; preds = %390, %387, %372
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  %392 = load i32, ptr %6, align 4
  switch i32 %392, label %671 [
    i32 0, label %393
  ]

393:                                              ; preds = %391
  %394 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.278)
          to label %395 unwind label %27

395:                                              ; preds = %393
  %396 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %397 unwind label %27

397:                                              ; preds = %395
  %398 = icmp ne i32 %396, 0
  br i1 %398, label %399, label %403

399:                                              ; preds = %397
  %400 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.279)
          to label %401 unwind label %27

401:                                              ; preds = %399
  store i1 %400, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

402:                                              ; preds = %378, %374
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #8
  br label %673

403:                                              ; preds = %397
  %404 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %405 unwind label %27

405:                                              ; preds = %403
  %406 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.280)
          to label %407 unwind label %27

407:                                              ; preds = %405
  %408 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.281)
          to label %409 unwind label %27

409:                                              ; preds = %407
  invoke void @_ZN4FLAC8Metadata7Picture8set_typeE33FLAC__StreamMetadata_Picture_Type(ptr noundef nonnull align 8 dereferenceable(17) %3, i32 noundef 6)
          to label %410 unwind label %27

410:                                              ; preds = %409
  %411 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %412 unwind label %27

412:                                              ; preds = %410
  %413 = icmp ne i32 %411, 6
  br i1 %413, label %414, label %417

414:                                              ; preds = %412
  %415 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.282)
          to label %416 unwind label %27

416:                                              ; preds = %414
  store i1 %415, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

417:                                              ; preds = %412
  %418 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %419 unwind label %27

419:                                              ; preds = %417
  %420 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.283)
          to label %421 unwind label %27

421:                                              ; preds = %419
  %422 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture13set_mime_typeEPKc(ptr noundef nonnull align 8 dereferenceable(17) %3, ptr noundef @.str.284)
          to label %423 unwind label %27

423:                                              ; preds = %421
  br i1 %422, label %427, label %424

424:                                              ; preds = %423
  %425 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %426 unwind label %27

426:                                              ; preds = %424
  store i1 %425, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

427:                                              ; preds = %423
  %428 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %429 unwind label %27

429:                                              ; preds = %427
  %430 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 1), align 8, !tbaa !11
  %431 = getelementptr inbounds i8, ptr %430, i64 0
  store i8 113, ptr %431, align 1, !tbaa !11
  %432 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.285)
          to label %433 unwind label %27

433:                                              ; preds = %429
  %434 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture13get_mime_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %435 unwind label %27

435:                                              ; preds = %433
  %436 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 1), align 8, !tbaa !11
  %437 = call i32 @strcmp(ptr noundef %434, ptr noundef %436) #5
  %438 = icmp ne i32 0, %437
  br i1 %438, label %439, label %442

439:                                              ; preds = %435
  %440 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %441 unwind label %27

441:                                              ; preds = %439
  store i1 %440, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

442:                                              ; preds = %435
  %443 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %444 unwind label %27

444:                                              ; preds = %442
  %445 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.286)
          to label %446 unwind label %27

446:                                              ; preds = %444
  %447 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture15set_descriptionEPKh(ptr noundef nonnull align 8 dereferenceable(17) %3, ptr noundef @.str.287)
          to label %448 unwind label %27

448:                                              ; preds = %446
  br i1 %447, label %452, label %449

449:                                              ; preds = %448
  %450 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %451 unwind label %27

451:                                              ; preds = %449
  store i1 %450, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

452:                                              ; preds = %448
  %453 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %454 unwind label %27

454:                                              ; preds = %452
  %455 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !11
  %456 = getelementptr inbounds i8, ptr %455, i64 0
  store i8 113, ptr %456, align 1, !tbaa !11
  %457 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.288)
          to label %458 unwind label %27

458:                                              ; preds = %454
  %459 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture15get_descriptionEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %460 unwind label %27

460:                                              ; preds = %458
  %461 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 2), align 8, !tbaa !11
  %462 = call i32 @strcmp(ptr noundef %459, ptr noundef %461) #5
  %463 = icmp ne i32 0, %462
  br i1 %463, label %464, label %467

464:                                              ; preds = %460
  %465 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %466 unwind label %27

466:                                              ; preds = %464
  store i1 %465, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

467:                                              ; preds = %460
  %468 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %469 unwind label %27

469:                                              ; preds = %467
  %470 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.289)
          to label %471 unwind label %27

471:                                              ; preds = %469
  %472 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %473 unwind label %27

473:                                              ; preds = %471
  %474 = icmp ne i32 %472, 0
  br i1 %474, label %475, label %478

475:                                              ; preds = %473
  %476 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %477 unwind label %27

477:                                              ; preds = %475
  store i1 %476, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

478:                                              ; preds = %473
  %479 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %480 unwind label %27

480:                                              ; preds = %478
  %481 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.290)
          to label %482 unwind label %27

482:                                              ; preds = %480
  %483 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.291)
          to label %484 unwind label %27

484:                                              ; preds = %482
  invoke void @_ZNK4FLAC8Metadata7Picture9set_widthEj(ptr noundef nonnull align 8 dereferenceable(17) %3, i32 noundef 400)
          to label %485 unwind label %27

485:                                              ; preds = %484
  %486 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %487 unwind label %27

487:                                              ; preds = %485
  %488 = icmp ne i32 %486, 400
  br i1 %488, label %489, label %492

489:                                              ; preds = %487
  %490 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.292)
          to label %491 unwind label %27

491:                                              ; preds = %489
  store i1 %490, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

492:                                              ; preds = %487
  %493 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %494 unwind label %27

494:                                              ; preds = %492
  %495 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.293)
          to label %496 unwind label %27

496:                                              ; preds = %494
  %497 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %498 unwind label %27

498:                                              ; preds = %496
  %499 = icmp ne i32 %497, 0
  br i1 %499, label %500, label %503

500:                                              ; preds = %498
  %501 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %502 unwind label %27

502:                                              ; preds = %500
  store i1 %501, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

503:                                              ; preds = %498
  %504 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %505 unwind label %27

505:                                              ; preds = %503
  %506 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.294)
          to label %507 unwind label %27

507:                                              ; preds = %505
  %508 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.295)
          to label %509 unwind label %27

509:                                              ; preds = %507
  invoke void @_ZNK4FLAC8Metadata7Picture10set_heightEj(ptr noundef nonnull align 8 dereferenceable(17) %3, i32 noundef 200)
          to label %510 unwind label %27

510:                                              ; preds = %509
  %511 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %512 unwind label %27

512:                                              ; preds = %510
  %513 = icmp ne i32 %511, 200
  br i1 %513, label %514, label %517

514:                                              ; preds = %512
  %515 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.296)
          to label %516 unwind label %27

516:                                              ; preds = %514
  store i1 %515, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

517:                                              ; preds = %512
  %518 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %519 unwind label %27

519:                                              ; preds = %517
  %520 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.297)
          to label %521 unwind label %27

521:                                              ; preds = %519
  %522 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %523 unwind label %27

523:                                              ; preds = %521
  %524 = icmp ne i32 %522, 0
  br i1 %524, label %525, label %528

525:                                              ; preds = %523
  %526 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %527 unwind label %27

527:                                              ; preds = %525
  store i1 %526, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

528:                                              ; preds = %523
  %529 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %530 unwind label %27

530:                                              ; preds = %528
  %531 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.298)
          to label %532 unwind label %27

532:                                              ; preds = %530
  %533 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.299)
          to label %534 unwind label %27

534:                                              ; preds = %532
  invoke void @_ZNK4FLAC8Metadata7Picture9set_depthEj(ptr noundef nonnull align 8 dereferenceable(17) %3, i32 noundef 16)
          to label %535 unwind label %27

535:                                              ; preds = %534
  %536 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %537 unwind label %27

537:                                              ; preds = %535
  %538 = icmp ne i32 %536, 16
  br i1 %538, label %539, label %542

539:                                              ; preds = %537
  %540 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.300)
          to label %541 unwind label %27

541:                                              ; preds = %539
  store i1 %540, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

542:                                              ; preds = %537
  %543 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %544 unwind label %27

544:                                              ; preds = %542
  %545 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.301)
          to label %546 unwind label %27

546:                                              ; preds = %544
  %547 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %548 unwind label %27

548:                                              ; preds = %546
  %549 = icmp ne i32 %547, 0
  br i1 %549, label %550, label %553

550:                                              ; preds = %548
  %551 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %552 unwind label %27

552:                                              ; preds = %550
  store i1 %551, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

553:                                              ; preds = %548
  %554 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %555 unwind label %27

555:                                              ; preds = %553
  %556 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.302)
          to label %557 unwind label %27

557:                                              ; preds = %555
  %558 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.303)
          to label %559 unwind label %27

559:                                              ; preds = %557
  invoke void @_ZNK4FLAC8Metadata7Picture10set_colorsEj(ptr noundef nonnull align 8 dereferenceable(17) %3, i32 noundef 0)
          to label %560 unwind label %27

560:                                              ; preds = %559
  %561 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %562 unwind label %27

562:                                              ; preds = %560
  %563 = icmp ne i32 %561, 0
  br i1 %563, label %564, label %567

564:                                              ; preds = %562
  %565 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.304)
          to label %566 unwind label %27

566:                                              ; preds = %564
  store i1 %565, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

567:                                              ; preds = %562
  %568 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %569 unwind label %27

569:                                              ; preds = %567
  %570 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.305)
          to label %571 unwind label %27

571:                                              ; preds = %569
  %572 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %573 unwind label %27

573:                                              ; preds = %571
  %574 = icmp ne i32 %572, 0
  br i1 %574, label %575, label %578

575:                                              ; preds = %573
  %576 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %577 unwind label %27

577:                                              ; preds = %575
  store i1 %576, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

578:                                              ; preds = %573
  %579 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %580 unwind label %27

580:                                              ; preds = %578
  %581 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.306)
          to label %582 unwind label %27

582:                                              ; preds = %580
  %583 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture8set_dataEPKhj(ptr noundef nonnull align 8 dereferenceable(17) %3, ptr noundef @.str.307, i32 noundef 12)
          to label %584 unwind label %27

584:                                              ; preds = %582
  br i1 %583, label %588, label %585

585:                                              ; preds = %584
  %586 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %587 unwind label %27

587:                                              ; preds = %585
  store i1 %586, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

588:                                              ; preds = %584
  %589 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %590 unwind label %27

590:                                              ; preds = %588
  %591 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 8), align 8, !tbaa !11
  %592 = getelementptr inbounds i8, ptr %591, i64 0
  store i8 113, ptr %592, align 1, !tbaa !11
  %593 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.308)
          to label %594 unwind label %27

594:                                              ; preds = %590
  %595 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %596 unwind label %27

596:                                              ; preds = %594
  %597 = load i32, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 7), align 8, !tbaa !11
  %598 = icmp ne i32 %595, %597
  br i1 %598, label %599, label %602

599:                                              ; preds = %596
  %600 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.186)
          to label %601 unwind label %27

601:                                              ; preds = %599
  store i1 %600, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

602:                                              ; preds = %596
  %603 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture8get_dataEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %604 unwind label %27

604:                                              ; preds = %602
  %605 = load ptr, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 8), align 8, !tbaa !11
  %606 = load i32, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata_Picture, ptr getelementptr inbounds (%struct.FLAC__StreamMetadata, ptr @_ZL8picture_, i32 0, i32 3), i32 0, i32 7), align 8, !tbaa !11
  %607 = zext i32 %606 to i64
  %608 = call i32 @memcmp(ptr noundef %603, ptr noundef %605, i64 noundef %607) #5
  %609 = icmp ne i32 0, %608
  br i1 %609, label %610, label %613

610:                                              ; preds = %604
  %611 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %612 unwind label %27

612:                                              ; preds = %610
  store i1 %611, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %671

613:                                              ; preds = %604
  %614 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %615 unwind label %27

615:                                              ; preds = %613
  %616 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.43)
          to label %617 unwind label %27

617:                                              ; preds = %615
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %618 = invoke noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef %3)
          to label %619 unwind label %625

619:                                              ; preds = %617
  store ptr %618, ptr %19, align 8, !tbaa !9
  %620 = load ptr, ptr %19, align 8, !tbaa !9
  %621 = icmp eq ptr null, %620
  br i1 %621, label %622, label %629

622:                                              ; preds = %619
  %623 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.44)
          to label %624 unwind label %625

624:                                              ; preds = %622
  store i1 %623, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %670

625:                                              ; preds = %667, %665, %656, %654, %651, %647, %638, %622, %617
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %4, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %673

629:                                              ; preds = %619
  %630 = load ptr, ptr %19, align 8, !tbaa !9
  %631 = icmp eq ptr %630, null
  br i1 %631, label %634, label %632

632:                                              ; preds = %629
  %633 = call ptr @__dynamic_cast(ptr %630, ptr @_ZTIN4FLAC8Metadata9PrototypeE, ptr @_ZTIN4FLAC8Metadata7PictureE, i64 0) #8
  br label %635

634:                                              ; preds = %629
  br label %635

635:                                              ; preds = %634, %632
  %636 = phi ptr [ %633, %632 ], [ null, %634 ]
  %637 = icmp eq ptr null, %636
  br i1 %637, label %638, label %641

638:                                              ; preds = %635
  %639 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.45)
          to label %640 unwind label %625

640:                                              ; preds = %638
  store i1 %639, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %670

641:                                              ; preds = %635
  %642 = load ptr, ptr %19, align 8, !tbaa !9
  %643 = icmp eq ptr %642, null
  br i1 %643, label %646, label %644

644:                                              ; preds = %641
  %645 = call ptr @__dynamic_cast(ptr %642, ptr @_ZTIN4FLAC8Metadata9PrototypeE, ptr @_ZTIN4FLAC8Metadata7PictureE, i64 0) #8
  br label %647

646:                                              ; preds = %641
  br label %647

647:                                              ; preds = %646, %644
  %648 = phi ptr [ %645, %644 ], [ null, %646 ]
  %649 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %648, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %650 unwind label %625

650:                                              ; preds = %647
  br i1 %649, label %651, label %654

651:                                              ; preds = %650
  %652 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.46)
          to label %653 unwind label %625

653:                                              ; preds = %651
  store i1 %652, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %670

654:                                              ; preds = %650
  %655 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %656 unwind label %625

656:                                              ; preds = %654
  %657 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.263)
          to label %658 unwind label %625

658:                                              ; preds = %656
  %659 = load ptr, ptr %19, align 8, !tbaa !9
  %660 = icmp eq ptr %659, null
  br i1 %660, label %665, label %661

661:                                              ; preds = %658
  %662 = load ptr, ptr %659, align 8, !tbaa !12
  %663 = getelementptr inbounds ptr, ptr %662, i64 2
  %664 = load ptr, ptr %663, align 8
  call void %664(ptr noundef nonnull align 8 dereferenceable(17) %659) #8
  br label %665

665:                                              ; preds = %661, %658
  %666 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %667 unwind label %625

667:                                              ; preds = %665
  %668 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.47)
          to label %669 unwind label %625

669:                                              ; preds = %667
  store i1 true, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %670

670:                                              ; preds = %669, %653, %640, %624
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %671

671:                                              ; preds = %670, %612, %601, %587, %577, %566, %552, %541, %527, %516, %502, %491, %477, %466, %451, %441, %426, %416, %401, %391, %360, %329, %297, %257, %223, %185, %154, %123, %90, %57, %26
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  %672 = load i1, ptr %1, align 1
  ret i1 %672

673:                                              ; preds = %625, %402, %373, %342, %311, %275, %239, %201, %167, %136, %105, %27
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  br label %674

674:                                              ; preds = %673
  %675 = load ptr, ptr %4, align 8
  %676 = load i32, ptr %5, align 4
  %677 = insertvalue { ptr, i32 } poison, ptr %675, 0
  %678 = insertvalue { ptr, i32 } %677, i32 %676, 1
  resume { ptr, i32 } %678
}

declare void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #6 align 2

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

; Function Attrs: nounwind
declare void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i1 noundef zeroext) unnamed_addr #6 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) #6 align 2

declare noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare void @_ZN4FLAC8Metadata7Picture8set_typeE33FLAC__StreamMetadata_Picture_Type(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture13set_mime_typeEPKc(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #1

declare noundef ptr @_ZNK4FLAC8Metadata7Picture13get_mime_typeEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture15set_descriptionEPKh(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #1

declare noundef ptr @_ZNK4FLAC8Metadata7Picture15get_descriptionEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare void @_ZNK4FLAC8Metadata7Picture9set_widthEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

declare noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare void @_ZNK4FLAC8Metadata7Picture10set_heightEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

declare noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare void @_ZNK4FLAC8Metadata7Picture9set_depthEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

declare noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare void @_ZNK4FLAC8Metadata7Picture10set_colorsEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

declare noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture8set_dataEPKhj(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i32 noundef) #1

declare noundef ptr @_ZNK4FLAC8Metadata7Picture8get_dataEv(ptr noundef nonnull align 8 dereferenceable(17)) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 #3 = { 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 #4 = { nounwind willreturn memory(read) "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 willreturn memory(read) }
attributes #6 = { 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 #7 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"vtable pointer", !8, i64 0}


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

%struct.FLAC__StreamMetadata = type { i32, i32, i32, %union.anon }
%union.anon = type { %struct.FLAC__StreamMetadata_CueSheet }
%struct.FLAC__StreamMetadata_CueSheet = type { [129 x i8], i64, i32, i32, ptr }
%"class.FLAC::Metadata::Picture" = type { %"class.FLAC::Metadata::Prototype.base", [7 x i8] }
%"class.FLAC::Metadata::Prototype.base" = type <{ ptr, ptr, i8 }>

@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [14 x i8], align 1
@_ZTIN4FLAC8Metadata9PrototypeE = external constant ptr
@.str.45 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.112 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.138 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.182 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.259 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.260 = external hidden unnamed_addr constant [31 x i8], align 1
@FLAC__STREAM_METADATA_PICTURE_TYPE_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_COLORS_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN = external local_unnamed_addr constant i32, align 4
@.str.261 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.262 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.263 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.264 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.265 = external hidden unnamed_addr constant [64 x i8], align 1
@_ZL8picture_ = external hidden global %struct.FLAC__StreamMetadata, align 8
@.str.266 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.267 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.268 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.269 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.270 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.271 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.272 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.273 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.274 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.275 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.276 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.277 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.278 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.279 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.280 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.281 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.282 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.283 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.284 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.285 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.286 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.287 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.288 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.289 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.290 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.291 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.292 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.293 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.294 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.295 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.296 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.297 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.298 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.299 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.300 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.301 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.302 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.303 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.304 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.305 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.306 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.307 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.308 = external hidden unnamed_addr constant [32 x i8], align 1
@_ZTIN4FLAC8Metadata7PictureE = 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: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL4die_PKc(ptr noundef) local_unnamed_addr #3

declare noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

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

declare ptr @FLAC__metadata_object_clone(ptr noundef) local_unnamed_addr #4

declare noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z28test_metadata_object_picturev() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.FLAC::Metadata::Picture", align 8
  %2 = alloca %"class.FLAC::Metadata::Picture", align 8
  %3 = alloca %"class.FLAC::Metadata::Picture", align 8
  %4 = alloca %"class.FLAC::Metadata::Picture", align 8
  %5 = alloca %"class.FLAC::Metadata::Picture", align 8
  %6 = alloca %"class.FLAC::Metadata::Picture", align 8
  %7 = alloca %"class.FLAC::Metadata::Picture", align 8
  %8 = alloca %"class.FLAC::Metadata::Picture", align 8
  %9 = alloca %"class.FLAC::Metadata::Picture", align 8
  %10 = alloca %"class.FLAC::Metadata::Picture", align 8
  %11 = alloca %"class.FLAC::Metadata::Picture", align 8
  %12 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.259)
  %13 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.260)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #10
  call void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %1)
  %14 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
  br i1 %14, label %17, label %.invoke

15:                                               ; preds = %.invoke, %317, %310, %305, %300, %297, %293, %288, %285, %281, %276, %273, %269, %264, %261, %257, %252, %244, %239, %231, %226, %223, %219, %213, %36, %17
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %350

17:                                               ; preds = %0
  %18 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_TYPE_LEN, align 4, !tbaa !5
  %19 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN, align 4, !tbaa !5
  %20 = add i32 %19, %18
  %21 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DESCRIPTION_LENGTH_LEN, align 4, !tbaa !5
  %22 = add i32 %20, %21
  %23 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_WIDTH_LEN, align 4, !tbaa !5
  %24 = add i32 %22, %23
  %25 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_HEIGHT_LEN, align 4, !tbaa !5
  %26 = add i32 %24, %25
  %27 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DEPTH_LEN, align 4, !tbaa !5
  %28 = add i32 %26, %27
  %29 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_COLORS_LEN, align 4, !tbaa !5
  %30 = add i32 %28, %29
  %31 = load i32, ptr @FLAC__STREAM_METADATA_PICTURE_DATA_LENGTH_LEN, align 4, !tbaa !5
  %32 = add i32 %30, %31
  %33 = lshr i32 %32, 3
  %34 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %35 unwind label %15

35:                                               ; preds = %17
  %.not = icmp eq i32 %34, %33
  br i1 %.not, label %40, label %36

36:                                               ; preds = %35
  %37 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %38 unwind label %15

38:                                               ; preds = %36
  %39 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %33, i32 noundef %37)
  br label %349

40:                                               ; preds = %35
  %41 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.261)
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.262)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %2, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %44 unwind label %46

44:                                               ; preds = %40
  %45 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %2)
  br i1 %45, label %50, label %.invoke142

46:                                               ; preds = %40
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %63

48:                                               ; preds = %.invoke142, %50
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %2) #10
  br label %63

50:                                               ; preds = %44
  %51 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %2, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %52 unwind label %48

52:                                               ; preds = %50
  br i1 %51, label %.invoke142, label %55

.invoke142:                                       ; preds = %44, %52
  %53 = phi ptr [ @.str.8, %52 ], [ @.str.7, %44 ]
  %54 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %53)
          to label %.thread unwind label %48

.thread:                                          ; preds = %.invoke142
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %2) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #10
  br label %349

55:                                               ; preds = %52
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %57 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.263)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %2) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #10
  %58 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %59 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.264)
  %60 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.265)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %3, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %61 unwind label %64

61:                                               ; preds = %55
  %62 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %3)
  br i1 %62, label %68, label %.invoke143

63:                                               ; preds = %48, %46
  %.pn = phi { ptr, i32 } [ %49, %48 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #10
  br label %350

64:                                               ; preds = %55
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %79

66:                                               ; preds = %.invoke143, %68
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3) #10
  br label %79

68:                                               ; preds = %61
  %69 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %3, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %70 unwind label %66

70:                                               ; preds = %68
  br i1 %69, label %.invoke143, label %73

.invoke143:                                       ; preds = %61, %70
  %71 = phi ptr [ @.str.8, %70 ], [ @.str.7, %61 ]
  %72 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %71)
          to label %.thread107 unwind label %66

.thread107:                                       ; preds = %.invoke143
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  br label %349

73:                                               ; preds = %70
  %74 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %3) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.266)
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %4, ptr noundef nonnull @_ZL8picture_)
          to label %77 unwind label %80

77:                                               ; preds = %73
  %78 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %4)
  br i1 %78, label %84, label %.invoke144

79:                                               ; preds = %66, %64
  %.pn67 = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #10
  br label %350

80:                                               ; preds = %73
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %95

82:                                               ; preds = %.invoke144, %84
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %4) #10
  br label %95

84:                                               ; preds = %77
  %85 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %4, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %86 unwind label %82

86:                                               ; preds = %84
  br i1 %85, label %.invoke144, label %89

.invoke144:                                       ; preds = %77, %86
  %87 = phi ptr [ @.str.8, %86 ], [ @.str.7, %77 ]
  %88 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %87)
          to label %.thread111 unwind label %82

.thread111:                                       ; preds = %.invoke144
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #10
  br label %349

89:                                               ; preds = %86
  %90 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %4) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #10
  %91 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.268)
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %5, ptr noundef nonnull @_ZL8picture_, i1 noundef zeroext true)
          to label %93 unwind label %96

93:                                               ; preds = %89
  %94 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
  br i1 %94, label %100, label %.invoke145

95:                                               ; preds = %82, %80
  %.pn69 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #10
  br label %350

96:                                               ; preds = %89
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %113

98:                                               ; preds = %.invoke145, %100
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #10
  br label %113

100:                                              ; preds = %93
  %101 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %5, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %102 unwind label %98

102:                                              ; preds = %100
  br i1 %101, label %.invoke145, label %105

.invoke145:                                       ; preds = %93, %102
  %103 = phi ptr [ @.str.8, %102 ], [ @.str.7, %93 ]
  %104 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %103)
          to label %.thread115 unwind label %98

.thread115:                                       ; preds = %.invoke145
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  br label %349

105:                                              ; preds = %102
  %106 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  %107 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.269)
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  %109 = invoke ptr @FLAC__metadata_object_clone(ptr noundef nonnull @_ZL8picture_)
          to label %110 unwind label %114

110:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %6, ptr noundef %109, i1 noundef zeroext false)
          to label %111 unwind label %116

111:                                              ; preds = %110
  %112 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %6)
  br i1 %112, label %120, label %.invoke146

113:                                              ; preds = %98, %96
  %.pn71 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #10
  br label %350

114:                                              ; preds = %105
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %350

116:                                              ; preds = %110
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %133

118:                                              ; preds = %.invoke146, %120
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #10
  br label %133

120:                                              ; preds = %111
  %121 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %6, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %122 unwind label %118

122:                                              ; preds = %120
  br i1 %121, label %.invoke146, label %125

.invoke146:                                       ; preds = %111, %122
  %123 = phi ptr [ @.str.8, %122 ], [ @.str.7, %111 ]
  %124 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %123)
          to label %.thread119 unwind label %118

.thread119:                                       ; preds = %.invoke146
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  br label %349

125:                                              ; preds = %122
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  %127 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.270)
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  invoke void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7)
          to label %129 unwind label %134

129:                                              ; preds = %125
  %130 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata7Picture6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull @_ZL8picture_, i1 noundef zeroext true)
          to label %131 unwind label %136

131:                                              ; preds = %129
  %132 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %7)
  br i1 %132, label %138, label %.invoke147

133:                                              ; preds = %118, %116
  %.pn73 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #10
  br label %350

134:                                              ; preds = %125
  %135 = landingpad { ptr, i32 }
          cleanup
  br label %153

136:                                              ; preds = %.invoke147, %138, %129
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #10
  br label %153

138:                                              ; preds = %131
  %139 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %140 unwind label %136

140:                                              ; preds = %138
  br i1 %139, label %.invoke147, label %143

.invoke147:                                       ; preds = %131, %140
  %141 = phi ptr [ @.str.8, %140 ], [ @.str.7, %131 ]
  %142 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %141)
          to label %.thread123 unwind label %136

.thread123:                                       ; preds = %.invoke147
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %349

143:                                              ; preds = %140
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.271)
  %146 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.267)
  %147 = invoke ptr @FLAC__metadata_object_clone(ptr noundef nonnull @_ZL8picture_)
          to label %148 unwind label %154

148:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #10
  invoke void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8)
          to label %149 unwind label %156

149:                                              ; preds = %148
  %150 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata7Picture6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef %147, i1 noundef zeroext false)
          to label %151 unwind label %158

151:                                              ; preds = %149
  %152 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %8)
  br i1 %152, label %160, label %.invoke148

153:                                              ; preds = %136, %134
  %.pn76 = phi { ptr, i32 } [ %137, %136 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %350

154:                                              ; preds = %143
  %155 = landingpad { ptr, i32 }
          cleanup
  br label %350

156:                                              ; preds = %148
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %171

158:                                              ; preds = %.invoke148, %160, %149
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #10
  br label %171

160:                                              ; preds = %151
  %161 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %162 unwind label %158

162:                                              ; preds = %160
  br i1 %161, label %.invoke148, label %165

.invoke148:                                       ; preds = %151, %162
  %163 = phi ptr [ @.str.8, %162 ], [ @.str.7, %151 ]
  %164 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %163)
          to label %.thread127 unwind label %158

.thread127:                                       ; preds = %.invoke148
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  br label %349

165:                                              ; preds = %162
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  %167 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.272)
  %168 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.273)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %169 unwind label %172

169:                                              ; preds = %165
  %170 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %9)
  br i1 %170, label %176, label %.invoke149

171:                                              ; preds = %158, %156
  %.pn78 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  br label %350

172:                                              ; preds = %165
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %187

174:                                              ; preds = %.invoke149, %176
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #10
  br label %187

176:                                              ; preds = %169
  %177 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %178 unwind label %174

178:                                              ; preds = %176
  br i1 %177, label %181, label %.invoke149

.invoke149:                                       ; preds = %169, %178
  %179 = phi ptr [ @.str.8, %178 ], [ @.str.7, %169 ]
  %180 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %179)
          to label %.thread131 unwind label %174

.thread131:                                       ; preds = %.invoke149
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  br label %349

181:                                              ; preds = %178
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.274)
  %184 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.275)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %185 unwind label %188

185:                                              ; preds = %181
  %186 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %10)
  br i1 %186, label %192, label %.invoke150

187:                                              ; preds = %174, %172
  %.pn81 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #10
  br label %350

188:                                              ; preds = %181
  %189 = landingpad { ptr, i32 }
          cleanup
  br label %203

190:                                              ; preds = %.invoke150, %192
  %191 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #10
  br label %203

192:                                              ; preds = %185
  %193 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %194 unwind label %190

194:                                              ; preds = %192
  br i1 %193, label %197, label %.invoke150

.invoke150:                                       ; preds = %185, %194
  %195 = phi ptr [ @.str.8, %194 ], [ @.str.7, %185 ]
  %196 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %195)
          to label %.thread135 unwind label %190

.thread135:                                       ; preds = %.invoke150
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #10
  br label %349

197:                                              ; preds = %194
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #10
  %199 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.276)
  %200 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.277)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #10
  invoke void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %11, ptr noundef nonnull @_ZL8picture_)
          to label %201 unwind label %204

201:                                              ; preds = %197
  %202 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
  br i1 %202, label %208, label %.invoke151

203:                                              ; preds = %190, %188
  %.pn83 = phi { ptr, i32 } [ %191, %190 ], [ %189, %188 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #10
  br label %350

204:                                              ; preds = %197
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %218

206:                                              ; preds = %.invoke151, %208
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #10
  br label %218

208:                                              ; preds = %201
  %209 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %11, ptr noundef nonnull align 8 dereferenceable(176) @_ZL8picture_)
          to label %210 unwind label %206

210:                                              ; preds = %208
  br i1 %209, label %213, label %.invoke151

.invoke151:                                       ; preds = %201, %210
  %211 = phi ptr [ @.str.8, %210 ], [ @.str.7, %201 ]
  %212 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %211)
          to label %.thread139 unwind label %206

.thread139:                                       ; preds = %.invoke151
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  br label %349

213:                                              ; preds = %210
  %214 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  %215 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.278)
  %216 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %217 unwind label %15

217:                                              ; preds = %213
  %.not87 = icmp eq i32 %216, 0
  br i1 %.not87, label %219, label %.invoke

218:                                              ; preds = %206, %204
  %.pn85 = phi { ptr, i32 } [ %207, %206 ], [ %205, %204 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #10
  br label %350

219:                                              ; preds = %217
  %220 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %221 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.280)
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.281)
  invoke void @_ZN4FLAC8Metadata7Picture8set_typeE33FLAC__StreamMetadata_Picture_Type(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 6)
          to label %223 unwind label %15

223:                                              ; preds = %219
  %224 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %225 unwind label %15

225:                                              ; preds = %223
  %.not88 = icmp eq i32 %224, 6
  br i1 %.not88, label %226, label %.invoke

226:                                              ; preds = %225
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %228 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.283)
  %229 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture13set_mime_typeEPKc(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull @.str.284)
          to label %230 unwind label %15

230:                                              ; preds = %226
  br i1 %229, label %231, label %.invoke

231:                                              ; preds = %230
  %232 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %233 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 24), align 8, !tbaa !9
  store i8 113, ptr %233, align 1, !tbaa !9
  %234 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.285)
  %235 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture13get_mime_typeEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %236 unwind label %15

236:                                              ; preds = %231
  %237 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 24), align 8, !tbaa !9
  %238 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %235, ptr noundef nonnull dereferenceable(1) %237) #11
  %.not89 = icmp eq i32 %238, 0
  br i1 %.not89, label %239, label %.invoke

239:                                              ; preds = %236
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %241 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.286)
  %242 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture15set_descriptionEPKh(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull @.str.287)
          to label %243 unwind label %15

243:                                              ; preds = %239
  br i1 %242, label %244, label %.invoke

244:                                              ; preds = %243
  %245 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %246 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 32), align 8, !tbaa !9
  store i8 113, ptr %246, align 1, !tbaa !9
  %247 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.288)
  %248 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture15get_descriptionEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %249 unwind label %15

249:                                              ; preds = %244
  %250 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 32), align 8, !tbaa !9
  %251 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %248, ptr noundef nonnull dereferenceable(1) %250) #11
  %.not90 = icmp eq i32 %251, 0
  br i1 %.not90, label %252, label %.invoke

252:                                              ; preds = %249
  %253 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %254 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.289)
  %255 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %256 unwind label %15

256:                                              ; preds = %252
  %.not91 = icmp eq i32 %255, 0
  br i1 %.not91, label %257, label %.invoke

257:                                              ; preds = %256
  %258 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %259 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.290)
  %260 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.291)
  invoke void @_ZNK4FLAC8Metadata7Picture9set_widthEj(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 400)
          to label %261 unwind label %15

261:                                              ; preds = %257
  %262 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %263 unwind label %15

263:                                              ; preds = %261
  %.not92 = icmp eq i32 %262, 400
  br i1 %.not92, label %264, label %.invoke

264:                                              ; preds = %263
  %265 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %266 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.293)
  %267 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %268 unwind label %15

268:                                              ; preds = %264
  %.not93 = icmp eq i32 %267, 0
  br i1 %.not93, label %269, label %.invoke

269:                                              ; preds = %268
  %270 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %271 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.294)
  %272 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.295)
  invoke void @_ZNK4FLAC8Metadata7Picture10set_heightEj(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 200)
          to label %273 unwind label %15

273:                                              ; preds = %269
  %274 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %275 unwind label %15

275:                                              ; preds = %273
  %.not94 = icmp eq i32 %274, 200
  br i1 %.not94, label %276, label %.invoke

276:                                              ; preds = %275
  %277 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %278 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.297)
  %279 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %280 unwind label %15

280:                                              ; preds = %276
  %.not95 = icmp eq i32 %279, 0
  br i1 %.not95, label %281, label %.invoke

281:                                              ; preds = %280
  %282 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %283 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.298)
  %284 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.299)
  invoke void @_ZNK4FLAC8Metadata7Picture9set_depthEj(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 16)
          to label %285 unwind label %15

285:                                              ; preds = %281
  %286 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %287 unwind label %15

287:                                              ; preds = %285
  %.not96 = icmp eq i32 %286, 16
  br i1 %.not96, label %288, label %.invoke

288:                                              ; preds = %287
  %289 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %290 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.301)
  %291 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %292 unwind label %15

292:                                              ; preds = %288
  %.not97 = icmp eq i32 %291, 0
  br i1 %.not97, label %293, label %.invoke

293:                                              ; preds = %292
  %294 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %295 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.302)
  %296 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.303)
  invoke void @_ZNK4FLAC8Metadata7Picture10set_colorsEj(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 0)
          to label %297 unwind label %15

297:                                              ; preds = %293
  %298 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %299 unwind label %15

299:                                              ; preds = %297
  %.not98 = icmp eq i32 %298, 0
  br i1 %.not98, label %300, label %.invoke

300:                                              ; preds = %299
  %301 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %302 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.305)
  %303 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %304 unwind label %15

304:                                              ; preds = %300
  %.not99 = icmp eq i32 %303, 0
  br i1 %.not99, label %305, label %.invoke

305:                                              ; preds = %304
  %306 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %307 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.306)
  %308 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata7Picture8set_dataEPKhj(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull @.str.307, i32 noundef 12)
          to label %309 unwind label %15

309:                                              ; preds = %305
  br i1 %308, label %310, label %.invoke

310:                                              ; preds = %309
  %311 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %312 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 64), align 8, !tbaa !9
  store i8 113, ptr %312, align 1, !tbaa !9
  %313 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.308)
  %314 = invoke noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %315 unwind label %15

315:                                              ; preds = %310
  %316 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 56), align 8, !tbaa !9
  %.not100 = icmp eq i32 %314, %316
  br i1 %.not100, label %317, label %.invoke

317:                                              ; preds = %315
  %318 = invoke noundef ptr @_ZNK4FLAC8Metadata7Picture8get_dataEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %319 unwind label %15

319:                                              ; preds = %317
  %320 = load ptr, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 64), align 8, !tbaa !9
  %321 = load i32, ptr getelementptr inbounds (i8, ptr @_ZL8picture_, i64 56), align 8, !tbaa !9
  %322 = zext i32 %321 to i64
  %bcmp = call i32 @bcmp(ptr %318, ptr %320, i64 %322)
  %.not101 = icmp eq i32 %bcmp, 0
  br i1 %.not101, label %325, label %.invoke

.invoke:                                          ; preds = %0, %319, %315, %309, %304, %299, %292, %287, %280, %275, %268, %263, %256, %249, %243, %236, %230, %225, %217
  %323 = phi ptr [ @.str.279, %217 ], [ @.str.282, %225 ], [ @.str.112, %230 ], [ @.str.138, %236 ], [ @.str.112, %243 ], [ @.str.138, %249 ], [ @.str.182, %256 ], [ @.str.292, %263 ], [ @.str.182, %268 ], [ @.str.296, %275 ], [ @.str.182, %280 ], [ @.str.300, %287 ], [ @.str.182, %292 ], [ @.str.304, %299 ], [ @.str.182, %304 ], [ @.str.112, %309 ], [ @.str.186, %315 ], [ @.str.138, %319 ], [ @.str.2, %0 ]
  %324 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %323)
          to label %349 unwind label %15

325:                                              ; preds = %319
  %326 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %327 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.43)
  %328 = invoke noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef nonnull %1)
          to label %329 unwind label %331

329:                                              ; preds = %325
  %330 = icmp eq ptr %328, null
  br i1 %330, label %.invoke152, label %333

331:                                              ; preds = %.invoke152, %336, %325
  %332 = landingpad { ptr, i32 }
          cleanup
  br label %350

333:                                              ; preds = %329
  %334 = call ptr @__dynamic_cast(ptr nonnull %328, ptr nonnull @_ZTIN4FLAC8Metadata9PrototypeE, ptr nonnull @_ZTIN4FLAC8Metadata7PictureE, i64 0) #10
  %335 = icmp eq ptr %334, null
  br i1 %335, label %.invoke152, label %336

336:                                              ; preds = %333
  %337 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %334, ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %338 unwind label %331

338:                                              ; preds = %336
  br i1 %337, label %.invoke152, label %341

.invoke152:                                       ; preds = %329, %338, %333
  %339 = phi ptr [ @.str.45, %333 ], [ @.str.46, %338 ], [ @.str.44, %329 ]
  %340 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %339)
          to label %349 unwind label %331

341:                                              ; preds = %338
  %342 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %343 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.263)
  %344 = load ptr, ptr %328, align 8, !tbaa !10
  %345 = getelementptr inbounds i8, ptr %344, i64 16
  %346 = load ptr, ptr %345, align 8
  call void %346(ptr noundef nonnull align 8 dereferenceable(17) %328) #10
  %347 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %348 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47)
  br label %349

349:                                              ; preds = %.invoke152, %.invoke, %.thread139, %.thread135, %.thread131, %.thread127, %.thread123, %.thread119, %.thread115, %.thread111, %.thread107, %.thread, %341, %38
  %.11 = phi i1 [ false, %38 ], [ true, %341 ], [ %54, %.thread ], [ %72, %.thread107 ], [ %88, %.thread111 ], [ %104, %.thread115 ], [ %124, %.thread119 ], [ %142, %.thread123 ], [ %164, %.thread127 ], [ %180, %.thread131 ], [ %196, %.thread135 ], [ %212, %.thread139 ], [ %324, %.invoke ], [ %340, %.invoke152 ]
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %1) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #10
  ret i1 %.11

350:                                              ; preds = %154, %171, %114, %133, %331, %218, %203, %187, %153, %113, %95, %79, %63, %15
  %.pn102 = phi { ptr, i32 } [ %16, %15 ], [ %332, %331 ], [ %.pn85, %218 ], [ %.pn83, %203 ], [ %.pn81, %187 ], [ %.pn76, %153 ], [ %.pn71, %113 ], [ %.pn69, %95 ], [ %.pn67, %79 ], [ %.pn, %63 ], [ %.pn73, %133 ], [ %115, %114 ], [ %.pn78, %171 ], [ %155, %154 ]
  call void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %1) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #10
  resume { ptr, i32 } %.pn102
}

declare void @_ZN4FLAC8Metadata7PictureC1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #7 align 2

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

; Function Attrs: nounwind
declare void @_ZN4FLAC8Metadata7PictureD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata7PictureC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i1 noundef zeroext) unnamed_addr #7 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4FLAC8Metadata7PictureeqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #7 align 2

declare noundef i32 @_ZNK4FLAC8Metadata7Picture8get_typeEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZN4FLAC8Metadata7Picture8set_typeE33FLAC__StreamMetadata_Picture_Type(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture13set_mime_typeEPKc(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #4

declare noundef ptr @_ZNK4FLAC8Metadata7Picture13get_mime_typeEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture15set_descriptionEPKh(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #4

declare noundef ptr @_ZNK4FLAC8Metadata7Picture15get_descriptionEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare noundef i32 @_ZNK4FLAC8Metadata7Picture9get_widthEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZNK4FLAC8Metadata7Picture9set_widthEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZNK4FLAC8Metadata7Picture10get_heightEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZNK4FLAC8Metadata7Picture10set_heightEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZNK4FLAC8Metadata7Picture9get_depthEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZNK4FLAC8Metadata7Picture9set_depthEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZNK4FLAC8Metadata7Picture10get_colorsEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare void @_ZNK4FLAC8Metadata7Picture10set_colorsEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

declare noundef i32 @_ZNK4FLAC8Metadata7Picture15get_data_lengthEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN4FLAC8Metadata7Picture8set_dataEPKhj(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i32 noundef) local_unnamed_addr #4

declare noundef ptr @_ZNK4FLAC8Metadata7Picture8get_dataEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #4

; Function Attrs: nofree nounwind willreturn memory(argmem: read)
declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #9

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"vtable pointer", !8, i64 0}


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