#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 inb(unsigned int);
int /*<<< orphan*/ iopl(int);
int /*<<< orphan*/ outb(unsigned int, int);
int /*<<< orphan*/ outw(unsigned int, int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char **argv) {
  int i, value, index = 0;
  char c, cport;
  char *str;
  unsigned int port, port1 = 0;
  int query = 0;
  if (argc < 2) {
    printf("usage: %s [Cvvxx [Cvvxx]] [Dxx]\n", argv[0]);
    printf("     where C = A|a write vv to ARxx\n");
    printf("             = C|c write vv to CRxx\n");
    printf("             = F|f write vv to FRxx (6555x only)\n");
    printf("             = G|g write vv to GRxx\n");
    printf("             = M|m write vv to MRxx (6555x only)\n");
    printf("             = S|s write vv to SRxx\n");
    printf("             = X|x write vv to XRxx\n");
    printf("     where D = Y|y write xx to FCR\n");
    printf("             = Z|z write vv to MSR\n");
    printf("     xx is in hexadecimal\n");
    printf("     vv is in hexadecimal or '?' for query\n");
  }
  iopl(3);
  for (i = 1; i < argc; i++) {
    value = 0;
    str = argv[i];
    c = *str++;
    switch (c) {
    case 'f':
    case 'F':
      cport = 'F';
      port = 0x3D0;
      break;
    case 'c':
    case 'C':
      cport = 'C';
      port = 0x3D4;
      break;
    case 'x':
    case 'X':
      cport = 'X';
      port = 0x3D6;
      break;
    case 'g':
    case 'G':
      cport = 'G';
      port = 0x3CE;
      break;
    case 'a':
    case 'A':
      cport = 'A';
      port = 0x3C0;
      break;
    case 's':
    case 'S':
      cport = 'S';
      port = 0x3C4;
      break;
    case 'm':
    case 'M':
      cport = 'M';
      port = 0x3D2;
      break;
    case 'y':
    case 'Y':
      cport = 'Y';
      port = 0x3DA;
      port1 = 0x3CA;
      break;
    case 'z':
    case 'Z':
      cport = 'Z';
      port = 0x3C2;
      port1 = 0x3CC;
      break;
    default:
      continue;
      break;
    }
    if ((cport != 'Z') && (cport != 'Y'))
      index = inb(port);
    while ((c = *str++)) {
      if (c == '?') {
        query = 1;
      }
      if (c >= '0' && c <= '9')
        value = (value << 4) | (c - '0');
      else if (c >= 'A' && c < 'G')
        value = (value << 4) | (c - 'A' + 10);
      else if (c >= 'a' && c < 'g')
        value = (value << 4) | (c - 'a' + 10);
    }
    if ((cport != 'Z') && (cport != 'Y'))
      outb(port, value & 0xFF);
    if (query) {
      if ((cport != 'Z') && (cport != 'Y'))
        printf("%cR%X: 0x%X\n", cport, value & 0xFF, inb(port + 1) & 0xFF);
      else if (cport == 'Z')
        printf("MSR: 0x%X\n", inb(port1) & 0xFF);
      else
        printf("FCR: 0x%X\n", inb(port1) & 0xFF);
    } else {
      if ((cport != 'Z') && (cport != 'Y')) {
        printf("%cR%X: 0x%X -> 0x%X\n", cport, value & 0xFF,
               inb(port + 1) & 0xFF, (value & 0xFF00) >> 8);
        outw(port, value);
        outb(port, index & 0xFF);
      } else {
        if (cport == 'Z')
          printf("MSR: 0x%X -> 0x%X\n", inb(port1) & 0xFF, value & 0xFF);
        else
          printf("FCR: 0x%X -> 0x%X\n", inb(port1) & 0xFF, value & 0xFF);
        outb(port, value & 0xFF);
      }
    }
  }
  iopl(0);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x30(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    1234 <main+0xe4>
mov    -0x10(%rbp),%rax
mov    (%rax),%rsi
lea    0xf55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf68(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf7f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf96(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfba(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xff5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x100c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1023(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x1039(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x104f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x105c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x3,%edi
call   1040 <iopl@plt>
movl   $0x1,-0x14(%rbp)
mov    -0x14(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    1637 <main+0x4e7>
movl   $0x0,-0x18(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x28(%rbp)
mov    (%rax),%al
mov    %al,-0x1d(%rbp)
movsbl -0x1d(%rbp),%eax
add    $0xffffffbf,%eax
mov    %eax,%ecx
mov    %rcx,-0x40(%rbp)
sub    $0x39,%eax
ja     1344 <main+0x1f4>
mov    -0x40(%rbp),%rax
lea    0xd63(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movb   $0x46,-0x1e(%rbp)
movl   $0x3d0,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x43,-0x1e(%rbp)
movl   $0x3d4,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x58,-0x1e(%rbp)
movl   $0x3d6,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x47,-0x1e(%rbp)
movl   $0x3ce,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x41,-0x1e(%rbp)
movl   $0x3c0,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x53,-0x1e(%rbp)
movl   $0x3c4,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x4d,-0x1e(%rbp)
movl   $0x3d2,-0x2c(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x59,-0x1e(%rbp)
movl   $0x3da,-0x2c(%rbp)
movl   $0x3ca,-0x30(%rbp)
jmp    1349 <main+0x1f9>
movb   $0x5a,-0x1e(%rbp)
movl   $0x3c2,-0x2c(%rbp)
movl   $0x3cc,-0x30(%rbp)
jmp    1349 <main+0x1f9>
jmp    1629 <main+0x4d9>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
je     136e <main+0x21e>
movsbl -0x1e(%rbp),%eax
cmp    $0x59,%eax
je     136e <main+0x21e>
mov    -0x2c(%rbp),%edi
call   1060 <inb@plt>
mov    %eax,-0x1c(%rbp)
jmp    1373 <main+0x223>
mov    -0x28(%rbp),%rax
mov    %rax,%rcx
add    $0x1,%rcx
mov    %rcx,-0x28(%rbp)
mov    (%rax),%al
mov    %al,-0x1d(%rbp)
cmp    $0x0,%al
je     1446 <main+0x2f6>
movsbl -0x1d(%rbp),%eax
cmp    $0x3f,%eax
jne    13a3 <main+0x253>
movl   $0x1,-0x34(%rbp)
movsbl -0x1d(%rbp),%eax
cmp    $0x30,%eax
jl     13d4 <main+0x284>
movsbl -0x1d(%rbp),%eax
cmp    $0x39,%eax
jg     13d4 <main+0x284>
mov    -0x18(%rbp),%eax
shl    $0x4,%eax
movsbl -0x1d(%rbp),%ecx
sub    $0x30,%ecx
or     %ecx,%eax
mov    %eax,-0x18(%rbp)
jmp    1441 <main+0x2f1>
movsbl -0x1d(%rbp),%eax
cmp    $0x41,%eax
jl     1408 <main+0x2b8>
movsbl -0x1d(%rbp),%eax
cmp    $0x47,%eax
jge    1408 <main+0x2b8>
mov    -0x18(%rbp),%eax
shl    $0x4,%eax
movsbl -0x1d(%rbp),%ecx
sub    $0x41,%ecx
add    $0xa,%ecx
or     %ecx,%eax
mov    %eax,-0x18(%rbp)
jmp    143c <main+0x2ec>
movsbl -0x1d(%rbp),%eax
cmp    $0x61,%eax
jl     1437 <main+0x2e7>
movsbl -0x1d(%rbp),%eax
cmp    $0x67,%eax
jge    1437 <main+0x2e7>
mov    -0x18(%rbp),%eax
shl    $0x4,%eax
movsbl -0x1d(%rbp),%ecx
sub    $0x61,%ecx
add    $0xa,%ecx
or     %ecx,%eax
mov    %eax,-0x18(%rbp)
jmp    143c <main+0x2ec>
jmp    1441 <main+0x2f1>
jmp    1373 <main+0x223>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
je     1471 <main+0x321>
movsbl -0x1e(%rbp),%eax
cmp    $0x59,%eax
je     1471 <main+0x321>
mov    -0x2c(%rbp),%edi
mov    -0x18(%rbp),%esi
and    $0xff,%esi
call   1050 <outb@plt>
cmpl   $0x0,-0x34(%rbp)
je     152b <main+0x3db>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
je     14d3 <main+0x383>
movsbl -0x1e(%rbp),%eax
cmp    $0x59,%eax
je     14d3 <main+0x383>
movsbl -0x1e(%rbp),%eax
mov    %eax,-0x48(%rbp)
mov    -0x18(%rbp),%eax
and    $0xff,%eax
mov    %eax,-0x44(%rbp)
mov    -0x2c(%rbp),%edi
add    $0x1,%edi
call   1060 <inb@plt>
mov    -0x48(%rbp),%esi
mov    -0x44(%rbp),%edx
mov    %eax,%ecx
and    $0xff,%ecx
lea    0xdee(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1526 <main+0x3d6>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
jne    1503 <main+0x3b3>
mov    -0x30(%rbp),%edi
call   1060 <inb@plt>
mov    %eax,%esi
and    $0xff,%esi
lea    0xdcb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1521 <main+0x3d1>
mov    -0x30(%rbp),%edi
call   1060 <inb@plt>
mov    %eax,%esi
and    $0xff,%esi
lea    0xdb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1526 <main+0x3d6>
jmp    1624 <main+0x4d4>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
je     15ae <main+0x45e>
movsbl -0x1e(%rbp),%eax
cmp    $0x59,%eax
je     15ae <main+0x45e>
movsbl -0x1e(%rbp),%eax
mov    %eax,-0x50(%rbp)
mov    -0x18(%rbp),%eax
and    $0xff,%eax
mov    %eax,-0x4c(%rbp)
mov    -0x2c(%rbp),%edi
add    $0x1,%edi
call   1060 <inb@plt>
mov    -0x50(%rbp),%esi
mov    -0x4c(%rbp),%edx
mov    %eax,%ecx
and    $0xff,%ecx
mov    -0x18(%rbp),%r8d
and    $0xff00,%r8d
sar    $0x8,%r8d
lea    0xd52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2c(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1070 <outw@plt>
mov    -0x2c(%rbp),%edi
mov    -0x1c(%rbp),%esi
and    $0xff,%esi
call   1050 <outb@plt>
jmp    161f <main+0x4cf>
movsbl -0x1e(%rbp),%eax
cmp    $0x5a,%eax
jne    15e7 <main+0x497>
mov    -0x30(%rbp),%edi
call   1060 <inb@plt>
mov    %eax,%esi
and    $0xff,%esi
mov    -0x18(%rbp),%edx
and    $0xff,%edx
lea    0xd12(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    160e <main+0x4be>
mov    -0x30(%rbp),%edi
call   1060 <inb@plt>
mov    %eax,%esi
and    $0xff,%esi
mov    -0x18(%rbp),%edx
and    $0xff,%edx
lea    0xcf9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x2c(%rbp),%edi
mov    -0x18(%rbp),%esi
and    $0xff,%esi
call   1050 <outb@plt>
jmp    1624 <main+0x4d4>
jmp    1629 <main+0x4d9>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1245 <main+0xf5>
xor    %edi,%edi
call   1040 <iopl@plt>
xor    %eax,%eax
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    %rsi,%r15
cmp    $0x1,%edi
jg     121e <main+0xbe>
mov    (%r15),%rsi
lea    0xf64(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xfd5(%rip),%rdi
call   1030 <puts@plt>
lea    0xfed(%rip),%rdi
call   1030 <puts@plt>
lea    0x1005(%rip),%rdi
call   1030 <puts@plt>
lea    0x102a(%rip),%rdi
call   1030 <puts@plt>
lea    0x1042(%rip),%rdi
call   1030 <puts@plt>
lea    0x1067(%rip),%rdi
call   1030 <puts@plt>
lea    0x107f(%rip),%rdi
call   1030 <puts@plt>
lea    0x1097(%rip),%rdi
call   1030 <puts@plt>
lea    0x10ae(%rip),%rdi
call   1030 <puts@plt>
lea    0x10c5(%rip),%rdi
call   1030 <puts@plt>
lea    0x10d3(%rip),%rdi
call   1030 <puts@plt>
mov    $0x3,%edi
call   1050 <iopl@plt>
jmp    149b <main+0x33b>
mov    %edi,%ebp
mov    $0x3,%edi
call   1050 <iopl@plt>
mov    %ebp,%eax
mov    %rax,0x20(%rsp)
mov    $0x1,%r13d
mov    $0x1,%r12d
xor    %r14d,%r14d
movl   $0x0,0x18(%rsp)
movl   $0x0,0x1c(%rsp)
mov    %r15,0x10(%rsp)
cs nopw 0x0(%rax,%rax,1)
nop
mov    (%r15,%r13,8),%rbp
movsbl 0x0(%rbp),%ebx
add    $0xffffffbf,%ebx
cmp    $0x39,%ebx
ja     148c <main+0x32c>
mov    $0x3ca,%r9d
mov    $0x3da,%edx
mov    $0x59,%esi
mov    $0x1,%r8b
mov    $0x3d0,%edi
mov    $0x46,%ecx
xor    %r10d,%r10d
lea    0xd65(%rip),%rax
movslq (%rax,%rbx,4),%rbx
add    %rax,%rbx
jmp    *%rbx
mov    $0x3c0,%edi
mov    $0x41,%ecx
jmp    12f0 <main+0x190>
mov    $0x3d4,%edi
mov    $0x43,%ecx
jmp    12f0 <main+0x190>
mov    $0x3ce,%edi
mov    $0x47,%ecx
jmp    12f0 <main+0x190>
mov    $0x3d2,%edi
mov    $0x4d,%ecx
jmp    12f0 <main+0x190>
mov    $0x3c4,%edi
mov    $0x53,%ecx
jmp    12f0 <main+0x190>
mov    $0x3d6,%edi
mov    $0x58,%ecx
nopw   0x0(%rax,%rax,1)
mov    %edi,0xc(%rsp)
mov    %ecx,%ebx
call   1070 <inb@plt>
mov    %ebx,%r9d
mov    %eax,0x1c(%rsp)
mov    $0x1,%r8b
xor    %r10d,%r10d
jmp    132f <main+0x1cf>
mov    $0x3cc,%r9d
mov    $0x3c2,%edx
mov    $0x5a,%esi
mov    $0x1,%r10b
xor    %r8d,%r8d
and    %r10b,%r8b
mov    %r9d,0x18(%rsp)
mov    %edx,0xc(%rsp)
mov    %esi,%r9d
mov    0x1(%rbp),%cl
test   %cl,%cl
je     13a0 <main+0x240>
add    $0x2,%rbp
xor    %ebx,%ebx
mov    0xc(%rsp),%edi
jmp    1366 <main+0x206>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
shl    $0x4,%ebx
add    $0xffffffd0,%edx
or     %ebx,%edx
mov    %edx,%ebx
movzbl 0x0(%rbp),%ecx
add    $0x1,%rbp
test   %cl,%cl
je     13a6 <main+0x246>
movsbl %cl,%edx
cmp    $0x3f,%dl
cmove  %r12d,%r14d
lea    -0x30(%rdx),%esi
cmp    $0x9,%sil
jbe    1350 <main+0x1f0>
lea    -0x41(%rcx),%esi
cmp    $0x5,%sil
ja     1390 <main+0x230>
shl    $0x4,%ebx
add    $0xffffffc9,%edx
jmp    1356 <main+0x1f6>
nopw   0x0(%rax,%rax,1)
add    $0x9f,%cl
cmp    $0x5,%cl
ja     135a <main+0x1fa>
shl    $0x4,%ebx
add    $0xffffffa9,%edx
jmp    1356 <main+0x1f6>
xor    %ebx,%ebx
mov    0xc(%rsp),%edi
test   %r8b,%r8b
je     13f0 <main+0x290>
mov    %r9d,0xc(%rsp)
movzbl %bl,%r15d
mov    %r15d,%esi
mov    %edi,%ebp
call   1060 <outb@plt>
mov    %ebp,%edi
or     $0x1,%edi
call   1070 <inb@plt>
movzbl %al,%ecx
test   %r14d,%r14d
je     1412 <main+0x2b2>
lea    0xd32(%rip),%rdi
mov    0xc(%rsp),%esi
mov    %r15d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1481 <main+0x321>
nopw   0x0(%rax,%rax,1)
mov    %r10d,%ebp
mov    0x18(%rsp),%edi
call   1070 <inb@plt>
movzbl %al,%esi
test   %r14d,%r14d
je     1442 <main+0x2e2>
test   %bpl,%bpl
je     1473 <main+0x313>
lea    0xd06(%rip),%rdi
jmp    147a <main+0x31a>
movzbl %bh,%eax
xor    %r14d,%r14d
lea    0xd0d(%rip),%rdi
mov    0xc(%rsp),%esi
mov    %r15d,%edx
mov    %eax,%r8d
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebp,%edi
mov    %ebx,%esi
call   1080 <outw@plt>
movzbl 0x1c(%rsp),%esi
mov    %ebp,%edi
jmp    146c <main+0x30c>
movzbl %bl,%ebx
test   %bpl,%bpl
lea    0xd05(%rip),%rdi
lea    0xceb(%rip),%rax
cmovne %rax,%rdi
xor    %r14d,%r14d
mov    %ebx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    0xc(%rsp),%edi
mov    %ebx,%esi
call   1060 <outb@plt>
jmp    1487 <main+0x327>
lea    0xca7(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0x1,%r14d
mov    0x10(%rsp),%r15
add    $0x1,%r13
cmp    0x20(%rsp),%r13
jne    1260 <main+0x100>
xor    %edi,%edi
call   1050 <iopl@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [33 x i8] c"usage: %s [Cvvxx [Cvvxx]] [Dxx]\0A\00"
@.str.1 = [37 x i8] c" where C = A|a write vv to ARxx\0A\00"
@.str.2 = [37 x i8] c" = C|c write vv to CRxx\0A\00"
@.str.3 = [50 x i8] c" = F|f write vv to FRxx (6555x only)\0A\00"
@.str.4 = [37 x i8] c" = G|g write vv to GRxx\0A\00"
@.str.5 = [50 x i8] c" = M|m write vv to MRxx (6555x only)\0A\00"
@.str.6 = [37 x i8] c" = S|s write vv to SRxx\0A\00"
@.str.7 = [37 x i8] c" = X|x write vv to XRxx\0A\00"
@.str.8 = [36 x i8] c" where D = Y|y write xx to FCR\0A\00"
@.str.9 = [36 x i8] c" = Z|z write vv to MSR\0A\00"
@.str.10 = [27 x i8] c" xx is in hexadecimal\0A\00"
@.str.11 = [44 x i8] c" vv is in hexadecimal or '?' for query\0A\00"
@.str.12 = [13 x i8] c"%cR%X: 0x%X\0A\00"
@.str.13 = [11 x i8] c"MSR: 0x%X\0A\00"
@.str.14 = [11 x i8] c"FCR: 0x%X\0A\00"
@.str.15 = [21 x i8] c"%cR%X: 0x%X -> 0x%X\0A\00"
@.str.16 = [19 x i8] c"MSR: 0x%X -> 0x%X\0A\00"
@.str.17 = [19 x i8] c"FCR: 0x%X -> 0x%X\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i8
%10 = alloca i8
%11 = alloca i8*
%12 = alloca i32
%13 = alloca i32
%14 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %8
store i32 0, i32* %13
store i32 0, i32* %14
%15 = load i32, i32* %4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %33
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 0
%20 = load i8*, i8** %19
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* %20)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.1, i64 0, i64 0))
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.2, i64 0, i64 0))
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.3, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.4, i64 0, i64 0))
%26 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.5, i64 0, i64 0))
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.6, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.7, i64 0, i64 0))
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.8, i64 0, i64 0))
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.9, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.10, i64 0, i64 0))
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.11, i64 0, i64 0))
br label %33
33: ; preds = %17, %2
%34 = call i32 @iopl(i32 3)
store i32 1, i32* %6
br label %35
35: ; preds = %235, %33
%36 = load i32, i32* %6
%37 = load i32, i32* %4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %238
39: ; preds = %35
store i32 0, i32* %7
%40 = load i8**, i8*** %5
%41 = load i32, i32* %6
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8*, i8** %40, i64 %42
%44 = load i8*, i8** %43
store i8* %44, i8** %11
%45 = load i8*, i8** %11
%46 = getelementptr inbounds i8, i8* %45, i32 1
store i8* %46, i8** %11
%47 = load i8, i8* %45
store i8 %47, i8* %9
%48 = load i8, i8* %9
%49 = sext i8 %48 to i32
switch i32 %49, label %59 [
i32 102, label %50
i32 70, label %50
i32 99, label %51
i32 67, label %51
i32 120, label %52
i32 88, label %52
i32 103, label %53
i32 71, label %53
i32 97, label %54
i32 65, label %54
i32 115, label %55
i32 83, label %55
i32 109, label %56
i32 77, label %56
i32 121, label %57
i32 89, label %57
i32 122, label %58
i32 90, label %58
]
50: ; preds = %39, %39
store i8 70, i8* %10
store i32 976, i32* %12
br label %60
51: ; preds = %39, %39
store i8 67, i8* %10
store i32 980, i32* %12
br label %60
52: ; preds = %39, %39
store i8 88, i8* %10
store i32 982, i32* %12
br label %60
53: ; preds = %39, %39
store i8 71, i8* %10
store i32 974, i32* %12
br label %60
54: ; preds = %39, %39
store i8 65, i8* %10
store i32 960, i32* %12
br label %60
55: ; preds = %39, %39
store i8 83, i8* %10
store i32 964, i32* %12
br label %60
56: ; preds = %39, %39
store i8 77, i8* %10
store i32 978, i32* %12
br label %60
57: ; preds = %39, %39
store i8 89, i8* %10
store i32 986, i32* %12
store i32 970, i32* %13
br label %60
58: ; preds = %39, %39
store i8 90, i8* %10
store i32 962, i32* %12
store i32 972, i32* %13
br label %60
59: ; preds = %39
br label %235
60: ; preds = %58, %57, %56, %55, %54, %53, %52, %51, %50
%61 = load i8, i8* %10
%62 = sext i8 %61 to i32
%63 = icmp ne i32 %62, 90
br i1 %63, label %64, label %71
64: ; preds = %60
%65 = load i8, i8* %10
%66 = sext i8 %65 to i32
%67 = icmp ne i32 %66, 89
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, i32* %12
%70 = call i32 @inb(i32 %69)
store i32 %70, i32* %8
br label %71
71: ; preds = %68, %64, %60
br label %72
72: ; preds = %131, %71
%73 = load i8*, i8** %11
%74 = getelementptr inbounds i8, i8* %73, i32 1
store i8* %74, i8** %11
%75 = load i8, i8* %73
store i8 %75, i8* %9
%76 = icmp ne i8 %75, 0
br i1 %76, label %77, label %132
77: ; preds = %72
%78 = load i8, i8* %9
%79 = sext i8 %78 to i32
%80 = icmp eq i32 %79, 63
br i1 %80, label %81, label %82
81: ; preds = %77
store i32 1, i32* %14
br label %82
82: ; preds = %81, %77
%83 = load i8, i8* %9
%84 = sext i8 %83 to i32
%85 = icmp sge i32 %84, 48
br i1 %85, label %86, label %97
86: ; preds = %82
%87 = load i8, i8* %9
%88 = sext i8 %87 to i32
%89 = icmp sle i32 %88, 57
br i1 %89, label %90, label %97
90: ; preds = %86
%91 = load i32, i32* %7
%92 = shl i32 %91, 4
%93 = load i8, i8* %9
%94 = sext i8 %93 to i32
%95 = sub nsw i32 %94, 48
%96 = or i32 %92, %95
store i32 %96, i32* %7
br label %131
97: ; preds = %86, %82
%98 = load i8, i8* %9
%99 = sext i8 %98 to i32
%100 = icmp sge i32 %99, 65
br i1 %100, label %101, label %113
101: ; preds = %97
%102 = load i8, i8* %9
%103 = sext i8 %102 to i32
%104 = icmp slt i32 %103, 71
br i1 %104, label %105, label %113
105: ; preds = %101
%106 = load i32, i32* %7
%107 = shl i32 %106, 4
%108 = load i8, i8* %9
%109 = sext i8 %108 to i32
%110 = sub nsw i32 %109, 65
%111 = add nsw i32 %110, 10
%112 = or i32 %107, %111
store i32 %112, i32* %7
br label %130
113: ; preds = %101, %97
%114 = load i8, i8* %9
%115 = sext i8 %114 to i32
%116 = icmp sge i32 %115, 97
br i1 %116, label %117, label %129
117: ; preds = %113
%118 = load i8, i8* %9
%119 = sext i8 %118 to i32
%120 = icmp slt i32 %119, 103
br i1 %120, label %121, label %129
121: ; preds = %117
%122 = load i32, i32* %7
%123 = shl i32 %122, 4
%124 = load i8, i8* %9
%125 = sext i8 %124 to i32
%126 = sub nsw i32 %125, 97
%127 = add nsw i32 %126, 10
%128 = or i32 %123, %127
store i32 %128, i32* %7
br label %129
129: ; preds = %121, %117, %113
br label %130
130: ; preds = %129, %105
br label %131
131: ; preds = %130, %90
br label %72
132: ; preds = %72
%133 = load i8, i8* %10
%134 = sext i8 %133 to i32
%135 = icmp ne i32 %134, 90
br i1 %135, label %136, label %145
136: ; preds = %132
%137 = load i8, i8* %10
%138 = sext i8 %137 to i32
%139 = icmp ne i32 %138, 89
br i1 %139, label %140, label %145
140: ; preds = %136
%141 = load i32, i32* %12
%142 = load i32, i32* %7
%143 = and i32 %142, 255
%144 = call i32 @outb(i32 %141, i32 %143)
br label %145
145: ; preds = %140, %136, %132
%146 = load i32, i32* %14
%147 = icmp ne i32 %146, 0
br i1 %147, label %148, label %182
148: ; preds = %145
%149 = load i8, i8* %10
%150 = sext i8 %149 to i32
%151 = icmp ne i32 %150, 90
br i1 %151, label %152, label %166
152: ; preds = %148
%153 = load i8, i8* %10
%154 = sext i8 %153 to i32
%155 = icmp ne i32 %154, 89
br i1 %155, label %156, label %166
156: ; preds = %152
%157 = load i8, i8* %10
%158 = sext i8 %157 to i32
%159 = load i32, i32* %7
%160 = and i32 %159, 255
%161 = load i32, i32* %12
%162 = add i32 %161, 1
%163 = call i32 @inb(i32 %162)
%164 = and i32 %163, 255
%165 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i32 %158, i32 %160, i32 %164)
br label %181
166: ; preds = %152, %148
%167 = load i8, i8* %10
%168 = sext i8 %167 to i32
%169 = icmp eq i32 %168, 90
br i1 %169, label %170, label %175
170: ; preds = %166
%171 = load i32, i32* %13
%172 = call i32 @inb(i32 %171)
%173 = and i32 %172, 255
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %173)
br label %180
175: ; preds = %166
%176 = load i32, i32* %13
%177 = call i32 @inb(i32 %176)
%178 = and i32 %177, 255
%179 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 %178)
br label %180
180: ; preds = %175, %170
br label %181
181: ; preds = %180, %156
br label %234
182: ; preds = %145
%183 = load i8, i8* %10
%184 = sext i8 %183 to i32
%185 = icmp ne i32 %184, 90
br i1 %185, label %186, label %210
186: ; preds = %182
%187 = load i8, i8* %10
%188 = sext i8 %187 to i32
%189 = icmp ne i32 %188, 89
br i1 %189, label %190, label %210
190: ; preds = %186
%191 = load i8, i8* %10
%192 = sext i8 %191 to i32
%193 = load i32, i32* %7
%194 = and i32 %193, 255
%195 = load i32, i32* %12
%196 = add i32 %195, 1
%197 = call i32 @inb(i32 %196)
%198 = and i32 %197, 255
%199 = load i32, i32* %7
%200 = and i32 %199, 65280
%201 = ashr i32 %200, 8
%202 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i32 %192, i32 %194, i32 %198, i32 %201)
%203 = load i32, i32* %12
%204 = load i32, i32* %7
%205 = call i32 @outw(i32 %203, i32 %204)
%206 = load i32, i32* %12
%207 = load i32, i32* %8
%208 = and i32 %207, 255
%209 = call i32 @outb(i32 %206, i32 %208)
br label %233
210: ; preds = %186, %182
%211 = load i8, i8* %10
%212 = sext i8 %211 to i32
%213 = icmp eq i32 %212, 90
br i1 %213, label %214, label %221
214: ; preds = %210
%215 = load i32, i32* %13
%216 = call i32 @inb(i32 %215)
%217 = and i32 %216, 255
%218 = load i32, i32* %7
%219 = and i32 %218, 255
%220 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i32 %217, i32 %219)
br label %228
221: ; preds = %210
%222 = load i32, i32* %13
%223 = call i32 @inb(i32 %222)
%224 = and i32 %223, 255
%225 = load i32, i32* %7
%226 = and i32 %225, 255
%227 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0), i32 %224, i32 %226)
br label %228
228: ; preds = %221, %214
%229 = load i32, i32* %12
%230 = load i32, i32* %7
%231 = and i32 %230, 255
%232 = call i32 @outb(i32 %229, i32 %231)
br label %233
233: ; preds = %228, %190
br label %234
234: ; preds = %233, %181
br label %235
235: ; preds = %234, %59
%236 = load i32, i32* %6
%237 = add nsw i32 %236, 1
store i32 %237, i32* %6
br label %35
238: ; preds = %35
%239 = call i32 @iopl(i32 0)
ret i32 0
}

LLVM IR (-O2):
@.str = [33 x i8] c"usage: %s [Cvvxx [Cvvxx]] [Dxx]\0A\00"
@.str.12 = [13 x i8] c"%cR%X: 0x%X\0A\00"
@.str.13 = [11 x i8] c"MSR: 0x%X\0A\00"
@.str.14 = [11 x i8] c"FCR: 0x%X\0A\00"
@.str.15 = [21 x i8] c"%cR%X: 0x%X -> 0x%X\0A\00"
@.str.16 = [19 x i8] c"MSR: 0x%X -> 0x%X\0A\00"
@.str.17 = [19 x i8] c"FCR: 0x%X -> 0x%X\0A\00"
@str = [36 x i8] c" where C = A|a write vv to ARxx\00"
@str.18 = [36 x i8] c" = C|c write vv to CRxx\00"
@str.19 = [49 x i8] c" = F|f write vv to FRxx (6555x only)\00"
@str.20 = [36 x i8] c" = G|g write vv to GRxx\00"
@str.21 = [49 x i8] c" = M|m write vv to MRxx (6555x only)\00"
@str.22 = [36 x i8] c" = S|s write vv to SRxx\00"
@str.23 = [36 x i8] c" = X|x write vv to XRxx\00"
@str.24 = [35 x i8] c" where D = Y|y write xx to FCR\00"
@str.25 = [35 x i8] c" = Z|z write vv to MSR\00"
@str.26 = [26 x i8] c" xx is in hexadecimal\00"
@str.27 = [43 x i8] c" vv is in hexadecimal or '?' for query\00"
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp slt i32 %0, 2
br i1 %3, label %4, label %19
4: ; preds = %2
%5 = load i8*, i8** %1
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0), i8* %5)
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.19, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.20, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.21, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.22, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.23, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.24, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.25, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @str.26, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.27, i64 0, i64 0))
%18 = tail call i32 @iopl(i32 3)
br label %131
19: ; preds = %2
%20 = tail call i32 @iopl(i32 3)
%21 = zext i32 %0 to i64
br label %22
22: ; preds = %19, %125
%23 = phi i64 [ 1, %19 ], [ %129, %125 ]
%24 = phi i32 [ 0, %19 ], [ %128, %125 ]
%25 = phi i32 [ 0, %19 ], [ %127, %125 ]
%26 = phi i32 [ 0, %19 ], [ %126, %125 ]
%27 = getelementptr inbounds i8*, i8** %1, i64 %23
%28 = load i8*, i8** %27
%29 = load i8, i8* %28
%30 = sext i8 %29 to i32
switch i32 %30, label %125 [
i32 102, label %45
i32 70, label %45
i32 99, label %31
i32 67, label %31
i32 120, label %32
i32 88, label %32
i32 103, label %33
i32 71, label %33
i32 97, label %34
i32 65, label %34
i32 115, label %35
i32 83, label %35
i32 109, label %36
i32 77, label %36
i32 121, label %38
i32 89, label %38
i32 122, label %37
i32 90, label %37
]
31: ; preds = %22, %22
br label %45
32: ; preds = %22, %22
br label %45
33: ; preds = %22, %22
br label %45
34: ; preds = %22, %22
br label %45
35: ; preds = %22, %22
br label %45
36: ; preds = %22, %22
br label %45
37: ; preds = %22, %22
br label %38
38: ; preds = %37, %22, %22
%39 = phi i1 [ false, %37 ], [ true, %22 ], [ true, %22 ]
%40 = phi i1 [ true, %37 ], [ false, %22 ], [ false, %22 ]
%41 = phi i32 [ 90, %37 ], [ 89, %22 ], [ 89, %22 ]
%42 = phi i32 [ 962, %37 ], [ 986, %22 ], [ 986, %22 ]
%43 = phi i32 [ 972, %37 ], [ 970, %22 ], [ 970, %22 ]
%44 = and i1 %39, %40
br label %49
45: ; preds = %31, %32, %33, %34, %35, %36, %22, %22
%46 = phi i32 [ 77, %36 ], [ 83, %35 ], [ 65, %34 ], [ 71, %33 ], [ 88, %32 ], [ 67, %31 ], [ 70, %22 ], [ 70, %22 ]
%47 = phi i32 [ 978, %36 ], [ 964, %35 ], [ 960, %34 ], [ 974, %33 ], [ 982, %32 ], [ 980, %31 ], [ 976, %22 ], [ 976, %22 ]
%48 = tail call i32 @inb(i32 %47)
br label %49
49: ; preds = %38, %45
%50 = phi i1 [ true, %45 ], [ %44, %38 ]
%51 = phi i32 [ %25, %45 ], [ %43, %38 ]
%52 = phi i32 [ %47, %45 ], [ %42, %38 ]
%53 = phi i32 [ %46, %45 ], [ %41, %38 ]
%54 = phi i1 [ false, %45 ], [ %40, %38 ]
%55 = phi i32 [ %48, %45 ], [ %26, %38 ]
%56 = getelementptr inbounds i8, i8* %28, i64 1
%57 = load i8, i8* %56
%58 = icmp eq i8 %57, 0
br i1 %58, label %92, label %59
59: ; preds = %49, %87
%60 = phi i8 [ %90, %87 ], [ %57, %49 ]
%61 = phi i8* [ %89, %87 ], [ %56, %49 ]
%62 = phi i32 [ %66, %87 ], [ %24, %49 ]
%63 = phi i32 [ %88, %87 ], [ 0, %49 ]
%64 = sext i8 %60 to i32
%65 = icmp eq i8 %60, 63
%66 = select i1 %65, i32 1, i32 %62
%67 = add i8 %60, -48
%68 = icmp ult i8 %67, 10
br i1 %68, label %69, label %73
69: ; preds = %59
%70 = shl i32 %63, 4
%71 = add nsw i32 %64, -48
%72 = or i32 %71, %70
br label %87
73: ; preds = %59
%74 = add i8 %60, -65
%75 = icmp ult i8 %74, 6
br i1 %75, label %76, label %80
76: ; preds = %73
%77 = shl i32 %63, 4
%78 = add nsw i32 %64, -55
%79 = or i32 %78, %77
br label %87
80: ; preds = %73
%81 = add i8 %60, -97
%82 = icmp ult i8 %81, 6
br i1 %82, label %83, label %87
83: ; preds = %80
%84 = shl i32 %63, 4
%85 = add nsw i32 %64, -87
%86 = or i32 %85, %84
br label %87
87: ; preds = %76, %83, %80, %69
%88 = phi i32 [ %72, %69 ], [ %79, %76 ], [ %86, %83 ], [ %63, %80 ]
%89 = getelementptr inbounds i8, i8* %61, i64 1
%90 = load i8, i8* %89
%91 = icmp eq i8 %90, 0
br i1 %91, label %92, label %59
92: ; preds = %87, %49
%93 = phi i32 [ 0, %49 ], [ %88, %87 ]
%94 = phi i32 [ %24, %49 ], [ %66, %87 ]
br i1 %50, label %95, label %102
95: ; preds = %92
%96 = and i32 %93, 255
%97 = tail call i32 @outb(i32 %52, i32 %96)
%98 = icmp eq i32 %94, 0
%99 = or i32 %52, 1
%100 = tail call i32 @inb(i32 %99)
%101 = and i32 %100, 255
br i1 %98, label %113, label %106
102: ; preds = %92
%103 = icmp eq i32 %94, 0
%104 = tail call i32 @inb(i32 %51)
%105 = and i32 %104, 255
br i1 %103, label %120, label %108
106: ; preds = %95
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.12, i64 0, i64 0), i32 %53, i32 %96, i32 %101)
br label %125
108: ; preds = %102
br i1 %54, label %109, label %111
109: ; preds = %108
%110 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.13, i64 0, i64 0), i32 %105)
br label %125
111: ; preds = %108
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([11 x i8], [11 x i8]* @.str.14, i64 0, i64 0), i32 %105)
br label %125
113: ; preds = %95
%114 = lshr i32 %93, 8
%115 = and i32 %114, 255
%116 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.15, i64 0, i64 0), i32 %53, i32 %96, i32 %101, i32 %115)
%117 = tail call i32 @outw(i32 %52, i32 %93)
%118 = and i32 %55, 255
%119 = tail call i32 @outb(i32 %52, i32 %118)
br label %125
120: ; preds = %102
%121 = and i32 %93, 255
%122 = select i1 %54, i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.17, i64 0, i64 0)
%123 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %122, i32 %105, i32 %121)
%124 = tail call i32 @outb(i32 %52, i32 %121)
br label %125
125: ; preds = %109, %111, %106, %120, %113, %22
%126 = phi i32 [ %26, %22 ], [ %55, %106 ], [ %55, %109 ], [ %55, %111 ], [ %55, %113 ], [ %55, %120 ]
%127 = phi i32 [ %25, %22 ], [ %51, %106 ], [ %51, %109 ], [ %51, %111 ], [ %51, %113 ], [ %51, %120 ]
%128 = phi i32 [ %24, %22 ], [ 1, %106 ], [ 1, %109 ], [ 1, %111 ], [ 0, %113 ], [ 0, %120 ]
%129 = add nuw nsw i64 %23, 1
%130 = icmp eq i64 %129, %21
br i1 %130, label %131, label %22
131: ; preds = %125, %4
%132 = tail call i32 @iopl(i32 0)
ret i32 0
}