#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 *);
void issue_help_message(void) {
  printf("Usage: hdmi-info [OPTIONS]\n");
  printf("Query the state of the connected HDMI device.\n");
  printf("\n");
  printf("Mandatory arguments to long options are mandatory for short options "
         "too.\n");
  printf(
      "  -c, --cea861-modelist    Show the available CEA-861 display modes.\n");
  printf("  -C, --no-cea861-modelist Don't show the available CEA-861 display "
         "modes.\n");
  printf("  -d, --display=NUM        Specify the display device to use "
         "(default = 0).\n");
  printf("  -h, --help               Display this help, then exit.\n");
  printf("  -m, --modelist           Show the available display modes.\n");
  printf(
      "  -M, --no-modelist        Don't show the available display modes.\n");
  printf("  -n, --display-name       Show the display name.\n");
  printf("  -N, --no-display-name    Don't show the display name.\n");
  printf("  -q, --quiet              Don't show anything.\n");
  printf("  -s, --connection-status  Show the connection status.\n");
  printf("  -S, --no-connection-status\n"
         "                           Don't show the connection status.\n");
  printf("  -t, --display-type       Show the display type.\n");
  printf("  -T, --no-display-type    Don't show the display type.\n");
  printf("  -v, --verbose            Show all available information.\n");
  printf("  -w, --wait-for-connected=BOOL\n"
         "                           Block until HDMI device is connected or "
         "unplugged.\n"
         "                           Choose from: plugged, unplugged, true, "
         "false.\n");
  printf("\n");
}


x86 assembly (clang, -O0):
<issue_help_message>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef5(%rip),%rdi
call   1030 <printf@plt>
lea    0x103f(%rip),%rdi
call   1030 <printf@plt>
lea    0xf0c(%rip),%rdi
call   1030 <printf@plt>
lea    0xf4a(%rip),%rdi
call   1030 <printf@plt>
lea    0xf84(%rip),%rdi
call   1030 <printf@plt>
lea    0xfc4(%rip),%rdi
call   1030 <printf@plt>
lea    0x1005(%rip),%rdi
call   1030 <printf@plt>
lea    0x1033(%rip),%rdi
call   1030 <printf@plt>
lea    0x1065(%rip),%rdi
call   1030 <printf@plt>
lea    0x109d(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c4(%rip),%rdi
call   1030 <printf@plt>
lea    0x10f1(%rip),%rdi
call   1030 <printf@plt>
lea    0x1116(%rip),%rdi
call   1030 <printf@plt>
lea    0x1142(%rip),%rdi
call   1030 <printf@plt>
lea    0x1191(%rip),%rdi
call   1030 <printf@plt>
lea    0x11b8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11e5(%rip),%rdi
call   1030 <printf@plt>
lea    0x1215(%rip),%rdi
call   1030 <printf@plt>
lea    0xf73(%rip),%rdi
call   1030 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<issue_help_message>:
push   %rax
lea    0xed8(%rip),%rdi
call   1040 <puts@plt>
lea    0xee7(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xeff(%rip),%rdi
call   1040 <puts@plt>
lea    0xf3c(%rip),%rdi
call   1040 <puts@plt>
lea    0xf75(%rip),%rdi
call   1040 <puts@plt>
lea    0xfb4(%rip),%rdi
call   1040 <puts@plt>
lea    0xff4(%rip),%rdi
call   1040 <puts@plt>
lea    0x1021(%rip),%rdi
call   1040 <puts@plt>
lea    0x1052(%rip),%rdi
call   1040 <puts@plt>
lea    0x1089(%rip),%rdi
call   1040 <puts@plt>
lea    0x10af(%rip),%rdi
call   1040 <puts@plt>
lea    0x10db(%rip),%rdi
call   1040 <puts@plt>
lea    0x10ff(%rip),%rdi
call   1040 <puts@plt>
lea    0x112a(%rip),%rdi
call   1040 <puts@plt>
lea    0x1178(%rip),%rdi
call   1040 <puts@plt>
lea    0x119e(%rip),%rdi
call   1040 <puts@plt>
lea    0x11ca(%rip),%rdi
call   1040 <puts@plt>
lea    0x11f9(%rip),%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
pop    %rax
jmp    1030 <putchar@plt>

LLVM IR (-O0):
@.str = [28 x i8] c"Usage: hdmi-info [OPTIONS]\0A\00"
@.str.1 = [47 x i8] c"Query the state of the connected HDMI device.\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [74 x i8] c"Mandatory arguments to long options are mandatory for short options too.\0A\00"
@.str.4 = [70 x i8] c" -c, --cea861-modelist Show the available CEA-861 display modes.\0A\00"
@.str.5 = [76 x i8] c" -C, --no-cea861-modelist Don't show the available CEA-861 display modes.\0A\00"
@.str.6 = [77 x i8] c" -d, --display=NUM Specify the display device to use (default = 0).\0A\00"
@.str.7 = [58 x i8] c" -h, --help Display this help, then exit.\0A\00"
@.str.8 = [62 x i8] c" -m, --modelist Show the available display modes.\0A\00"
@.str.9 = [68 x i8] c" -M, --no-modelist Don't show the available display modes.\0A\00"
@.str.10 = [51 x i8] c" -n, --display-name Show the display name.\0A\00"
@.str.11 = [57 x i8] c" -N, --no-display-name Don't show the display name.\0A\00"
@.str.12 = [49 x i8] c" -q, --quiet Don't show anything.\0A\00"
@.str.13 = [56 x i8] c" -s, --connection-status Show the connection status.\0A\00"
@.str.14 = [91 x i8] c" -S, --no-connection-status\0A Don't show the connection status.\0A\00"
@.str.15 = [51 x i8] c" -t, --display-type Show the display type.\0A\00"
@.str.16 = [57 x i8] c" -T, --no-display-type Don't show the display type.\0A\00"
@.str.17 = [60 x i8] c" -v, --verbose Show all available information.\0A\00"
@.str.18 = [184 x i8] c" -w, --wait-for-connected=BOOL\0A Block until HDMI device is connected or unplugged.\0A Choose from: plugged, unplugged, true, false.\0A\00"
define void @issue_help_message() {
%1 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([74 x i8], [74 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([76 x i8], [76 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([77 x i8], [77 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([58 x i8], [58 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([91 x i8], [91 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([57 x i8], [57 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([184 x i8], [184 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@str = [27 x i8] c"Usage: hdmi-info [OPTIONS]\00"
@str.19 = [46 x i8] c"Query the state of the connected HDMI device.\00"
@str.20 = [73 x i8] c"Mandatory arguments to long options are mandatory for short options too.\00"
@str.21 = [69 x i8] c" -c, --cea861-modelist Show the available CEA-861 display modes.\00"
@str.22 = [75 x i8] c" -C, --no-cea861-modelist Don't show the available CEA-861 display modes.\00"
@str.23 = [76 x i8] c" -d, --display=NUM Specify the display device to use (default = 0).\00"
@str.24 = [57 x i8] c" -h, --help Display this help, then exit.\00"
@str.25 = [61 x i8] c" -m, --modelist Show the available display modes.\00"
@str.26 = [67 x i8] c" -M, --no-modelist Don't show the available display modes.\00"
@str.27 = [50 x i8] c" -n, --display-name Show the display name.\00"
@str.28 = [56 x i8] c" -N, --no-display-name Don't show the display name.\00"
@str.29 = [48 x i8] c" -q, --quiet Don't show anything.\00"
@str.30 = [55 x i8] c" -s, --connection-status Show the connection status.\00"
@str.31 = [90 x i8] c" -S, --no-connection-status\0A Don't show the connection status.\00"
@str.32 = [50 x i8] c" -t, --display-type Show the display type.\00"
@str.33 = [56 x i8] c" -T, --no-display-type Don't show the display type.\00"
@str.34 = [59 x i8] c" -v, --verbose Show all available information.\00"
@str.35 = [183 x i8] c" -w, --wait-for-connected=BOOL\0A Block until HDMI device is connected or unplugged.\0A Choose from: plugged, unplugged, true, false.\00"
define void @issue_help_message() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.19, i64 0, i64 0))
%3 = tail call i32 @putchar(i32 10)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([73 x i8], [73 x i8]* @str.20, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @str.21, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([75 x i8], [75 x i8]* @str.22, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([76 x i8], [76 x i8]* @str.23, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([57 x i8], [57 x i8]* @str.24, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([61 x i8], [61 x i8]* @str.25, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([67 x i8], [67 x i8]* @str.26, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.27, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.28, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([48 x i8], [48 x i8]* @str.29, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.30, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([90 x i8], [90 x i8]* @str.31, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.32, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @str.33, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @str.34, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([183 x i8], [183 x i8]* @str.35, i64 0, i64 0))
%20 = tail call i32 @putchar(i32 10)
ret void
}