#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*/ OutPortb(int, int);
int /*<<< orphan*/ OutPortw(int, int);
int /*<<< orphan*/ Set_320x200X();
void Set_320x240X() {
  Set_320x200X();
  OutPortb(0x3C2, 0xE3);
  OutPortw(0x3d4, 0x2C11);
  OutPortw(0x3d4, 0x0D06);
  OutPortw(0x3d4, 0x3E07);
  OutPortw(0x3d4, 0xEA10);
  OutPortw(0x3d4, 0xAC11);
  OutPortw(0x3d4, 0xDF12);
  OutPortw(0x3d4, 0xE715);
  OutPortw(0x3d4, 0x0616);
}


x86 assembly (clang, -O0):
<Set_320x240X>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <Set_320x200X@plt>
mov    $0x3c2,%edi
mov    $0xe3,%esi
call   1050 <OutPortb@plt>
mov    $0x3d4,%edi
mov    $0x2c11,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xd06,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0x3e07,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xea10,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xac11,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xdf12,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xe715,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0x616,%esi
call   1040 <OutPortw@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Set_320x240X>:
push   %rax
xor    %eax,%eax
call   1030 <Set_320x200X@plt>
mov    $0x3c2,%edi
mov    $0xe3,%esi
call   1050 <OutPortb@plt>
mov    $0x3d4,%edi
mov    $0x2c11,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xd06,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0x3e07,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xea10,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xac11,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xdf12,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0xe715,%esi
call   1040 <OutPortw@plt>
mov    $0x3d4,%edi
mov    $0x616,%esi
pop    %rax
jmp    1040 <OutPortw@plt>

LLVM IR (-O0):
define void @Set_320x240X() {
%1 = call i32 (...) @Set_320x200X()
%2 = call i32 @OutPortb(i32 962, i32 227)
%3 = call i32 @OutPortw(i32 980, i32 11281)
%4 = call i32 @OutPortw(i32 980, i32 3334)
%5 = call i32 @OutPortw(i32 980, i32 15879)
%6 = call i32 @OutPortw(i32 980, i32 59920)
%7 = call i32 @OutPortw(i32 980, i32 44049)
%8 = call i32 @OutPortw(i32 980, i32 57106)
%9 = call i32 @OutPortw(i32 980, i32 59157)
%10 = call i32 @OutPortw(i32 980, i32 1558)
ret void
}

LLVM IR (-O2):
define void @Set_320x240X() {
%1 = tail call i32 (...) @Set_320x200X()
%2 = tail call i32 @OutPortb(i32 962, i32 227)
%3 = tail call i32 @OutPortw(i32 980, i32 11281)
%4 = tail call i32 @OutPortw(i32 980, i32 3334)
%5 = tail call i32 @OutPortw(i32 980, i32 15879)
%6 = tail call i32 @OutPortw(i32 980, i32 59920)
%7 = tail call i32 @OutPortw(i32 980, i32 44049)
%8 = tail call i32 @OutPortw(i32 980, i32 57106)
%9 = tail call i32 @OutPortw(i32 980, i32 59157)
%10 = tail call i32 @OutPortw(i32 980, i32 1558)
ret void
}