#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */
typedef int /*<<< orphan*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/ *, char *);
void usage_summary(FILE *out) {
  fprintf(out, "Usage:\n");
  fprintf(out, "  metaflac [options] [operations] FLACfile [FLACfile ...]\n");
  fprintf(out, "\n");
  fprintf(out, "Use metaflac to list, add, remove, or edit metadata in one or "
               "more FLAC files.\n");
  fprintf(out, "You may perform one major operation, or many shorthand "
               "operations at a time.\n");
  fprintf(out, "\n");
  fprintf(out, "Options:\n");
  fprintf(out, "--preserve-modtime    Preserve the original modification time "
               "in spite of edits\n");
  fprintf(out, "--with-filename       Prefix each output line with the FLAC "
               "file name\n");
  fprintf(out, "                      (the default if more than one FLAC file "
               "is specified)\n");
  fprintf(out, "--no-filename         Do not prefix each output line with the "
               "FLAC file name\n");
  fprintf(out, "                      (the default if only one FLAC file is "
               "specified)\n");
  fprintf(out, "--no-utf8-convert     Do not convert tags from UTF-8 to local "
               "charset,\n");
  fprintf(out, "                      or vice versa.  This is useful for "
               "scripts, and setting\n");
  fprintf(
      out,
      "                      tags in situations where the locale is wrong.\n");
  fprintf(out, "--dont-use-padding    By default metaflac tries to use padding "
               "where possible\n");
  fprintf(out, "                      to avoid rewriting the entire file if "
               "the metadata size\n");
  fprintf(out, "                      changes.  Use this option to tell "
               "metaflac to not take\n");
  fprintf(out, "                      advantage of padding this way.\n");
}


x86 assembly (clang, -O0):
<usage_summary>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xed1(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1087(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xeec(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf2c(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1057(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf5a(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf54(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf95(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xfcc(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1009(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x1047(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x107f(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x10b7(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x10f6(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x112b(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x116a(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x11a9(%rip),%rsi
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0x11e7(%rip),%rsi
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_summary>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
mov    $0x7,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xec4(%rip),%rdi
mov    $0x3a,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
lea    0xed9(%rip),%rdi
mov    $0x4f,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf10(%rip),%rdi
mov    $0x4d,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
mov    $0xa,%edi
mov    %rbx,%rsi
call   1030 <fputc@plt>
lea    0xf38(%rip),%rdi
mov    $0x9,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf29(%rip),%rdi
mov    $0x50,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf61(%rip),%rdi
mov    $0x46,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf8f(%rip),%rdi
mov    $0x4c,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xfc3(%rip),%rdi
mov    $0x4d,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xff8(%rip),%rdi
mov    $0x47,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x1027(%rip),%rdi
mov    $0x47,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x1056(%rip),%rdi
mov    $0x4e,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x108c(%rip),%rdi
mov    $0x44,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x10b8(%rip),%rdi
mov    $0x4e,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x10ee(%rip),%rdi
mov    $0x4e,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x1124(%rip),%rdi
mov    $0x4d,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0x1159(%rip),%rdi
mov    $0x35,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
pop    %rbx
jmp    1040 <fwrite@plt>

LLVM IR (-O0):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [59 x i8] c" metaflac [options] [operations] FLACfile [FLACfile ...]\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [80 x i8] c"Use metaflac to list, add, remove, or edit metadata in one or more FLAC files.\0A\00"
@.str.4 = [78 x i8] c"You may perform one major operation, or many shorthand operations at a time.\0A\00"
@.str.5 = [10 x i8] c"Options:\0A\00"
@.str.6 = [81 x i8] c"--preserve-modtime Preserve the original modification time in spite of edits\0A\00"
@.str.7 = [71 x i8] c"--with-filename Prefix each output line with the FLAC file name\0A\00"
@.str.8 = [77 x i8] c" (the default if more than one FLAC file is specified)\0A\00"
@.str.9 = [78 x i8] c"--no-filename Do not prefix each output line with the FLAC file name\0A\00"
@.str.10 = [72 x i8] c" (the default if only one FLAC file is specified)\0A\00"
@.str.11 = [72 x i8] c"--no-utf8-convert Do not convert tags from UTF-8 to local charset,\0A\00"
@.str.12 = [79 x i8] c" or vice versa. This is useful for scripts, and setting\0A\00"
@.str.13 = [69 x i8] c" tags in situations where the locale is wrong.\0A\00"
@.str.14 = [79 x i8] c"--dont-use-padding By default metaflac tries to use padding where possible\0A\00"
@.str.15 = [79 x i8] c" to avoid rewriting the entire file if the metadata size\0A\00"
@.str.16 = [78 x i8] c" changes. Use this option to tell metaflac to not take\0A\00"
@.str.17 = [54 x i8] c" advantage of padding this way.\0A\00"
define void @usage_summary(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 @fprintf(i32* %3, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%5 = load i32*, i32** %2
%6 = call i32 @fprintf(i32* %5, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%7 = load i32*, i32** %2
%8 = call i32 @fprintf(i32* %7, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32*, i32** %2
%10 = call i32 @fprintf(i32* %9, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.3, i64 0, i64 0))
%11 = load i32*, i32** %2
%12 = call i32 @fprintf(i32* %11, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32*, i32** %2
%14 = call i32 @fprintf(i32* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%15 = load i32*, i32** %2
%16 = call i32 @fprintf(i32* %15, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0))
%17 = load i32*, i32** %2
%18 = call i32 @fprintf(i32* %17, i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.6, i64 0, i64 0))
%19 = load i32*, i32** %2
%20 = call i32 @fprintf(i32* %19, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.7, i64 0, i64 0))
%21 = load i32*, i32** %2
%22 = call i32 @fprintf(i32* %21, i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0))
%23 = load i32*, i32** %2
%24 = call i32 @fprintf(i32* %23, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.9, i64 0, i64 0))
%25 = load i32*, i32** %2
%26 = call i32 @fprintf(i32* %25, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.10, i64 0, i64 0))
%27 = load i32*, i32** %2
%28 = call i32 @fprintf(i32* %27, i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.11, i64 0, i64 0))
%29 = load i32*, i32** %2
%30 = call i32 @fprintf(i32* %29, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.12, i64 0, i64 0))
%31 = load i32*, i32** %2
%32 = call i32 @fprintf(i32* %31, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.13, i64 0, i64 0))
%33 = load i32*, i32** %2
%34 = call i32 @fprintf(i32* %33, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.14, i64 0, i64 0))
%35 = load i32*, i32** %2
%36 = call i32 @fprintf(i32* %35, i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.15, i64 0, i64 0))
%37 = load i32*, i32** %2
%38 = call i32 @fprintf(i32* %37, i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.16, i64 0, i64 0))
%39 = load i32*, i32** %2
%40 = call i32 @fprintf(i32* %39, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c"Usage:\0A\00"
@.str.1 = [59 x i8] c" metaflac [options] [operations] FLACfile [FLACfile ...]\0A\00"
@.str.3 = [80 x i8] c"Use metaflac to list, add, remove, or edit metadata in one or more FLAC files.\0A\00"
@.str.4 = [78 x i8] c"You may perform one major operation, or many shorthand operations at a time.\0A\00"
@.str.5 = [10 x i8] c"Options:\0A\00"
@.str.6 = [81 x i8] c"--preserve-modtime Preserve the original modification time in spite of edits\0A\00"
@.str.7 = [71 x i8] c"--with-filename Prefix each output line with the FLAC file name\0A\00"
@.str.8 = [77 x i8] c" (the default if more than one FLAC file is specified)\0A\00"
@.str.9 = [78 x i8] c"--no-filename Do not prefix each output line with the FLAC file name\0A\00"
@.str.10 = [72 x i8] c" (the default if only one FLAC file is specified)\0A\00"
@.str.11 = [72 x i8] c"--no-utf8-convert Do not convert tags from UTF-8 to local charset,\0A\00"
@.str.12 = [79 x i8] c" or vice versa. This is useful for scripts, and setting\0A\00"
@.str.13 = [69 x i8] c" tags in situations where the locale is wrong.\0A\00"
@.str.14 = [79 x i8] c"--dont-use-padding By default metaflac tries to use padding where possible\0A\00"
@.str.15 = [79 x i8] c" to avoid rewriting the entire file if the metadata size\0A\00"
@.str.16 = [78 x i8] c" changes. Use this option to tell metaflac to not take\0A\00"
@.str.17 = [54 x i8] c" advantage of padding this way.\0A\00"
define void @usage_summary(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i64 7, i64 1, i32* %0)
%3 = tail call i64 @fwrite(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0), i64 58, i64 1, i32* %0)
%4 = tail call i32 @fputc(i32 10, i32* %0)
%5 = tail call i64 @fwrite(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.3, i64 0, i64 0), i64 79, i64 1, i32* %0)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.4, i64 0, i64 0), i64 77, i64 1, i32* %0)
%7 = tail call i32 @fputc(i32 10, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i64 9, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.6, i64 0, i64 0), i64 80, i64 1, i32* %0)
%10 = tail call i64 @fwrite(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.7, i64 0, i64 0), i64 70, i64 1, i32* %0)
%11 = tail call i64 @fwrite(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.8, i64 0, i64 0), i64 76, i64 1, i32* %0)
%12 = tail call i64 @fwrite(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.9, i64 0, i64 0), i64 77, i64 1, i32* %0)
%13 = tail call i64 @fwrite(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.10, i64 0, i64 0), i64 71, i64 1, i32* %0)
%14 = tail call i64 @fwrite(i8* getelementptr inbounds ([72 x i8], [72 x i8]* @.str.11, i64 0, i64 0), i64 71, i64 1, i32* %0)
%15 = tail call i64 @fwrite(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.12, i64 0, i64 0), i64 78, i64 1, i32* %0)
%16 = tail call i64 @fwrite(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.13, i64 0, i64 0), i64 68, i64 1, i32* %0)
%17 = tail call i64 @fwrite(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.14, i64 0, i64 0), i64 78, i64 1, i32* %0)
%18 = tail call i64 @fwrite(i8* getelementptr inbounds ([79 x i8], [79 x i8]* @.str.15, i64 0, i64 0), i64 78, i64 1, i32* %0)
%19 = tail call i64 @fwrite(i8* getelementptr inbounds ([78 x i8], [78 x i8]* @.str.16, i64 0, i64 0), i64 77, i64 1, i32* %0)
%20 = tail call i64 @fwrite(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.17, i64 0, i64 0), i64 53, i64 1, i32* %0)
ret void
}