#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*/ bmp_fill(int, int /*<<< orphan*/, int /*<<< orphan*/, int,
                            int);
int /*<<< orphan*/ bmp_printf(int, int, int, char *);
void draw_help_not_installed_page() {
  bmp_fill(0x02, 0, 0, 720, 480);
  bmp_printf((0 | (((7) << 16) & (0xFFFF0000)) | ((0) & 0xFF) << 8 |
              ((0) & 0xFF) << 0),
             10, 20, "Help files not found");
  bmp_printf((0 | (((2) << 16) & (0xFFFF0000)) | ((0) & 0xFF) << 8 |
              ((0) & 0xFF) << 0),
             10, 150,
             "Magic Lantern help files could not be found.              ");
  bmp_printf((0 | (((2) << 16) & (0xFFFF0000)) | ((0) & 0xFF) << 8 |
              ((0) & 0xFF) << 0),
             10, 200,
             "Make sure all ML files are installed to your card.        ");
  bmp_printf((0 | (((2) << 16) & (0xFFFF0000)) | ((0) & 0xFF) << 8 |
              ((0) & 0xFF) << 0),
             10, 250,
             "See http://wiki.magiclantern.fm/install for instructions. ");
}


x86 assembly (clang, -O0):
<draw_help_not_installed_page>:
push   %rbp
mov    %rsp,%rbp
mov    $0x2,%edi
xor    %edx,%edx
mov    $0x2d0,%ecx
mov    $0x1e0,%r8d
mov    %edx,%esi
call   1040 <bmp_fill@plt>
mov    $0x70000,%edi
mov    $0xa,%esi
mov    $0x14,%edx
lea    0xead(%rip),%rcx
call   1030 <bmp_printf@plt>
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0x96,%edx
lea    0xea7(%rip),%rcx
call   1030 <bmp_printf@plt>
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0xc8,%edx
lea    0xec7(%rip),%rcx
call   1030 <bmp_printf@plt>
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0xfa,%edx
lea    0xee7(%rip),%rcx
call   1030 <bmp_printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<draw_help_not_installed_page>:
push   %rax
mov    $0x2,%edi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x2d0,%ecx
mov    $0x1e0,%r8d
call   1040 <bmp_fill@plt>
lea    0xebf(%rip),%rcx
mov    $0x70000,%edi
mov    $0xa,%esi
mov    $0x14,%edx
call   1030 <bmp_printf@plt>
lea    0xeb9(%rip),%rcx
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0x96,%edx
call   1030 <bmp_printf@plt>
lea    0xed9(%rip),%rcx
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0xc8,%edx
call   1030 <bmp_printf@plt>
lea    0xef9(%rip),%rcx
mov    $0x20000,%edi
mov    $0xa,%esi
mov    $0xfa,%edx
pop    %rax
jmp    1030 <bmp_printf@plt>

LLVM IR (-O0):
@.str = [21 x i8] c"Help files not found\00"
@.str.1 = [59 x i8] c"Magic Lantern help files could not be found. \00"
@.str.2 = [59 x i8] c"Make sure all ML files are installed to your card. \00"
@.str.3 = [59 x i8] c"See http://wiki.magiclantern.fm/install for instructions. \00"
define void @draw_help_not_installed_page() {
%1 = call i32 @bmp_fill(i32 2, i32 0, i32 0, i32 720, i32 480)
%2 = call i32 @bmp_printf(i32 458752, i32 10, i32 20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @bmp_printf(i32 131072, i32 10, i32 150, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @bmp_printf(i32 131072, i32 10, i32 200, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 @bmp_printf(i32 131072, i32 10, i32 250, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [21 x i8] c"Help files not found\00"
@.str.1 = [59 x i8] c"Magic Lantern help files could not be found. \00"
@.str.2 = [59 x i8] c"Make sure all ML files are installed to your card. \00"
@.str.3 = [59 x i8] c"See http://wiki.magiclantern.fm/install for instructions. \00"
define void @draw_help_not_installed_page() {
%1 = tail call i32 @bmp_fill(i32 2, i32 0, i32 0, i32 720, i32 480)
%2 = tail call i32 @bmp_printf(i32 458752, i32 10, i32 20, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @bmp_printf(i32 131072, i32 10, i32 150, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @bmp_printf(i32 131072, i32 10, i32 200, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 @bmp_printf(i32 131072, i32 10, i32 250, i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.3, i64 0, i64 0))
ret void
}