#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*/ printf(char *, char *);
void Usage(char *appname) {
  printf(
      "Usage: %s [OPTION...]\n"
      "\n"
      "fpp is the Falcon Player CLI helper utility.  It can be used to query\n"
      "certain information and send commands to a running fppd daemon.\n"
      "\n"
      "Options:\n"
      "  -V                           - Print version information\n"
      "  -s                           - Get fppd status\n"
      "  -v VOLUME                    - Set volume to 'VOLUME'\n"
      "  -p PLAYLISTNAME              - Play Playlist PLAYLISTNAME in repeat "
      "mode\n"
      "  -P PLAYLISTNAME [STARTITEM]  - Play Playlist PLAYLISTNAME once, "
      "optionally\n"
      "                                 starting on item STARTITEM in the "
      "playlist\n"
      "  -c PLAYLIST_ACTION           - Perform a playlist action.  Actions "
      "include:\n"
      "                                 next     - skip to next item in the "
      "playlist\n"
      "                                 prev     - jump back to previous item\n"
      "                                 stop     - stop the playlist "
      "immediately\n"
      "                                 graceful - stop the playlist "
      "gracefully\n"
      "                                 pause    - pause a sequence (not "
      "media)\n"
      "                                 step     - single-step a paused "
      "sequence\n"
      "                                 stepback - step a paused sequence "
      "backwards\n"
      "  -S                           - Stop Playlist gracefully\n"
      "  -d                           - Stop Playlist immediately\n"
      "  -q                           - Shutdown fppd daemon\n"
      "  -R                           - Reload schedule config file\n"
      "  -w                           - Send Falcon hardware config out SPI "
      "port\n"
      "  -r                           - Write Bridge mode Bytes Received file\n"
      "  -e EFFECTNAME[,CH[,LOOP]]    - Start Effect EFFECTNAME with optional\n"
      "                                 start channel set to CH and optional\n"
      "                                 looping if LOOP is set to 1\n"
      "  -E EFFECTNAME                - Stop Effect EFFECTNAME\n"
      "  -t EVENTNAME                 - Trigger Event EVENTNAME\n"
      "\n",
      appname);
}


x86 assembly (clang, -O0):
<Usage>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    -0x8(%rbp),%rsi
lea    0xed9(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Usage>:
mov    %rdi,%rsi
lea    0xee6(%rip),%rdi
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [1851 x i8] c"Usage: %s [OPTION...]\0A\0Afpp is the Falcon Player CLI helper utility. It can be used to query\0Acertain information and send commands to a running fppd daemon.\0A\0AOptions:\0A -V - Print version information\0A -s - Get fppd status\0A -v VOLUME - Set volume to 'VOLUME'\0A -p PLAYLISTNAME - Play Playlist PLAYLISTNAME in repeat mode\0A -P PLAYLISTNAME [STARTITEM] - Play Playlist PLAYLISTNAME once, optionally\0A starting on item STARTITEM in the playlist\0A -c PLAYLIST_ACTION - Perform a playlist action. Actions include:\0A next - skip to next item in the playlist\0A prev - jump back to previous item\0A stop - stop the playlist immediately\0A graceful - stop the playlist gracefully\0A pause - pause a sequence (not media)\0A step - single-step a paused sequence\0A stepback - step a paused sequence backwards\0A -S - Stop Playlist gracefully\0A -d - Stop Playlist immediately\0A -q - Shutdown fppd daemon\0A -R - Reload schedule config file\0A -w - Send Falcon hardware config out SPI port\0A -r - Write Bridge mode Bytes Received file\0A -e EFFECTNAME[,CH[,LOOP]] - Start Effect EFFECTNAME with optional\0A start channel set to CH and optional\0A looping if LOOP is set to 1\0A -E EFFECTNAME - Stop Effect EFFECTNAME\0A -t EVENTNAME - Trigger Event EVENTNAME\0A\0A\00"
define void @Usage(i8* %0) {
%2 = alloca i8*
store i8* %0, i8** %2
%3 = load i8*, i8** %2
%4 = call i32 @printf(i8* getelementptr inbounds ([1851 x i8], [1851 x i8]* @.str, i64 0, i64 0), i8* %3)
ret void
}

LLVM IR (-O2):
@.str = [1851 x i8] c"Usage: %s [OPTION...]\0A\0Afpp is the Falcon Player CLI helper utility. It can be used to query\0Acertain information and send commands to a running fppd daemon.\0A\0AOptions:\0A -V - Print version information\0A -s - Get fppd status\0A -v VOLUME - Set volume to 'VOLUME'\0A -p PLAYLISTNAME - Play Playlist PLAYLISTNAME in repeat mode\0A -P PLAYLISTNAME [STARTITEM] - Play Playlist PLAYLISTNAME once, optionally\0A starting on item STARTITEM in the playlist\0A -c PLAYLIST_ACTION - Perform a playlist action. Actions include:\0A next - skip to next item in the playlist\0A prev - jump back to previous item\0A stop - stop the playlist immediately\0A graceful - stop the playlist gracefully\0A pause - pause a sequence (not media)\0A step - single-step a paused sequence\0A stepback - step a paused sequence backwards\0A -S - Stop Playlist gracefully\0A -d - Stop Playlist immediately\0A -q - Shutdown fppd daemon\0A -R - Reload schedule config file\0A -w - Send Falcon hardware config out SPI port\0A -r - Write Bridge mode Bytes Received file\0A -e EFFECTNAME[,CH[,LOOP]] - Start Effect EFFECTNAME with optional\0A start channel set to CH and optional\0A looping if LOOP is set to 1\0A -E EFFECTNAME - Stop Effect EFFECTNAME\0A -t EVENTNAME - Trigger Event EVENTNAME\0A\0A\00"
define void @Usage(i8* %0) {
%2 = tail call i32 @printf(i8* getelementptr inbounds ([1851 x i8], [1851 x i8]* @.str, i64 0, i64 0), i8* %0)
ret void
}