#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*/ pcibios_write_config_byte(int /*<<< orphan*/, scalar_t__,
                                             int, int);
void set_mdir(void) {
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x69, 0xB3);
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x6a, 0xee);
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x6b, 0xff);
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x6c, 0xff);
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x6d, 0xff);
  pcibios_write_config_byte(0, ((0x00 << 3) + 0), 0x6e, 0x03);
}


x86 assembly (clang, -O0):
<set_mdir>:
push   %rbp
mov    %rsp,%rbp
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x69,%edx
mov    $0xb3,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x6a,%edx
mov    $0xee,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x6b,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x6c,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x6d,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x6e,%edx
mov    $0x3,%ecx
call   1030 <pcibios_write_config_byte@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<set_mdir>:
push   %rax
xor    %edi,%edi
xor    %esi,%esi
mov    $0x69,%edx
mov    $0xb3,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x6a,%edx
mov    $0xee,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x6b,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x6c,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x6d,%edx
mov    $0xff,%ecx
call   1030 <pcibios_write_config_byte@plt>
xor    %edi,%edi
xor    %esi,%esi
mov    $0x6e,%edx
mov    $0x3,%ecx
pop    %rax
jmp    1030 <pcibios_write_config_byte@plt>

LLVM IR (-O0):
define void @set_mdir() {
%1 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 105, i32 179)
%2 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 106, i32 238)
%3 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 107, i32 255)
%4 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 108, i32 255)
%5 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 109, i32 255)
%6 = call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 110, i32 3)
ret void
}

LLVM IR (-O2):
define void @set_mdir() {
%1 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 105, i32 179)
%2 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 106, i32 238)
%3 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 107, i32 255)
%4 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 108, i32 255)
%5 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 109, i32 255)
%6 = tail call i32 @pcibios_write_config_byte(i32 0, i64 0, i32 110, i32 3)
ret void
}