#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*/ mvprintw(int, int, char *);
void print_mousing_help(int cords[]) {
  int offset = 10;
  mvprintw(cords[1], cords[0] + 2, " Help ");
  mvprintw(cords[1] + 2, cords[0] + 2, "Key");
  mvprintw(cords[1] + 2, cords[0] + offset, "Description");
  mvprintw(cords[1] + 4, cords[0] + 2, "h");
  mvprintw(cords[1] + 5, cords[0] + 2, "m");
  mvprintw(cords[1] + 6, cords[0] + 2, "s");
  mvprintw(cords[1] + 8, cords[0] + 2, "a");
  mvprintw(cords[1] + 9, cords[0] + 2, "q");
  mvprintw(cords[1] + 4, cords[0] + offset, "Help page (this)");
  mvprintw(cords[1] + 5, cords[0] + offset, "Mousing");
  mvprintw(cords[1] + 6, cords[0] + offset, "Stats page");
  mvprintw(cords[1] + 8, cords[0] + offset, "About page");
  mvprintw(cords[1] + 9, cords[0] + offset, "Quit");
}


x86 assembly (clang, -O0):
<print_mousing_help>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0xa,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xec6(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xeae(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x2,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xe93(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x4,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe80(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x5,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe63(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x6,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe46(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x8,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe29(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x9,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe0c(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x4,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xdef(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x5,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xde1(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x6,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xdca(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x8,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xdb6(%rip),%rdx
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x9,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    -0xc(%rbp),%esi
lea    0xda2(%rip),%rdx
call   1030 <mvprintw@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_mousing_help>:
push   %rbx
mov    %rdi,%rbx
mov    (%rdi),%esi
mov    0x4(%rdi),%edi
add    $0x2,%esi
lea    0xedd(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x2,%edi
add    $0x2,%esi
lea    0xecd(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x2,%edi
add    $0xa,%esi
lea    0xeba(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x4,%edi
add    $0x2,%esi
lea    0xeaf(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x5,%edi
add    $0x2,%esi
lea    0xe9a(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x6,%edi
add    $0x2,%esi
lea    0xe85(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x8,%edi
add    $0x2,%esi
lea    0xe70(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x9,%edi
add    $0x2,%esi
lea    0xe5b(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x4,%edi
add    $0xa,%esi
lea    0xe46(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x5,%edi
add    $0xa,%esi
lea    0xe40(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x6,%edi
add    $0xa,%esi
lea    0xe31(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x8,%edi
add    $0xa,%esi
lea    0xe25(%rip),%rdx
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x9,%edi
add    $0xa,%esi
lea    0xe19(%rip),%rdx
pop    %rbx
jmp    1030 <mvprintw@plt>

LLVM IR (-O0):
@.str = [7 x i8] c" Help \00"
@.str.1 = [4 x i8] c"Key\00"
@.str.2 = [12 x i8] c"Description\00"
@.str.3 = [2 x i8] c"h\00"
@.str.4 = [2 x i8] c"m\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [2 x i8] c"a\00"
@.str.7 = [2 x i8] c"q\00"
@.str.8 = [17 x i8] c"Help page (this)\00"
@.str.9 = [8 x i8] c"Mousing\00"
@.str.10 = [11 x i8] c"Stats page\00"
@.str.11 = [11 x i8] c"About page\00"
@.str.12 = [5 x i8] c"Quit\00"
define void @print_mousing_help(i32* %0) {
%2 = alloca i32*
%3 = alloca i32
store i32* %0, i32** %2
store i32 10, i32* %3
%4 = load i32*, i32** %2
%5 = getelementptr inbounds i32, i32* %4, i64 1
%6 = load i32, i32* %5
%7 = load i32*, i32** %2
%8 = getelementptr inbounds i32, i32* %7, i64 0
%9 = load i32, i32* %8
%10 = add nsw i32 %9, 2
%11 = call i32 @mvprintw(i32 %6, i32 %10, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%12 = load i32*, i32** %2
%13 = getelementptr inbounds i32, i32* %12, i64 1
%14 = load i32, i32* %13
%15 = add nsw i32 %14, 2
%16 = load i32*, i32** %2
%17 = getelementptr inbounds i32, i32* %16, i64 0
%18 = load i32, i32* %17
%19 = add nsw i32 %18, 2
%20 = call i32 @mvprintw(i32 %15, i32 %19, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%21 = load i32*, i32** %2
%22 = getelementptr inbounds i32, i32* %21, i64 1
%23 = load i32, i32* %22
%24 = add nsw i32 %23, 2
%25 = load i32*, i32** %2
%26 = getelementptr inbounds i32, i32* %25, i64 0
%27 = load i32, i32* %26
%28 = load i32, i32* %3
%29 = add nsw i32 %27, %28
%30 = call i32 @mvprintw(i32 %24, i32 %29, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%31 = load i32*, i32** %2
%32 = getelementptr inbounds i32, i32* %31, i64 1
%33 = load i32, i32* %32
%34 = add nsw i32 %33, 4
%35 = load i32*, i32** %2
%36 = getelementptr inbounds i32, i32* %35, i64 0
%37 = load i32, i32* %36
%38 = add nsw i32 %37, 2
%39 = call i32 @mvprintw(i32 %34, i32 %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%40 = load i32*, i32** %2
%41 = getelementptr inbounds i32, i32* %40, i64 1
%42 = load i32, i32* %41
%43 = add nsw i32 %42, 5
%44 = load i32*, i32** %2
%45 = getelementptr inbounds i32, i32* %44, i64 0
%46 = load i32, i32* %45
%47 = add nsw i32 %46, 2
%48 = call i32 @mvprintw(i32 %43, i32 %47, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%49 = load i32*, i32** %2
%50 = getelementptr inbounds i32, i32* %49, i64 1
%51 = load i32, i32* %50
%52 = add nsw i32 %51, 6
%53 = load i32*, i32** %2
%54 = getelementptr inbounds i32, i32* %53, i64 0
%55 = load i32, i32* %54
%56 = add nsw i32 %55, 2
%57 = call i32 @mvprintw(i32 %52, i32 %56, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%58 = load i32*, i32** %2
%59 = getelementptr inbounds i32, i32* %58, i64 1
%60 = load i32, i32* %59
%61 = add nsw i32 %60, 8
%62 = load i32*, i32** %2
%63 = getelementptr inbounds i32, i32* %62, i64 0
%64 = load i32, i32* %63
%65 = add nsw i32 %64, 2
%66 = call i32 @mvprintw(i32 %61, i32 %65, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%67 = load i32*, i32** %2
%68 = getelementptr inbounds i32, i32* %67, i64 1
%69 = load i32, i32* %68
%70 = add nsw i32 %69, 9
%71 = load i32*, i32** %2
%72 = getelementptr inbounds i32, i32* %71, i64 0
%73 = load i32, i32* %72
%74 = add nsw i32 %73, 2
%75 = call i32 @mvprintw(i32 %70, i32 %74, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%76 = load i32*, i32** %2
%77 = getelementptr inbounds i32, i32* %76, i64 1
%78 = load i32, i32* %77
%79 = add nsw i32 %78, 4
%80 = load i32*, i32** %2
%81 = getelementptr inbounds i32, i32* %80, i64 0
%82 = load i32, i32* %81
%83 = load i32, i32* %3
%84 = add nsw i32 %82, %83
%85 = call i32 @mvprintw(i32 %79, i32 %84, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%86 = load i32*, i32** %2
%87 = getelementptr inbounds i32, i32* %86, i64 1
%88 = load i32, i32* %87
%89 = add nsw i32 %88, 5
%90 = load i32*, i32** %2
%91 = getelementptr inbounds i32, i32* %90, i64 0
%92 = load i32, i32* %91
%93 = load i32, i32* %3
%94 = add nsw i32 %92, %93
%95 = call i32 @mvprintw(i32 %89, i32 %94, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%96 = load i32*, i32** %2
%97 = getelementptr inbounds i32, i32* %96, i64 1
%98 = load i32, i32* %97
%99 = add nsw i32 %98, 6
%100 = load i32*, i32** %2
%101 = getelementptr inbounds i32, i32* %100, i64 0
%102 = load i32, i32* %101
%103 = load i32, i32* %3
%104 = add nsw i32 %102, %103
%105 = call i32 @mvprintw(i32 %99, i32 %104, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
%106 = load i32*, i32** %2
%107 = getelementptr inbounds i32, i32* %106, i64 1
%108 = load i32, i32* %107
%109 = add nsw i32 %108, 8
%110 = load i32*, i32** %2
%111 = getelementptr inbounds i32, i32* %110, i64 0
%112 = load i32, i32* %111
%113 = load i32, i32* %3
%114 = add nsw i32 %112, %113
%115 = call i32 @mvprintw(i32 %109, i32 %114, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%116 = load i32*, i32** %2
%117 = getelementptr inbounds i32, i32* %116, i64 1
%118 = load i32, i32* %117
%119 = add nsw i32 %118, 9
%120 = load i32*, i32** %2
%121 = getelementptr inbounds i32, i32* %120, i64 0
%122 = load i32, i32* %121
%123 = load i32, i32* %3
%124 = add nsw i32 %122, %123
%125 = call i32 @mvprintw(i32 %119, i32 %124, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [7 x i8] c" Help \00"
@.str.1 = [4 x i8] c"Key\00"
@.str.2 = [12 x i8] c"Description\00"
@.str.3 = [2 x i8] c"h\00"
@.str.4 = [2 x i8] c"m\00"
@.str.5 = [2 x i8] c"s\00"
@.str.6 = [2 x i8] c"a\00"
@.str.7 = [2 x i8] c"q\00"
@.str.8 = [17 x i8] c"Help page (this)\00"
@.str.9 = [8 x i8] c"Mousing\00"
@.str.10 = [11 x i8] c"Stats page\00"
@.str.11 = [11 x i8] c"About page\00"
@.str.12 = [5 x i8] c"Quit\00"
define void @print_mousing_help(i32* nocapture %0) {
%2 = getelementptr inbounds i32, i32* %0, i64 1
%3 = load i32, i32* %2
%4 = load i32, i32* %0
%5 = add nsw i32 %4, 2
%6 = tail call i32 @mvprintw(i32 %3, i32 %5, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0))
%7 = load i32, i32* %2
%8 = add nsw i32 %7, 2
%9 = load i32, i32* %0
%10 = add nsw i32 %9, 2
%11 = tail call i32 @mvprintw(i32 %8, i32 %10, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%12 = load i32, i32* %2
%13 = add nsw i32 %12, 2
%14 = load i32, i32* %0
%15 = add nsw i32 %14, 10
%16 = tail call i32 @mvprintw(i32 %13, i32 %15, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0))
%17 = load i32, i32* %2
%18 = add nsw i32 %17, 4
%19 = load i32, i32* %0
%20 = add nsw i32 %19, 2
%21 = tail call i32 @mvprintw(i32 %18, i32 %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
%22 = load i32, i32* %2
%23 = add nsw i32 %22, 5
%24 = load i32, i32* %0
%25 = add nsw i32 %24, 2
%26 = tail call i32 @mvprintw(i32 %23, i32 %25, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%27 = load i32, i32* %2
%28 = add nsw i32 %27, 6
%29 = load i32, i32* %0
%30 = add nsw i32 %29, 2
%31 = tail call i32 @mvprintw(i32 %28, i32 %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
%32 = load i32, i32* %2
%33 = add nsw i32 %32, 8
%34 = load i32, i32* %0
%35 = add nsw i32 %34, 2
%36 = tail call i32 @mvprintw(i32 %33, i32 %35, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%37 = load i32, i32* %2
%38 = add nsw i32 %37, 9
%39 = load i32, i32* %0
%40 = add nsw i32 %39, 2
%41 = tail call i32 @mvprintw(i32 %38, i32 %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%42 = load i32, i32* %2
%43 = add nsw i32 %42, 4
%44 = load i32, i32* %0
%45 = add nsw i32 %44, 10
%46 = tail call i32 @mvprintw(i32 %43, i32 %45, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.8, i64 0, i64 0))
%47 = load i32, i32* %2
%48 = add nsw i32 %47, 5
%49 = load i32, i32* %0
%50 = add nsw i32 %49, 10
%51 = tail call i32 @mvprintw(i32 %48, i32 %50, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9, i64 0, i64 0))
%52 = load i32, i32* %2
%53 = add nsw i32 %52, 6
%54 = load i32, i32* %0
%55 = add nsw i32 %54, 10
%56 = tail call i32 @mvprintw(i32 %53, i32 %55, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.10, i64 0, i64 0))
%57 = load i32, i32* %2
%58 = add nsw i32 %57, 8
%59 = load i32, i32* %0
%60 = add nsw i32 %59, 10
%61 = tail call i32 @mvprintw(i32 %58, i32 %60, i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.11, i64 0, i64 0))
%62 = load i32, i32* %2
%63 = add nsw i32 %62, 9
%64 = load i32, i32* %0
%65 = add nsw i32 %64, 10
%66 = tail call i32 @mvprintw(i32 %63, i32 %65, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
ret void
}