#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 */

/* Variables and functions */
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ usage();
int usage_advanced(void) {
  fprintf(stderr, "*** %s %i-bits %s, by %s (%s) ***\n",
          "LZ4 command line interface", (int)(sizeof(void *) * 8), "r128",
          "Yann Collet", "Mar 18 2022");
  usage();
  fprintf(stderr, "\n");
  fprintf(stderr, "Advanced arguments :\n");
  fprintf(stderr, " -V     : display Version number and exit\n");
  fprintf(stderr, " -v     : verbose mode\n");
  fprintf(
      stderr,
      " -q     : suppress warnings; specify twice to suppress errors too\n");
  fprintf(
      stderr,
      " -c     : force write to standard output, even if it is the console\n");
  fprintf(stderr, " -t     : test compressed file integrity\n");
  fprintf(
      stderr,
      " -m     : multiple input files (implies automatic output filenames)\n");
  fprintf(
      stderr,
      " -l     : compress using Legacy format (Linux kernel compression)\n");
  fprintf(stderr, " -B#    : Block size [4-7](default : 7)\n");
  fprintf(stderr, " -BD    : Block dependency (improve compression ratio)\n");
  fprintf(stderr,
          "--no-frame-crc : disable stream checksum (default:enabled)\n");
  fprintf(stderr, "--content-size : compressed frame includes original size "
                  "(default:not present)\n");
  fprintf(stderr, "--[no-]sparse  : sparse mode (default:enabled on file, "
                  "disabled on stdout)\n");
  fprintf(stderr, "Benchmark arguments :\n");
  fprintf(stderr, " -b     : benchmark file(s)\n");
  fprintf(
      stderr,
      " -i#    : iteration loops [1-9](default : 3), benchmark mode only\n");
  ;
  return 0;
}


x86 assembly (clang, -O0):
<usage_advanced>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    0x2eb1(%rip),%rax
mov    (%rax),%edi
lea    0xec8(%rip),%rsi
lea    0xee4(%rip),%rdx
mov    $0x40,%ecx
lea    0xef3(%rip),%r8
lea    0xef1(%rip),%r9
lea    0xef6(%rip),%rax
mov    %rax,(%rsp)
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    $0x0,%al
call   1040 <usage@plt>
mov    0x2e6e(%rip),%rax
mov    (%rax),%edi
lea    0x109a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e57(%rip),%rax
mov    (%rax),%edi
lea    0xec9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e40(%rip),%rax
mov    (%rax),%edi
lea    0xec8(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e29(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e12(%rip),%rax
mov    (%rax),%edi
lea    0xedd(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dfb(%rip),%rax
mov    (%rax),%edi
lea    0xf09(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2de4(%rip),%rax
mov    (%rax),%edi
lea    0xf37(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2dcd(%rip),%rax
mov    (%rax),%edi
lea    0xf4a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2db6(%rip),%rax
mov    (%rax),%edi
lea    0xf78(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d9f(%rip),%rax
mov    (%rax),%edi
lea    0xfa4(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d88(%rip),%rax
mov    (%rax),%edi
lea    0xfb6(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d71(%rip),%rax
mov    (%rax),%edi
lea    0xfd7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d5a(%rip),%rax
mov    (%rax),%edi
lea    0xffc(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d43(%rip),%rax
mov    (%rax),%edi
lea    0x1035(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d2c(%rip),%rax
mov    (%rax),%edi
lea    0x106a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d15(%rip),%rax
mov    (%rax),%edi
lea    0x106a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cfe(%rip),%rax
mov    (%rax),%edi
lea    0x1070(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<usage_advanced>:
push   %rbx
sub    $0x10,%rsp
mov    0x2eb4(%rip),%rbx
mov    (%rbx),%edi
lea    0xf1a(%rip),%rax
mov    %rax,(%rsp)
lea    0xec0(%rip),%rsi
lea    0xedc(%rip),%rdx
lea    0xef0(%rip),%r8
lea    0xeee(%rip),%r9
mov    $0x40,%ecx
xor    %eax,%eax
call   1030 <fprintf@plt>
xor    %eax,%eax
call   1040 <usage@plt>
mov    (%rbx),%edi
lea    0x10a4(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xeda(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xee0(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefb(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf03(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf36(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf6b(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xf85(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfba(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xfed(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x1006(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x102e(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x105a(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x109a(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10d6(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10dd(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0x10ea(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [35 x i8] c"*** %s %i-bits %s, by %s (%s) ***\0A\00"
@.str.1 = [27 x i8] c"LZ4 command line interface\00"
@.str.2 = [5 x i8] c"r128\00"
@.str.3 = [12 x i8] c"Yann Collet\00"
@.str.4 = [12 x i8] c"Mar 18 2022\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [22 x i8] c"Advanced arguments :\0A\00"
@.str.7 = [43 x i8] c" -V : display Version number and exit\0A\00"
@.str.8 = [24 x i8] c" -v : verbose mode\0A\00"
@.str.9 = [67 x i8] c" -q : suppress warnings; specify twice to suppress errors too\0A\00"
@.str.10 = [69 x i8] c" -c : force write to standard output, even if it is the console\0A\00"
@.str.11 = [42 x i8] c" -t : test compressed file integrity\0A\00"
@.str.12 = [69 x i8] c" -m : multiple input files (implies automatic output filenames)\0A\00"
@.str.13 = [67 x i8] c" -l : compress using Legacy format (Linux kernel compression)\0A\00"
@.str.14 = [41 x i8] c" -B# : Block size [4-7](default : 7)\0A\00"
@.str.15 = [56 x i8] c" -BD : Block dependency (improve compression ratio)\0A\00"
@.str.16 = [60 x i8] c"--no-frame-crc : disable stream checksum (default:enabled)\0A\00"
@.str.17 = [80 x i8] c"--content-size : compressed frame includes original size (default:not present)\0A\00"
@.str.18 = [76 x i8] c"--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\0A\00"
@.str.19 = [23 x i8] c"Benchmark arguments :\0A\00"
@.str.20 = [29 x i8] c" -b : benchmark file(s)\0A\00"
@.str.21 = [67 x i8] c" -i# : iteration loops [1-9](default : 3), benchmark mode only\0A\00"
define i32 @usage_advanced() {
%1 = load i32, i32* @stderr
%2 = call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%3 = call i32 (...) @usage()
%4 = load i32, i32* @stderr
%5 = call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.10, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.13, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.15, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.16, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0))
%36 = load i32, i32* @stderr
%37 = call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.21, i64 0, i64 0))
ret i32 0
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [35 x i8] c"*** %s %i-bits %s, by %s (%s) ***\0A\00"
@.str.1 = [27 x i8] c"LZ4 command line interface\00"
@.str.2 = [5 x i8] c"r128\00"
@.str.3 = [12 x i8] c"Yann Collet\00"
@.str.4 = [12 x i8] c"Mar 18 2022\00"
@.str.5 = [2 x i8] c"\0A\00"
@.str.6 = [22 x i8] c"Advanced arguments :\0A\00"
@.str.7 = [43 x i8] c" -V : display Version number and exit\0A\00"
@.str.8 = [24 x i8] c" -v : verbose mode\0A\00"
@.str.9 = [67 x i8] c" -q : suppress warnings; specify twice to suppress errors too\0A\00"
@.str.10 = [69 x i8] c" -c : force write to standard output, even if it is the console\0A\00"
@.str.11 = [42 x i8] c" -t : test compressed file integrity\0A\00"
@.str.12 = [69 x i8] c" -m : multiple input files (implies automatic output filenames)\0A\00"
@.str.13 = [67 x i8] c" -l : compress using Legacy format (Linux kernel compression)\0A\00"
@.str.14 = [41 x i8] c" -B# : Block size [4-7](default : 7)\0A\00"
@.str.15 = [56 x i8] c" -BD : Block dependency (improve compression ratio)\0A\00"
@.str.16 = [60 x i8] c"--no-frame-crc : disable stream checksum (default:enabled)\0A\00"
@.str.17 = [80 x i8] c"--content-size : compressed frame includes original size (default:not present)\0A\00"
@.str.18 = [76 x i8] c"--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\0A\00"
@.str.19 = [23 x i8] c"Benchmark arguments :\0A\00"
@.str.20 = [29 x i8] c" -b : benchmark file(s)\0A\00"
@.str.21 = [67 x i8] c" -i# : iteration loops [1-9](default : 3), benchmark mode only\0A\00"
define i32 @usage_advanced() {
%1 = load i32, i32* @stderr
%2 = tail call i32 (i32, i8*, ...) @fprintf(i32 %1, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.1, i64 0, i64 0), i32 64, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.4, i64 0, i64 0))
%3 = tail call i32 (...) @usage()
%4 = load i32, i32* @stderr
%5 = tail call i32 (i32, i8*, ...) @fprintf(i32 %4, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%6 = load i32, i32* @stderr
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %6, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.6, i64 0, i64 0))
%8 = load i32, i32* @stderr
%9 = tail call i32 (i32, i8*, ...) @fprintf(i32 %8, i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.7, i64 0, i64 0))
%10 = load i32, i32* @stderr
%11 = tail call i32 (i32, i8*, ...) @fprintf(i32 %10, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.8, i64 0, i64 0))
%12 = load i32, i32* @stderr
%13 = tail call i32 (i32, i8*, ...) @fprintf(i32 %12, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.10, i64 0, i64 0))
%16 = load i32, i32* @stderr
%17 = tail call i32 (i32, i8*, ...) @fprintf(i32 %16, i8* getelementptr inbounds ([42 x i8], [42 x i8]* @.str.11, i64 0, i64 0))
%18 = load i32, i32* @stderr
%19 = tail call i32 (i32, i8*, ...) @fprintf(i32 %18, i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.12, i64 0, i64 0))
%20 = load i32, i32* @stderr
%21 = tail call i32 (i32, i8*, ...) @fprintf(i32 %20, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.13, i64 0, i64 0))
%22 = load i32, i32* @stderr
%23 = tail call i32 (i32, i8*, ...) @fprintf(i32 %22, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str.14, i64 0, i64 0))
%24 = load i32, i32* @stderr
%25 = tail call i32 (i32, i8*, ...) @fprintf(i32 %24, i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.15, i64 0, i64 0))
%26 = load i32, i32* @stderr
%27 = tail call i32 (i32, i8*, ...) @fprintf(i32 %26, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.16, i64 0, i64 0))
%28 = load i32, i32* @stderr
%29 = tail call i32 (i32, i8*, ...) @fprintf(i32 %28, i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.17, i64 0, i64 0))
%30 = load i32, i32* @stderr
%31 = tail call i32 (i32, i8*, ...) @fprintf(i32 %30, i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.18, i64 0, i64 0))
%32 = load i32, i32* @stderr
%33 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.19, i64 0, i64 0))
%34 = load i32, i32* @stderr
%35 = tail call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.20, i64 0, i64 0))
%36 = load i32, i32* @stderr
%37 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.21, i64 0, i64 0))
ret i32 0
}