#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);
void rendermobsword(void) {
  zlBeginQuads();
  zlTexCoord2x(14 * 4096, 6 * 4096);
  zlVertex3x(-8192, 8192, -8192);
  zlTexCoord2x(14 * 4096, 10 * 4096);
  zlVertex3x(-8192, -65536 - 8192, -8192);
  zlTexCoord2x(15 * 4096, 10 * 4096);
  zlVertex3x(-8192, -65536 - 8192, 8192);
  zlTexCoord2x(15 * 4096, 6 * 4096);
  zlVertex3x(-8192, 8192, 8192);
  zlEndQuads();
}


x86 assembly (clang, -O0):
<rendermobsword>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <zlBeginQuads@plt>
mov    $0xe000,%edi
mov    $0x6000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edx
mov    $0x2000,%esi
mov    %edx,%edi
call   1050 <zlVertex3x@plt>
mov    $0xe000,%edi
mov    $0xa000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edx
mov    $0xfffee000,%esi
mov    %edx,%edi
call   1050 <zlVertex3x@plt>
mov    $0xf000,%edi
mov    $0xa000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0xfffee000,%esi
mov    $0x2000,%edx
call   1050 <zlVertex3x@plt>
mov    $0xf000,%edi
mov    $0x6000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0x2000,%edx
mov    %edx,%esi
call   1050 <zlVertex3x@plt>
mov    $0x0,%al
call   1040 <zlEndQuads@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<rendermobsword>:
push   %rax
xor    %eax,%eax
call   1030 <zlBeginQuads@plt>
mov    $0xe000,%edi
mov    $0x6000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0x2000,%esi
mov    $0xffffe000,%edx
call   1050 <zlVertex3x@plt>
mov    $0xe000,%edi
mov    $0xa000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0xfffee000,%esi
mov    $0xffffe000,%edx
call   1050 <zlVertex3x@plt>
mov    $0xf000,%edi
mov    $0xa000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0xfffee000,%esi
mov    $0x2000,%edx
call   1050 <zlVertex3x@plt>
mov    $0xf000,%edi
mov    $0x6000,%esi
call   1060 <zlTexCoord2x@plt>
mov    $0xffffe000,%edi
mov    $0x2000,%esi
mov    $0x2000,%edx
call   1050 <zlVertex3x@plt>
xor    %eax,%eax
pop    %rcx
jmp    1040 <zlEndQuads@plt>

LLVM IR (-O0):
define void @rendermobsword() {
%1 = call i32 (...) @zlBeginQuads()
%2 = call i32 @zlTexCoord2x(i32 57344, i32 24576)
%3 = call i32 @zlVertex3x(i32 -8192, i32 8192, i32 -8192)
%4 = call i32 @zlTexCoord2x(i32 57344, i32 40960)
%5 = call i32 @zlVertex3x(i32 -8192, i32 -73728, i32 -8192)
%6 = call i32 @zlTexCoord2x(i32 61440, i32 40960)
%7 = call i32 @zlVertex3x(i32 -8192, i32 -73728, i32 8192)
%8 = call i32 @zlTexCoord2x(i32 61440, i32 24576)
%9 = call i32 @zlVertex3x(i32 -8192, i32 8192, i32 8192)
%10 = call i32 (...) @zlEndQuads()
ret void
}

LLVM IR (-O2):
define void @rendermobsword() {
%1 = tail call i32 (...) @zlBeginQuads()
%2 = tail call i32 @zlTexCoord2x(i32 57344, i32 24576)
%3 = tail call i32 @zlVertex3x(i32 -8192, i32 8192, i32 -8192)
%4 = tail call i32 @zlTexCoord2x(i32 57344, i32 40960)
%5 = tail call i32 @zlVertex3x(i32 -8192, i32 -73728, i32 -8192)
%6 = tail call i32 @zlTexCoord2x(i32 61440, i32 40960)
%7 = tail call i32 @zlVertex3x(i32 -8192, i32 -73728, i32 8192)
%8 = tail call i32 @zlTexCoord2x(i32 61440, i32 24576)
%9 = tail call i32 @zlVertex3x(i32 -8192, i32 8192, i32 8192)
%10 = tail call i32 (...) @zlEndQuads()
ret void
}