; 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::CueSheet::Track" = type { ptr, ptr }
%"class.FLAC::Metadata::CueSheet" = type { %"class.FLAC::Metadata::Prototype.base", [7 x i8] }
%"class.FLAC::Metadata::Prototype.base" = type <{ ptr, ptr, i8 }>
%struct.FLAC__StreamMetadata_CueSheet_Index = type { i64, 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.125 = external hidden unnamed_addr constant [12 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.196 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [33 x i8], align 1
@FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN = external constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN = external constant i32, align 4
@.str.220 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [65 x i8], align 1
@_ZL9cuesheet_ = external hidden global %struct.FLAC__StreamMetadata, align 8
@.str.225 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.235 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.236 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.239 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.249 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.252 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.257 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.258 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZTIN4FLAC8Metadata8CueSheetE = 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 @_Z29test_metadata_object_cuesheetv() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i1, align 1
  %2 = alloca i32, align 4
  %3 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %9 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %10 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %11 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %12 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %13 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %14 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %15 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %18 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %21 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %22 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %23 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %24 = alloca [129 x i8], align 16
  %25 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %26 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %27 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %28 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %29 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %30 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %31 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %32 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %33 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %34 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %35 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %36 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #10
  %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.196)
  %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.197)
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #10
  call void @_ZN4FLAC8Metadata8CueSheet5TrackC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %39 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %40 unwind label %44

40:                                               ; preds = %0
  br i1 %39, label %48, label %41

41:                                               ; preds = %40
  %42 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.125)
          to label %43 unwind label %44

43:                                               ; preds = %41
  store i1 %42, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1092

44:                                               ; preds = %141, %139, %103, %101, %50, %48, %41, %0
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  br label %1094

48:                                               ; preds = %40
  %49 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %50 unwind label %44

50:                                               ; preds = %48
  %51 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.198)
          to label %52 unwind label %44

52:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #10
  %53 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %54 unwind label %60

54:                                               ; preds = %52
  store ptr %53, ptr %7, align 8, !tbaa !5
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = icmp eq ptr null, %55
  br i1 %56, label %57, label %64

57:                                               ; preds = %54
  %58 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.199)
          to label %59 unwind label %60

59:                                               ; preds = %57
  store i1 %58, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %99

60:                                               ; preds = %66, %64, %57, %52
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %4, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %5, align 4
  br label %113

64:                                               ; preds = %54
  %65 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %66 unwind label %60

66:                                               ; preds = %64
  %67 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.200)
          to label %68 unwind label %60

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #10
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1EPK35FLAC__StreamMetadata_CueSheet_Track(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %69)
          to label %70 unwind label %76

70:                                               ; preds = %68
  %71 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %72 unwind label %80

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

73:                                               ; preds = %72
  %74 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.125)
          to label %75 unwind label %80

75:                                               ; preds = %73
  store i1 %74, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %98

76:                                               ; preds = %68
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %4, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %5, align 4
  br label %112

80:                                               ; preds = %95, %93, %90, %86, %84, %73, %70
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %4, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #10
  br label %112

84:                                               ; preds = %72
  %85 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %8)
          to label %86 unwind label %80

86:                                               ; preds = %84
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  %88 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %85, ptr noundef %87)
          to label %89 unwind label %80

89:                                               ; preds = %86
  br i1 %88, label %93, label %90

90:                                               ; preds = %89
  %91 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.201)
          to label %92 unwind label %80

92:                                               ; preds = %90
  store i1 %91, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %98

93:                                               ; preds = %89
  %94 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %95 unwind label %80

95:                                               ; preds = %93
  %96 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.202)
          to label %97 unwind label %80

97:                                               ; preds = %95
  store i32 0, ptr %6, align 4
  br label %98

98:                                               ; preds = %97, %92, %75
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  br label %99

99:                                               ; preds = %98, %59
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  %100 = load i32, ptr %6, align 4
  switch i32 %100, label %1092 [
    i32 0, label %101
  ]

101:                                              ; preds = %99
  %102 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %103 unwind label %44

103:                                              ; preds = %101
  %104 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.203)
          to label %105 unwind label %44

105:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #10
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %106 unwind label %114

106:                                              ; preds = %105
  %107 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %108 unwind label %118

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

109:                                              ; preds = %108
  %110 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.125)
          to label %111 unwind label %118

111:                                              ; preds = %109
  store i1 %110, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %137

112:                                              ; preds = %80, %76
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #10
  br label %113

113:                                              ; preds = %112, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #10
  br label %1094

114:                                              ; preds = %105
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %4, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %5, align 4
  br label %150

118:                                              ; preds = %134, %132, %129, %126, %124, %122, %109, %106
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %4, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #10
  br label %150

122:                                              ; preds = %108
  %123 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %124 unwind label %118

124:                                              ; preds = %122
  %125 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %126 unwind label %118

126:                                              ; preds = %124
  %127 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %123, ptr noundef %125)
          to label %128 unwind label %118

128:                                              ; preds = %126
  br i1 %127, label %132, label %129

129:                                              ; preds = %128
  %130 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.201)
          to label %131 unwind label %118

131:                                              ; preds = %129
  store i1 %130, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %137

132:                                              ; preds = %128
  %133 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %134 unwind label %118

134:                                              ; preds = %132
  %135 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.202)
          to label %136 unwind label %118

136:                                              ; preds = %134
  store i32 0, ptr %6, align 4
  br label %137

137:                                              ; preds = %136, %131, %111
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  %138 = load i32, ptr %6, align 4
  switch i32 %138, label %1092 [
    i32 0, label %139
  ]

139:                                              ; preds = %137
  %140 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %141 unwind label %44

141:                                              ; preds = %139
  %142 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.204)
          to label %143 unwind label %44

143:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #10
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %144 unwind label %151

144:                                              ; preds = %143
  %145 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %146 unwind label %155

146:                                              ; preds = %144
  br i1 %145, label %159, label %147

147:                                              ; preds = %146
  %148 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.125)
          to label %149 unwind label %155

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

150:                                              ; preds = %118, %114
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #10
  br label %1094

151:                                              ; preds = %143
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %4, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %5, align 4
  br label %1091

155:                                              ; preds = %308, %306, %304, %302, %299, %294, %293, %291, %289, %286, %282, %281, %279, %277, %274, %269, %268, %266, %264, %261, %256, %255, %253, %251, %248, %244, %243, %241, %239, %236, %231, %229, %227, %224, %219, %217, %215, %212, %208, %206, %204, %201, %196, %194, %192, %189, %184, %182, %180, %177, %173, %171, %169, %166, %163, %161, %159, %147, %144
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %4, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %5, align 4
  br label %1090

159:                                              ; preds = %146
  %160 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %161 unwind label %155

161:                                              ; preds = %159
  %162 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %163 unwind label %155

163:                                              ; preds = %161
  %164 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %160, ptr noundef %162)
          to label %165 unwind label %155

165:                                              ; preds = %163
  br i1 %164, label %169, label %166

166:                                              ; preds = %165
  %167 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.201)
          to label %168 unwind label %155

168:                                              ; preds = %166
  store i1 %167, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

169:                                              ; preds = %165
  %170 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %171 unwind label %155

171:                                              ; preds = %169
  %172 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.205)
          to label %173 unwind label %155

173:                                              ; preds = %171
  %174 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet5Track10get_offsetEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %175 unwind label %155

175:                                              ; preds = %173
  %176 = icmp ne i64 %174, 0
  br i1 %176, label %177, label %180

177:                                              ; preds = %175
  %178 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %179 unwind label %155

179:                                              ; preds = %177
  store i1 %178, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

180:                                              ; preds = %175
  %181 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %182 unwind label %155

182:                                              ; preds = %180
  %183 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.206)
          to label %184 unwind label %155

184:                                              ; preds = %182
  %185 = invoke noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %186 unwind label %155

186:                                              ; preds = %184
  %187 = zext i8 %185 to i32
  %188 = icmp ne i32 %187, 0
  br i1 %188, label %189, label %192

189:                                              ; preds = %186
  %190 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %191 unwind label %155

191:                                              ; preds = %189
  store i1 %190, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

192:                                              ; preds = %186
  %193 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %194 unwind label %155

194:                                              ; preds = %192
  %195 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.207)
          to label %196 unwind label %155

196:                                              ; preds = %194
  %197 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track8get_isrcEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %198 unwind label %155

198:                                              ; preds = %196
  %199 = call i32 @memcmp(ptr noundef %197, ptr noundef @.str.208, i64 noundef 13) #5
  %200 = icmp ne i32 0, %199
  br i1 %200, label %201, label %204

201:                                              ; preds = %198
  %202 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %203 unwind label %155

203:                                              ; preds = %201
  store i1 %202, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

204:                                              ; preds = %198
  %205 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %206 unwind label %155

206:                                              ; preds = %204
  %207 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.209)
          to label %208 unwind label %155

208:                                              ; preds = %206
  %209 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %210 unwind label %155

210:                                              ; preds = %208
  %211 = icmp ne i32 %209, 0
  br i1 %211, label %212, label %215

212:                                              ; preds = %210
  %213 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %214 unwind label %155

214:                                              ; preds = %212
  store i1 %213, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

215:                                              ; preds = %210
  %216 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %217 unwind label %155

217:                                              ; preds = %215
  %218 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.210)
          to label %219 unwind label %155

219:                                              ; preds = %217
  %220 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track16get_pre_emphasisEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %221 unwind label %155

221:                                              ; preds = %219
  %222 = zext i1 %220 to i32
  %223 = icmp ne i32 %222, 0
  br i1 %223, label %224, label %227

224:                                              ; preds = %221
  %225 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %226 unwind label %155

226:                                              ; preds = %224
  store i1 %225, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

227:                                              ; preds = %221
  %228 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %229 unwind label %155

229:                                              ; preds = %227
  %230 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.211)
          to label %231 unwind label %155

231:                                              ; preds = %229
  %232 = invoke noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %233 unwind label %155

233:                                              ; preds = %231
  %234 = zext i8 %232 to i32
  %235 = icmp ne i32 %234, 0
  br i1 %235, label %236, label %239

236:                                              ; preds = %233
  %237 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %238 unwind label %155

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

239:                                              ; preds = %233
  %240 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %241 unwind label %155

241:                                              ; preds = %239
  %242 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.212)
          to label %243 unwind label %155

243:                                              ; preds = %241
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track10set_offsetEm(ptr noundef nonnull align 8 dereferenceable(16) %10, i64 noundef 588)
          to label %244 unwind label %155

244:                                              ; preds = %243
  %245 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet5Track10get_offsetEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %246 unwind label %155

246:                                              ; preds = %244
  %247 = icmp ne i64 %245, 588
  br i1 %247, label %248, label %251

248:                                              ; preds = %246
  %249 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %250 unwind label %155

250:                                              ; preds = %248
  store i1 %249, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

251:                                              ; preds = %246
  %252 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %253 unwind label %155

253:                                              ; preds = %251
  %254 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.213)
          to label %255 unwind label %155

255:                                              ; preds = %253
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track10set_numberEh(ptr noundef nonnull align 8 dereferenceable(16) %10, i8 noundef zeroext 1)
          to label %256 unwind label %155

256:                                              ; preds = %255
  %257 = invoke noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %258 unwind label %155

258:                                              ; preds = %256
  %259 = zext i8 %257 to i32
  %260 = icmp ne i32 %259, 1
  br i1 %260, label %261, label %264

261:                                              ; preds = %258
  %262 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %263 unwind label %155

263:                                              ; preds = %261
  store i1 %262, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

264:                                              ; preds = %258
  %265 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %266 unwind label %155

266:                                              ; preds = %264
  %267 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.214)
          to label %268 unwind label %155

268:                                              ; preds = %266
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track8set_isrcEPKc(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef @.str.215)
          to label %269 unwind label %155

269:                                              ; preds = %268
  %270 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track8get_isrcEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %271 unwind label %155

271:                                              ; preds = %269
  %272 = call i32 @memcmp(ptr noundef %270, ptr noundef @.str.215, i64 noundef 13) #5
  %273 = icmp ne i32 0, %272
  br i1 %273, label %274, label %277

274:                                              ; preds = %271
  %275 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %276 unwind label %155

276:                                              ; preds = %274
  store i1 %275, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

277:                                              ; preds = %271
  %278 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %279 unwind label %155

279:                                              ; preds = %277
  %280 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.216)
          to label %281 unwind label %155

281:                                              ; preds = %279
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track8set_typeEj(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 1)
          to label %282 unwind label %155

282:                                              ; preds = %281
  %283 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %284 unwind label %155

284:                                              ; preds = %282
  %285 = icmp ne i32 %283, 1
  br i1 %285, label %286, label %289

286:                                              ; preds = %284
  %287 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %288 unwind label %155

288:                                              ; preds = %286
  store i1 %287, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

289:                                              ; preds = %284
  %290 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %291 unwind label %155

291:                                              ; preds = %289
  %292 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.217)
          to label %293 unwind label %155

293:                                              ; preds = %291
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track16set_pre_emphasisEb(ptr noundef nonnull align 8 dereferenceable(16) %10, i1 noundef zeroext true)
          to label %294 unwind label %155

294:                                              ; preds = %293
  %295 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track16get_pre_emphasisEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %296 unwind label %155

296:                                              ; preds = %294
  %297 = zext i1 %295 to i32
  %298 = icmp ne i32 %297, 1
  br i1 %298, label %299, label %302

299:                                              ; preds = %296
  %300 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %301 unwind label %155

301:                                              ; preds = %299
  store i1 %300, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1089

302:                                              ; preds = %296
  %303 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %304 unwind label %155

304:                                              ; preds = %302
  %305 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.47)
          to label %306 unwind label %155

306:                                              ; preds = %304
  %307 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.218)
          to label %308 unwind label %155

308:                                              ; preds = %306
  %309 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.219)
          to label %310 unwind label %155

310:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %311 unwind label %317

311:                                              ; preds = %310
  %312 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %313 unwind label %321

313:                                              ; preds = %311
  br i1 %312, label %325, label %314

314:                                              ; preds = %313
  %315 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.2)
          to label %316 unwind label %321

316:                                              ; preds = %314
  store i1 %315, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

317:                                              ; preds = %310
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %4, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %5, align 4
  br label %1088

321:                                              ; preds = %839, %827, %815, %812, %810, %808, %806, %794, %782, %779, %777, %775, %773, %770, %767, %766, %764, %762, %759, %755, %754, %752, %750, %726, %724, %721, %717, %715, %713, %710, %707, %705, %703, %700, %696, %694, %692, %688, %683, %681, %652, %650, %621, %619, %589, %587, %549, %547, %515, %513, %477, %475, %446, %444, %415, %413, %384, %382, %380, %350, %348, %346, %343, %340, %325, %314, %311
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %4, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %5, align 4
  br label %1087

325:                                              ; preds = %313
  %326 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN, align 4, !tbaa !9
  %327 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN, align 4, !tbaa !9
  %328 = add i32 %326, %327
  %329 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN, align 4, !tbaa !9
  %330 = add i32 %328, %329
  %331 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN, align 4, !tbaa !9
  %332 = add i32 %330, %331
  %333 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN, align 4, !tbaa !9
  %334 = add i32 %332, %333
  %335 = udiv i32 %334, 8
  store i32 %335, ptr %2, align 4, !tbaa !9
  %336 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %337 unwind label %321

337:                                              ; preds = %325
  %338 = load i32, ptr %2, align 4, !tbaa !9
  %339 = icmp ne i32 %336, %338
  br i1 %339, label %340, label %346

340:                                              ; preds = %337
  %341 = load i32, ptr %2, align 4, !tbaa !9
  %342 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %343 unwind label %321

343:                                              ; preds = %340
  %344 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %341, i32 noundef %342)
          to label %345 unwind label %321

345:                                              ; preds = %343
  store i1 false, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

346:                                              ; preds = %337
  %347 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %348 unwind label %321

348:                                              ; preds = %346
  %349 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.220)
          to label %350 unwind label %321

350:                                              ; preds = %348
  %351 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.221)
          to label %352 unwind label %321

352:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %353 unwind label %359

353:                                              ; preds = %352
  %354 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %12)
          to label %355 unwind label %363

355:                                              ; preds = %353
  br i1 %354, label %367, label %356

356:                                              ; preds = %355
  %357 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %358 unwind label %363

358:                                              ; preds = %356
  store i1 %357, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %378

359:                                              ; preds = %352
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %4, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %5, align 4
  br label %393

363:                                              ; preds = %375, %373, %370, %367, %356, %353
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %4, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #10
  br label %393

367:                                              ; preds = %355
  %368 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %369 unwind label %363

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

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

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

373:                                              ; preds = %369
  %374 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %375 unwind label %363

375:                                              ; preds = %373
  %376 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.222)
          to label %377 unwind label %363

377:                                              ; preds = %375
  store i32 0, ptr %6, align 4
  br label %378

378:                                              ; preds = %377, %372, %358
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #10
  %379 = load i32, ptr %6, align 4
  switch i32 %379, label %1086 [
    i32 0, label %380
  ]

380:                                              ; preds = %378
  %381 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %382 unwind label %321

382:                                              ; preds = %380
  %383 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.223)
          to label %384 unwind label %321

384:                                              ; preds = %382
  %385 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.224)
          to label %386 unwind label %321

386:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %387 unwind label %394

387:                                              ; preds = %386
  %388 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %389 unwind label %398

389:                                              ; preds = %387
  br i1 %388, label %402, label %390

390:                                              ; preds = %389
  %391 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %392 unwind label %398

392:                                              ; preds = %390
  store i1 %391, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %411

393:                                              ; preds = %363, %359
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #10
  br label %1087

394:                                              ; preds = %386
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %4, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %5, align 4
  br label %424

398:                                              ; preds = %408, %405, %402, %390, %387
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %4, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #10
  br label %424

402:                                              ; preds = %389
  %403 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %404 unwind label %398

404:                                              ; preds = %402
  br i1 %403, label %405, label %408

405:                                              ; preds = %404
  %406 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %407 unwind label %398

407:                                              ; preds = %405
  store i1 %406, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %411

408:                                              ; preds = %404
  %409 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %410 unwind label %398

410:                                              ; preds = %408
  store i32 0, ptr %6, align 4
  br label %411

411:                                              ; preds = %410, %407, %392
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #10
  %412 = load i32, ptr %6, align 4
  switch i32 %412, label %1086 [
    i32 0, label %413
  ]

413:                                              ; preds = %411
  %414 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.225)
          to label %415 unwind label %321

415:                                              ; preds = %413
  %416 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.226)
          to label %417 unwind label %321

417:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef @_ZL9cuesheet_)
          to label %418 unwind label %425

418:                                              ; preds = %417
  %419 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %14)
          to label %420 unwind label %429

420:                                              ; preds = %418
  br i1 %419, label %433, label %421

421:                                              ; preds = %420
  %422 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %423 unwind label %429

423:                                              ; preds = %421
  store i1 %422, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %442

424:                                              ; preds = %398, %394
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #10
  br label %1087

425:                                              ; preds = %417
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %4, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %5, align 4
  br label %455

429:                                              ; preds = %439, %436, %433, %421, %418
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %4, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #10
  br label %455

433:                                              ; preds = %420
  %434 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %435 unwind label %429

435:                                              ; preds = %433
  br i1 %434, label %436, label %439

436:                                              ; preds = %435
  %437 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %438 unwind label %429

438:                                              ; preds = %436
  store i1 %437, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %442

439:                                              ; preds = %435
  %440 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %441 unwind label %429

441:                                              ; preds = %439
  store i32 0, ptr %6, align 4
  br label %442

442:                                              ; preds = %441, %438, %423
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  %443 = load i32, ptr %6, align 4
  switch i32 %443, label %1086 [
    i32 0, label %444
  ]

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

446:                                              ; preds = %444
  %447 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.226)
          to label %448 unwind label %321

448:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef @_ZL9cuesheet_, i1 noundef zeroext true)
          to label %449 unwind label %456

449:                                              ; preds = %448
  %450 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %15)
          to label %451 unwind label %460

451:                                              ; preds = %449
  br i1 %450, label %464, label %452

452:                                              ; preds = %451
  %453 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %454 unwind label %460

454:                                              ; preds = %452
  store i1 %453, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %473

455:                                              ; preds = %429, %425
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  br label %1087

456:                                              ; preds = %448
  %457 = landingpad { ptr, i32 }
          cleanup
  %458 = extractvalue { ptr, i32 } %457, 0
  store ptr %458, ptr %4, align 8
  %459 = extractvalue { ptr, i32 } %457, 1
  store i32 %459, ptr %5, align 4
  br label %489

460:                                              ; preds = %470, %467, %464, %452, %449
  %461 = landingpad { ptr, i32 }
          cleanup
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %4, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #10
  br label %489

464:                                              ; preds = %451
  %465 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %466 unwind label %460

466:                                              ; preds = %464
  br i1 %465, label %467, label %470

467:                                              ; preds = %466
  %468 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %469 unwind label %460

469:                                              ; preds = %467
  store i1 %468, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %473

470:                                              ; preds = %466
  %471 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %472 unwind label %460

472:                                              ; preds = %470
  store i32 0, ptr %6, align 4
  br label %473

473:                                              ; preds = %472, %469, %454
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  %474 = load i32, ptr %6, align 4
  switch i32 %474, label %1086 [
    i32 0, label %475
  ]

475:                                              ; preds = %473
  %476 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.228)
          to label %477 unwind label %321

477:                                              ; preds = %475
  %478 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.226)
          to label %479 unwind label %321

479:                                              ; preds = %477
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %480 = invoke ptr @FLAC__metadata_object_clone(ptr noundef @_ZL9cuesheet_)
          to label %481 unwind label %490

481:                                              ; preds = %479
  store ptr %480, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #10
  %482 = load ptr, ptr %16, align 8, !tbaa !5
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef %482, i1 noundef zeroext false)
          to label %483 unwind label %494

483:                                              ; preds = %481
  %484 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %17)
          to label %485 unwind label %498

485:                                              ; preds = %483
  br i1 %484, label %502, label %486

486:                                              ; preds = %485
  %487 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %488 unwind label %498

488:                                              ; preds = %486
  store i1 %487, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %511

489:                                              ; preds = %460, %456
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  br label %1087

490:                                              ; preds = %479
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %4, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %5, align 4
  br label %527

494:                                              ; preds = %481
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %4, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %5, align 4
  br label %526

498:                                              ; preds = %508, %505, %502, %486, %483
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %4, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #10
  br label %526

502:                                              ; preds = %485
  %503 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %504 unwind label %498

504:                                              ; preds = %502
  br i1 %503, label %505, label %508

505:                                              ; preds = %504
  %506 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %507 unwind label %498

507:                                              ; preds = %505
  store i1 %506, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %511

508:                                              ; preds = %504
  %509 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %510 unwind label %498

510:                                              ; preds = %508
  store i32 0, ptr %6, align 4
  br label %511

511:                                              ; preds = %510, %507, %488
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  %512 = load i32, ptr %6, align 4
  switch i32 %512, label %1086 [
    i32 0, label %513
  ]

513:                                              ; preds = %511
  %514 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.229)
          to label %515 unwind label %321

515:                                              ; preds = %513
  %516 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.226)
          to label %517 unwind label %321

517:                                              ; preds = %515
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18)
          to label %518 unwind label %528

518:                                              ; preds = %517
  %519 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata8CueSheet6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %18, ptr noundef @_ZL9cuesheet_, i1 noundef zeroext true)
          to label %520 unwind label %532

520:                                              ; preds = %518
  %521 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %18)
          to label %522 unwind label %532

522:                                              ; preds = %520
  br i1 %521, label %536, label %523

523:                                              ; preds = %522
  %524 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %525 unwind label %532

525:                                              ; preds = %523
  store i1 %524, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %545

526:                                              ; preds = %498, %494
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  br label %527

527:                                              ; preds = %526, %490
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %1087

528:                                              ; preds = %517
  %529 = landingpad { ptr, i32 }
          cleanup
  %530 = extractvalue { ptr, i32 } %529, 0
  store ptr %530, ptr %4, align 8
  %531 = extractvalue { ptr, i32 } %529, 1
  store i32 %531, ptr %5, align 4
  br label %563

532:                                              ; preds = %542, %539, %536, %523, %520, %518
  %533 = landingpad { ptr, i32 }
          cleanup
  %534 = extractvalue { ptr, i32 } %533, 0
  store ptr %534, ptr %4, align 8
  %535 = extractvalue { ptr, i32 } %533, 1
  store i32 %535, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #10
  br label %563

536:                                              ; preds = %522
  %537 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %18, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %538 unwind label %532

538:                                              ; preds = %536
  br i1 %537, label %539, label %542

539:                                              ; preds = %538
  %540 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %541 unwind label %532

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

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

544:                                              ; preds = %542
  store i32 0, ptr %6, align 4
  br label %545

545:                                              ; preds = %544, %541, %525
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %18) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  %546 = load i32, ptr %6, align 4
  switch i32 %546, label %1086 [
    i32 0, label %547
  ]

547:                                              ; preds = %545
  %548 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.230)
          to label %549 unwind label %321

549:                                              ; preds = %547
  %550 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.226)
          to label %551 unwind label %321

551:                                              ; preds = %549
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %552 = invoke ptr @FLAC__metadata_object_clone(ptr noundef @_ZL9cuesheet_)
          to label %553 unwind label %564

553:                                              ; preds = %551
  store ptr %552, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %20)
          to label %554 unwind label %568

554:                                              ; preds = %553
  %555 = load ptr, ptr %19, align 8, !tbaa !5
  %556 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata8CueSheet6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %20, ptr noundef %555, i1 noundef zeroext false)
          to label %557 unwind label %572

557:                                              ; preds = %554
  %558 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %20)
          to label %559 unwind label %572

559:                                              ; preds = %557
  br i1 %558, label %576, label %560

560:                                              ; preds = %559
  %561 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %562 unwind label %572

562:                                              ; preds = %560
  store i1 %561, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %585

563:                                              ; preds = %532, %528
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  br label %1087

564:                                              ; preds = %551
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %4, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %5, align 4
  br label %599

568:                                              ; preds = %553
  %569 = landingpad { ptr, i32 }
          cleanup
  %570 = extractvalue { ptr, i32 } %569, 0
  store ptr %570, ptr %4, align 8
  %571 = extractvalue { ptr, i32 } %569, 1
  store i32 %571, ptr %5, align 4
  br label %598

572:                                              ; preds = %582, %579, %576, %560, %557, %554
  %573 = landingpad { ptr, i32 }
          cleanup
  %574 = extractvalue { ptr, i32 } %573, 0
  store ptr %574, ptr %4, align 8
  %575 = extractvalue { ptr, i32 } %573, 1
  store i32 %575, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %20) #10
  br label %598

576:                                              ; preds = %559
  %577 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %20, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %578 unwind label %572

578:                                              ; preds = %576
  br i1 %577, label %579, label %582

579:                                              ; preds = %578
  %580 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %581 unwind label %572

581:                                              ; preds = %579
  store i1 %580, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %585

582:                                              ; preds = %578
  %583 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %584 unwind label %572

584:                                              ; preds = %582
  store i32 0, ptr %6, align 4
  br label %585

585:                                              ; preds = %584, %581, %562
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %20) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  %586 = load i32, ptr %6, align 4
  switch i32 %586, label %1086 [
    i32 0, label %587
  ]

587:                                              ; preds = %585
  %588 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.231)
          to label %589 unwind label %321

589:                                              ; preds = %587
  %590 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.232)
          to label %591 unwind label %321

591:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %21, ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %592 unwind label %600

592:                                              ; preds = %591
  %593 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %21)
          to label %594 unwind label %604

594:                                              ; preds = %592
  br i1 %593, label %608, label %595

595:                                              ; preds = %594
  %596 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %597 unwind label %604

597:                                              ; preds = %595
  store i1 %596, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %617

598:                                              ; preds = %572, %568
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #10
  br label %599

599:                                              ; preds = %598, %564
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  br label %1087

600:                                              ; preds = %591
  %601 = landingpad { ptr, i32 }
          cleanup
  %602 = extractvalue { ptr, i32 } %601, 0
  store ptr %602, ptr %4, align 8
  %603 = extractvalue { ptr, i32 } %601, 1
  store i32 %603, ptr %5, align 4
  br label %630

604:                                              ; preds = %614, %611, %608, %595, %592
  %605 = landingpad { ptr, i32 }
          cleanup
  %606 = extractvalue { ptr, i32 } %605, 0
  store ptr %606, ptr %4, align 8
  %607 = extractvalue { ptr, i32 } %605, 1
  store i32 %607, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %21) #10
  br label %630

608:                                              ; preds = %594
  %609 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %21, ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %610 unwind label %604

610:                                              ; preds = %608
  br i1 %609, label %614, label %611

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

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

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

616:                                              ; preds = %614
  store i32 0, ptr %6, align 4
  br label %617

617:                                              ; preds = %616, %613, %597
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %21) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  %618 = load i32, ptr %6, align 4
  switch i32 %618, label %1086 [
    i32 0, label %619
  ]

619:                                              ; preds = %617
  %620 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.233)
          to label %621 unwind label %321

621:                                              ; preds = %619
  %622 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.234)
          to label %623 unwind label %321

623:                                              ; preds = %621
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %22, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %624 unwind label %631

624:                                              ; preds = %623
  %625 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %22)
          to label %626 unwind label %635

626:                                              ; preds = %624
  br i1 %625, label %639, label %627

627:                                              ; preds = %626
  %628 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %629 unwind label %635

629:                                              ; preds = %627
  store i1 %628, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %648

630:                                              ; preds = %604, %600
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #10
  br label %1087

631:                                              ; preds = %623
  %632 = landingpad { ptr, i32 }
          cleanup
  %633 = extractvalue { ptr, i32 } %632, 0
  store ptr %633, ptr %4, align 8
  %634 = extractvalue { ptr, i32 } %632, 1
  store i32 %634, ptr %5, align 4
  br label %661

635:                                              ; preds = %645, %642, %639, %627, %624
  %636 = landingpad { ptr, i32 }
          cleanup
  %637 = extractvalue { ptr, i32 } %636, 0
  store ptr %637, ptr %4, align 8
  %638 = extractvalue { ptr, i32 } %636, 1
  store i32 %638, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %22) #10
  br label %661

639:                                              ; preds = %626
  %640 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %22, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %641 unwind label %635

641:                                              ; preds = %639
  br i1 %640, label %645, label %642

642:                                              ; preds = %641
  %643 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %644 unwind label %635

644:                                              ; preds = %642
  store i1 %643, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %648

645:                                              ; preds = %641
  %646 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %647 unwind label %635

647:                                              ; preds = %645
  store i32 0, ptr %6, align 4
  br label %648

648:                                              ; preds = %647, %644, %629
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %22) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  %649 = load i32, ptr %6, align 4
  switch i32 %649, label %1086 [
    i32 0, label %650
  ]

650:                                              ; preds = %648
  %651 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.235)
          to label %652 unwind label %321

652:                                              ; preds = %650
  %653 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.236)
          to label %654 unwind label %321

654:                                              ; preds = %652
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #10
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %23, ptr noundef @_ZL9cuesheet_)
          to label %655 unwind label %662

655:                                              ; preds = %654
  %656 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %23)
          to label %657 unwind label %666

657:                                              ; preds = %655
  br i1 %656, label %670, label %658

658:                                              ; preds = %657
  %659 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.7)
          to label %660 unwind label %666

660:                                              ; preds = %658
  store i1 %659, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %679

661:                                              ; preds = %635, %631
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  br label %1087

662:                                              ; preds = %654
  %663 = landingpad { ptr, i32 }
          cleanup
  %664 = extractvalue { ptr, i32 } %663, 0
  store ptr %664, ptr %4, align 8
  %665 = extractvalue { ptr, i32 } %663, 1
  store i32 %665, ptr %5, align 4
  br label %691

666:                                              ; preds = %676, %673, %670, %658, %655
  %667 = landingpad { ptr, i32 }
          cleanup
  %668 = extractvalue { ptr, i32 } %667, 0
  store ptr %668, ptr %4, align 8
  %669 = extractvalue { ptr, i32 } %667, 1
  store i32 %669, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %23) #10
  br label %691

670:                                              ; preds = %657
  %671 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %23, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %672 unwind label %666

672:                                              ; preds = %670
  br i1 %671, label %676, label %673

673:                                              ; preds = %672
  %674 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.8)
          to label %675 unwind label %666

675:                                              ; preds = %673
  store i1 %674, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %679

676:                                              ; preds = %672
  %677 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %678 unwind label %666

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

679:                                              ; preds = %678, %675, %660
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  %680 = load i32, ptr %6, align 4
  switch i32 %680, label %1086 [
    i32 0, label %681
  ]

681:                                              ; preds = %679
  %682 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.237)
          to label %683 unwind label %321

683:                                              ; preds = %681
  %684 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet24get_media_catalog_numberEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %685 unwind label %321

685:                                              ; preds = %683
  %686 = call i32 @strcmp(ptr noundef %684, ptr noundef @.str.238) #5
  %687 = icmp ne i32 0, %686
  br i1 %687, label %688, label %692

688:                                              ; preds = %685
  %689 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %690 unwind label %321

690:                                              ; preds = %688
  store i1 %689, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

691:                                              ; preds = %666, %662
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #10
  br label %1087

692:                                              ; preds = %685
  %693 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %694 unwind label %321

694:                                              ; preds = %692
  %695 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.239)
          to label %696 unwind label %321

696:                                              ; preds = %694
  %697 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet11get_lead_inEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %698 unwind label %321

698:                                              ; preds = %696
  %699 = icmp ne i64 %697, 0
  br i1 %699, label %700, label %703

700:                                              ; preds = %698
  %701 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %702 unwind label %321

702:                                              ; preds = %700
  store i1 %701, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

703:                                              ; preds = %698
  %704 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %705 unwind label %321

705:                                              ; preds = %703
  %706 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.240)
          to label %707 unwind label %321

707:                                              ; preds = %705
  %708 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet9get_is_cdEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %709 unwind label %321

709:                                              ; preds = %707
  br i1 %708, label %710, label %713

710:                                              ; preds = %709
  %711 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.241)
          to label %712 unwind label %321

712:                                              ; preds = %710
  store i1 %711, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

713:                                              ; preds = %709
  %714 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %715 unwind label %321

715:                                              ; preds = %713
  %716 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.242)
          to label %717 unwind label %321

717:                                              ; preds = %715
  %718 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet14get_num_tracksEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %719 unwind label %321

719:                                              ; preds = %717
  %720 = icmp ne i32 %718, 0
  br i1 %720, label %721, label %724

721:                                              ; preds = %719
  %722 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.182)
          to label %723 unwind label %321

723:                                              ; preds = %721
  store i1 %722, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

724:                                              ; preds = %719
  %725 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %726 unwind label %321

726:                                              ; preds = %724
  %727 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.243)
          to label %728 unwind label %321

728:                                              ; preds = %726
  call void @llvm.lifetime.start.p0(i64 129, ptr %24) #10
  %729 = getelementptr inbounds [129 x i8], ptr %24, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %729, i8 0, i64 129, i1 false)
  %730 = getelementptr inbounds [129 x i8], ptr %24, i64 0, i64 0
  %731 = invoke noundef ptr @_ZL12safe_strncpyPcPKcm(ptr noundef %730, ptr noundef @.str.244, i64 noundef 129)
          to label %732 unwind label %743

732:                                              ; preds = %728
  %733 = getelementptr inbounds [129 x i8], ptr %24, i64 0, i64 0
  invoke void @_ZN4FLAC8Metadata8CueSheet24set_media_catalog_numberEPKc(ptr noundef nonnull align 8 dereferenceable(17) %11, ptr noundef %733)
          to label %734 unwind label %743

734:                                              ; preds = %732
  %735 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet24get_media_catalog_numberEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %736 unwind label %743

736:                                              ; preds = %734
  %737 = getelementptr inbounds [129 x i8], ptr %24, i64 0, i64 0
  %738 = call i32 @memcmp(ptr noundef %735, ptr noundef %737, i64 noundef 129) #5
  %739 = icmp ne i32 0, %738
  br i1 %739, label %740, label %747

740:                                              ; preds = %736
  %741 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %742 unwind label %743

742:                                              ; preds = %740
  store i1 %741, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %748

743:                                              ; preds = %740, %734, %732, %728
  %744 = landingpad { ptr, i32 }
          cleanup
  %745 = extractvalue { ptr, i32 } %744, 0
  store ptr %745, ptr %4, align 8
  %746 = extractvalue { ptr, i32 } %744, 1
  store i32 %746, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 129, ptr %24) #10
  br label %1087

747:                                              ; preds = %736
  store i32 0, ptr %6, align 4
  br label %748

748:                                              ; preds = %747, %742
  call void @llvm.lifetime.end.p0(i64 129, ptr %24) #10
  %749 = load i32, ptr %6, align 4
  switch i32 %749, label %1086 [
    i32 0, label %750
  ]

750:                                              ; preds = %748
  %751 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %752 unwind label %321

752:                                              ; preds = %750
  %753 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.245)
          to label %754 unwind label %321

754:                                              ; preds = %752
  invoke void @_ZN4FLAC8Metadata8CueSheet11set_lead_inEm(ptr noundef nonnull align 8 dereferenceable(17) %11, i64 noundef 588)
          to label %755 unwind label %321

755:                                              ; preds = %754
  %756 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet11get_lead_inEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %757 unwind label %321

757:                                              ; preds = %755
  %758 = icmp ne i64 %756, 588
  br i1 %758, label %759, label %762

759:                                              ; preds = %757
  %760 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %761 unwind label %321

761:                                              ; preds = %759
  store i1 %760, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

762:                                              ; preds = %757
  %763 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %764 unwind label %321

764:                                              ; preds = %762
  %765 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.246)
          to label %766 unwind label %321

766:                                              ; preds = %764
  invoke void @_ZN4FLAC8Metadata8CueSheet9set_is_cdEb(ptr noundef nonnull align 8 dereferenceable(17) %11, i1 noundef zeroext true)
          to label %767 unwind label %321

767:                                              ; preds = %766
  %768 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet9get_is_cdEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %769 unwind label %321

769:                                              ; preds = %767
  br i1 %768, label %773, label %770

770:                                              ; preds = %769
  %771 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %772 unwind label %321

772:                                              ; preds = %770
  store i1 %771, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

773:                                              ; preds = %769
  %774 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %775 unwind label %321

775:                                              ; preds = %773
  %776 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.247)
          to label %777 unwind label %321

777:                                              ; preds = %775
  %778 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.248)
          to label %779 unwind label %321

779:                                              ; preds = %777
  %780 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %781 unwind label %321

781:                                              ; preds = %779
  br i1 %780, label %785, label %782

782:                                              ; preds = %781
  %783 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %784 unwind label %321

784:                                              ; preds = %782
  store i1 %783, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

785:                                              ; preds = %781
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %25, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %786 unwind label %797

786:                                              ; preds = %785
  %787 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %788 unwind label %801

788:                                              ; preds = %786
  %789 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %790 unwind label %801

790:                                              ; preds = %788
  %791 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %787, ptr noundef %789)
          to label %792 unwind label %801

792:                                              ; preds = %790
  %793 = xor i1 %791, true
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  br i1 %793, label %794, label %806

794:                                              ; preds = %792
  %795 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %796 unwind label %321

796:                                              ; preds = %794
  store i1 %795, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

797:                                              ; preds = %785
  %798 = landingpad { ptr, i32 }
          cleanup
  %799 = extractvalue { ptr, i32 } %798, 0
  store ptr %799, ptr %4, align 8
  %800 = extractvalue { ptr, i32 } %798, 1
  store i32 %800, ptr %5, align 4
  br label %805

801:                                              ; preds = %790, %788, %786
  %802 = landingpad { ptr, i32 }
          cleanup
  %803 = extractvalue { ptr, i32 } %802, 0
  store ptr %803, ptr %4, align 8
  %804 = extractvalue { ptr, i32 } %802, 1
  store i32 %804, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #10
  br label %805

805:                                              ; preds = %801, %797
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #10
  br label %1087

806:                                              ; preds = %792
  %807 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %808 unwind label %321

808:                                              ; preds = %806
  %809 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.247)
          to label %810 unwind label %321

810:                                              ; preds = %808
  %811 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.248)
          to label %812 unwind label %321

812:                                              ; preds = %810
  %813 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %814 unwind label %321

814:                                              ; preds = %812
  br i1 %813, label %818, label %815

815:                                              ; preds = %814
  %816 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %817 unwind label %321

817:                                              ; preds = %815
  store i1 %816, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

818:                                              ; preds = %814
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %26, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 1)
          to label %819 unwind label %830

819:                                              ; preds = %818
  %820 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
          to label %821 unwind label %834

821:                                              ; preds = %819
  %822 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %823 unwind label %834

823:                                              ; preds = %821
  %824 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %820, ptr noundef %822)
          to label %825 unwind label %834

825:                                              ; preds = %823
  %826 = xor i1 %824, true
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #10
  br i1 %826, label %827, label %839

827:                                              ; preds = %825
  %828 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %829 unwind label %321

829:                                              ; preds = %827
  store i1 %828, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1086

830:                                              ; preds = %818
  %831 = landingpad { ptr, i32 }
          cleanup
  %832 = extractvalue { ptr, i32 } %831, 0
  store ptr %832, ptr %4, align 8
  %833 = extractvalue { ptr, i32 } %831, 1
  store i32 %833, ptr %5, align 4
  br label %838

834:                                              ; preds = %823, %821, %819
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %4, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #10
  br label %838

838:                                              ; preds = %834, %830
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #10
  br label %1087

839:                                              ; preds = %825
  %840 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %841 unwind label %321

841:                                              ; preds = %839
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #10
  %842 = getelementptr inbounds %struct.FLAC__StreamMetadata_CueSheet_Index, ptr %27, i32 0, i32 0
  store i64 2352, ptr %842, align 8, !tbaa !11
  %843 = getelementptr inbounds %struct.FLAC__StreamMetadata_CueSheet_Index, ptr %27, i32 0, i32 1
  store i8 1, ptr %843, align 8, !tbaa !14
  %844 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.249)
          to label %845 unwind label %855

845:                                              ; preds = %841
  %846 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.250)
          to label %847 unwind label %855

847:                                              ; preds = %845
  %848 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.251)
          to label %849 unwind label %855

849:                                              ; preds = %847
  %850 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_indexEjjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %851 unwind label %855

851:                                              ; preds = %849
  br i1 %850, label %859, label %852

852:                                              ; preds = %851
  %853 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %854 unwind label %855

854:                                              ; preds = %852
  store i1 %853, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

855:                                              ; preds = %1028, %1026, %1023, %1019, %1016, %1013, %1011, %1009, %997, %985, %982, %980, %978, %976, %964, %955, %952, %950, %948, %934, %922, %919, %917, %884, %882, %870, %852, %849, %847, %845, %841
  %856 = landingpad { ptr, i32 }
          cleanup
  %857 = extractvalue { ptr, i32 } %856, 0
  store ptr %857, ptr %4, align 8
  %858 = extractvalue { ptr, i32 } %856, 1
  store i32 %858, ptr %5, align 4
  br label %1085

859:                                              ; preds = %851
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %29, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %860 unwind label %873

860:                                              ; preds = %859
  %861 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef 0)
          to label %862 unwind label %877

862:                                              ; preds = %860
  %863 = getelementptr inbounds { i64, i8 }, ptr %28, i32 0, i32 0
  %864 = extractvalue { i64, i8 } %861, 0
  store i64 %864, ptr %863, align 8
  %865 = getelementptr inbounds { i64, i8 }, ptr %28, i32 0, i32 1
  %866 = extractvalue { i64, i8 } %861, 1
  store i8 %866, ptr %865, align 8
  %867 = invoke noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %868 unwind label %877

868:                                              ; preds = %862
  %869 = xor i1 %867, true
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  br i1 %869, label %870, label %882

870:                                              ; preds = %868
  %871 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %872 unwind label %855

872:                                              ; preds = %870
  store i1 %871, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

873:                                              ; preds = %859
  %874 = landingpad { ptr, i32 }
          cleanup
  %875 = extractvalue { ptr, i32 } %874, 0
  store ptr %875, ptr %4, align 8
  %876 = extractvalue { ptr, i32 } %874, 1
  store i32 %876, ptr %5, align 4
  br label %881

877:                                              ; preds = %862, %860
  %878 = landingpad { ptr, i32 }
          cleanup
  %879 = extractvalue { ptr, i32 } %878, 0
  store ptr %879, ptr %4, align 8
  %880 = extractvalue { ptr, i32 } %878, 1
  store i32 %880, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #10
  br label %881

881:                                              ; preds = %877, %873
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #10
  br label %1085

882:                                              ; preds = %868
  %883 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %884 unwind label %855

884:                                              ; preds = %882
  %885 = getelementptr inbounds %struct.FLAC__StreamMetadata_CueSheet_Index, ptr %27, i32 0, i32 0
  store i64 2940, ptr %885, align 8, !tbaa !11
  %886 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.252)
          to label %887 unwind label %855

887:                                              ; preds = %884
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %30, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %888 unwind label %902

888:                                              ; preds = %887
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track9set_indexEjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(16) %30, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %889 unwind label %906

889:                                              ; preds = %888
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #10
  %890 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %30, i32 noundef 0)
          to label %891 unwind label %910

891:                                              ; preds = %889
  %892 = getelementptr inbounds { i64, i8 }, ptr %31, i32 0, i32 0
  %893 = extractvalue { i64, i8 } %890, 0
  store i64 %893, ptr %892, align 8
  %894 = getelementptr inbounds { i64, i8 }, ptr %31, i32 0, i32 1
  %895 = extractvalue { i64, i8 } %890, 1
  store i8 %895, ptr %894, align 8
  %896 = invoke noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %897 unwind label %910

897:                                              ; preds = %891
  %898 = xor i1 %896, true
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  br i1 %898, label %899, label %914

899:                                              ; preds = %897
  %900 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %901 unwind label %906

901:                                              ; preds = %899
  store i1 %900, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %915

902:                                              ; preds = %887
  %903 = landingpad { ptr, i32 }
          cleanup
  %904 = extractvalue { ptr, i32 } %903, 0
  store ptr %904, ptr %4, align 8
  %905 = extractvalue { ptr, i32 } %903, 1
  store i32 %905, ptr %5, align 4
  br label %938

906:                                              ; preds = %899, %888
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %4, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %5, align 4
  br label %937

910:                                              ; preds = %891, %889
  %911 = landingpad { ptr, i32 }
          cleanup
  %912 = extractvalue { ptr, i32 } %911, 0
  store ptr %912, ptr %4, align 8
  %913 = extractvalue { ptr, i32 } %911, 1
  store i32 %913, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #10
  br label %937

914:                                              ; preds = %897
  store i32 0, ptr %6, align 4
  br label %915

915:                                              ; preds = %914, %901
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  %916 = load i32, ptr %6, align 4
  switch i32 %916, label %1084 [
    i32 0, label %917
  ]

917:                                              ; preds = %915
  %918 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %919 unwind label %855

919:                                              ; preds = %917
  %920 = getelementptr inbounds %struct.FLAC__StreamMetadata_CueSheet_Index, ptr %27, i32 0, i32 0
  store i64 3528, ptr %920, align 8, !tbaa !11
  %921 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.253)
          to label %922 unwind label %855

922:                                              ; preds = %919
  invoke void @_ZN4FLAC8Metadata8CueSheet9set_indexEjjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %923 unwind label %855

923:                                              ; preds = %922
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %33, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %924 unwind label %939

924:                                              ; preds = %923
  %925 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %33, i32 noundef 0)
          to label %926 unwind label %943

926:                                              ; preds = %924
  %927 = getelementptr inbounds { i64, i8 }, ptr %32, i32 0, i32 0
  %928 = extractvalue { i64, i8 } %925, 0
  store i64 %928, ptr %927, align 8
  %929 = getelementptr inbounds { i64, i8 }, ptr %32, i32 0, i32 1
  %930 = extractvalue { i64, i8 } %925, 1
  store i8 %930, ptr %929, align 8
  %931 = invoke noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(16) %27)
          to label %932 unwind label %943

932:                                              ; preds = %926
  %933 = xor i1 %931, true
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #10
  br i1 %933, label %934, label %948

934:                                              ; preds = %932
  %935 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %936 unwind label %855

936:                                              ; preds = %934
  store i1 %935, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

937:                                              ; preds = %910, %906
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %30) #10
  br label %938

938:                                              ; preds = %937, %902
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #10
  br label %1085

939:                                              ; preds = %923
  %940 = landingpad { ptr, i32 }
          cleanup
  %941 = extractvalue { ptr, i32 } %940, 0
  store ptr %941, ptr %4, align 8
  %942 = extractvalue { ptr, i32 } %940, 1
  store i32 %942, ptr %5, align 4
  br label %947

943:                                              ; preds = %926, %924
  %944 = landingpad { ptr, i32 }
          cleanup
  %945 = extractvalue { ptr, i32 } %944, 0
  store ptr %945, ptr %4, align 8
  %946 = extractvalue { ptr, i32 } %944, 1
  store i32 %946, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #10
  br label %947

947:                                              ; preds = %943, %939
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #10
  br label %1085

948:                                              ; preds = %932
  %949 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %950 unwind label %855

950:                                              ; preds = %948
  %951 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.254)
          to label %952 unwind label %855

952:                                              ; preds = %950
  %953 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12delete_indexEjj(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0, i32 noundef 0)
          to label %954 unwind label %855

954:                                              ; preds = %952
  br i1 %953, label %958, label %955

955:                                              ; preds = %954
  %956 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %957 unwind label %855

957:                                              ; preds = %955
  store i1 %956, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

958:                                              ; preds = %954
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %34, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %959 unwind label %967

959:                                              ; preds = %958
  %960 = invoke noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %961 unwind label %971

961:                                              ; preds = %959
  %962 = zext i8 %960 to i32
  %963 = icmp ne i32 %962, 0
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #10
  br i1 %963, label %964, label %976

964:                                              ; preds = %961
  %965 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.255)
          to label %966 unwind label %855

966:                                              ; preds = %964
  store i1 %965, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

967:                                              ; preds = %958
  %968 = landingpad { ptr, i32 }
          cleanup
  %969 = extractvalue { ptr, i32 } %968, 0
  store ptr %969, ptr %4, align 8
  %970 = extractvalue { ptr, i32 } %968, 1
  store i32 %970, ptr %5, align 4
  br label %975

971:                                              ; preds = %959
  %972 = landingpad { ptr, i32 }
          cleanup
  %973 = extractvalue { ptr, i32 } %972, 0
  store ptr %973, ptr %4, align 8
  %974 = extractvalue { ptr, i32 } %972, 1
  store i32 %974, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #10
  br label %975

975:                                              ; preds = %971, %967
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #10
  br label %1085

976:                                              ; preds = %961
  %977 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %978 unwind label %855

978:                                              ; preds = %976
  %979 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.256)
          to label %980 unwind label %855

980:                                              ; preds = %978
  %981 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.248)
          to label %982 unwind label %855

982:                                              ; preds = %980
  %983 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet9set_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %984 unwind label %855

984:                                              ; preds = %982
  br i1 %983, label %988, label %985

985:                                              ; preds = %984
  %986 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %987 unwind label %855

987:                                              ; preds = %985
  store i1 %986, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

988:                                              ; preds = %984
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #10
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %35, ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %989 unwind label %1000

989:                                              ; preds = %988
  %990 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %35)
          to label %991 unwind label %1004

991:                                              ; preds = %989
  %992 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %993 unwind label %1004

993:                                              ; preds = %991
  %994 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %990, ptr noundef %992)
          to label %995 unwind label %1004

995:                                              ; preds = %993
  %996 = xor i1 %994, true
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br i1 %996, label %997, label %1009

997:                                              ; preds = %995
  %998 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.138)
          to label %999 unwind label %855

999:                                              ; preds = %997
  store i1 %998, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

1000:                                             ; preds = %988
  %1001 = landingpad { ptr, i32 }
          cleanup
  %1002 = extractvalue { ptr, i32 } %1001, 0
  store ptr %1002, ptr %4, align 8
  %1003 = extractvalue { ptr, i32 } %1001, 1
  store i32 %1003, ptr %5, align 4
  br label %1008

1004:                                             ; preds = %993, %991, %989
  %1005 = landingpad { ptr, i32 }
          cleanup
  %1006 = extractvalue { ptr, i32 } %1005, 0
  store ptr %1006, ptr %4, align 8
  %1007 = extractvalue { ptr, i32 } %1005, 1
  store i32 %1007, ptr %5, align 4
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %35) #10
  br label %1008

1008:                                             ; preds = %1004, %1000
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #10
  br label %1085

1009:                                             ; preds = %995
  %1010 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %1011 unwind label %855

1011:                                             ; preds = %1009
  %1012 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.257)
          to label %1013 unwind label %855

1013:                                             ; preds = %1011
  %1014 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12delete_trackEj(ptr noundef nonnull align 8 dereferenceable(17) %11, i32 noundef 0)
          to label %1015 unwind label %855

1015:                                             ; preds = %1013
  br i1 %1014, label %1019, label %1016

1016:                                             ; preds = %1015
  %1017 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.112)
          to label %1018 unwind label %855

1018:                                             ; preds = %1016
  store i1 %1017, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

1019:                                             ; preds = %1015
  %1020 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet14get_num_tracksEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %1021 unwind label %855

1021:                                             ; preds = %1019
  %1022 = icmp ne i32 %1020, 1
  br i1 %1022, label %1023, label %1026

1023:                                             ; preds = %1021
  %1024 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.258)
          to label %1025 unwind label %855

1025:                                             ; preds = %1023
  store i1 %1024, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1084

1026:                                             ; preds = %1021
  %1027 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %1028 unwind label %855

1028:                                             ; preds = %1026
  %1029 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.43)
          to label %1030 unwind label %855

1030:                                             ; preds = %1028
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #10
  %1031 = invoke noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef %11)
          to label %1032 unwind label %1038

1032:                                             ; preds = %1030
  store ptr %1031, ptr %36, align 8, !tbaa !5
  %1033 = load ptr, ptr %36, align 8, !tbaa !5
  %1034 = icmp eq ptr null, %1033
  br i1 %1034, label %1035, label %1042

1035:                                             ; preds = %1032
  %1036 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.44)
          to label %1037 unwind label %1038

1037:                                             ; preds = %1035
  store i1 %1036, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1083

1038:                                             ; preds = %1080, %1078, %1069, %1067, %1064, %1060, %1051, %1035, %1030
  %1039 = landingpad { ptr, i32 }
          cleanup
  %1040 = extractvalue { ptr, i32 } %1039, 0
  store ptr %1040, ptr %4, align 8
  %1041 = extractvalue { ptr, i32 } %1039, 1
  store i32 %1041, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %1085

1042:                                             ; preds = %1032
  %1043 = load ptr, ptr %36, align 8, !tbaa !5
  %1044 = icmp eq ptr %1043, null
  br i1 %1044, label %1047, label %1045

1045:                                             ; preds = %1042
  %1046 = call ptr @__dynamic_cast(ptr %1043, ptr @_ZTIN4FLAC8Metadata9PrototypeE, ptr @_ZTIN4FLAC8Metadata8CueSheetE, i64 0) #10
  br label %1048

1047:                                             ; preds = %1042
  br label %1048

1048:                                             ; preds = %1047, %1045
  %1049 = phi ptr [ %1046, %1045 ], [ null, %1047 ]
  %1050 = icmp eq ptr null, %1049
  br i1 %1050, label %1051, label %1054

1051:                                             ; preds = %1048
  %1052 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.45)
          to label %1053 unwind label %1038

1053:                                             ; preds = %1051
  store i1 %1052, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1083

1054:                                             ; preds = %1048
  %1055 = load ptr, ptr %36, align 8, !tbaa !5
  %1056 = icmp eq ptr %1055, null
  br i1 %1056, label %1059, label %1057

1057:                                             ; preds = %1054
  %1058 = call ptr @__dynamic_cast(ptr %1055, ptr @_ZTIN4FLAC8Metadata9PrototypeE, ptr @_ZTIN4FLAC8Metadata8CueSheetE, i64 0) #10
  br label %1060

1059:                                             ; preds = %1054
  br label %1060

1060:                                             ; preds = %1059, %1057
  %1061 = phi ptr [ %1058, %1057 ], [ null, %1059 ]
  %1062 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %1061, ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %1063 unwind label %1038

1063:                                             ; preds = %1060
  br i1 %1062, label %1064, label %1067

1064:                                             ; preds = %1063
  %1065 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef @.str.46)
          to label %1066 unwind label %1038

1066:                                             ; preds = %1064
  store i1 %1065, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1083

1067:                                             ; preds = %1063
  %1068 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %1069 unwind label %1038

1069:                                             ; preds = %1067
  %1070 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.222)
          to label %1071 unwind label %1038

1071:                                             ; preds = %1069
  %1072 = load ptr, ptr %36, align 8, !tbaa !5
  %1073 = icmp eq ptr %1072, null
  br i1 %1073, label %1078, label %1074

1074:                                             ; preds = %1071
  %1075 = load ptr, ptr %1072, align 8, !tbaa !15
  %1076 = getelementptr inbounds ptr, ptr %1075, i64 2
  %1077 = load ptr, ptr %1076, align 8
  call void %1077(ptr noundef nonnull align 8 dereferenceable(17) %1072) #10
  br label %1078

1078:                                             ; preds = %1074, %1071
  %1079 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4)
          to label %1080 unwind label %1038

1080:                                             ; preds = %1078
  %1081 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.47)
          to label %1082 unwind label %1038

1082:                                             ; preds = %1080
  store i1 true, ptr %1, align 1
  store i32 1, ptr %6, align 4
  br label %1083

1083:                                             ; preds = %1082, %1066, %1053, %1037
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #10
  br label %1084

1084:                                             ; preds = %1083, %1025, %1018, %999, %987, %966, %957, %936, %915, %872, %854
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  br label %1086

1085:                                             ; preds = %1038, %1008, %975, %947, %938, %881, %855
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #10
  br label %1087

1086:                                             ; preds = %1084, %829, %817, %796, %784, %772, %761, %748, %723, %712, %702, %690, %679, %648, %617, %585, %545, %511, %473, %442, %411, %378, %345, %316
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #10
  br label %1089

1087:                                             ; preds = %1085, %838, %805, %743, %691, %661, %630, %599, %563, %527, %489, %455, %424, %393, %321
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #10
  br label %1088

1088:                                             ; preds = %1087, %317
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #10
  br label %1090

1089:                                             ; preds = %1086, %301, %288, %276, %263, %250, %238, %226, %214, %203, %191, %179, %168, %149
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  br label %1092

1090:                                             ; preds = %1088, %155
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #10
  br label %1091

1091:                                             ; preds = %1090, %151
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #10
  br label %1094

1092:                                             ; preds = %1089, %137, %99, %43
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  %1093 = load i1, ptr %1, align 1
  ret i1 %1093

1094:                                             ; preds = %1091, %150, %113, %44
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #10
  br label %1095

1095:                                             ; preds = %1094
  %1096 = load ptr, ptr %4, align 8
  %1097 = load i32, ptr %5, align 4
  %1098 = insertvalue { ptr, i32 } poison, ptr %1096, 0
  %1099 = insertvalue { ptr, i32 } %1098, i32 %1097, 1
  resume { ptr, i32 } %1099
}

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

declare noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1EPK35FLAC__StreamMetadata_CueSheet_Track(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

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

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

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheet5Track10set_numberEh(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef zeroext) #2 align 2

declare void @_ZN4FLAC8Metadata8CueSheet5Track8set_isrcEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #1

declare void @_ZN4FLAC8Metadata8CueSheet5Track8set_typeEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheet5Track16set_pre_emphasisEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheetC2ERKS1_(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 @_ZNK4FLAC8Metadata8CueSheetneERKS1_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheetC2ERK20FLAC__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 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(176)) #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheetC2EP20FLAC__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 @_ZN4FLAC8Metadata8CueSheet6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i1 noundef zeroext) #7 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL12safe_strncpyPcPKcm(ptr noundef, ptr noundef, i64 noundef) #2

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

declare void @_ZN4FLAC8Metadata8CueSheet11set_lead_inEm(ptr noundef nonnull align 8 dereferenceable(17), i64 noundef) #1

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

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

declare void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8, ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #9

declare { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1

declare void @_ZN4FLAC8Metadata8CueSheet5Track9set_indexEjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, ptr noundef nonnull align 8 dereferenceable(16)) #1

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

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

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

declare noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12delete_trackEj(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) #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 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { 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 #10 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS35FLAC__StreamMetadata_CueSheet_Index", !13, i64 0, !7, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !7, i64 8}
!15 = !{!16, !16, i64 0}
!16 = !{!"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::CueSheet::Track" = type { ptr, ptr }
%"class.FLAC::Metadata::CueSheet" = type { %"class.FLAC::Metadata::Prototype.base", [7 x i8] }
%"class.FLAC::Metadata::Prototype.base" = type <{ ptr, ptr, i8 }>
%struct.FLAC__StreamMetadata_CueSheet_Index = type { i64, 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.125 = external hidden unnamed_addr constant [12 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.196 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.197 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.198 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.199 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.200 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.201 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.202 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.203 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.204 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.205 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.206 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.207 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.208 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.209 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.210 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.211 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.216 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.217 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.218 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.219 = external hidden unnamed_addr constant [33 x i8], align 1
@FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN = external local_unnamed_addr constant i32, align 4
@FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN = external local_unnamed_addr constant i32, align 4
@.str.220 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.221 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.222 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [65 x i8], align 1
@_ZL9cuesheet_ = external hidden global %struct.FLAC__StreamMetadata, align 8
@.str.225 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [77 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.232 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.233 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.234 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.235 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.236 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.237 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.238 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.239 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.240 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.241 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.242 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.243 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.244 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.245 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.246 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.247 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.248 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.249 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.250 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.251 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.252 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.253 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.254 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.255 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.256 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.257 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.258 = external hidden unnamed_addr constant [20 x i8], align 1
@_ZTIN4FLAC8Metadata8CueSheetE = 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 @_Z29test_metadata_object_cuesheetv() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %2 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %3 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %4 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %5 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %6 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %7 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %8 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %9 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %10 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %11 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %12 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %13 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %14 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %15 = alloca %"class.FLAC::Metadata::CueSheet", align 8
  %16 = alloca [129 x i8], align 16
  %17 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %18 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %19 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %20 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %21 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %22 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %23 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %24 = alloca %struct.FLAC__StreamMetadata_CueSheet_Index, align 8
  %25 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %26 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %27 = alloca %"class.FLAC::Metadata::CueSheet::Track", align 8
  %28 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.196)
  %29 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.197)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #12
  call void @_ZN4FLAC8Metadata8CueSheet5TrackC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %30 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %31 unwind label %34

31:                                               ; preds = %0
  br i1 %30, label %36, label %32

32:                                               ; preds = %31
  %33 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull @.str.125)
          to label %.thread unwind label %34

34:                                               ; preds = %32, %0
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %560

36:                                               ; preds = %31
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %38 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.198)
  %39 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %45

41:                                               ; preds = %36
  %42 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull @.str.199)
          to label %.thread unwind label %43

43:                                               ; preds = %41
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %560

45:                                               ; preds = %36
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %47 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.200)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #12
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1EPK35FLAC__StreamMetadata_CueSheet_Track(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull %39)
          to label %48 unwind label %51

48:                                               ; preds = %45
  %49 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
          to label %50 unwind label %53

50:                                               ; preds = %48
  br i1 %49, label %55, label %.invoke

51:                                               ; preds = %45
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %69

53:                                               ; preds = %.invoke, %55, %48
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #12
  br label %69

55:                                               ; preds = %50
  %56 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %2)
  %57 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %56, ptr noundef nonnull %39)
          to label %58 unwind label %53

58:                                               ; preds = %55
  br i1 %57, label %61, label %.invoke

.invoke:                                          ; preds = %50, %58
  %59 = phi ptr [ @.str.201, %58 ], [ @.str.125, %50 ]
  %60 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %59)
          to label %.thread175 unwind label %53

.thread175:                                       ; preds = %.invoke
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #12
  br label %.thread

61:                                               ; preds = %58
  %62 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %63 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.202)
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #12
  %64 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.203)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #12
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %66 unwind label %70

66:                                               ; preds = %61
  %67 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %68 unwind label %72

68:                                               ; preds = %66
  br i1 %67, label %74, label %.invoke230

69:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #12
  br label %560

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %89

72:                                               ; preds = %.invoke230, %74, %66
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #12
  br label %89

74:                                               ; preds = %68
  %75 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
  %76 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %77 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %75, ptr noundef %76)
          to label %78 unwind label %72

78:                                               ; preds = %74
  br i1 %77, label %81, label %.invoke230

.invoke230:                                       ; preds = %68, %78
  %79 = phi ptr [ @.str.201, %78 ], [ @.str.125, %68 ]
  %80 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %79)
          to label %.thread180 unwind label %72

.thread180:                                       ; preds = %.invoke230
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  br label %.thread

81:                                               ; preds = %78
  %82 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.202)
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.204)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #12
  invoke void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %86 unwind label %90

86:                                               ; preds = %81
  %87 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track8is_validEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %88 unwind label %92

88:                                               ; preds = %86
  br i1 %87, label %94, label %.invoke231

89:                                               ; preds = %72, %70
  %.pn109 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #12
  br label %560

90:                                               ; preds = %81
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %559

92:                                               ; preds = %.invoke231, %136, %131, %94, %86
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %558

94:                                               ; preds = %88
  %95 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %96 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %97 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %95, ptr noundef %96)
          to label %98 unwind label %92

98:                                               ; preds = %94
  br i1 %97, label %99, label %.invoke231

99:                                               ; preds = %98
  %100 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.205)
  %102 = call noundef i64 @_ZNK4FLAC8Metadata8CueSheet5Track10get_offsetEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not = icmp eq i64 %102, 0
  br i1 %.not, label %103, label %.invoke231

103:                                              ; preds = %99
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.206)
  %106 = call noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not111 = icmp eq i8 %106, 0
  br i1 %.not111, label %107, label %.invoke231

107:                                              ; preds = %103
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %109 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.207)
  %110 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track8get_isrcEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %bcmp = call i32 @bcmp(ptr noundef nonnull dereferenceable(13) %110, ptr noundef nonnull dereferenceable(13) @.str.208, i64 13)
  %.not112 = icmp eq i32 %bcmp, 0
  br i1 %.not112, label %111, label %.invoke231

111:                                              ; preds = %107
  %112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.209)
  %114 = call noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not113 = icmp eq i32 %114, 0
  br i1 %.not113, label %115, label %.invoke231

115:                                              ; preds = %111
  %116 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.210)
  %118 = call noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track16get_pre_emphasisEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  br i1 %118, label %.invoke231, label %119

119:                                              ; preds = %115
  %120 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %121 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.211)
  %122 = call noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not114 = icmp eq i8 %122, 0
  br i1 %.not114, label %123, label %.invoke231

123:                                              ; preds = %119
  %124 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %125 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.212)
  call void @_ZN4FLAC8Metadata8CueSheet5Track10set_offsetEm(ptr noundef nonnull align 8 dereferenceable(16) %4, i64 noundef 588)
  %126 = call noundef i64 @_ZNK4FLAC8Metadata8CueSheet5Track10get_offsetEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not115 = icmp eq i64 %126, 588
  br i1 %.not115, label %127, label %.invoke231

127:                                              ; preds = %123
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %129 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.213)
  call void @_ZN4FLAC8Metadata8CueSheet5Track10set_numberEh(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 noundef zeroext 1)
  %130 = call noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not116 = icmp eq i8 %130, 1
  br i1 %.not116, label %131, label %.invoke231

131:                                              ; preds = %127
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %133 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.214)
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track8set_isrcEPKc(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull @.str.215)
          to label %134 unwind label %92

134:                                              ; preds = %131
  %135 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track8get_isrcEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %bcmp228 = call i32 @bcmp(ptr noundef nonnull dereferenceable(13) %135, ptr noundef nonnull dereferenceable(13) @.str.215, i64 13)
  %.not117 = icmp eq i32 %bcmp228, 0
  br i1 %.not117, label %136, label %.invoke231

136:                                              ; preds = %134
  %137 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.216)
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track8set_typeEj(ptr noundef nonnull align 8 dereferenceable(16) %4, i32 noundef 1)
          to label %139 unwind label %92

139:                                              ; preds = %136
  %140 = call noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not118 = icmp eq i32 %140, 1
  br i1 %.not118, label %141, label %.invoke231

141:                                              ; preds = %139
  %142 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %143 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.217)
  call void @_ZN4FLAC8Metadata8CueSheet5Track16set_pre_emphasisEb(ptr noundef nonnull align 8 dereferenceable(16) %4, i1 noundef zeroext true)
  %144 = call noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet5Track16get_pre_emphasisEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  br i1 %144, label %147, label %.invoke231

.invoke231:                                       ; preds = %88, %141, %139, %134, %127, %123, %119, %115, %111, %107, %103, %99, %98
  %145 = phi ptr [ @.str.201, %98 ], [ @.str.138, %99 ], [ @.str.138, %103 ], [ @.str.138, %107 ], [ @.str.138, %111 ], [ @.str.138, %115 ], [ @.str.138, %119 ], [ @.str.138, %123 ], [ @.str.138, %127 ], [ @.str.138, %134 ], [ @.str.138, %139 ], [ @.str.138, %141 ], [ @.str.125, %88 ]
  %146 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %145)
          to label %557 unwind label %92

147:                                              ; preds = %141
  %148 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %149 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47)
  %150 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.218)
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.219)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %152 unwind label %154

152:                                              ; preds = %147
  %153 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
  br i1 %153, label %158, label %.invoke232

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

156:                                              ; preds = %.invoke232, %411, %394, %391, %388, %385, %382, %365, %360, %355, %348, %171, %158
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %555

158:                                              ; preds = %152
  %159 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_MEDIA_CATALOG_NUMBER_LEN, align 4, !tbaa !5
  %160 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_LEAD_IN_LEN, align 4, !tbaa !5
  %161 = add i32 %160, %159
  %162 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_IS_CD_LEN, align 4, !tbaa !5
  %163 = add i32 %161, %162
  %164 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_RESERVED_LEN, align 4, !tbaa !5
  %165 = add i32 %163, %164
  %166 = load i32, ptr @FLAC__STREAM_METADATA_CUESHEET_NUM_TRACKS_LEN, align 4, !tbaa !5
  %167 = add i32 %165, %166
  %168 = lshr i32 %167, 3
  %169 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %170 unwind label %156

170:                                              ; preds = %158
  %.not120 = icmp eq i32 %169, %168
  br i1 %.not120, label %175, label %171

171:                                              ; preds = %170
  %172 = invoke noundef i32 @_ZNK4FLAC8Metadata9Prototype10get_lengthEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %173 unwind label %156

173:                                              ; preds = %171
  %174 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %168, i32 noundef %172)
  br label %554

175:                                              ; preds = %170
  %176 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %177 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.220)
  %178 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.221)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %6, ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %179 unwind label %181

179:                                              ; preds = %175
  %180 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %6)
  br i1 %180, label %185, label %.invoke233

181:                                              ; preds = %175
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %198

183:                                              ; preds = %.invoke233, %185
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #12
  br label %198

185:                                              ; preds = %179
  %186 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %6, ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %187 unwind label %183

187:                                              ; preds = %185
  br i1 %186, label %.invoke233, label %190

.invoke233:                                       ; preds = %179, %187
  %188 = phi ptr [ @.str.8, %187 ], [ @.str.7, %179 ]
  %189 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %188)
          to label %.thread184 unwind label %183

.thread184:                                       ; preds = %.invoke233
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  br label %554

190:                                              ; preds = %187
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %192 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.222)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  %193 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %194 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.223)
  %195 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.224)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %196 unwind label %199

196:                                              ; preds = %190
  %197 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %7)
  br i1 %197, label %203, label %.invoke234

198:                                              ; preds = %183, %181
  %.pn121 = phi { ptr, i32 } [ %184, %183 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  br label %555

199:                                              ; preds = %190
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %214

201:                                              ; preds = %.invoke234, %203
  %202 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #12
  br label %214

203:                                              ; preds = %196
  %204 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %205 unwind label %201

205:                                              ; preds = %203
  br i1 %204, label %.invoke234, label %208

.invoke234:                                       ; preds = %196, %205
  %206 = phi ptr [ @.str.8, %205 ], [ @.str.7, %196 ]
  %207 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %206)
          to label %.thread188 unwind label %201

.thread188:                                       ; preds = %.invoke234
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  br label %554

208:                                              ; preds = %205
  %209 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  %210 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.225)
  %211 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.226)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull @_ZL9cuesheet_)
          to label %212 unwind label %215

212:                                              ; preds = %208
  %213 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %8)
  br i1 %213, label %219, label %.invoke235

214:                                              ; preds = %201, %199
  %.pn123 = phi { ptr, i32 } [ %202, %201 ], [ %200, %199 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  br label %555

215:                                              ; preds = %208
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %230

217:                                              ; preds = %.invoke235, %219
  %218 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #12
  br label %230

219:                                              ; preds = %212
  %220 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %221 unwind label %217

221:                                              ; preds = %219
  br i1 %220, label %.invoke235, label %224

.invoke235:                                       ; preds = %212, %221
  %222 = phi ptr [ @.str.8, %221 ], [ @.str.7, %212 ]
  %223 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %222)
          to label %.thread192 unwind label %217

.thread192:                                       ; preds = %.invoke235
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  br label %554

224:                                              ; preds = %221
  %225 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.227)
  %227 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.226)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef nonnull @_ZL9cuesheet_, i1 noundef zeroext true)
          to label %228 unwind label %231

228:                                              ; preds = %224
  %229 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %9)
  br i1 %229, label %235, label %.invoke236

230:                                              ; preds = %217, %215
  %.pn125 = phi { ptr, i32 } [ %218, %217 ], [ %216, %215 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #12
  br label %555

231:                                              ; preds = %224
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %248

233:                                              ; preds = %.invoke236, %235
  %234 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #12
  br label %248

235:                                              ; preds = %228
  %236 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %9, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %237 unwind label %233

237:                                              ; preds = %235
  br i1 %236, label %.invoke236, label %240

.invoke236:                                       ; preds = %228, %237
  %238 = phi ptr [ @.str.8, %237 ], [ @.str.7, %228 ]
  %239 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %238)
          to label %.thread196 unwind label %233

.thread196:                                       ; preds = %.invoke236
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #12
  br label %554

240:                                              ; preds = %237
  %241 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #12
  %242 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.228)
  %243 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.226)
  %244 = invoke ptr @FLAC__metadata_object_clone(ptr noundef nonnull @_ZL9cuesheet_)
          to label %245 unwind label %249

245:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef %244, i1 noundef zeroext false)
          to label %246 unwind label %251

246:                                              ; preds = %245
  %247 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %10)
  br i1 %247, label %255, label %.invoke237

248:                                              ; preds = %233, %231
  %.pn127 = phi { ptr, i32 } [ %234, %233 ], [ %232, %231 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #12
  br label %555

249:                                              ; preds = %240
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %555

251:                                              ; preds = %245
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %268

253:                                              ; preds = %.invoke237, %255
  %254 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #12
  br label %268

255:                                              ; preds = %246
  %256 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %257 unwind label %253

257:                                              ; preds = %255
  br i1 %256, label %.invoke237, label %260

.invoke237:                                       ; preds = %246, %257
  %258 = phi ptr [ @.str.8, %257 ], [ @.str.7, %246 ]
  %259 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %258)
          to label %.thread200 unwind label %253

.thread200:                                       ; preds = %.invoke237
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #12
  br label %554

260:                                              ; preds = %257
  %261 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #12
  %262 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.229)
  %263 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.226)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %264 unwind label %269

264:                                              ; preds = %260
  %265 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata8CueSheet6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %11, ptr noundef nonnull @_ZL9cuesheet_, i1 noundef zeroext true)
          to label %266 unwind label %271

266:                                              ; preds = %264
  %267 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
  br i1 %267, label %273, label %.invoke238

268:                                              ; preds = %253, %251
  %.pn129 = phi { ptr, i32 } [ %254, %253 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #12
  br label %555

269:                                              ; preds = %260
  %270 = landingpad { ptr, i32 }
          cleanup
  br label %288

271:                                              ; preds = %.invoke238, %273, %264
  %272 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #12
  br label %288

273:                                              ; preds = %266
  %274 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %11, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %275 unwind label %271

275:                                              ; preds = %273
  br i1 %274, label %.invoke238, label %278

.invoke238:                                       ; preds = %266, %275
  %276 = phi ptr [ @.str.8, %275 ], [ @.str.7, %266 ]
  %277 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %276)
          to label %.thread204 unwind label %271

.thread204:                                       ; preds = %.invoke238
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #12
  br label %554

278:                                              ; preds = %275
  %279 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #12
  %280 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.230)
  %281 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.226)
  %282 = invoke ptr @FLAC__metadata_object_clone(ptr noundef nonnull @_ZL9cuesheet_)
          to label %283 unwind label %289

283:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12)
          to label %284 unwind label %291

284:                                              ; preds = %283
  %285 = invoke noundef nonnull align 8 dereferenceable(17) ptr @_ZN4FLAC8Metadata8CueSheet6assignEP20FLAC__StreamMetadatab(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef %282, i1 noundef zeroext false)
          to label %286 unwind label %293

286:                                              ; preds = %284
  %287 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %12)
  br i1 %287, label %295, label %.invoke239

288:                                              ; preds = %271, %269
  %.pn132 = phi { ptr, i32 } [ %272, %271 ], [ %270, %269 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #12
  br label %555

289:                                              ; preds = %278
  %290 = landingpad { ptr, i32 }
          cleanup
  br label %555

291:                                              ; preds = %283
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %306

293:                                              ; preds = %.invoke239, %295, %284
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #12
  br label %306

295:                                              ; preds = %286
  %296 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %12, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %297 unwind label %293

297:                                              ; preds = %295
  br i1 %296, label %.invoke239, label %300

.invoke239:                                       ; preds = %286, %297
  %298 = phi ptr [ @.str.8, %297 ], [ @.str.7, %286 ]
  %299 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %298)
          to label %.thread208 unwind label %293

.thread208:                                       ; preds = %.invoke239
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #12
  br label %554

300:                                              ; preds = %297
  %301 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %12) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #12
  %302 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.231)
  %303 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.232)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %304 unwind label %307

304:                                              ; preds = %300
  %305 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %13)
  br i1 %305, label %311, label %.invoke240

306:                                              ; preds = %293, %291
  %.pn134 = phi { ptr, i32 } [ %294, %293 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #12
  br label %555

307:                                              ; preds = %300
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %322

309:                                              ; preds = %.invoke240, %311
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #12
  br label %322

311:                                              ; preds = %304
  %312 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %313 unwind label %309

313:                                              ; preds = %311
  br i1 %312, label %316, label %.invoke240

.invoke240:                                       ; preds = %304, %313
  %314 = phi ptr [ @.str.8, %313 ], [ @.str.7, %304 ]
  %315 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %314)
          to label %.thread212 unwind label %309

.thread212:                                       ; preds = %.invoke240
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #12
  br label %554

316:                                              ; preds = %313
  %317 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #12
  %318 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.233)
  %319 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.234)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2ERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %320 unwind label %323

320:                                              ; preds = %316
  %321 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %14)
  br i1 %321, label %327, label %.invoke241

322:                                              ; preds = %309, %307
  %.pn137 = phi { ptr, i32 } [ %310, %309 ], [ %308, %307 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #12
  br label %555

323:                                              ; preds = %316
  %324 = landingpad { ptr, i32 }
          cleanup
  br label %338

325:                                              ; preds = %.invoke241, %327
  %326 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #12
  br label %338

327:                                              ; preds = %320
  %328 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %329 unwind label %325

329:                                              ; preds = %327
  br i1 %328, label %332, label %.invoke241

.invoke241:                                       ; preds = %320, %329
  %330 = phi ptr [ @.str.8, %329 ], [ @.str.7, %320 ]
  %331 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %330)
          to label %.thread216 unwind label %325

.thread216:                                       ; preds = %.invoke241
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #12
  br label %554

332:                                              ; preds = %329
  %333 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #12
  %334 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.235)
  %335 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.236)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #12
  invoke void @_ZN4FLAC8Metadata8CueSheetC2EPK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull @_ZL9cuesheet_)
          to label %336 unwind label %339

336:                                              ; preds = %332
  %337 = call noundef zeroext i1 @_ZNK4FLAC8Metadata9Prototype8is_validEv(ptr noundef nonnull align 8 dereferenceable(17) %15)
  br i1 %337, label %343, label %.invoke242

338:                                              ; preds = %325, %323
  %.pn139 = phi { ptr, i32 } [ %326, %325 ], [ %324, %323 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #12
  br label %555

339:                                              ; preds = %332
  %340 = landingpad { ptr, i32 }
          cleanup
  br label %354

341:                                              ; preds = %.invoke242, %343
  %342 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #12
  br label %354

343:                                              ; preds = %336
  %344 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheeteqERK20FLAC__StreamMetadata(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(176) @_ZL9cuesheet_)
          to label %345 unwind label %341

345:                                              ; preds = %343
  br i1 %344, label %348, label %.invoke242

.invoke242:                                       ; preds = %336, %345
  %346 = phi ptr [ @.str.8, %345 ], [ @.str.7, %336 ]
  %347 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %346)
          to label %.thread220 unwind label %341

.thread220:                                       ; preds = %.invoke242
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #12
  br label %554

348:                                              ; preds = %345
  %349 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #12
  %350 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.237)
  %351 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet24get_media_catalog_numberEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %352 unwind label %156

352:                                              ; preds = %348
  %353 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %351, ptr noundef nonnull dereferenceable(1) @.str.238) #13
  %.not143 = icmp eq i32 %353, 0
  br i1 %.not143, label %355, label %.invoke232

354:                                              ; preds = %341, %339
  %.pn141 = phi { ptr, i32 } [ %342, %341 ], [ %340, %339 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #12
  br label %555

355:                                              ; preds = %352
  %356 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %357 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.239)
  %358 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet11get_lead_inEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %359 unwind label %156

359:                                              ; preds = %355
  %.not144 = icmp eq i64 %358, 0
  br i1 %.not144, label %360, label %.invoke232

360:                                              ; preds = %359
  %361 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %362 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.240)
  %363 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet9get_is_cdEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %364 unwind label %156

364:                                              ; preds = %360
  br i1 %363, label %.invoke232, label %365

365:                                              ; preds = %364
  %366 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %367 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.242)
  %368 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet14get_num_tracksEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %369 unwind label %156

369:                                              ; preds = %365
  %.not145 = icmp eq i32 %368, 0
  br i1 %.not145, label %370, label %.invoke232

370:                                              ; preds = %369
  %371 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %372 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.243)
  call void @llvm.lifetime.start.p0(i64 129, ptr nonnull %16) #12
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(129) %16, i8 0, i64 129, i1 false)
  %373 = call noundef ptr @_ZL12safe_strncpyPcPKcm(ptr noundef nonnull %16, ptr noundef nonnull @.str.244, i64 noundef 129)
  invoke void @_ZN4FLAC8Metadata8CueSheet24set_media_catalog_numberEPKc(ptr noundef nonnull align 8 dereferenceable(17) %5, ptr noundef nonnull %16)
          to label %374 unwind label %379

374:                                              ; preds = %370
  %375 = invoke noundef ptr @_ZNK4FLAC8Metadata8CueSheet24get_media_catalog_numberEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %376 unwind label %379

376:                                              ; preds = %374
  %bcmp229 = call i32 @bcmp(ptr noundef nonnull dereferenceable(129) %375, ptr noundef nonnull dereferenceable(129) %16, i64 129)
  %.not146 = icmp eq i32 %bcmp229, 0
  br i1 %.not146, label %382, label %377

377:                                              ; preds = %376
  %378 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull @.str.138)
          to label %381 unwind label %379

379:                                              ; preds = %377, %374, %370
  %380 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 129, ptr nonnull %16) #12
  br label %555

381:                                              ; preds = %377
  call void @llvm.lifetime.end.p0(i64 129, ptr nonnull %16) #12
  br label %554

382:                                              ; preds = %376
  call void @llvm.lifetime.end.p0(i64 129, ptr nonnull %16) #12
  %383 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %384 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.245)
  invoke void @_ZN4FLAC8Metadata8CueSheet11set_lead_inEm(ptr noundef nonnull align 8 dereferenceable(17) %5, i64 noundef 588)
          to label %385 unwind label %156

385:                                              ; preds = %382
  %386 = invoke noundef i64 @_ZNK4FLAC8Metadata8CueSheet11get_lead_inEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %387 unwind label %156

387:                                              ; preds = %385
  %.not147 = icmp eq i64 %386, 588
  br i1 %.not147, label %388, label %.invoke232

388:                                              ; preds = %387
  %389 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %390 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.246)
  invoke void @_ZN4FLAC8Metadata8CueSheet9set_is_cdEb(ptr noundef nonnull align 8 dereferenceable(17) %5, i1 noundef zeroext true)
          to label %391 unwind label %156

391:                                              ; preds = %388
  %392 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheet9get_is_cdEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %393 unwind label %156

393:                                              ; preds = %391
  br i1 %392, label %394, label %.invoke232

394:                                              ; preds = %393
  %395 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %396 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.247)
  %397 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.248)
  %398 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %1)
          to label %399 unwind label %156

399:                                              ; preds = %394
  br i1 %398, label %400, label %.invoke232

400:                                              ; preds = %399
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %17, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %401 unwind label %406

401:                                              ; preds = %400
  %402 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
  %403 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %404 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %402, ptr noundef %403)
          to label %405 unwind label %408

405:                                              ; preds = %401
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #12
  br i1 %404, label %411, label %.invoke232

406:                                              ; preds = %400
  %407 = landingpad { ptr, i32 }
          cleanup
  br label %410

408:                                              ; preds = %401
  %409 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #12
  br label %410

410:                                              ; preds = %408, %406
  %.pn148 = phi { ptr, i32 } [ %409, %408 ], [ %407, %406 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #12
  br label %555

411:                                              ; preds = %405
  %412 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %413 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.247)
  %414 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.248)
  %415 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %416 unwind label %156

416:                                              ; preds = %411
  br i1 %415, label %417, label %.invoke232

417:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %18, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 1)
          to label %418 unwind label %425

418:                                              ; preds = %417
  %419 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %18)
  %420 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %421 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %419, ptr noundef %420)
          to label %422 unwind label %427

422:                                              ; preds = %418
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #12
  br i1 %421, label %430, label %.invoke232

.invoke232:                                       ; preds = %152, %422, %416, %405, %399, %393, %387, %369, %364, %359, %352
  %423 = phi ptr [ @.str.138, %352 ], [ @.str.182, %359 ], [ @.str.241, %364 ], [ @.str.182, %369 ], [ @.str.138, %387 ], [ @.str.138, %393 ], [ @.str.112, %399 ], [ @.str.138, %405 ], [ @.str.112, %416 ], [ @.str.138, %422 ], [ @.str.2, %152 ]
  %424 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %423)
          to label %554 unwind label %156

425:                                              ; preds = %417
  %426 = landingpad { ptr, i32 }
          cleanup
  br label %429

427:                                              ; preds = %418
  %428 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #12
  br label %429

429:                                              ; preds = %427, %425
  %.pn150 = phi { ptr, i32 } [ %428, %427 ], [ %426, %425 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #12
  br label %555

430:                                              ; preds = %422
  %431 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #12
  store i64 2352, ptr %19, align 8, !tbaa !9
  %432 = getelementptr inbounds i8, ptr %19, i64 8
  store i8 1, ptr %432, align 8, !tbaa !12
  %433 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.249)
  %434 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.250)
  %435 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.251)
  %436 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12insert_indexEjjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %437 unwind label %438

437:                                              ; preds = %430
  br i1 %436, label %440, label %.invoke243

438:                                              ; preds = %.invoke243, %523, %518, %501, %491, %473, %430
  %439 = landingpad { ptr, i32 }
          cleanup
  br label %553

440:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %21, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %441 unwind label %448

441:                                              ; preds = %440
  %442 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %21, i32 noundef 0)
          to label %443 unwind label %450

443:                                              ; preds = %441
  %444 = extractvalue { i64, i8 } %442, 0
  store i64 %444, ptr %20, align 8
  %445 = getelementptr inbounds i8, ptr %20, i64 8
  %446 = extractvalue { i64, i8 } %442, 1
  store i8 %446, ptr %445, align 8
  %447 = call noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #12
  br i1 %447, label %453, label %.invoke243

448:                                              ; preds = %440
  %449 = landingpad { ptr, i32 }
          cleanup
  br label %452

450:                                              ; preds = %441
  %451 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #12
  br label %452

452:                                              ; preds = %450, %448
  %.pn152 = phi { ptr, i32 } [ %451, %450 ], [ %449, %448 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #12
  br label %553

453:                                              ; preds = %443
  %454 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  store i64 2940, ptr %19, align 8, !tbaa !9
  %455 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.252)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %22, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %456 unwind label %466

456:                                              ; preds = %453
  invoke void @_ZN4FLAC8Metadata8CueSheet5Track9set_indexEjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %457 unwind label %468

457:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #12
  %458 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %22, i32 noundef 0)
          to label %459 unwind label %470

459:                                              ; preds = %457
  %460 = extractvalue { i64, i8 } %458, 0
  store i64 %460, ptr %23, align 8
  %461 = getelementptr inbounds i8, ptr %23, i64 8
  %462 = extractvalue { i64, i8 } %458, 1
  store i8 %462, ptr %461, align 8
  %463 = call noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #12
  br i1 %463, label %473, label %464

464:                                              ; preds = %459
  %465 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull @.str.138)
          to label %472 unwind label %468

466:                                              ; preds = %453
  %467 = landingpad { ptr, i32 }
          cleanup
  br label %485

468:                                              ; preds = %464, %456
  %469 = landingpad { ptr, i32 }
          cleanup
  br label %484

470:                                              ; preds = %457
  %471 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #12
  br label %484

472:                                              ; preds = %464
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #12
  br label %552

473:                                              ; preds = %459
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #12
  %474 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  store i64 3528, ptr %19, align 8, !tbaa !9
  %475 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.253)
  invoke void @_ZN4FLAC8Metadata8CueSheet9set_indexEjjRK35FLAC__StreamMetadata_CueSheet_Index(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %19)
          to label %476 unwind label %438

476:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #12
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %25, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %477 unwind label %486

477:                                              ; preds = %476
  %478 = invoke { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef 0)
          to label %479 unwind label %488

479:                                              ; preds = %477
  %480 = extractvalue { i64, i8 } %478, 0
  store i64 %480, ptr %24, align 8
  %481 = getelementptr inbounds i8, ptr %24, i64 8
  %482 = extractvalue { i64, i8 } %478, 1
  store i8 %482, ptr %481, align 8
  %483 = call noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #12
  br i1 %483, label %491, label %.invoke243

484:                                              ; preds = %470, %468
  %.pn154 = phi { ptr, i32 } [ %469, %468 ], [ %471, %470 ]
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #12
  br label %485

485:                                              ; preds = %484, %466
  %.pn154.pn = phi { ptr, i32 } [ %.pn154, %484 ], [ %467, %466 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #12
  br label %553

486:                                              ; preds = %476
  %487 = landingpad { ptr, i32 }
          cleanup
  br label %490

488:                                              ; preds = %477
  %489 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #12
  br label %490

490:                                              ; preds = %488, %486
  %.pn157 = phi { ptr, i32 } [ %489, %488 ], [ %487, %486 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #12
  br label %553

491:                                              ; preds = %479
  %492 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %493 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.254)
  %494 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12delete_indexEjj(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0, i32 noundef 0)
          to label %495 unwind label %438

495:                                              ; preds = %491
  br i1 %494, label %496, label %.invoke243

496:                                              ; preds = %495
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %26, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %497 unwind label %499

497:                                              ; preds = %496
  %498 = call noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16) %26)
  %.not159 = icmp eq i8 %498, 0
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #12
  br i1 %.not159, label %501, label %.invoke243

499:                                              ; preds = %496
  %500 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #12
  br label %553

501:                                              ; preds = %497
  %502 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %503 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.256)
  %504 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.248)
  %505 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet9set_trackEjRKNS1_5TrackE(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %506 unwind label %438

506:                                              ; preds = %501
  br i1 %505, label %507, label %.invoke243

507:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #12
  invoke void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind nonnull writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8 %27, ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %508 unwind label %513

508:                                              ; preds = %507
  %509 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %510 = call noundef ptr @_ZNK4FLAC8Metadata8CueSheet5Track9get_trackEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %511 = invoke noundef zeroext i1 @_ZL15track_is_equal_PK35FLAC__StreamMetadata_CueSheet_TrackS1_(ptr noundef %509, ptr noundef %510)
          to label %512 unwind label %515

512:                                              ; preds = %508
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #12
  br i1 %511, label %518, label %.invoke243

513:                                              ; preds = %507
  %514 = landingpad { ptr, i32 }
          cleanup
  br label %517

515:                                              ; preds = %508
  %516 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #12
  br label %517

517:                                              ; preds = %515, %513
  %.pn160 = phi { ptr, i32 } [ %516, %515 ], [ %514, %513 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #12
  br label %553

518:                                              ; preds = %512
  %519 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %520 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.257)
  %521 = invoke noundef zeroext i1 @_ZN4FLAC8Metadata8CueSheet12delete_trackEj(ptr noundef nonnull align 8 dereferenceable(17) %5, i32 noundef 0)
          to label %522 unwind label %438

522:                                              ; preds = %518
  br i1 %521, label %523, label %.invoke243

523:                                              ; preds = %522
  %524 = invoke noundef i32 @_ZNK4FLAC8Metadata8CueSheet14get_num_tracksEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %525 unwind label %438

525:                                              ; preds = %523
  %.not162 = icmp eq i32 %524, 1
  br i1 %.not162, label %528, label %.invoke243

.invoke243:                                       ; preds = %437, %525, %522, %512, %506, %497, %495, %479, %443
  %526 = phi ptr [ @.str.138, %443 ], [ @.str.138, %479 ], [ @.str.112, %495 ], [ @.str.255, %497 ], [ @.str.112, %506 ], [ @.str.138, %512 ], [ @.str.112, %522 ], [ @.str.258, %525 ], [ @.str.112, %437 ]
  %527 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %526)
          to label %552 unwind label %438

528:                                              ; preds = %525
  %529 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %530 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.43)
  %531 = invoke noundef ptr @_ZN4FLAC8Metadata5cloneEPKNS0_9PrototypeE(ptr noundef nonnull %5)
          to label %532 unwind label %534

532:                                              ; preds = %528
  %533 = icmp eq ptr %531, null
  br i1 %533, label %.invoke244, label %536

534:                                              ; preds = %.invoke244, %539, %528
  %535 = landingpad { ptr, i32 }
          cleanup
  br label %553

536:                                              ; preds = %532
  %537 = call ptr @__dynamic_cast(ptr nonnull %531, ptr nonnull @_ZTIN4FLAC8Metadata9PrototypeE, ptr nonnull @_ZTIN4FLAC8Metadata8CueSheetE, i64 0) #12
  %538 = icmp eq ptr %537, null
  br i1 %538, label %.invoke244, label %539

539:                                              ; preds = %536
  %540 = invoke noundef zeroext i1 @_ZNK4FLAC8Metadata8CueSheetneERKS1_(ptr noundef nonnull align 8 dereferenceable(17) %537, ptr noundef nonnull align 8 dereferenceable(17) %5)
          to label %541 unwind label %534

541:                                              ; preds = %539
  br i1 %540, label %.invoke244, label %544

.invoke244:                                       ; preds = %532, %541, %536
  %542 = phi ptr [ @.str.45, %536 ], [ @.str.46, %541 ], [ @.str.44, %532 ]
  %543 = invoke noundef zeroext i1 @_ZL4die_PKc(ptr noundef nonnull %542)
          to label %552 unwind label %534

544:                                              ; preds = %541
  %545 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %546 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.222)
  %547 = load ptr, ptr %531, align 8, !tbaa !13
  %548 = getelementptr inbounds i8, ptr %547, i64 16
  %549 = load ptr, ptr %548, align 8
  call void %549(ptr noundef nonnull align 8 dereferenceable(17) %531) #12
  %550 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %551 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.47)
  br label %552

552:                                              ; preds = %.invoke244, %.invoke243, %472, %544
  %.16 = phi i1 [ %465, %472 ], [ true, %544 ], [ %527, %.invoke243 ], [ %543, %.invoke244 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #12
  br label %554

553:                                              ; preds = %534, %517, %499, %490, %485, %452, %438
  %.pn163 = phi { ptr, i32 } [ %439, %438 ], [ %535, %534 ], [ %.pn160, %517 ], [ %500, %499 ], [ %.pn157, %490 ], [ %.pn154.pn, %485 ], [ %.pn152, %452 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #12
  br label %555

554:                                              ; preds = %.invoke232, %381, %.thread220, %.thread216, %.thread212, %.thread208, %.thread204, %.thread200, %.thread196, %.thread192, %.thread188, %.thread184, %552, %173
  %.17 = phi i1 [ false, %173 ], [ %.16, %552 ], [ %378, %381 ], [ %189, %.thread184 ], [ %207, %.thread188 ], [ %223, %.thread192 ], [ %239, %.thread196 ], [ %259, %.thread200 ], [ %277, %.thread204 ], [ %299, %.thread208 ], [ %315, %.thread212 ], [ %331, %.thread216 ], [ %347, %.thread220 ], [ %424, %.invoke232 ]
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  br label %557

555:                                              ; preds = %289, %306, %249, %268, %553, %429, %410, %379, %354, %338, %322, %288, %248, %230, %214, %198, %156
  %.pn165 = phi { ptr, i32 } [ %157, %156 ], [ %.pn163, %553 ], [ %.pn150, %429 ], [ %.pn148, %410 ], [ %380, %379 ], [ %.pn141, %354 ], [ %.pn139, %338 ], [ %.pn137, %322 ], [ %.pn132, %288 ], [ %.pn127, %248 ], [ %.pn125, %230 ], [ %.pn123, %214 ], [ %.pn121, %198 ], [ %.pn129, %268 ], [ %250, %249 ], [ %.pn134, %306 ], [ %290, %289 ]
  call void @_ZN4FLAC8Metadata8CueSheetD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #12
  br label %556

556:                                              ; preds = %555, %154
  %.pn165.pn = phi { ptr, i32 } [ %.pn165, %555 ], [ %155, %154 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  br label %558

557:                                              ; preds = %.invoke231, %554
  %.18 = phi i1 [ %.17, %554 ], [ %146, %.invoke231 ]
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #12
  br label %.thread

558:                                              ; preds = %556, %92
  %.pn168 = phi { ptr, i32 } [ %93, %92 ], [ %.pn165.pn, %556 ]
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #12
  br label %559

559:                                              ; preds = %558, %90
  %.pn168.pn = phi { ptr, i32 } [ %.pn168, %558 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #12
  br label %560

.thread:                                          ; preds = %41, %.thread180, %.thread175, %32, %557
  %.19 = phi i1 [ %.18, %557 ], [ %33, %32 ], [ %60, %.thread175 ], [ %80, %.thread180 ], [ %42, %41 ]
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #12
  ret i1 %.19

560:                                              ; preds = %43, %69, %559, %89, %34
  %.pn168.pn.pn = phi { ptr, i32 } [ %.pn168.pn, %559 ], [ %.pn109, %89 ], [ %35, %34 ], [ %44, %43 ], [ %.pn, %69 ]
  call void @_ZN4FLAC8Metadata8CueSheet5TrackD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %1) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #12
  resume { ptr, i32 } %.pn168.pn.pn
}

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

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

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1EPK35FLAC__StreamMetadata_CueSheet_Track(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

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

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

declare void @_ZN4FLAC8Metadata8CueSheet5TrackC1ERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track10get_numberEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4FLAC8Metadata8CueSheet5Track8get_typeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZNK4FLAC8Metadata8CueSheet5Track15get_num_indicesEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4FLAC8Metadata8CueSheet5Track10set_numberEh(ptr noundef nonnull align 8 dereferenceable(16), i8 noundef zeroext) local_unnamed_addr #2 align 2

declare void @_ZN4FLAC8Metadata8CueSheet5Track8set_isrcEPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @_ZL12safe_strncpyPcPKcm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

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

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

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

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

declare void @_ZNK4FLAC8Metadata8CueSheet9get_trackEj(ptr dead_on_unwind writable sret(%"class.FLAC::Metadata::CueSheet::Track") align 8, ptr noundef nonnull align 8 dereferenceable(17), i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZL15index_is_equal_RK35FLAC__StreamMetadata_CueSheet_IndexS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #10

declare { i64, i8 } @_ZNK4FLAC8Metadata8CueSheet5Track9get_indexEj(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #4

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

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

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

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

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

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

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 = { 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 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { 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 #11 = { nofree nounwind willreturn memory(argmem: read) }
attributes #12 = { nounwind }
attributes #13 = { 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 = !{!10, !11, i64 0}
!10 = !{!"_ZTS35FLAC__StreamMetadata_CueSheet_Index", !11, i64 0, !7, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !7, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}


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