#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*/ zlBeginQuads();
int /*<<< orphan*/ zlEndQuads();
int /*<<< orphan*/ zlTexCoord2x(int, int);
int /*<<< orphan*/ zlVertex3x(int, int, int /*<<< orphan*/);
void drawnekotail(void) {
  zlBeginQuads();
  zlTexCoord2x(13 * 4096, 5 * 4096);
  zlVertex3x(8192, 69152, 0);
  zlTexCoord2x(13 * 4096, 9 * 4096);
  zlVertex3x(8192, 0, 0);
  zlTexCoord2x(16 * 4096, 9 * 4096);
  zlVertex3x(52178, 0, 0);
  zlTexCoord2x(16 * 4096, 5 * 4096);
  zlVertex3x(52178, 69152, 0);
  zlEndQuads();
}


x86 assembly (clang, -O0):
<drawnekotail>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <zlBeginQuads@plt>
mov    $0xd000,%edi
mov    $0x5000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0x2000,%edi
mov    $0x10e20,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
mov    $0xd000,%edi
mov    $0x9000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0x2000,%edi
xor    %edx,%edx
mov    %edx,%esi
call   1050 <zlVertex3x@plt>
mov    $0x10000,%edi
mov    $0x9000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xcbd2,%edi
xor    %edx,%edx
mov    %edx,%esi
call   1050 <zlVertex3x@plt>
mov    $0x10000,%edi
mov    $0x5000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xcbd2,%edi
mov    $0x10e20,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
mov    $0x0,%al
call   1040 <zlEndQuads@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<drawnekotail>:
push   %rax
xor    %eax,%eax
call   1030 <zlBeginQuads@plt>
mov    $0xd000,%edi
mov    $0x5000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0x2000,%edi
mov    $0x10e20,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
mov    $0xd000,%edi
mov    $0x9000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0x2000,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
mov    $0x10000,%edi
mov    $0x9000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xcbd2,%edi
xor    %esi,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
mov    $0x10000,%edi
mov    $0x5000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xcbd2,%edi
mov    $0x10e20,%esi
xor    %edx,%edx
call   1050 <zlVertex3x@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <zlEndQuads@plt>

LLVM IR (-O0):
define void @drawnekotail() {
%1 = call i32 (...) @zlBeginQuads()
%2 = call i32 @zlTexCoord2x(i32 53248, i32 20480)
%3 = call i32 @zlVertex3x(i32 8192, i32 69152, i32 0)
%4 = call i32 @zlTexCoord2x(i32 53248, i32 36864)
%5 = call i32 @zlVertex3x(i32 8192, i32 0, i32 0)
%6 = call i32 @zlTexCoord2x(i32 65536, i32 36864)
%7 = call i32 @zlVertex3x(i32 52178, i32 0, i32 0)
%8 = call i32 @zlTexCoord2x(i32 65536, i32 20480)
%9 = call i32 @zlVertex3x(i32 52178, i32 69152, i32 0)
%10 = call i32 (...) @zlEndQuads()
ret void
}

LLVM IR (-O2):
define void @drawnekotail() {
%1 = tail call i32 (...) @zlBeginQuads()
%2 = tail call i32 @zlTexCoord2x(i32 53248, i32 20480)
%3 = tail call i32 @zlVertex3x(i32 8192, i32 69152, i32 0)
%4 = tail call i32 @zlTexCoord2x(i32 53248, i32 36864)
%5 = tail call i32 @zlVertex3x(i32 8192, i32 0, i32 0)
%6 = tail call i32 @zlTexCoord2x(i32 65536, i32 36864)
%7 = tail call i32 @zlVertex3x(i32 52178, i32 0, i32 0)
%8 = tail call i32 @zlTexCoord2x(i32 65536, i32 20480)
%9 = tail call i32 @zlVertex3x(i32 52178, i32 69152, i32 0)
%10 = tail call i32 (...) @zlEndQuads()
ret void
}