#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*/ display_usage();
int /*<<< orphan*/ exit(int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
void display_help(void) {
  display_usage();
  printf(
      "Options:\n\n"
      "    -f  Set fullscreen wallpaper.\n"
      "    -c  Set centered wallpaper.\n"
      "    -t  Set tiled wallpaper.\n"
      "    -a  Set maximized wallpaper, preserving aspect.\n"
      "        (if your bgsetter doesn't support this option\n"
      "          fall back to fullscreen)\n"
      "    -b  Forward the options to bsetroot.\n"
      "    -r  Set random wallpaper from a directory.\n"
      "    -o  Set first wallpaper to be rotated. (Use -l to rotate)\n\n"
      "    -F,-C,-T,-A,-B,-R  Same as uncapsed but without remembering.\n\n");
  printf("        -h  Display this help.\n\n"
         "    -l  Repeat previous command.\n\n"
         "    -i  Information about selected wallpapersetter.\n"
         "    -s  Information about all wallpapersetters on this system.\n"
         "    -p  Tips.\n\n"
         "Files:\n\n"
         "    ~/.lastwallpaper     In this file the wallpaper you set\n"
         "                         will be stored,"
         " for the -l option:\n\n");
  printf("Environment variables:\n\n"
         "    DISPLAY     The display you want to set the"
         " wallpaper on. For example:\n\n"
         "                  DISPLAY=:0.0 fbsetbg -l\n\n");
  exit(0);
}


x86 assembly (clang, -O0):
<display_help>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <display_usage@plt>
lea    0xebe(%rip),%rdi
call   1030 <printf@plt>
lea    0x1082(%rip),%rdi
call   1030 <printf@plt>
lea    0x11bc(%rip),%rdi
call   1030 <printf@plt>
xor    %edi,%edi
call   1050 <exit@plt>

x86 assembly (clang, -O2):
<display_help>:
push   %rax
xor    %eax,%eax
call   1040 <display_usage@plt>
lea    0xec1(%rip),%rdi
call   1030 <puts@plt>
lea    0x1084(%rip),%rdi
call   1030 <puts@plt>
lea    0x11bd(%rip),%rdi
call   1030 <puts@plt>
xor    %edi,%edi
call   1050 <exit@plt>

LLVM IR (-O0):
@.str = [464 x i8] c"Options:\0A\0A -f Set fullscreen wallpaper.\0A -c Set centered wallpaper.\0A -t Set tiled wallpaper.\0A -a Set maximized wallpaper, preserving aspect.\0A (if your bgsetter doesn't support this option\0A fall back to fullscreen)\0A -b Forward the options to bsetroot.\0A -r Set random wallpaper from a directory.\0A -o Set first wallpaper to be rotated. (Use -l to rotate)\0A\0A -F,-C,-T,-A,-B,-R Same as uncapsed but without remembering.\0A\0A\00"
@.str.1 = [326 x i8] c" -h Display this help.\0A\0A -l Repeat previous command.\0A\0A -i Information about selected wallpapersetter.\0A -s Information about all wallpapersetters on this system.\0A -p Tips.\0A\0AFiles:\0A\0A ~/.lastwallpaper In this file the wallpaper you set\0A will be stored, for the -l option:\0A\0A\00"
@.str.2 = [144 x i8] c"Environment variables:\0A\0A DISPLAY The display you want to set the wallpaper on. For example:\0A\0A DISPLAY=:0.0 fbsetbg -l\0A\0A\00"
define void @display_help() {
%1 = call i32 (...) @display_usage()
%2 = call i32 @printf(i8* getelementptr inbounds ([464 x i8], [464 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([326 x i8], [326 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([144 x i8], [144 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @exit(i32 0)
unreachable
}

LLVM IR (-O2):
@str = [463 x i8] c"Options:\0A\0A -f Set fullscreen wallpaper.\0A -c Set centered wallpaper.\0A -t Set tiled wallpaper.\0A -a Set maximized wallpaper, preserving aspect.\0A (if your bgsetter doesn't support this option\0A fall back to fullscreen)\0A -b Forward the options to bsetroot.\0A -r Set random wallpaper from a directory.\0A -o Set first wallpaper to be rotated. (Use -l to rotate)\0A\0A -F,-C,-T,-A,-B,-R Same as uncapsed but without remembering.\0A\00"
@str.3 = [325 x i8] c" -h Display this help.\0A\0A -l Repeat previous command.\0A\0A -i Information about selected wallpapersetter.\0A -s Information about all wallpapersetters on this system.\0A -p Tips.\0A\0AFiles:\0A\0A ~/.lastwallpaper In this file the wallpaper you set\0A will be stored, for the -l option:\0A\00"
@str.4 = [143 x i8] c"Environment variables:\0A\0A DISPLAY The display you want to set the wallpaper on. For example:\0A\0A DISPLAY=:0.0 fbsetbg -l\0A\00"
define void @display_help() {
%1 = tail call i32 (...) @display_usage()
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([463 x i8], [463 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([325 x i8], [325 x i8]* @str.3, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([143 x i8], [143 x i8]* @str.4, i64 0, i64 0))
%5 = tail call i32 @exit(i32 0)
unreachable
}