#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 gzip_usage(FILE *stream) {
  fprintf(stream, "\t  -Xcompression-level <compression-level>\n");
  fprintf(stream,
          "\t\t<compression-level> should be 1 .. 9 (default "
          "%d)\n",
          9);
  fprintf(stream, "\t  -Xwindow-size <window-size>\n");
  fprintf(stream,
          "\t\t<window-size> should be 8 .. 15 (default "
          "%d)\n",
          15);
  fprintf(stream, "\t  -Xstrategy strategy1,strategy2,...,strategyN\n");
  fprintf(stream, "\t\tCompress using strategy1,strategy2,...,strategyN"
                  " in turn\n");
  fprintf(stream, "\t\tand choose the best compression.\n");
  fprintf(stream, "\t\tAvailable strategies: default, filtered, "
                  "huffman_only,\n\t\trun_length_encoded and fixed\n");
}


x86 assembly (clang, -O0):
<gzip_usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rdi
lea    0xed9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xef3(%rip),%rsi
mov    $0x9,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf11(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf1f(%rip),%rsi
mov    $0xf,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf38(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf57(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf81(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x8(%rbp),%rdi
lea    0xf93(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gzip_usage>:
push   %rbx
mov    %rdi,%rbx
lea    0xed5(%rip),%rdi
mov    $0x2b,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xee8(%rip),%rsi
mov    %rbx,%rdi
mov    $0x9,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf07(%rip),%rdi
mov    $0x1f,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf0e(%rip),%rsi
mov    %rbx,%rdi
mov    $0xf,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0xf28(%rip),%rdi
mov    $0x30,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf40(%rip),%rdi
mov    $0x3b,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf63(%rip),%rdi
mov    $0x23,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
call   1040 <fwrite@plt>
lea    0xf6e(%rip),%rdi
mov    $0x58,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
pop    %rbx
jmp    1040 <fwrite@plt>

LLVM IR (-O0):
@.str = [44 x i8] c"\09 -Xcompression-level <compression-level>\0A\00"
@.str.1 = [53 x i8] c"\09\09<compression-level> should be 1 .. 9 (default %d)\0A\00"
@.str.2 = [32 x i8] c"\09 -Xwindow-size <window-size>\0A\00"
@.str.3 = [48 x i8] c"\09\09<window-size> should be 8 .. 15 (default %d)\0A\00"
@.str.4 = [49 x i8] c"\09 -Xstrategy strategy1,strategy2,...,strategyN\0A\00"
@.str.5 = [60 x i8] c"\09\09Compress using strategy1,strategy2,...,strategyN in turn\0A\00"
@.str.6 = [36 x i8] c"\09\09and choose the best compression.\0A\00"
@.str.7 = [89 x i8] c"\09\09Available strategies: default, filtered, huffman_only,\0A\09\09run_length_encoded and fixed\0A\00"
define void @gzip_usage(i32* %0) {
%2 = alloca i32*
store i32* %0, i32** %2
%3 = load i32*, i32** %2
%4 = call i32 (i32*, i8*, ...) @fprintf(i32* %3, i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0))
%5 = load i32*, i32** %2
%6 = call i32 (i32*, i8*, ...) @fprintf(i32* %5, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i32 9)
%7 = load i32*, i32** %2
%8 = call i32 (i32*, i8*, ...) @fprintf(i32* %7, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0))
%9 = load i32*, i32** %2
%10 = call i32 (i32*, i8*, ...) @fprintf(i32* %9, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), i32 15)
%11 = load i32*, i32** %2
%12 = call i32 (i32*, i8*, ...) @fprintf(i32* %11, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0))
%13 = load i32*, i32** %2
%14 = call i32 (i32*, i8*, ...) @fprintf(i32* %13, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0))
%15 = load i32*, i32** %2
%16 = call i32 (i32*, i8*, ...) @fprintf(i32* %15, i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0))
%17 = load i32*, i32** %2
%18 = call i32 (i32*, i8*, ...) @fprintf(i32* %17, i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.7, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [44 x i8] c"\09 -Xcompression-level <compression-level>\0A\00"
@.str.1 = [53 x i8] c"\09\09<compression-level> should be 1 .. 9 (default %d)\0A\00"
@.str.2 = [32 x i8] c"\09 -Xwindow-size <window-size>\0A\00"
@.str.3 = [48 x i8] c"\09\09<window-size> should be 8 .. 15 (default %d)\0A\00"
@.str.4 = [49 x i8] c"\09 -Xstrategy strategy1,strategy2,...,strategyN\0A\00"
@.str.5 = [60 x i8] c"\09\09Compress using strategy1,strategy2,...,strategyN in turn\0A\00"
@.str.6 = [36 x i8] c"\09\09and choose the best compression.\0A\00"
@.str.7 = [89 x i8] c"\09\09Available strategies: default, filtered, huffman_only,\0A\09\09run_length_encoded and fixed\0A\00"
define void @gzip_usage(i32* nocapture %0) {
%2 = tail call i64 @fwrite(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str, i64 0, i64 0), i64 43, i64 1, i32* %0)
%3 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.1, i64 0, i64 0), i32 9)
%4 = tail call i64 @fwrite(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.2, i64 0, i64 0), i64 31, i64 1, i32* %0)
%5 = tail call i32 (i32*, i8*, ...) @fprintf(i32* %0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.3, i64 0, i64 0), i32 15)
%6 = tail call i64 @fwrite(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.4, i64 0, i64 0), i64 48, i64 1, i32* %0)
%7 = tail call i64 @fwrite(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.5, i64 0, i64 0), i64 59, i64 1, i32* %0)
%8 = tail call i64 @fwrite(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.6, i64 0, i64 0), i64 35, i64 1, i32* %0)
%9 = tail call i64 @fwrite(i8* getelementptr inbounds ([89 x i8], [89 x i8]* @.str.7, i64 0, i64 0), i64 88, i64 1, i32* %0)
ret void
}