#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;
void cdcat_print_usage() {
  fprintf(stderr, "usage: cdcat <options> iso-image [path]\n");
  fprintf(stderr,
          "\n"
          "cdcat can be used to explore an ISO9660 filesystem image\n"
          "If path is not specified the root directory is listed, if it's a "
          "directory "
          "the directory is listed or if it's a file the file is printed to "
          "standard output\n"
          "The Rock Ridge extensions to the ISO9660 filesystem standard are "
          "supported\n"
          "Original program (c) 2007 Robert Nordier.\n"
          "\n"
          "Options:\n"
          "-help           -         This screen\n"
          "-mode2          -         The image has Mode 2 sectors (PlayStation "
          "dump)\n"
          "-replace        -         If [path] is specified, the data of the "
          "file is\n"
          "                          replaced with input from standard input\n"
          "-showoffset     -         Show file offset in image\n"
          "-version        -         Display version\n\n");
}


x86 assembly (clang, -O0):
<cdcat_print_usage>:
push   %rbp
mov    %rsp,%rbp
mov    0x2ec5(%rip),%rax
mov    (%rax),%edi
lea    0xedc(%rip),%rsi
call   1030 <fprintf@plt>
mov    0x2eb0(%rip),%rax
mov    (%rax),%edi
lea    0xef0(%rip),%rsi
call   1030 <fprintf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cdcat_print_usage>:
push   %rbx
mov    0x2ec8(%rip),%rbx
mov    (%rbx),%edi
lea    0xedf(%rip),%rsi
call   1030 <fprintf@plt>
mov    (%rbx),%edi
lea    0xefa(%rip),%rsi
pop    %rbx
jmp    1030 <fprintf@plt>

LLVM IR (-O0):
@stderr = global i32 0
@.str = [41 x i8] c"usage: cdcat <options> iso-image [path]\0A\00"
@.str.1 = [689 x i8] c"\0Acdcat can be used to explore an ISO9660 filesystem image\0AIf path is not specified the root directory is listed, if it's a directory the directory is listed or if it's a file the file is printed to standard output\0AThe Rock Ridge extensions to the ISO9660 filesystem standard are supported\0AOriginal program (c) 2007 Robert Nordier.\0A\0AOptions:\0A-help - This screen\0A-mode2 - The image has Mode 2 sectors (PlayStation dump)\0A-replace - If [path] is specified, the data of the file is\0A replaced with input from standard input\0A-showoffset - Show file offset in image\0A-version - Display version\0A\0A\00"
define void @cdcat_print_usage() {
%1 = load i32, i32* @stderr
%2 = call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([689 x i8], [689 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [41 x i8] c"usage: cdcat <options> iso-image [path]\0A\00"
@.str.1 = [689 x i8] c"\0Acdcat can be used to explore an ISO9660 filesystem image\0AIf path is not specified the root directory is listed, if it's a directory the directory is listed or if it's a file the file is printed to standard output\0AThe Rock Ridge extensions to the ISO9660 filesystem standard are supported\0AOriginal program (c) 2007 Robert Nordier.\0A\0AOptions:\0A-help - This screen\0A-mode2 - The image has Mode 2 sectors (PlayStation dump)\0A-replace - If [path] is specified, the data of the file is\0A replaced with input from standard input\0A-showoffset - Show file offset in image\0A-version - Display version\0A\0A\00"
define void @cdcat_print_usage() {
%1 = load i32, i32* @stderr
%2 = tail call i32 @fprintf(i32 %1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%3 = load i32, i32* @stderr
%4 = tail call i32 @fprintf(i32 %3, i8* getelementptr inbounds ([689 x i8], [689 x i8]* @.str.1, i64 0, i64 0))
ret void
}