#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*/ fill(int, int, int, int, int);
void draw_flappy(int x, int y) {
  fill(0x0000, x + 2, y + 8, 2, 10);
  fill(0x0000, x + 4, y + 6, 2, 2);
  fill(0x0000, x + 6, y + 4, 2, 2);
  fill(0x0000, x + 8, y + 2, 4, 2);
  fill(0x0000, x + 12, y, 12, 2);
  fill(0x0000, x + 24, y + 2, 2, 2);
  fill(0x0000, x + 26, y + 4, 2, 2);
  fill(0x0000, x + 28, y + 6, 2, 6);
  fill(0x0000, x + 10, y + 22, 10, 2);
  fill(0x0000, x + 4, y + 18, 2, 2);
  fill(0x0000, x + 6, y + 20, 4, 2);
  fill(0xFFE0, x + 12, y + 2, 6, 2);
  fill(0xFFE0, x + 8, y + 4, 8, 2);
  fill(0xFFE0, x + 6, y + 6, 10, 2);
  fill(0xFFE0, x + 4, y + 8, 12, 2);
  fill(0xFFE0, x + 4, y + 10, 14, 2);
  fill(0xFFE0, x + 4, y + 12, 16, 2);
  fill(0xFFE0, x + 4, y + 14, 14, 2);
  fill(0xFFE0, x + 4, y + 16, 12, 2);
  fill(0xFFE0, x + 6, y + 18, 12, 2);
  fill(0xFFE0, x + 10, y + 20, 10, 2);
  fill(0x0000, x + 18, y + 2, 2, 2);
  fill(0x0000, x + 16, y + 4, 2, 6);
  fill(0x0000, x + 18, y + 10, 2, 2);
  fill(0xFFFF, x + 18, y + 4, 2, 6);
  fill(0xFFFF, x + 20, y + 2, 4, 10);
  fill(0xFFFF, x + 24, y + 4, 2, 8);
  fill(0xFFFF, x + 26, y + 6, 2, 6);
  fill(0x0000, x + 24, y + 6, 2, 4);
  fill(0x0000, x + 20, y + 12, 12, 2);
  fill(0x0000, x + 18, y + 14, 2, 2);
  fill(0xF800, x + 20, y + 14, 12, 2);
  fill(0x0000, x + 32, y + 14, 2, 2);
  fill(0x0000, x + 16, y + 16, 2, 2);
  fill(0xF800, x + 18, y + 16, 2, 2);
  fill(0x0000, x + 20, y + 16, 12, 2);
  fill(0x0000, x + 18, y + 18, 2, 2);
  fill(0xF800, x + 20, y + 18, 10, 2);
  fill(0x0000, x + 30, y + 18, 2, 2);
  fill(0x0000, x + 20, y + 20, 10, 2);
}


x86 assembly (clang, -O0):
<draw_flappy>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    -0x4(%rbp),%esi
add    $0x2,%esi
mov    -0x8(%rbp),%edx
add    $0x8,%edx
xor    %edi,%edi
mov    $0x2,%ecx
mov    $0xa,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0x6,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x6,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x8,%esi
mov    -0x8(%rbp),%edx
add    $0x2,%edx
xor    %edi,%edi
mov    $0x4,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0xc,%esi
mov    -0x8(%rbp),%edx
xor    %edi,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x18,%esi
mov    -0x8(%rbp),%edx
add    $0x2,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x1a,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x1c,%esi
mov    -0x8(%rbp),%edx
add    $0x6,%edx
xor    %edi,%edi
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0xa,%esi
mov    -0x8(%rbp),%edx
add    $0x16,%edx
xor    %edi,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0x12,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x6,%esi
mov    -0x8(%rbp),%edx
add    $0x14,%edx
xor    %edi,%edi
mov    $0x4,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0xc,%esi
mov    -0x8(%rbp),%edx
add    $0x2,%edx
mov    $0xffe0,%edi
mov    $0x6,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x8,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
mov    $0xffe0,%edi
mov    $0x8,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x6,%esi
mov    -0x8(%rbp),%edx
add    $0x6,%edx
mov    $0xffe0,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0x8,%edx
mov    $0xffe0,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0xa,%edx
mov    $0xffe0,%edi
mov    $0xe,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0xc,%edx
mov    $0xffe0,%edi
mov    $0x10,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0xe,%edx
mov    $0xffe0,%edi
mov    $0xe,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x4,%esi
mov    -0x8(%rbp),%edx
add    $0x10,%edx
mov    $0xffe0,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x6,%esi
mov    -0x8(%rbp),%edx
add    $0x12,%edx
mov    $0xffe0,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0xa,%esi
mov    -0x8(%rbp),%edx
add    $0x14,%edx
mov    $0xffe0,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0x2,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x10,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
xor    %edi,%edi
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0xa,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
mov    $0xffff,%edi
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0x2,%edx
mov    $0xffff,%edi
mov    $0x4,%ecx
mov    $0xa,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x18,%esi
mov    -0x8(%rbp),%edx
add    $0x4,%edx
mov    $0xffff,%edi
mov    $0x2,%ecx
mov    $0x8,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x1a,%esi
mov    -0x8(%rbp),%edx
add    $0x6,%edx
mov    $0xffff,%edi
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x18,%esi
mov    -0x8(%rbp),%edx
add    $0x6,%edx
xor    %edi,%edi
mov    $0x2,%ecx
mov    $0x4,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0xc,%edx
xor    %edi,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0xe,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0xe,%edx
mov    $0xf800,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x20,%esi
mov    -0x8(%rbp),%edx
add    $0xe,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x10,%esi
mov    -0x8(%rbp),%edx
add    $0x10,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0x10,%edx
mov    $0xf800,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0x10,%edx
xor    %edi,%edi
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x12,%esi
mov    -0x8(%rbp),%edx
add    $0x12,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0x12,%edx
mov    $0xf800,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x1e,%esi
mov    -0x8(%rbp),%edx
add    $0x12,%edx
xor    %edi,%edi
mov    $0x2,%r8d
mov    %r8d,%ecx
call   1030 <fill@plt>
mov    -0x4(%rbp),%esi
add    $0x14,%esi
mov    -0x8(%rbp),%edx
add    $0x14,%edx
xor    %edi,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<draw_flappy>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %esi,%ebx
mov    %edi,%r14d
lea    0x2(%r14),%esi
lea    0x8(%rbx),%edx
mov    %edx,0x14(%rsp)
xor    %edi,%edi
mov    $0x2,%ecx
mov    $0xa,%r8d
call   1030 <fill@plt>
lea    0x4(%r14),%r15d
lea    0x6(%rbx),%r13d
xor    %edi,%edi
mov    %r15d,%esi
mov    %r13d,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x6(%r14),%esi
mov    %esi,0x28(%rsp)
lea    0x4(%rbx),%edx
xor    %edi,%edi
mov    %edx,%r12d
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x8(%r14),%esi
mov    %esi,0x10(%rsp)
lea    0x2(%rbx),%ebp
xor    %edi,%edi
mov    %ebp,%edx
mov    %ebp,0x18(%rsp)
mov    $0x4,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0xc(%r14),%esi
mov    %esi,0x24(%rsp)
xor    %edi,%edi
mov    %ebx,%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x18(%r14),%esi
mov    %esi,0x34(%rsp)
xor    %edi,%edi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x1a(%r14),%esi
mov    %esi,0x30(%rsp)
xor    %edi,%edi
mov    %r12d,%ebp
mov    %r12d,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x1c(%r14),%esi
xor    %edi,%edi
mov    %r13d,%edx
mov    %r13d,0x2c(%rsp)
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
lea    0xa(%r14),%esi
mov    %esi,0xc(%rsp)
lea    0x16(%rbx),%edx
xor    %edi,%edi
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x12(%rbx),%edx
mov    %edx,0x20(%rsp)
xor    %edi,%edi
mov    %r15d,%esi
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x14(%rbx),%edx
mov    %edx,0x1c(%rsp)
xor    %edi,%edi
mov    0x28(%rsp),%r12d
mov    %r12d,%esi
mov    $0x4,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    0x24(%rsp),%esi
mov    0x18(%rsp),%edx
mov    $0x6,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    0x10(%rsp),%esi
mov    %ebp,%edx
mov    $0x8,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    %r12d,%esi
mov    %r13d,%edx
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    %r15d,%esi
mov    0x14(%rsp),%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0xa(%rbx),%r13d
mov    $0xffe0,%edi
mov    %r15d,%esi
mov    %r13d,%edx
mov    $0xe,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0xc(%rbx),%edx
mov    %edx,0x14(%rsp)
mov    $0xffe0,%edi
mov    %r15d,%esi
mov    $0x10,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0xe(%rbx),%edx
mov    %edx,0x10(%rsp)
mov    $0xffe0,%edi
mov    %r15d,%esi
mov    $0xe,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
add    $0x10,%ebx
mov    $0xffe0,%edi
mov    %r15d,%esi
mov    %ebx,%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    %r12d,%esi
mov    0x20(%rsp),%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffe0,%edi
mov    0xc(%rsp),%esi
mov    0x1c(%rsp),%edx
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x12(%r14),%r15d
xor    %edi,%edi
mov    %r15d,%esi
mov    0x18(%rsp),%r12d
mov    %r12d,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x10(%r14),%esi
mov    %esi,0xc(%rsp)
xor    %edi,%edi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r15d,%esi
mov    %r13d,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xffff,%edi
mov    %r15d,%esi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
lea    0x14(%r14),%r13d
mov    $0xffff,%edi
mov    %r13d,%esi
mov    %r12d,%edx
mov    $0x4,%ecx
mov    $0xa,%r8d
call   1030 <fill@plt>
mov    $0xffff,%edi
mov    0x34(%rsp),%r12d
mov    %r12d,%esi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x8,%r8d
call   1030 <fill@plt>
mov    $0xffff,%edi
mov    0x30(%rsp),%esi
mov    0x2c(%rsp),%ebp
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x6,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r12d,%esi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x4,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r13d,%esi
mov    0x14(%rsp),%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r15d,%esi
mov    0x10(%rsp),%ebp
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xf800,%edi
mov    %r13d,%esi
mov    %ebp,%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
lea    0x20(%r14),%esi
xor    %edi,%edi
mov    %ebp,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    0xc(%rsp),%esi
mov    %ebx,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xf800,%edi
mov    %r15d,%esi
mov    %ebx,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r13d,%esi
mov    %ebx,%edx
mov    $0xc,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r15d,%esi
mov    0x20(%rsp),%ebx
mov    %ebx,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
mov    $0xf800,%edi
mov    %r13d,%esi
mov    %ebx,%edx
mov    $0xa,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
add    $0x1e,%r14d
xor    %edi,%edi
mov    %r14d,%esi
mov    %ebx,%edx
mov    $0x2,%ecx
mov    $0x2,%r8d
call   1030 <fill@plt>
xor    %edi,%edi
mov    %r13d,%esi
mov    0x1c(%rsp),%edx
mov    $0xa,%ecx
mov    $0x2,%r8d
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <fill@plt>

LLVM IR (-O0):
define void @draw_flappy(i32 %0, i32 %1) {
%3 = alloca i32
%4 = alloca i32
store i32 %0, i32* %3
store i32 %1, i32* %4
%5 = load i32, i32* %3
%6 = add nsw i32 %5, 2
%7 = load i32, i32* %4
%8 = add nsw i32 %7, 8
%9 = call i32 @fill(i32 0, i32 %6, i32 %8, i32 2, i32 10)
%10 = load i32, i32* %3
%11 = add nsw i32 %10, 4
%12 = load i32, i32* %4
%13 = add nsw i32 %12, 6
%14 = call i32 @fill(i32 0, i32 %11, i32 %13, i32 2, i32 2)
%15 = load i32, i32* %3
%16 = add nsw i32 %15, 6
%17 = load i32, i32* %4
%18 = add nsw i32 %17, 4
%19 = call i32 @fill(i32 0, i32 %16, i32 %18, i32 2, i32 2)
%20 = load i32, i32* %3
%21 = add nsw i32 %20, 8
%22 = load i32, i32* %4
%23 = add nsw i32 %22, 2
%24 = call i32 @fill(i32 0, i32 %21, i32 %23, i32 4, i32 2)
%25 = load i32, i32* %3
%26 = add nsw i32 %25, 12
%27 = load i32, i32* %4
%28 = call i32 @fill(i32 0, i32 %26, i32 %27, i32 12, i32 2)
%29 = load i32, i32* %3
%30 = add nsw i32 %29, 24
%31 = load i32, i32* %4
%32 = add nsw i32 %31, 2
%33 = call i32 @fill(i32 0, i32 %30, i32 %32, i32 2, i32 2)
%34 = load i32, i32* %3
%35 = add nsw i32 %34, 26
%36 = load i32, i32* %4
%37 = add nsw i32 %36, 4
%38 = call i32 @fill(i32 0, i32 %35, i32 %37, i32 2, i32 2)
%39 = load i32, i32* %3
%40 = add nsw i32 %39, 28
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 6
%43 = call i32 @fill(i32 0, i32 %40, i32 %42, i32 2, i32 6)
%44 = load i32, i32* %3
%45 = add nsw i32 %44, 10
%46 = load i32, i32* %4
%47 = add nsw i32 %46, 22
%48 = call i32 @fill(i32 0, i32 %45, i32 %47, i32 10, i32 2)
%49 = load i32, i32* %3
%50 = add nsw i32 %49, 4
%51 = load i32, i32* %4
%52 = add nsw i32 %51, 18
%53 = call i32 @fill(i32 0, i32 %50, i32 %52, i32 2, i32 2)
%54 = load i32, i32* %3
%55 = add nsw i32 %54, 6
%56 = load i32, i32* %4
%57 = add nsw i32 %56, 20
%58 = call i32 @fill(i32 0, i32 %55, i32 %57, i32 4, i32 2)
%59 = load i32, i32* %3
%60 = add nsw i32 %59, 12
%61 = load i32, i32* %4
%62 = add nsw i32 %61, 2
%63 = call i32 @fill(i32 65504, i32 %60, i32 %62, i32 6, i32 2)
%64 = load i32, i32* %3
%65 = add nsw i32 %64, 8
%66 = load i32, i32* %4
%67 = add nsw i32 %66, 4
%68 = call i32 @fill(i32 65504, i32 %65, i32 %67, i32 8, i32 2)
%69 = load i32, i32* %3
%70 = add nsw i32 %69, 6
%71 = load i32, i32* %4
%72 = add nsw i32 %71, 6
%73 = call i32 @fill(i32 65504, i32 %70, i32 %72, i32 10, i32 2)
%74 = load i32, i32* %3
%75 = add nsw i32 %74, 4
%76 = load i32, i32* %4
%77 = add nsw i32 %76, 8
%78 = call i32 @fill(i32 65504, i32 %75, i32 %77, i32 12, i32 2)
%79 = load i32, i32* %3
%80 = add nsw i32 %79, 4
%81 = load i32, i32* %4
%82 = add nsw i32 %81, 10
%83 = call i32 @fill(i32 65504, i32 %80, i32 %82, i32 14, i32 2)
%84 = load i32, i32* %3
%85 = add nsw i32 %84, 4
%86 = load i32, i32* %4
%87 = add nsw i32 %86, 12
%88 = call i32 @fill(i32 65504, i32 %85, i32 %87, i32 16, i32 2)
%89 = load i32, i32* %3
%90 = add nsw i32 %89, 4
%91 = load i32, i32* %4
%92 = add nsw i32 %91, 14
%93 = call i32 @fill(i32 65504, i32 %90, i32 %92, i32 14, i32 2)
%94 = load i32, i32* %3
%95 = add nsw i32 %94, 4
%96 = load i32, i32* %4
%97 = add nsw i32 %96, 16
%98 = call i32 @fill(i32 65504, i32 %95, i32 %97, i32 12, i32 2)
%99 = load i32, i32* %3
%100 = add nsw i32 %99, 6
%101 = load i32, i32* %4
%102 = add nsw i32 %101, 18
%103 = call i32 @fill(i32 65504, i32 %100, i32 %102, i32 12, i32 2)
%104 = load i32, i32* %3
%105 = add nsw i32 %104, 10
%106 = load i32, i32* %4
%107 = add nsw i32 %106, 20
%108 = call i32 @fill(i32 65504, i32 %105, i32 %107, i32 10, i32 2)
%109 = load i32, i32* %3
%110 = add nsw i32 %109, 18
%111 = load i32, i32* %4
%112 = add nsw i32 %111, 2
%113 = call i32 @fill(i32 0, i32 %110, i32 %112, i32 2, i32 2)
%114 = load i32, i32* %3
%115 = add nsw i32 %114, 16
%116 = load i32, i32* %4
%117 = add nsw i32 %116, 4
%118 = call i32 @fill(i32 0, i32 %115, i32 %117, i32 2, i32 6)
%119 = load i32, i32* %3
%120 = add nsw i32 %119, 18
%121 = load i32, i32* %4
%122 = add nsw i32 %121, 10
%123 = call i32 @fill(i32 0, i32 %120, i32 %122, i32 2, i32 2)
%124 = load i32, i32* %3
%125 = add nsw i32 %124, 18
%126 = load i32, i32* %4
%127 = add nsw i32 %126, 4
%128 = call i32 @fill(i32 65535, i32 %125, i32 %127, i32 2, i32 6)
%129 = load i32, i32* %3
%130 = add nsw i32 %129, 20
%131 = load i32, i32* %4
%132 = add nsw i32 %131, 2
%133 = call i32 @fill(i32 65535, i32 %130, i32 %132, i32 4, i32 10)
%134 = load i32, i32* %3
%135 = add nsw i32 %134, 24
%136 = load i32, i32* %4
%137 = add nsw i32 %136, 4
%138 = call i32 @fill(i32 65535, i32 %135, i32 %137, i32 2, i32 8)
%139 = load i32, i32* %3
%140 = add nsw i32 %139, 26
%141 = load i32, i32* %4
%142 = add nsw i32 %141, 6
%143 = call i32 @fill(i32 65535, i32 %140, i32 %142, i32 2, i32 6)
%144 = load i32, i32* %3
%145 = add nsw i32 %144, 24
%146 = load i32, i32* %4
%147 = add nsw i32 %146, 6
%148 = call i32 @fill(i32 0, i32 %145, i32 %147, i32 2, i32 4)
%149 = load i32, i32* %3
%150 = add nsw i32 %149, 20
%151 = load i32, i32* %4
%152 = add nsw i32 %151, 12
%153 = call i32 @fill(i32 0, i32 %150, i32 %152, i32 12, i32 2)
%154 = load i32, i32* %3
%155 = add nsw i32 %154, 18
%156 = load i32, i32* %4
%157 = add nsw i32 %156, 14
%158 = call i32 @fill(i32 0, i32 %155, i32 %157, i32 2, i32 2)
%159 = load i32, i32* %3
%160 = add nsw i32 %159, 20
%161 = load i32, i32* %4
%162 = add nsw i32 %161, 14
%163 = call i32 @fill(i32 63488, i32 %160, i32 %162, i32 12, i32 2)
%164 = load i32, i32* %3
%165 = add nsw i32 %164, 32
%166 = load i32, i32* %4
%167 = add nsw i32 %166, 14
%168 = call i32 @fill(i32 0, i32 %165, i32 %167, i32 2, i32 2)
%169 = load i32, i32* %3
%170 = add nsw i32 %169, 16
%171 = load i32, i32* %4
%172 = add nsw i32 %171, 16
%173 = call i32 @fill(i32 0, i32 %170, i32 %172, i32 2, i32 2)
%174 = load i32, i32* %3
%175 = add nsw i32 %174, 18
%176 = load i32, i32* %4
%177 = add nsw i32 %176, 16
%178 = call i32 @fill(i32 63488, i32 %175, i32 %177, i32 2, i32 2)
%179 = load i32, i32* %3
%180 = add nsw i32 %179, 20
%181 = load i32, i32* %4
%182 = add nsw i32 %181, 16
%183 = call i32 @fill(i32 0, i32 %180, i32 %182, i32 12, i32 2)
%184 = load i32, i32* %3
%185 = add nsw i32 %184, 18
%186 = load i32, i32* %4
%187 = add nsw i32 %186, 18
%188 = call i32 @fill(i32 0, i32 %185, i32 %187, i32 2, i32 2)
%189 = load i32, i32* %3
%190 = add nsw i32 %189, 20
%191 = load i32, i32* %4
%192 = add nsw i32 %191, 18
%193 = call i32 @fill(i32 63488, i32 %190, i32 %192, i32 10, i32 2)
%194 = load i32, i32* %3
%195 = add nsw i32 %194, 30
%196 = load i32, i32* %4
%197 = add nsw i32 %196, 18
%198 = call i32 @fill(i32 0, i32 %195, i32 %197, i32 2, i32 2)
%199 = load i32, i32* %3
%200 = add nsw i32 %199, 20
%201 = load i32, i32* %4
%202 = add nsw i32 %201, 20
%203 = call i32 @fill(i32 0, i32 %200, i32 %202, i32 10, i32 2)
ret void
}

LLVM IR (-O2):
define void @draw_flappy(i32 %0, i32 %1) {
%3 = add nsw i32 %0, 2
%4 = add nsw i32 %1, 8
%5 = tail call i32 @fill(i32 0, i32 %3, i32 %4, i32 2, i32 10)
%6 = add nsw i32 %0, 4
%7 = add nsw i32 %1, 6
%8 = tail call i32 @fill(i32 0, i32 %6, i32 %7, i32 2, i32 2)
%9 = add nsw i32 %0, 6
%10 = add nsw i32 %1, 4
%11 = tail call i32 @fill(i32 0, i32 %9, i32 %10, i32 2, i32 2)
%12 = add nsw i32 %0, 8
%13 = add nsw i32 %1, 2
%14 = tail call i32 @fill(i32 0, i32 %12, i32 %13, i32 4, i32 2)
%15 = add nsw i32 %0, 12
%16 = tail call i32 @fill(i32 0, i32 %15, i32 %1, i32 12, i32 2)
%17 = add nsw i32 %0, 24
%18 = tail call i32 @fill(i32 0, i32 %17, i32 %13, i32 2, i32 2)
%19 = add nsw i32 %0, 26
%20 = tail call i32 @fill(i32 0, i32 %19, i32 %10, i32 2, i32 2)
%21 = add nsw i32 %0, 28
%22 = tail call i32 @fill(i32 0, i32 %21, i32 %7, i32 2, i32 6)
%23 = add nsw i32 %0, 10
%24 = add nsw i32 %1, 22
%25 = tail call i32 @fill(i32 0, i32 %23, i32 %24, i32 10, i32 2)
%26 = add nsw i32 %1, 18
%27 = tail call i32 @fill(i32 0, i32 %6, i32 %26, i32 2, i32 2)
%28 = add nsw i32 %1, 20
%29 = tail call i32 @fill(i32 0, i32 %9, i32 %28, i32 4, i32 2)
%30 = tail call i32 @fill(i32 65504, i32 %15, i32 %13, i32 6, i32 2)
%31 = tail call i32 @fill(i32 65504, i32 %12, i32 %10, i32 8, i32 2)
%32 = tail call i32 @fill(i32 65504, i32 %9, i32 %7, i32 10, i32 2)
%33 = tail call i32 @fill(i32 65504, i32 %6, i32 %4, i32 12, i32 2)
%34 = add nsw i32 %1, 10
%35 = tail call i32 @fill(i32 65504, i32 %6, i32 %34, i32 14, i32 2)
%36 = add nsw i32 %1, 12
%37 = tail call i32 @fill(i32 65504, i32 %6, i32 %36, i32 16, i32 2)
%38 = add nsw i32 %1, 14
%39 = tail call i32 @fill(i32 65504, i32 %6, i32 %38, i32 14, i32 2)
%40 = add nsw i32 %1, 16
%41 = tail call i32 @fill(i32 65504, i32 %6, i32 %40, i32 12, i32 2)
%42 = tail call i32 @fill(i32 65504, i32 %9, i32 %26, i32 12, i32 2)
%43 = tail call i32 @fill(i32 65504, i32 %23, i32 %28, i32 10, i32 2)
%44 = add nsw i32 %0, 18
%45 = tail call i32 @fill(i32 0, i32 %44, i32 %13, i32 2, i32 2)
%46 = add nsw i32 %0, 16
%47 = tail call i32 @fill(i32 0, i32 %46, i32 %10, i32 2, i32 6)
%48 = tail call i32 @fill(i32 0, i32 %44, i32 %34, i32 2, i32 2)
%49 = tail call i32 @fill(i32 65535, i32 %44, i32 %10, i32 2, i32 6)
%50 = add nsw i32 %0, 20
%51 = tail call i32 @fill(i32 65535, i32 %50, i32 %13, i32 4, i32 10)
%52 = tail call i32 @fill(i32 65535, i32 %17, i32 %10, i32 2, i32 8)
%53 = tail call i32 @fill(i32 65535, i32 %19, i32 %7, i32 2, i32 6)
%54 = tail call i32 @fill(i32 0, i32 %17, i32 %7, i32 2, i32 4)
%55 = tail call i32 @fill(i32 0, i32 %50, i32 %36, i32 12, i32 2)
%56 = tail call i32 @fill(i32 0, i32 %44, i32 %38, i32 2, i32 2)
%57 = tail call i32 @fill(i32 63488, i32 %50, i32 %38, i32 12, i32 2)
%58 = add nsw i32 %0, 32
%59 = tail call i32 @fill(i32 0, i32 %58, i32 %38, i32 2, i32 2)
%60 = tail call i32 @fill(i32 0, i32 %46, i32 %40, i32 2, i32 2)
%61 = tail call i32 @fill(i32 63488, i32 %44, i32 %40, i32 2, i32 2)
%62 = tail call i32 @fill(i32 0, i32 %50, i32 %40, i32 12, i32 2)
%63 = tail call i32 @fill(i32 0, i32 %44, i32 %26, i32 2, i32 2)
%64 = tail call i32 @fill(i32 63488, i32 %50, i32 %26, i32 10, i32 2)
%65 = add nsw i32 %0, 30
%66 = tail call i32 @fill(i32 0, i32 %65, i32 %26, i32 2, i32 2)
%67 = tail call i32 @fill(i32 0, i32 %50, i32 %28, i32 10, i32 2)
ret void
}