#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*/ vdmnum(int, char *);
int /*<<< orphan*/ vdmprintf(char *, int /*<<< orphan*/, int /*<<< orphan*/,
                             int /*<<< orphan*/, int /*<<< orphan*/,
                             int /*<<< orphan*/);
void vdmellipse(int centerx, int centery, int radiusx, int radiusy,
                int rotation) {
  char x[4], y[4], radx[4], rady[4], rotat[4];
  vdmprintf("}7%s%s%s%s%s\x1e\n", vdmnum(centerx, x), vdmnum(centery, y),
            vdmnum(radiusx, radx), vdmnum(radiusy, rady),
            vdmnum(rotation, rotat));
}


x86 assembly (clang, -O0):
<vdmellipse>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %ecx,-0x10(%rbp)
mov    %r8d,-0x14(%rbp)
mov    -0x4(%rbp),%edi
lea    -0x18(%rbp),%rsi
call   1030 <vdmnum@plt>
mov    %eax,-0x38(%rbp)
mov    -0x8(%rbp),%edi
lea    -0x1c(%rbp),%rsi
call   1030 <vdmnum@plt>
mov    %eax,-0x34(%rbp)
mov    -0xc(%rbp),%edi
lea    -0x20(%rbp),%rsi
call   1030 <vdmnum@plt>
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%edi
lea    -0x24(%rbp),%rsi
call   1030 <vdmnum@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x14(%rbp),%edi
lea    -0x28(%rbp),%rsi
call   1030 <vdmnum@plt>
mov    -0x38(%rbp),%esi
mov    -0x34(%rbp),%edx
mov    -0x30(%rbp),%ecx
mov    -0x2c(%rbp),%r8d
mov    %eax,%r9d
lea    0xe69(%rip),%rdi
call   1040 <vdmprintf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<vdmellipse>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    %r8d,%r14d
mov    %ecx,%r12d
mov    %edx,%ebp
mov    %esi,%ebx
lea    0x14(%rsp),%rsi
call   1030 <vdmnum@plt>
mov    %eax,%r15d
lea    0x10(%rsp),%rsi
mov    %ebx,%edi
call   1030 <vdmnum@plt>
mov    %eax,%r13d
lea    0xc(%rsp),%rsi
mov    %ebp,%edi
call   1030 <vdmnum@plt>
mov    %eax,%ebp
lea    0x8(%rsp),%rsi
mov    %r12d,%edi
call   1030 <vdmnum@plt>
mov    %eax,%ebx
lea    0x4(%rsp),%rsi
mov    %r14d,%edi
call   1030 <vdmnum@plt>
lea    0xe7b(%rip),%rdi
mov    %r15d,%esi
mov    %r13d,%edx
mov    %ebp,%ecx
mov    %ebx,%r8d
mov    %eax,%r9d
call   1040 <vdmprintf@plt>
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [15 x i8] c"}7%s%s%s%s%s\1E\0A\00"
define void @vdmellipse(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca [4 x i8]
%12 = alloca [4 x i8]
%13 = alloca [4 x i8]
%14 = alloca [4 x i8]
%15 = alloca [4 x i8]
store i32 %0, i32* %6
store i32 %1, i32* %7
store i32 %2, i32* %8
store i32 %3, i32* %9
store i32 %4, i32* %10
%16 = load i32, i32* %6
%17 = getelementptr inbounds [4 x i8], [4 x i8]* %11, i64 0, i64 0
%18 = call i32 @vdmnum(i32 %16, i8* %17)
%19 = load i32, i32* %7
%20 = getelementptr inbounds [4 x i8], [4 x i8]* %12, i64 0, i64 0
%21 = call i32 @vdmnum(i32 %19, i8* %20)
%22 = load i32, i32* %8
%23 = getelementptr inbounds [4 x i8], [4 x i8]* %13, i64 0, i64 0
%24 = call i32 @vdmnum(i32 %22, i8* %23)
%25 = load i32, i32* %9
%26 = getelementptr inbounds [4 x i8], [4 x i8]* %14, i64 0, i64 0
%27 = call i32 @vdmnum(i32 %25, i8* %26)
%28 = load i32, i32* %10
%29 = getelementptr inbounds [4 x i8], [4 x i8]* %15, i64 0, i64 0
%30 = call i32 @vdmnum(i32 %28, i8* %29)
%31 = call i32 @vdmprintf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %18, i32 %21, i32 %24, i32 %27, i32 %30)
ret void
}

LLVM IR (-O2):
@.str = [15 x i8] c"}7%s%s%s%s%s\1E\0A\00"
define void @vdmellipse(i32 %0, i32 %1, i32 %2, i32 %3, i32 %4) {
%6 = alloca [4 x i8]
%7 = alloca [4 x i8]
%8 = alloca [4 x i8]
%9 = alloca [4 x i8]
%10 = alloca [4 x i8]
%11 = getelementptr inbounds [4 x i8], [4 x i8]* %6, i64 0, i64 0
%12 = getelementptr inbounds [4 x i8], [4 x i8]* %7, i64 0, i64 0
%13 = getelementptr inbounds [4 x i8], [4 x i8]* %8, i64 0, i64 0
%14 = getelementptr inbounds [4 x i8], [4 x i8]* %9, i64 0, i64 0
%15 = getelementptr inbounds [4 x i8], [4 x i8]* %10, i64 0, i64 0
%16 = call i32 @vdmnum(i32 %0, i8* %11)
%17 = call i32 @vdmnum(i32 %1, i8* %12)
%18 = call i32 @vdmnum(i32 %2, i8* %13)
%19 = call i32 @vdmnum(i32 %3, i8* %14)
%20 = call i32 @vdmnum(i32 %4, i8* %15)
%21 = call i32 @vdmprintf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %16, i32 %17, i32 %18, i32 %19, i32 %20)
ret void
}