#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*/ deb_printf(int /*<<< orphan*/, char *);
void print_gui_help() {
  deb_printf(0, "\nwindow controls:\n\n");
  deb_printf(0, "RightButton drag: adjust brightness (left-right) / contrast "
                "(up-down)\n");
  deb_printf(0, "\n");
  deb_printf(
      0,
      "Arrows: pan frame                   Ins / CenterButton: pan center\n");
  deb_printf(0, "PgUp / PgDn: zoom in/out            Home: Zoom all\n");
  deb_printf(0, "\n");
  deb_printf(
      0,
      "1-9: adjust contrast (1=highest)    0: auto contrast / brightness \n");
  deb_printf(0, "b: brighter                         d: darker\n");
  deb_printf(0, "g: cycle through gamma settings     v: inVert display\n");
  deb_printf(0, "\n");
  deb_printf(
      0,
      "LeftButton: select point            LeftButton drag: select region\n");
  deb_printf(0,
             "c: toggle point crosshair display   r: toggle region display\n");
  deb_printf(0, "\n");
  deb_printf(0, "i: toggle info display              l: show line/col stats\n");
  deb_printf(0, "o: select reference star            p: select star\n");
  deb_printf(0, "space: redraw                       h/F1: show help\n");
  deb_printf(0, "\n");
  deb_printf(0, "Environment vars used by cx:\n");
  deb_printf(0, "CX_EDB_DIR location of edb catalogs (default: "
                "/usr/local/xephem/catalogs)\n");
  deb_printf(
      0,
      "CX_HOME location of cpxcon.mcs and track.badpix files (default: .)\n");
  deb_printf(0, "\n");
  deb_printf(0, "\n");
}


x86 assembly (clang, -O0):
<print_gui_help>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
lea    0xee3(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xee9(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xed9(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xf14(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xf4a(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xeaf(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xf62(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xf98(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xfb9(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xe77(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xfd4(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x100a(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xe4d(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x102c(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x105a(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x1080(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xe15(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x1099(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x10a9(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0x10e6(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xddd(%rip),%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
lea    0xdcf(%rip),%rsi
call   1030 <deb_printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_gui_help>:
push   %rbx
lea    0xee8(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0xeee(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0xede(%rip),%rbx
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
lea    0xf16(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0xf4c(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
lea    0xf68(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0xf9e(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0xfbf(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
lea    0xfde(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0x1014(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
lea    0x103a(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0x1068(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0x108e(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
lea    0x10ab(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0x10bb(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
lea    0x10f8(%rip),%rsi
xor    %edi,%edi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
call   1030 <deb_printf@plt>
xor    %edi,%edi
mov    %rbx,%rsi
pop    %rbx
jmp    1030 <deb_printf@plt>

LLVM IR (-O0):
@.str = [20 x i8] c"\0Awindow controls:\0A\0A\00"
@.str.1 = [71 x i8] c"RightButton drag: adjust brightness (left-right) / contrast (up-down)\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [68 x i8] c"Arrows: pan frame Ins / CenterButton: pan center\0A\00"
@.str.4 = [52 x i8] c"PgUp / PgDn: zoom in/out Home: Zoom all\0A\00"
@.str.5 = [68 x i8] c"1-9: adjust contrast (1=highest) 0: auto contrast / brightness \0A\00"
@.str.6 = [47 x i8] c"b: brighter d: darker\0A\00"
@.str.7 = [55 x i8] c"g: cycle through gamma settings v: inVert display\0A\00"
@.str.8 = [68 x i8] c"LeftButton: select point LeftButton drag: select region\0A\00"
@.str.9 = [62 x i8] c"c: toggle point crosshair display r: toggle region display\0A\00"
@.str.10 = [60 x i8] c"i: toggle info display l: show line/col stats\0A\00"
@.str.11 = [52 x i8] c"o: select reference star p: select star\0A\00"
@.str.12 = [53 x i8] c"space: redraw h/F1: show help\0A\00"
@.str.13 = [30 x i8] c"Environment vars used by cx:\0A\00"
@.str.14 = [75 x i8] c"CX_EDB_DIR location of edb catalogs (default: /usr/local/xephem/catalogs)\0A\00"
@.str.15 = [68 x i8] c"CX_HOME location of cpxcon.mcs and track.badpix files (default: .)\0A\00"
define void @print_gui_help() {
%1 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%9 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%10 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%11 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%12 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%13 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%15 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
%16 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%17 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%18 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%19 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.14, i64 0, i64 0))
%20 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.15, i64 0, i64 0))
%21 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%22 = call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [20 x i8] c"\0Awindow controls:\0A\0A\00"
@.str.1 = [71 x i8] c"RightButton drag: adjust brightness (left-right) / contrast (up-down)\0A\00"
@.str.2 = [2 x i8] c"\0A\00"
@.str.3 = [68 x i8] c"Arrows: pan frame Ins / CenterButton: pan center\0A\00"
@.str.4 = [52 x i8] c"PgUp / PgDn: zoom in/out Home: Zoom all\0A\00"
@.str.5 = [68 x i8] c"1-9: adjust contrast (1=highest) 0: auto contrast / brightness \0A\00"
@.str.6 = [47 x i8] c"b: brighter d: darker\0A\00"
@.str.7 = [55 x i8] c"g: cycle through gamma settings v: inVert display\0A\00"
@.str.8 = [68 x i8] c"LeftButton: select point LeftButton drag: select region\0A\00"
@.str.9 = [62 x i8] c"c: toggle point crosshair display r: toggle region display\0A\00"
@.str.10 = [60 x i8] c"i: toggle info display l: show line/col stats\0A\00"
@.str.11 = [52 x i8] c"o: select reference star p: select star\0A\00"
@.str.12 = [53 x i8] c"space: redraw h/F1: show help\0A\00"
@.str.13 = [30 x i8] c"Environment vars used by cx:\0A\00"
@.str.14 = [75 x i8] c"CX_EDB_DIR location of edb catalogs (default: /usr/local/xephem/catalogs)\0A\00"
@.str.15 = [68 x i8] c"CX_HOME location of cpxcon.mcs and track.badpix files (default: .)\0A\00"
define void @print_gui_help() {
%1 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([71 x i8], [71 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%9 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str.7, i64 0, i64 0))
%10 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%11 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.8, i64 0, i64 0))
%12 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([62 x i8], [62 x i8]* @.str.9, i64 0, i64 0))
%13 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%14 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([60 x i8], [60 x i8]* @.str.10, i64 0, i64 0))
%15 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([52 x i8], [52 x i8]* @.str.11, i64 0, i64 0))
%16 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%17 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%18 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.13, i64 0, i64 0))
%19 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.14, i64 0, i64 0))
%20 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([68 x i8], [68 x i8]* @.str.15, i64 0, i64 0))
%21 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%22 = tail call i32 @deb_printf(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret void
}