#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*/ nv_msg(char *, char *);
void print_query_help(void) {
  nv_msg("      ", "The QUERY argument to the '--query' commandline option "
                   "is of the form:");
  nv_msg(NULL, "");
  nv_msg("      "
         "  ",
         "{DISPLAY}/{attribute name}[{display devices}]");
  nv_msg(NULL, "");
  nv_msg("      ",
         "This queries the current value of the attribute "
         "{attribute name} on the X Display {DISPLAY}.  The format is "
         "the same as that for the '--assign' option, without "
         "'={value}'.  Specify '-q screens', '-q gpus', or '-q framelocks' "
         "to query a list of X screens, GPUs, or Frame Lock devices, "
         "respectively, that are present on the X Display {DISPLAY}.  "
         "Specify '-q all' to query all attributes.");
}


x86 assembly (clang, -O0):
<print_query_help>:
push   %rbp
mov    %rsp,%rbp
lea    0xf2e(%rip),%rdi
lea    0xede(%rip),%rsi
call   1030 <nv_msg@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xf1d(%rip),%rsi
call   1030 <nv_msg@plt>
lea    0xf09(%rip),%rdi
lea    0xf0b(%rip),%rsi
call   1030 <nv_msg@plt>
xor    %eax,%eax
mov    %eax,%edi
lea    0xefa(%rip),%rsi
call   1030 <nv_msg@plt>
lea    0xee8(%rip),%rdi
lea    0xf16(%rip),%rsi
call   1030 <nv_msg@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_query_help>:
push   %r14
push   %rbx
push   %rax
lea    0xf2e(%rip),%r14
lea    0xede(%rip),%rsi
mov    %r14,%rdi
call   1030 <nv_msg@plt>
lea    0xf1e(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <nv_msg@plt>
lea    0xf05(%rip),%rdi
lea    0xf07(%rip),%rsi
call   1030 <nv_msg@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <nv_msg@plt>
lea    0xf1f(%rip),%rsi
mov    %r14,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <nv_msg@plt>

LLVM IR (-O0):
@.str = [7 x i8] c" \00"
@.str.1 = [71 x i8] c"The QUERY argument to the '--query' commandline option is of the form:\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [9 x i8] c" \00"
@.str.4 = [46 x i8] c"{DISPLAY}/{attribute name}[{display devices}]\00"
@.str.5 = [386 x i8] c"This queries the current value of the attribute {attribute name} on the X Display {DISPLAY}. The format is the same as that for the '--assign' option, without '={value}'. Specify '-q screens', '-q gpus', or '-q framelocks' to query a list of X screens, GPUs, or Frame Lock devices, respectively, that are present on the X Display {DISPLAY}. Specify '-q all' to query all attributes.\00"
define void @print_query_help() {
%1 = call i32 @nv_msg(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%2 = call i32 @nv_msg(i8* null, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%3 = call i32 @nv_msg(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%4 = call i32 @nv_msg(i8* null, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @nv_msg(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([386 x i8], [386 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c" \00"
@.str.1 = [71 x i8] c"The QUERY argument to the '--query' commandline option is of the form:\00"
@.str.2 = [1 x i8] zeroinitializer
@.str.3 = [9 x i8] c" \00"
@.str.4 = [46 x i8] c"{DISPLAY}/{attribute name}[{display devices}]\00"
@.str.5 = [386 x i8] c"This queries the current value of the attribute {attribute name} on the X Display {DISPLAY}. The format is the same as that for the '--assign' option, without '={value}'. Specify '-q screens', '-q gpus', or '-q framelocks' to query a list of X screens, GPUs, or Frame Lock devices, respectively, that are present on the X Display {DISPLAY}. Specify '-q all' to query all attributes.\00"
define void @print_query_help() {
%1 = tail call i32 @nv_msg(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%2 = tail call i32 @nv_msg(i8* null, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%3 = tail call i32 @nv_msg(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.4, i64 0, i64 0))
%4 = tail call i32 @nv_msg(i8* null, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @nv_msg(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([386 x i8], [386 x i8]* @.str.5, i64 0, i64 0))
ret void
}