#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*/ printFloat_ln(double, int);
int /*<<< orphan*/ printNumber_L_ln(int, int);
int /*<<< orphan*/ printNumber_UC_ln(int, int);
int /*<<< orphan*/ printNumber_UL_ln(int, int);
int /*<<< orphan*/ print_str(char *);
int /*<<< orphan*/ println();
int /*<<< orphan*/ setCursor(int, int /*<<< orphan*/);
int /*<<< orphan*/ setTextColor(int);
int /*<<< orphan*/ setTextSize(int);
void display_texts() {
  setTextSize(1);
  setTextColor(1);
  setCursor(10, 0);
  print_str("HELLO FELLAS!");
  println();
  printFloat_ln(3.141592, 4);
  printNumber_L_ln(-1234, 10);
  printNumber_UC_ln(170, 2);
  setTextSize(2);
  setTextColor(1);
  print_str("0x");
  printNumber_UL_ln(0xDEADBEEF, 16);
}


x86 assembly (clang, -O0):
<display_texts>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
call   1070 <setTextSize@plt>
mov    $0x1,%edi
call   1030 <setTextColor@plt>
mov    $0xa,%edi
xor    %esi,%esi
call   1050 <setCursor@plt>
lea    0xe4d(%rip),%rdi
call   1080 <print_str@plt>
mov    $0x0,%al
call   1060 <println@plt>
movsd  0xe31(%rip),%xmm0
mov    $0x4,%edi
call   10b0 <printFloat_ln@plt>
mov    $0xfffffb2e,%edi
mov    $0xa,%esi
call   1090 <printNumber_L_ln@plt>
mov    $0xaa,%edi
mov    $0x2,%esi
call   10a0 <printNumber_UC_ln@plt>
mov    $0x2,%edi
call   1070 <setTextSize@plt>
mov    $0x1,%edi
call   1030 <setTextColor@plt>
lea    0xe04(%rip),%rdi
call   1080 <print_str@plt>
mov    $0xdeadbeef,%edi
mov    $0x10,%esi
call   1040 <printNumber_UL_ln@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<display_texts>:
push   %rax
mov    $0x1,%edi
call   1070 <setTextSize@plt>
mov    $0x1,%edi
call   1030 <setTextColor@plt>
mov    $0xa,%edi
xor    %esi,%esi
call   1050 <setCursor@plt>
lea    0xe50(%rip),%rdi
call   1080 <print_str@plt>
xor    %eax,%eax
call   1060 <println@plt>
movsd  0xe34(%rip),%xmm0
mov    $0x4,%edi
call   10b0 <printFloat_ln@plt>
mov    $0xfffffb2e,%edi
mov    $0xa,%esi
call   1090 <printNumber_L_ln@plt>
mov    $0xaa,%edi
mov    $0x2,%esi
call   10a0 <printNumber_UC_ln@plt>
mov    $0x2,%edi
call   1070 <setTextSize@plt>
mov    $0x1,%edi
call   1030 <setTextColor@plt>
lea    0xe07(%rip),%rdi
call   1080 <print_str@plt>
mov    $0xdeadbeef,%edi
mov    $0x10,%esi
pop    %rax
jmp    1040 <printNumber_UL_ln@plt>

LLVM IR (-O0):
@.str = [14 x i8] c"HELLO FELLAS!\00"
@.str.1 = [3 x i8] c"0x\00"
define void @display_texts() {
%1 = call i32 @setTextSize(i32 1)
%2 = call i32 @setTextColor(i32 1)
%3 = call i32 @setCursor(i32 10, i32 0)
%4 = call i32 @print_str(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%5 = call i32 (...) @println()
%6 = call i32 @printFloat_ln(double 0x400921FAFC8B007A, i32 4)
%7 = call i32 @printNumber_L_ln(i32 -1234, i32 10)
%8 = call i32 @printNumber_UC_ln(i32 170, i32 2)
%9 = call i32 @setTextSize(i32 2)
%10 = call i32 @setTextColor(i32 1)
%11 = call i32 @print_str(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 @printNumber_UL_ln(i32 -559038737, i32 16)
ret void
}

LLVM IR (-O2):
@.str = [14 x i8] c"HELLO FELLAS!\00"
@.str.1 = [3 x i8] c"0x\00"
define void @display_texts() {
%1 = tail call i32 @setTextSize(i32 1)
%2 = tail call i32 @setTextColor(i32 1)
%3 = tail call i32 @setCursor(i32 10, i32 0)
%4 = tail call i32 @print_str(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str, i64 0, i64 0))
%5 = tail call i32 (...) @println()
%6 = tail call i32 @printFloat_ln(double 0x400921FAFC8B007A, i32 4)
%7 = tail call i32 @printNumber_L_ln(i32 -1234, i32 10)
%8 = tail call i32 @printNumber_UC_ln(i32 170, i32 2)
%9 = tail call i32 @setTextSize(i32 2)
%10 = tail call i32 @setTextColor(i32 1)
%11 = tail call i32 @print_str(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
%12 = tail call i32 @printNumber_UL_ln(i32 -559038737, i32 16)
ret void
}