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

; 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.anon = type { i32, i32, i32 }
%struct.anon.0 = type { ptr, i32 }
%struct.anon.1 = type { i32, ptr, i32 }
%struct.anon.2 = type { ptr, i32 }
%struct.anon.3 = type { i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [50 x i8], align 1
@SAMPLE_RATES = external hidden global [41 x %struct.anon], align 16
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@true_false_string_ = external hidden global [2 x ptr], align 16
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@VCENTRY_NAMES = external hidden global [9 x %struct.anon.0], align 16
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@VCENTRY_VALUES = external hidden global [26 x %struct.anon.1], align 16
@.str.7 = external hidden unnamed_addr constant [70 x i8], align 1
@VCENTRY_VALUES_NT = external hidden global [25 x %struct.anon.2], align 16
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@VCENTRIES = external hidden global [33 x %struct.anon.3], align 16
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @test_format() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  %4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %5

5:                                                ; preds = %51, %0
  %6 = load i32, ptr %2, align 4, !tbaa !5
  %7 = zext i32 %6 to i64
  %8 = icmp ult i64 %7, 41
  br i1 %8, label %9, label %54

9:                                                ; preds = %5
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = zext i32 %10 to i64
  %12 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %11
  %13 = getelementptr inbounds %struct.anon, ptr %12, i32 0, i32 0
  %14 = load i32, ptr %13, align 4, !tbaa !9
  %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %17
  %19 = getelementptr inbounds %struct.anon, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 4, !tbaa !9
  %21 = call i32 @FLAC__format_sample_rate_is_valid(i32 noundef %20)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %23
  %25 = getelementptr inbounds %struct.anon, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 4, !tbaa !11
  %27 = icmp ne i32 %21, %26
  br i1 %27, label %28, label %49

28:                                               ; preds = %9
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %30
  %32 = getelementptr inbounds %struct.anon, ptr %31, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %34
  %36 = load ptr, ptr %35, align 8, !tbaa !12
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %38
  %40 = getelementptr inbounds %struct.anon, ptr %39, i32 0, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !11
  %42 = icmp ne i32 %41, 0
  %43 = xor i1 %42, true
  %44 = zext i1 %43 to i32
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %45
  %47 = load ptr, ptr %46, align 8, !tbaa !12
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %36, ptr noundef %47)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

49:                                               ; preds = %9
  %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %51

51:                                               ; preds = %49
  %52 = load i32, ptr %2, align 4, !tbaa !5
  %53 = add i32 %52, 1
  store i32 %53, ptr %2, align 4, !tbaa !5
  br label %5, !llvm.loop !14

54:                                               ; preds = %5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %101, %54
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = zext i32 %56 to i64
  %58 = icmp ult i64 %57, 41
  br i1 %58, label %59, label %104

59:                                               ; preds = %55
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %61
  %63 = getelementptr inbounds %struct.anon, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 4, !tbaa !9
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %64)
  %66 = load i32, ptr %2, align 4, !tbaa !5
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %67
  %69 = getelementptr inbounds %struct.anon, ptr %68, i32 0, i32 0
  %70 = load i32, ptr %69, align 4, !tbaa !9
  %71 = call i32 @FLAC__format_sample_rate_is_subset(i32 noundef %70)
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %73
  %75 = getelementptr inbounds %struct.anon, ptr %74, i32 0, i32 2
  %76 = load i32, ptr %75, align 4, !tbaa !16
  %77 = icmp ne i32 %71, %76
  br i1 %77, label %78, label %99

78:                                               ; preds = %59
  %79 = load i32, ptr %2, align 4, !tbaa !5
  %80 = zext i32 %79 to i64
  %81 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %80
  %82 = getelementptr inbounds %struct.anon, ptr %81, i32 0, i32 2
  %83 = load i32, ptr %82, align 4, !tbaa !16
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !12
  %87 = load i32, ptr %2, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %88
  %90 = getelementptr inbounds %struct.anon, ptr %89, i32 0, i32 2
  %91 = load i32, ptr %90, align 4, !tbaa !16
  %92 = icmp ne i32 %91, 0
  %93 = xor i1 %92, true
  %94 = zext i1 %93 to i32
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !12
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %86, ptr noundef %97)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

99:                                               ; preds = %59
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %101

101:                                              ; preds = %99
  %102 = load i32, ptr %2, align 4, !tbaa !5
  %103 = add i32 %102, 1
  store i32 %103, ptr %2, align 4, !tbaa !5
  br label %55, !llvm.loop !17

104:                                              ; preds = %55
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %105

105:                                              ; preds = %151, %104
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = icmp ult i64 %107, 9
  br i1 %108, label %109, label %154

109:                                              ; preds = %105
  %110 = load i32, ptr %2, align 4, !tbaa !5
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds [9 x %struct.anon.0], ptr @VCENTRY_NAMES, i64 0, i64 %111
  %113 = getelementptr inbounds %struct.anon.0, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 16, !tbaa !18
  %115 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %114)
  %116 = load i32, ptr %2, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds [9 x %struct.anon.0], ptr @VCENTRY_NAMES, i64 0, i64 %117
  %119 = getelementptr inbounds %struct.anon.0, ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 16, !tbaa !18
  %121 = call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %120)
  %122 = load i32, ptr %2, align 4, !tbaa !5
  %123 = zext i32 %122 to i64
  %124 = getelementptr inbounds [9 x %struct.anon.0], ptr @VCENTRY_NAMES, i64 0, i64 %123
  %125 = getelementptr inbounds %struct.anon.0, ptr %124, i32 0, i32 1
  %126 = load i32, ptr %125, align 8, !tbaa !20
  %127 = icmp ne i32 %121, %126
  br i1 %127, label %128, label %149

128:                                              ; preds = %109
  %129 = load i32, ptr %2, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = getelementptr inbounds [9 x %struct.anon.0], ptr @VCENTRY_NAMES, i64 0, i64 %130
  %132 = getelementptr inbounds %struct.anon.0, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 8, !tbaa !20
  %134 = sext i32 %133 to i64
  %135 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %134
  %136 = load ptr, ptr %135, align 8, !tbaa !12
  %137 = load i32, ptr %2, align 4, !tbaa !5
  %138 = zext i32 %137 to i64
  %139 = getelementptr inbounds [9 x %struct.anon.0], ptr @VCENTRY_NAMES, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.anon.0, ptr %139, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !20
  %142 = icmp ne i32 %141, 0
  %143 = xor i1 %142, true
  %144 = zext i1 %143 to i32
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %145
  %147 = load ptr, ptr %146, align 8, !tbaa !12
  %148 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %136, ptr noundef %147)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

149:                                              ; preds = %109
  %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %151

151:                                              ; preds = %149
  %152 = load i32, ptr %2, align 4, !tbaa !5
  %153 = add i32 %152, 1
  store i32 %153, ptr %2, align 4, !tbaa !5
  br label %105, !llvm.loop !21

154:                                              ; preds = %105
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %155

155:                                              ; preds = %211, %154
  %156 = load i32, ptr %2, align 4, !tbaa !5
  %157 = zext i32 %156 to i64
  %158 = icmp ult i64 %157, 26
  br i1 %158, label %159, label %214

159:                                              ; preds = %155
  %160 = load i32, ptr %2, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %161
  %163 = getelementptr inbounds %struct.anon.1, ptr %162, i32 0, i32 1
  %164 = load ptr, ptr %163, align 8, !tbaa !22
  %165 = load i32, ptr %2, align 4, !tbaa !5
  %166 = zext i32 %165 to i64
  %167 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %166
  %168 = getelementptr inbounds %struct.anon.1, ptr %167, i32 0, i32 0
  %169 = load i32, ptr %168, align 8, !tbaa !24
  %170 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %164, i32 noundef %169)
  %171 = load i32, ptr %2, align 4, !tbaa !5
  %172 = zext i32 %171 to i64
  %173 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %172
  %174 = getelementptr inbounds %struct.anon.1, ptr %173, i32 0, i32 1
  %175 = load ptr, ptr %174, align 8, !tbaa !22
  %176 = load i32, ptr %2, align 4, !tbaa !5
  %177 = zext i32 %176 to i64
  %178 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %177
  %179 = getelementptr inbounds %struct.anon.1, ptr %178, i32 0, i32 0
  %180 = load i32, ptr %179, align 8, !tbaa !24
  %181 = call i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef %175, i32 noundef %180)
  %182 = load i32, ptr %2, align 4, !tbaa !5
  %183 = zext i32 %182 to i64
  %184 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %183
  %185 = getelementptr inbounds %struct.anon.1, ptr %184, i32 0, i32 2
  %186 = load i32, ptr %185, align 8, !tbaa !25
  %187 = icmp ne i32 %181, %186
  br i1 %187, label %188, label %209

188:                                              ; preds = %159
  %189 = load i32, ptr %2, align 4, !tbaa !5
  %190 = zext i32 %189 to i64
  %191 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %190
  %192 = getelementptr inbounds %struct.anon.1, ptr %191, i32 0, i32 2
  %193 = load i32, ptr %192, align 8, !tbaa !25
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %194
  %196 = load ptr, ptr %195, align 8, !tbaa !12
  %197 = load i32, ptr %2, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %198
  %200 = getelementptr inbounds %struct.anon.1, ptr %199, i32 0, i32 2
  %201 = load i32, ptr %200, align 8, !tbaa !25
  %202 = icmp ne i32 %201, 0
  %203 = xor i1 %202, true
  %204 = zext i1 %203 to i32
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %205
  %207 = load ptr, ptr %206, align 8, !tbaa !12
  %208 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %196, ptr noundef %207)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

209:                                              ; preds = %159
  %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %211

211:                                              ; preds = %209
  %212 = load i32, ptr %2, align 4, !tbaa !5
  %213 = add i32 %212, 1
  store i32 %213, ptr %2, align 4, !tbaa !5
  br label %155, !llvm.loop !26

214:                                              ; preds = %155
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %215

215:                                              ; preds = %261, %214
  %216 = load i32, ptr %2, align 4, !tbaa !5
  %217 = zext i32 %216 to i64
  %218 = icmp ult i64 %217, 25
  br i1 %218, label %219, label %264

219:                                              ; preds = %215
  %220 = load i32, ptr %2, align 4, !tbaa !5
  %221 = zext i32 %220 to i64
  %222 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %221
  %223 = getelementptr inbounds %struct.anon.2, ptr %222, i32 0, i32 0
  %224 = load ptr, ptr %223, align 16, !tbaa !18
  %225 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %224)
  %226 = load i32, ptr %2, align 4, !tbaa !5
  %227 = zext i32 %226 to i64
  %228 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %227
  %229 = getelementptr inbounds %struct.anon.2, ptr %228, i32 0, i32 0
  %230 = load ptr, ptr %229, align 16, !tbaa !18
  %231 = call i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef %230, i32 noundef -1)
  %232 = load i32, ptr %2, align 4, !tbaa !5
  %233 = zext i32 %232 to i64
  %234 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %233
  %235 = getelementptr inbounds %struct.anon.2, ptr %234, i32 0, i32 1
  %236 = load i32, ptr %235, align 8, !tbaa !20
  %237 = icmp ne i32 %231, %236
  br i1 %237, label %238, label %259

238:                                              ; preds = %219
  %239 = load i32, ptr %2, align 4, !tbaa !5
  %240 = zext i32 %239 to i64
  %241 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %240
  %242 = getelementptr inbounds %struct.anon.2, ptr %241, i32 0, i32 1
  %243 = load i32, ptr %242, align 8, !tbaa !20
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %244
  %246 = load ptr, ptr %245, align 8, !tbaa !12
  %247 = load i32, ptr %2, align 4, !tbaa !5
  %248 = zext i32 %247 to i64
  %249 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %248
  %250 = getelementptr inbounds %struct.anon.2, ptr %249, i32 0, i32 1
  %251 = load i32, ptr %250, align 8, !tbaa !20
  %252 = icmp ne i32 %251, 0
  %253 = xor i1 %252, true
  %254 = zext i1 %253 to i32
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %255
  %257 = load ptr, ptr %256, align 8, !tbaa !12
  %258 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %246, ptr noundef %257)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

259:                                              ; preds = %219
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %261

261:                                              ; preds = %259
  %262 = load i32, ptr %2, align 4, !tbaa !5
  %263 = add i32 %262, 1
  store i32 %263, ptr %2, align 4, !tbaa !5
  br label %215, !llvm.loop !27

264:                                              ; preds = %215
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %321, %264
  %266 = load i32, ptr %2, align 4, !tbaa !5
  %267 = zext i32 %266 to i64
  %268 = icmp ult i64 %267, 33
  br i1 %268, label %269, label %324

269:                                              ; preds = %265
  %270 = load i32, ptr %2, align 4, !tbaa !5
  %271 = zext i32 %270 to i64
  %272 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %271
  %273 = getelementptr inbounds %struct.anon.3, ptr %272, i32 0, i32 1
  %274 = load ptr, ptr %273, align 8, !tbaa !22
  %275 = load i32, ptr %2, align 4, !tbaa !5
  %276 = zext i32 %275 to i64
  %277 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %276
  %278 = getelementptr inbounds %struct.anon.3, ptr %277, i32 0, i32 0
  %279 = load i32, ptr %278, align 8, !tbaa !24
  %280 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %274, i32 noundef %279)
  %281 = load i32, ptr %2, align 4, !tbaa !5
  %282 = zext i32 %281 to i64
  %283 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %282
  %284 = getelementptr inbounds %struct.anon.3, ptr %283, i32 0, i32 1
  %285 = load ptr, ptr %284, align 8, !tbaa !22
  %286 = load i32, ptr %2, align 4, !tbaa !5
  %287 = zext i32 %286 to i64
  %288 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %287
  %289 = getelementptr inbounds %struct.anon.3, ptr %288, i32 0, i32 0
  %290 = load i32, ptr %289, align 8, !tbaa !24
  %291 = call i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef %285, i32 noundef %290)
  %292 = load i32, ptr %2, align 4, !tbaa !5
  %293 = zext i32 %292 to i64
  %294 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %293
  %295 = getelementptr inbounds %struct.anon.3, ptr %294, i32 0, i32 2
  %296 = load i32, ptr %295, align 8, !tbaa !25
  %297 = icmp ne i32 %291, %296
  br i1 %297, label %298, label %319

298:                                              ; preds = %269
  %299 = load i32, ptr %2, align 4, !tbaa !5
  %300 = zext i32 %299 to i64
  %301 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %300
  %302 = getelementptr inbounds %struct.anon.3, ptr %301, i32 0, i32 2
  %303 = load i32, ptr %302, align 8, !tbaa !25
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %304
  %306 = load ptr, ptr %305, align 8, !tbaa !12
  %307 = load i32, ptr %2, align 4, !tbaa !5
  %308 = zext i32 %307 to i64
  %309 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %308
  %310 = getelementptr inbounds %struct.anon.3, ptr %309, i32 0, i32 2
  %311 = load i32, ptr %310, align 8, !tbaa !25
  %312 = icmp ne i32 %311, 0
  %313 = xor i1 %312, true
  %314 = zext i1 %313 to i32
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !12
  %318 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %306, ptr noundef %317)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

319:                                              ; preds = %269
  %320 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  br label %321

321:                                              ; preds = %319
  %322 = load i32, ptr %2, align 4, !tbaa !5
  %323 = add i32 %322, 1
  store i32 %323, ptr %2, align 4, !tbaa !5
  br label %265, !llvm.loop !28

324:                                              ; preds = %265
  %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  store i32 1, ptr %1, align 4
  store i32 1, ptr %3, align 4
  br label %326

326:                                              ; preds = %324, %298, %238, %188, %128, %78, %28
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  %327 = load i32, ptr %1, align 4
  ret i32 %327
}

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

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

declare i32 @FLAC__format_sample_rate_is_valid(i32 noundef) #2

declare i32 @FLAC__format_sample_rate_is_subset(i32 noundef) #2

declare i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef) #2

declare i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef, i32 noundef) #2

declare i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef, i32 noundef) #2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"", !6, i64 0, !6, i64 4, !6, i64 8}
!11 = !{!10, !6, i64 4}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!10, !6, i64 8}
!17 = distinct !{!17, !15}
!18 = !{!19, !13, i64 0}
!19 = !{!"", !13, i64 0, !6, i64 8}
!20 = !{!19, !6, i64 8}
!21 = distinct !{!21, !15}
!22 = !{!23, !13, i64 8}
!23 = !{!"", !6, i64 0, !13, i64 8, !6, i64 16}
!24 = !{!23, !6, i64 0}
!25 = !{!23, !6, i64 16}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}
!28 = distinct !{!28, !15}


; 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.anon = type { i32, i32, i32 }
%struct.anon.0 = type { ptr, i32 }
%struct.anon.1 = type { i32, ptr, i32 }
%struct.anon.2 = type { ptr, i32 }
%struct.anon.3 = type { i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [33 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [50 x i8], align 1
@SAMPLE_RATES = external hidden local_unnamed_addr global [41 x %struct.anon], align 16
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@true_false_string_ = external hidden local_unnamed_addr global [2 x ptr], align 16
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [65 x i8], align 1
@VCENTRY_NAMES = external hidden local_unnamed_addr global [9 x %struct.anon.0], align 16
@.str.6 = external hidden unnamed_addr constant [70 x i8], align 1
@VCENTRY_VALUES = external hidden local_unnamed_addr global [26 x %struct.anon.1], align 16
@.str.7 = external hidden unnamed_addr constant [70 x i8], align 1
@VCENTRY_VALUES_NT = external hidden local_unnamed_addr global [25 x %struct.anon.2], align 16
@.str.8 = external hidden unnamed_addr constant [64 x i8], align 1
@VCENTRIES = external hidden local_unnamed_addr global [33 x %struct.anon.3], align 16
@.str.9 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @test_format() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %2

2:                                                ; preds = %0, %18
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %18 ]
  %3 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %indvars.iv
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i32 noundef %4)
  %6 = load i32, ptr %3, align 4, !tbaa !5
  %7 = tail call i32 @FLAC__format_sample_rate_is_valid(i32 noundef %6) #3
  %8 = getelementptr inbounds i8, ptr %3, i64 4
  %9 = load i32, ptr %8, align 4, !tbaa !10
  %.not69 = icmp eq i32 %7, %9
  br i1 %.not69, label %18, label %10

10:                                               ; preds = %2
  %11 = sext i32 %9 to i64
  %12 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %11
  %13 = load ptr, ptr %12, align 8, !tbaa !11
  %.not70 = icmp eq i32 %9, 0
  %14 = zext i1 %.not70 to i64
  %15 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %14
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %13, ptr noundef %16)
  br label %158

18:                                               ; preds = %2
  %19 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 41
  br i1 %exitcond.not, label %.preheader74, label %2, !llvm.loop !13

.preheader74:                                     ; preds = %18, %35
  %indvars.iv98 = phi i64 [ %indvars.iv.next99, %35 ], [ 0, %18 ]
  %20 = getelementptr inbounds [41 x %struct.anon], ptr @SAMPLE_RATES, i64 0, i64 %indvars.iv98
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %21)
  %23 = load i32, ptr %20, align 4, !tbaa !5
  %24 = tail call i32 @FLAC__format_sample_rate_is_subset(i32 noundef %23) #3
  %25 = getelementptr inbounds i8, ptr %20, i64 8
  %26 = load i32, ptr %25, align 4, !tbaa !15
  %.not67 = icmp eq i32 %24, %26
  br i1 %.not67, label %35, label %27

27:                                               ; preds = %.preheader74
  %28 = sext i32 %26 to i64
  %29 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %28
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %.not68 = icmp eq i32 %26, 0
  %31 = zext i1 %.not68 to i64
  %32 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %31
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %30, ptr noundef %33)
  br label %158

35:                                               ; preds = %.preheader74
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next99, 41
  br i1 %exitcond101.not, label %.preheader73.preheader, label %.preheader74, !llvm.loop !16

.preheader73.preheader:                           ; preds = %35
  %37 = load ptr, ptr @VCENTRY_NAMES, align 16, !tbaa !17
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %37)
  %39 = load ptr, ptr @VCENTRY_NAMES, align 16, !tbaa !17
  %40 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %39) #3
  %41 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 8), align 8, !tbaa !19
  %.not65 = icmp eq i32 %40, %41
  br i1 %.not65, label %.preheader73.1, label %42

42:                                               ; preds = %.preheader73.8, %.preheader73.7, %.preheader73.6, %.preheader73.5, %.preheader73.4, %.preheader73.3, %.preheader73.2, %.preheader73.1, %.preheader73.preheader
  %.lcssa91 = phi i32 [ %41, %.preheader73.preheader ], [ %55, %.preheader73.1 ], [ %61, %.preheader73.2 ], [ %67, %.preheader73.3 ], [ %73, %.preheader73.4 ], [ %79, %.preheader73.5 ], [ %85, %.preheader73.6 ], [ %91, %.preheader73.7 ], [ %97, %.preheader73.8 ]
  %43 = sext i32 %.lcssa91 to i64
  %44 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %43
  %45 = load ptr, ptr %44, align 8, !tbaa !11
  %.not66 = icmp eq i32 %.lcssa91, 0
  %46 = zext i1 %.not66 to i64
  %47 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %46
  %48 = load ptr, ptr %47, align 8, !tbaa !11
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %45, ptr noundef %48)
  br label %158

.preheader73.1:                                   ; preds = %.preheader73.preheader
  %50 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %51 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 16), align 16, !tbaa !17
  %52 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %51)
  %53 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 16), align 16, !tbaa !17
  %54 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %53) #3
  %55 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 24), align 8, !tbaa !19
  %.not65.1 = icmp eq i32 %54, %55
  br i1 %.not65.1, label %.preheader73.2, label %42

.preheader73.2:                                   ; preds = %.preheader73.1
  %56 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %57 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 32), align 16, !tbaa !17
  %58 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %57)
  %59 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 32), align 16, !tbaa !17
  %60 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %59) #3
  %61 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 40), align 8, !tbaa !19
  %.not65.2 = icmp eq i32 %60, %61
  br i1 %.not65.2, label %.preheader73.3, label %42

.preheader73.3:                                   ; preds = %.preheader73.2
  %62 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %63 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 48), align 16, !tbaa !17
  %64 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %63)
  %65 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 48), align 16, !tbaa !17
  %66 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %65) #3
  %67 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 56), align 8, !tbaa !19
  %.not65.3 = icmp eq i32 %66, %67
  br i1 %.not65.3, label %.preheader73.4, label %42

.preheader73.4:                                   ; preds = %.preheader73.3
  %68 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %69 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 64), align 16, !tbaa !17
  %70 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %69)
  %71 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 64), align 16, !tbaa !17
  %72 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %71) #3
  %73 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 72), align 8, !tbaa !19
  %.not65.4 = icmp eq i32 %72, %73
  br i1 %.not65.4, label %.preheader73.5, label %42

.preheader73.5:                                   ; preds = %.preheader73.4
  %74 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %75 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 80), align 16, !tbaa !17
  %76 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %75)
  %77 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 80), align 16, !tbaa !17
  %78 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %77) #3
  %79 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 88), align 8, !tbaa !19
  %.not65.5 = icmp eq i32 %78, %79
  br i1 %.not65.5, label %.preheader73.6, label %42

.preheader73.6:                                   ; preds = %.preheader73.5
  %80 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %81 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 96), align 16, !tbaa !17
  %82 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %81)
  %83 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 96), align 16, !tbaa !17
  %84 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %83) #3
  %85 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 104), align 8, !tbaa !19
  %.not65.6 = icmp eq i32 %84, %85
  br i1 %.not65.6, label %.preheader73.7, label %42

.preheader73.7:                                   ; preds = %.preheader73.6
  %86 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %87 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 112), align 16, !tbaa !17
  %88 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %87)
  %89 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 112), align 16, !tbaa !17
  %90 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %89) #3
  %91 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 120), align 8, !tbaa !19
  %.not65.7 = icmp eq i32 %90, %91
  br i1 %.not65.7, label %.preheader73.8, label %42

.preheader73.8:                                   ; preds = %.preheader73.7
  %92 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %93 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 128), align 16, !tbaa !17
  %94 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %93)
  %95 = load ptr, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 128), align 16, !tbaa !17
  %96 = tail call i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef %95) #3
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @VCENTRY_NAMES, i64 136), align 8, !tbaa !19
  %.not65.8 = icmp eq i32 %96, %97
  br i1 %.not65.8, label %.preheader72.preheader, label %42

.preheader72.preheader:                           ; preds = %.preheader73.8
  %98 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  br label %.preheader72

.preheader72:                                     ; preds = %.preheader72.preheader, %117
  %indvars.iv106 = phi i64 [ 0, %.preheader72.preheader ], [ %indvars.iv.next107, %117 ]
  %99 = getelementptr inbounds [26 x %struct.anon.1], ptr @VCENTRY_VALUES, i64 0, i64 %indvars.iv106
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load ptr, ptr %100, align 8, !tbaa !20
  %102 = load i32, ptr %99, align 8, !tbaa !22
  %103 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %101, i32 noundef %102)
  %104 = load ptr, ptr %100, align 8, !tbaa !20
  %105 = load i32, ptr %99, align 8, !tbaa !22
  %106 = tail call i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef %104, i32 noundef %105) #3
  %107 = getelementptr inbounds i8, ptr %99, i64 16
  %108 = load i32, ptr %107, align 8, !tbaa !23
  %.not63 = icmp eq i32 %106, %108
  br i1 %.not63, label %117, label %109

109:                                              ; preds = %.preheader72
  %110 = sext i32 %108 to i64
  %111 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !11
  %.not64 = icmp eq i32 %108, 0
  %113 = zext i1 %.not64 to i64
  %114 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !11
  %116 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %112, ptr noundef %115)
  br label %158

117:                                              ; preds = %.preheader72
  %118 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %exitcond109.not = icmp eq i64 %indvars.iv.next107, 26
  br i1 %exitcond109.not, label %.preheader71, label %.preheader72, !llvm.loop !24

.preheader71:                                     ; preds = %117, %134
  %indvars.iv110 = phi i64 [ %indvars.iv.next111, %134 ], [ 0, %117 ]
  %119 = getelementptr inbounds [25 x %struct.anon.2], ptr @VCENTRY_VALUES_NT, i64 0, i64 %indvars.iv110
  %120 = load ptr, ptr %119, align 16, !tbaa !17
  %121 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7, ptr noundef %120)
  %122 = load ptr, ptr %119, align 16, !tbaa !17
  %123 = tail call i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef %122, i32 noundef -1) #3
  %124 = getelementptr inbounds i8, ptr %119, i64 8
  %125 = load i32, ptr %124, align 8, !tbaa !19
  %.not61 = icmp eq i32 %123, %125
  br i1 %.not61, label %134, label %126

126:                                              ; preds = %.preheader71
  %127 = sext i32 %125 to i64
  %128 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !11
  %.not62 = icmp eq i32 %125, 0
  %130 = zext i1 %.not62 to i64
  %131 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %130
  %132 = load ptr, ptr %131, align 8, !tbaa !11
  %133 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %129, ptr noundef %132)
  br label %158

134:                                              ; preds = %.preheader71
  %135 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %indvars.iv.next111 = add nuw nsw i64 %indvars.iv110, 1
  %exitcond113.not = icmp eq i64 %indvars.iv.next111, 25
  br i1 %exitcond113.not, label %.preheader, label %.preheader71, !llvm.loop !25

.preheader:                                       ; preds = %134, %154
  %indvars.iv114 = phi i64 [ %indvars.iv.next115, %154 ], [ 0, %134 ]
  %136 = getelementptr inbounds [33 x %struct.anon.3], ptr @VCENTRIES, i64 0, i64 %indvars.iv114
  %137 = getelementptr inbounds i8, ptr %136, i64 8
  %138 = load ptr, ptr %137, align 8, !tbaa !20
  %139 = load i32, ptr %136, align 8, !tbaa !22
  %140 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, ptr noundef %138, i32 noundef %139)
  %141 = load ptr, ptr %137, align 8, !tbaa !20
  %142 = load i32, ptr %136, align 8, !tbaa !22
  %143 = tail call i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef %141, i32 noundef %142) #3
  %144 = getelementptr inbounds i8, ptr %136, i64 16
  %145 = load i32, ptr %144, align 8, !tbaa !23
  %.not = icmp eq i32 %143, %145
  br i1 %.not, label %154, label %146

146:                                              ; preds = %.preheader
  %147 = sext i32 %145 to i64
  %148 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %147
  %149 = load ptr, ptr %148, align 8, !tbaa !11
  %.not60 = icmp eq i32 %145, 0
  %150 = zext i1 %.not60 to i64
  %151 = getelementptr inbounds [2 x ptr], ptr @true_false_string_, i64 0, i64 %150
  %152 = load ptr, ptr %151, align 8, !tbaa !11
  %153 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %149, ptr noundef %152)
  br label %158

154:                                              ; preds = %.preheader
  %155 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %indvars.iv.next115 = add nuw nsw i64 %indvars.iv114, 1
  %exitcond117.not = icmp eq i64 %indvars.iv.next115, 33
  br i1 %exitcond117.not, label %156, label %.preheader, !llvm.loop !26

156:                                              ; preds = %154
  %157 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  br label %158

158:                                              ; preds = %156, %146, %126, %109, %42, %27, %10
  %.047 = phi i32 [ 0, %10 ], [ 0, %27 ], [ 0, %42 ], [ 0, %109 ], [ 0, %126 ], [ 0, %146 ], [ 1, %156 ]
  ret i32 %.047
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

declare i32 @FLAC__format_sample_rate_is_valid(i32 noundef) local_unnamed_addr #2

declare i32 @FLAC__format_sample_rate_is_subset(i32 noundef) local_unnamed_addr #2

declare i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr noundef) local_unnamed_addr #2

declare i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { 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 #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 = { "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 = { 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, !7, i64 0}
!6 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!6, !7, i64 8}
!16 = distinct !{!16, !14}
!17 = !{!18, !12, i64 0}
!18 = !{!"", !12, i64 0, !7, i64 8}
!19 = !{!18, !7, i64 8}
!20 = !{!21, !12, i64 8}
!21 = !{!"", !7, i64 0, !12, i64 8, !7, i64 16}
!22 = !{!21, !7, i64 0}
!23 = !{!21, !7, i64 16}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass