#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_about(int cords[], float version) {
  mvprintw(cords[1], cords[0] + 2, " About ");
  mvprintw(cords[1] + 2, cords[0] + 2, "Mousing is a microscopic");
  mvprintw(cords[1] + 3, cords[0] + 2, "Linux program for tracking");
  mvprintw(cords[1] + 4, cords[0] + 2, "mouse movement, and output");
  mvprintw(cords[1] + 5, cords[0] + 2, "and log to database.");
  mvprintw(cords[1] + 7, cords[0] + 2, "The main reason for this");
  mvprintw(cords[1] + 8, cords[0] + 2, "program was to learn to");
  mvprintw(cords[1] + 9, cords[0] + 2, "reduce heavy mouse use.");
  mvprintw(cords[1] + 10, cords[0] + 2, "The best way to do this is");
  mvprintw(cords[1] + 11, cords[0] + 2, "to get some numbers and");
  mvprintw(cords[1] + 12, cords[0] + 2, "compare them on a daily");
  mvprintw(cords[1] + 13, cords[0] + 2, "basis.");
  mvprintw(cords[1] + 15, cords[0] + 2, "Version: %.2f", version);
}


x86 assembly (clang, -O0):
<print_mousing_about>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
movss  %xmm0,-0xc(%rbp)
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xec8(%rip),%rdx
mov    $0x0,%al
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    0xeaf(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x3,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xea7(%rip),%rdx
mov    $0x0,%al
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    0xea1(%rip),%rdx
mov    $0x0,%al
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    0xe9b(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0x7,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe8f(%rip),%rdx
mov    $0x0,%al
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    0xe87(%rip),%rdx
mov    $0x0,%al
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    0xe7e(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0xa,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe75(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0xb,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe6f(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0xc,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe66(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0xd,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
lea    0xe5d(%rip),%rdx
mov    $0x0,%al
call   1030 <mvprintw@plt>
mov    -0x8(%rbp),%rax
mov    0x4(%rax),%edi
add    $0xf,%edi
mov    -0x8(%rbp),%rax
mov    (%rax),%esi
add    $0x2,%esi
movss  -0xc(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xe3a(%rip),%rdx
mov    $0x1,%al
call   1030 <mvprintw@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_mousing_about>:
push   %rbx
sub    $0x10,%rsp
movss  %xmm0,0xc(%rsp)
mov    %rdi,%rbx
mov    (%rdi),%esi
mov    0x4(%rdi),%edi
add    $0x2,%esi
lea    0xed3(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x2,%edi
add    $0x2,%esi
lea    0xec2(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x3,%edi
add    $0x2,%esi
lea    0xec2(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x4,%edi
add    $0x2,%esi
lea    0xec4(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x5,%edi
add    $0x2,%esi
lea    0xec6(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x7,%edi
add    $0x2,%esi
lea    0xec2(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x8,%edi
add    $0x2,%esi
lea    0xec2(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0x9,%edi
add    $0x2,%esi
lea    0xec1(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0xa,%edi
add    $0x2,%esi
lea    0xec0(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0xb,%edi
add    $0x2,%esi
lea    0xec2(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0xc,%edi
add    $0x2,%esi
lea    0xec1(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0xd,%edi
add    $0x2,%esi
lea    0xec0(%rip),%rdx
xor    %eax,%eax
call   1030 <mvprintw@plt>
mov    (%rbx),%esi
mov    0x4(%rbx),%edi
add    $0xf,%edi
add    $0x2,%esi
movss  0xc(%rsp),%xmm0
cvtss2sd %xmm0,%xmm0
lea    0xea4(%rip),%rdx
mov    $0x1,%al
add    $0x10,%rsp
pop    %rbx
jmp    1030 <mvprintw@plt>

LLVM IR (-O0):
@.str = [8 x i8] c" About \00"
@.str.1 = [25 x i8] c"Mousing is a microscopic\00"
@.str.2 = [27 x i8] c"Linux program for tracking\00"
@.str.3 = [27 x i8] c"mouse movement, and output\00"
@.str.4 = [21 x i8] c"and log to database.\00"
@.str.5 = [25 x i8] c"The main reason for this\00"
@.str.6 = [24 x i8] c"program was to learn to\00"
@.str.7 = [24 x i8] c"reduce heavy mouse use.\00"
@.str.8 = [27 x i8] c"The best way to do this is\00"
@.str.9 = [24 x i8] c"to get some numbers and\00"
@.str.10 = [24 x i8] c"compare them on a daily\00"
@.str.11 = [7 x i8] c"basis.\00"
@.str.12 = [14 x i8] c"Version: %.2f\00"
define void @print_mousing_about(i32* %0, float %1) {
%3 = alloca i32*
%4 = alloca float
store i32* %0, i32** %3
store float %1, float* %4
%5 = load i32*, i32** %3
%6 = getelementptr inbounds i32, i32* %5, i64 1
%7 = load i32, i32* %6
%8 = load i32*, i32** %3
%9 = getelementptr inbounds i32, i32* %8, i64 0
%10 = load i32, i32* %9
%11 = add nsw i32 %10, 2
%12 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %7, i32 %11, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%13 = load i32*, i32** %3
%14 = getelementptr inbounds i32, i32* %13, i64 1
%15 = load i32, i32* %14
%16 = add nsw i32 %15, 2
%17 = load i32*, i32** %3
%18 = getelementptr inbounds i32, i32* %17, i64 0
%19 = load i32, i32* %18
%20 = add nsw i32 %19, 2
%21 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %16, i32 %20, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%22 = load i32*, i32** %3
%23 = getelementptr inbounds i32, i32* %22, i64 1
%24 = load i32, i32* %23
%25 = add nsw i32 %24, 3
%26 = load i32*, i32** %3
%27 = getelementptr inbounds i32, i32* %26, i64 0
%28 = load i32, i32* %27
%29 = add nsw i32 %28, 2
%30 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %25, i32 %29, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%31 = load i32*, i32** %3
%32 = getelementptr inbounds i32, i32* %31, i64 1
%33 = load i32, i32* %32
%34 = add nsw i32 %33, 4
%35 = load i32*, i32** %3
%36 = getelementptr inbounds i32, i32* %35, i64 0
%37 = load i32, i32* %36
%38 = add nsw i32 %37, 2
%39 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %34, i32 %38, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%40 = load i32*, i32** %3
%41 = getelementptr inbounds i32, i32* %40, i64 1
%42 = load i32, i32* %41
%43 = add nsw i32 %42, 5
%44 = load i32*, i32** %3
%45 = getelementptr inbounds i32, i32* %44, i64 0
%46 = load i32, i32* %45
%47 = add nsw i32 %46, 2
%48 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %43, i32 %47, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%49 = load i32*, i32** %3
%50 = getelementptr inbounds i32, i32* %49, i64 1
%51 = load i32, i32* %50
%52 = add nsw i32 %51, 7
%53 = load i32*, i32** %3
%54 = getelementptr inbounds i32, i32* %53, i64 0
%55 = load i32, i32* %54
%56 = add nsw i32 %55, 2
%57 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %52, i32 %56, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%58 = load i32*, i32** %3
%59 = getelementptr inbounds i32, i32* %58, i64 1
%60 = load i32, i32* %59
%61 = add nsw i32 %60, 8
%62 = load i32*, i32** %3
%63 = getelementptr inbounds i32, i32* %62, i64 0
%64 = load i32, i32* %63
%65 = add nsw i32 %64, 2
%66 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %61, i32 %65, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%67 = load i32*, i32** %3
%68 = getelementptr inbounds i32, i32* %67, i64 1
%69 = load i32, i32* %68
%70 = add nsw i32 %69, 9
%71 = load i32*, i32** %3
%72 = getelementptr inbounds i32, i32* %71, i64 0
%73 = load i32, i32* %72
%74 = add nsw i32 %73, 2
%75 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %70, i32 %74, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%76 = load i32*, i32** %3
%77 = getelementptr inbounds i32, i32* %76, i64 1
%78 = load i32, i32* %77
%79 = add nsw i32 %78, 10
%80 = load i32*, i32** %3
%81 = getelementptr inbounds i32, i32* %80, i64 0
%82 = load i32, i32* %81
%83 = add nsw i32 %82, 2
%84 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %79, i32 %83, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%85 = load i32*, i32** %3
%86 = getelementptr inbounds i32, i32* %85, i64 1
%87 = load i32, i32* %86
%88 = add nsw i32 %87, 11
%89 = load i32*, i32** %3
%90 = getelementptr inbounds i32, i32* %89, i64 0
%91 = load i32, i32* %90
%92 = add nsw i32 %91, 2
%93 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %88, i32 %92, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%94 = load i32*, i32** %3
%95 = getelementptr inbounds i32, i32* %94, i64 1
%96 = load i32, i32* %95
%97 = add nsw i32 %96, 12
%98 = load i32*, i32** %3
%99 = getelementptr inbounds i32, i32* %98, i64 0
%100 = load i32, i32* %99
%101 = add nsw i32 %100, 2
%102 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %97, i32 %101, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%103 = load i32*, i32** %3
%104 = getelementptr inbounds i32, i32* %103, i64 1
%105 = load i32, i32* %104
%106 = add nsw i32 %105, 13
%107 = load i32*, i32** %3
%108 = getelementptr inbounds i32, i32* %107, i64 0
%109 = load i32, i32* %108
%110 = add nsw i32 %109, 2
%111 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %106, i32 %110, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%112 = load i32*, i32** %3
%113 = getelementptr inbounds i32, i32* %112, i64 1
%114 = load i32, i32* %113
%115 = add nsw i32 %114, 15
%116 = load i32*, i32** %3
%117 = getelementptr inbounds i32, i32* %116, i64 0
%118 = load i32, i32* %117
%119 = add nsw i32 %118, 2
%120 = load float, float* %4
%121 = fpext float %120 to double
%122 = call i32 (i32, i32, i8*, ...) @mvprintw(i32 %115, i32 %119, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), double %121)
ret void
}

LLVM IR (-O2):
@.str = [8 x i8] c" About \00"
@.str.1 = [25 x i8] c"Mousing is a microscopic\00"
@.str.2 = [27 x i8] c"Linux program for tracking\00"
@.str.3 = [27 x i8] c"mouse movement, and output\00"
@.str.4 = [21 x i8] c"and log to database.\00"
@.str.5 = [25 x i8] c"The main reason for this\00"
@.str.6 = [24 x i8] c"program was to learn to\00"
@.str.7 = [24 x i8] c"reduce heavy mouse use.\00"
@.str.8 = [27 x i8] c"The best way to do this is\00"
@.str.9 = [24 x i8] c"to get some numbers and\00"
@.str.10 = [24 x i8] c"compare them on a daily\00"
@.str.11 = [7 x i8] c"basis.\00"
@.str.12 = [14 x i8] c"Version: %.2f\00"
define void @print_mousing_about(i32* nocapture %0, float %1) {
%3 = getelementptr inbounds i32, i32* %0, i64 1
%4 = load i32, i32* %3
%5 = load i32, i32* %0
%6 = add nsw i32 %5, 2
%7 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %4, i32 %6, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %3
%9 = add nsw i32 %8, 2
%10 = load i32, i32* %0
%11 = add nsw i32 %10, 2
%12 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %9, i32 %11, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.1, i64 0, i64 0))
%13 = load i32, i32* %3
%14 = add nsw i32 %13, 3
%15 = load i32, i32* %0
%16 = add nsw i32 %15, 2
%17 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %14, i32 %16, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.2, i64 0, i64 0))
%18 = load i32, i32* %3
%19 = add nsw i32 %18, 4
%20 = load i32, i32* %0
%21 = add nsw i32 %20, 2
%22 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %19, i32 %21, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%23 = load i32, i32* %3
%24 = add nsw i32 %23, 5
%25 = load i32, i32* %0
%26 = add nsw i32 %25, 2
%27 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %24, i32 %26, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.4, i64 0, i64 0))
%28 = load i32, i32* %3
%29 = add nsw i32 %28, 7
%30 = load i32, i32* %0
%31 = add nsw i32 %30, 2
%32 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %29, i32 %31, i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%33 = load i32, i32* %3
%34 = add nsw i32 %33, 8
%35 = load i32, i32* %0
%36 = add nsw i32 %35, 2
%37 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %34, i32 %36, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.6, i64 0, i64 0))
%38 = load i32, i32* %3
%39 = add nsw i32 %38, 9
%40 = load i32, i32* %0
%41 = add nsw i32 %40, 2
%42 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %39, i32 %41, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.7, i64 0, i64 0))
%43 = load i32, i32* %3
%44 = add nsw i32 %43, 10
%45 = load i32, i32* %0
%46 = add nsw i32 %45, 2
%47 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %44, i32 %46, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.8, i64 0, i64 0))
%48 = load i32, i32* %3
%49 = add nsw i32 %48, 11
%50 = load i32, i32* %0
%51 = add nsw i32 %50, 2
%52 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %49, i32 %51, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.9, i64 0, i64 0))
%53 = load i32, i32* %3
%54 = add nsw i32 %53, 12
%55 = load i32, i32* %0
%56 = add nsw i32 %55, 2
%57 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %54, i32 %56, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0))
%58 = load i32, i32* %3
%59 = add nsw i32 %58, 13
%60 = load i32, i32* %0
%61 = add nsw i32 %60, 2
%62 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %59, i32 %61, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.11, i64 0, i64 0))
%63 = load i32, i32* %3
%64 = add nsw i32 %63, 15
%65 = load i32, i32* %0
%66 = add nsw i32 %65, 2
%67 = fpext float %1 to double
%68 = tail call i32 (i32, i32, i8*, ...) @mvprintw(i32 %64, i32 %66, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.12, i64 0, i64 0), double %67)
ret void
}