#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*/ printf(char *, ...);
void ucshowproc(unsigned long cidr, char *prefix) {
  printf("%sVersion:\t%lu\n", prefix, (cidr & 0x1F));
  printf("%sProcessor:\t", prefix);
  switch (((cidr >> 5) & 0x7)) {
  case 1:
    printf("ARM946E-S");
    break;
  case 2:
    printf("ARM7TDMI");
    break;
  case 4:
    printf("ARM920T");
    break;
  case 5:
    printf("ARM926EJ-S");
    break;
  default:
    printf("Unknown");
    break;
  }
  printf("\n");
  printf("%sNVP Type:\t", prefix);
  switch (((cidr >> 28) & 0x7)) {
  case 0:
    printf("ROM");
    break;
  case 1:
    printf("ROMless or on-chip Flash");
    break;
  case 4:
    printf("SRAM emulating ROM");
    break;
  case 2:
    printf("Embedded Flash");
    break;
  case 3:
    printf("ROM or Embedded Flash");
    break;
  default:
    printf("Unrecognized");
    break;
  }
  printf("\n");
  printf("%sNVP Size:\t", prefix);
  switch (((cidr >> 8) & 0xF)) {
  case 0:
    printf("None");
    break;
  case 1:
    printf("8K");
    break;
  case 2:
    printf("16K");
    break;
  case 3:
    printf("32K");
    break;
  case 5:
    printf("64K");
    break;
  case 7:
    printf("128K");
    break;
  case 9:
    printf("256K");
    break;
  case 10:
    printf("512K");
    break;
  case 12:
    printf("1024K");
    break;
  case 14:
    printf("2048K");
    break;
  default:
    printf("Unrecognized");
    break;
  }
  printf("\n");
  printf("%sNVP2 Size:\t", prefix);
  switch (((cidr >> 12) & 0xF)) {
  case 0:
    printf("None");
    break;
  case 1:
    printf("8K");
    break;
  case 2:
    printf("16K");
    break;
  case 3:
    printf("32K");
    break;
  case 5:
    printf("64K");
    break;
  case 7:
    printf("128K");
    break;
  case 9:
    printf("256K");
    break;
  case 10:
    printf("512K");
    break;
  case 12:
    printf("1024K");
    break;
  case 14:
    printf("2048K");
    break;
  default:
    printf("Unrecognized");
    break;
  }
  printf("\n");
  printf("%sSRAM Size:\t", prefix);
  switch (((cidr >> 16) & 0xF)) {
  case 1:
    printf("1K");
    break;
  case 2:
    printf("2K");
    break;
  case 4:
    printf("112K");
    break;
  case 5:
    printf("4K");
    break;
  case 6:
    printf("80K");
    break;
  case 7:
    printf("160K");
    break;
  case 8:
    printf("8K");
    break;
  case 9:
    printf("16K");
    break;
  case 10:
    printf("32K");
    break;
  case 11:
    printf("64K");
    break;
  case 12:
    printf("128K");
    break;
  case 13:
    printf("256K");
    break;
  case 14:
    printf("96K");
    break;
  case 15:
    printf("512K");
    break;
  default:
    printf("Unrecognized");
    break;
  }
  printf("\n");
  printf("%sArchitecture:\t", prefix);
  switch (((cidr >> 20) & 0xFF)) {
  case 0xF0:
    printf("AT75Cxx");
    break;
  case 0x40:
    printf("AT91x40");
    break;
  case 0x63:
    printf("AT91x63");
    break;
  case 0x55:
    printf("AT91x55");
    break;
  case 0x42:
    printf("AT91x42");
    break;
  case 0x92:
    printf("AT91x92");
    break;
  case 0x34:
    printf("AT91x34");
    break;
  case 0x60:
    printf("AT91SAM7Axx");
    break;
  case 0x70:
    printf("AT91SAM7Sxx");
    break;
  case 0x71:
    printf("AT91SAM7XC");
    break;
  case 0x72:
    printf("AT91SAM7SExx");
    break;
  case 0x73:
    printf("AT91SAM7Lxx");
    break;
  case 0x75:
    printf("AT91SAM7Xxx");
    break;
  case 0x19:
    printf("AT91SAM9xx");
    break;
  default:
    printf("Unrecognized");
    break;
  }
  printf("\n");
  printf("%sExtended CIDR\t%s\n", prefix, ((cidr >> 31) & 0x1) ? "yes" : "no");
}


x86 assembly (clang, -O0):
<ucshowproc>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rsi
mov    -0x8(%rbp),%rax
and    $0x1f,%eax
mov    %eax,%edx
lea    0xfa8(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x19(%rbp)
call   1030 <printf@plt>
mov    -0x19(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xfa0(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
shr    $0x5,%eax
and    $0x7,%eax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x18(%rbp)
sub    $0x4,%rax
ja     11cc <ucshowproc+0xbc>
mov    -0x18(%rbp),%rax
lea    0xe89(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11da <ucshowproc+0xca>
lea    0xf6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11da <ucshowproc+0xca>
lea    0xf60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11da <ucshowproc+0xca>
lea    0xf55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    11da <ucshowproc+0xca>
lea    0xf4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0x10bb(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x29(%rbp)
call   1030 <printf@plt>
mov    -0x29(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xf2f(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
shr    $0x1c,%eax
and    $0x7,%eax
mov    %eax,%ecx
mov    %rcx,-0x28(%rbp)
sub    $0x4,%eax
ja     1289 <ucshowproc+0x179>
mov    -0x28(%rbp),%rax
lea    0xdf3(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf2c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1297 <ucshowproc+0x187>
lea    0xef1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1297 <ucshowproc+0x187>
lea    0xef7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1297 <ucshowproc+0x187>
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1297 <ucshowproc+0x187>
lea    0xee4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1297 <ucshowproc+0x187>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xffe(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x39(%rbp)
call   1030 <printf@plt>
mov    -0x39(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xece(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
shr    $0x8,%eax
and    $0xf,%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0xe,%eax
ja     13a5 <ucshowproc+0x295>
mov    -0x38(%rbp),%rax
lea    0xd4a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe73(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe64(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe55(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe47(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    13b3 <ucshowproc+0x2a3>
lea    0xdcb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee2(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x49(%rbp)
call   1030 <printf@plt>
mov    -0x49(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xdeb(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
shr    $0xc,%eax
and    $0xf,%eax
mov    %eax,%ecx
mov    %rcx,-0x48(%rbp)
sub    $0xe,%eax
ja     14c1 <ucshowproc+0x3b1>
mov    -0x48(%rbp),%rax
lea    0xc6a(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xd87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd48(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd39(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd2b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd1d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd0f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xd02(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14cf <ucshowproc+0x3bf>
lea    0xcaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdc6(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x59(%rbp)
call   1030 <printf@plt>
mov    -0x59(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xcdd(%rip),%rdi
call   1030 <printf@plt>
movzwl -0x6(%rbp),%eax
and    $0xf,%eax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x58(%rbp)
sub    $0xe,%rax
ja     162a <ucshowproc+0x51a>
mov    -0x58(%rbp),%rax
lea    0xb89(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xcb2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xca4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xc8f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xc54(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xc6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xc5f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xc0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbdb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbbd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xbdf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xb8e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1638 <ucshowproc+0x528>
lea    0xb46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xc5d(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x69(%rbp)
call   1030 <printf@plt>
mov    -0x69(%rbp),%al
mov    -0x10(%rbp),%rsi
lea    0xb97(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
shr    $0x14,%eax
movzbl %al,%eax
mov    %eax,%ecx
mov    %rcx,-0x68(%rbp)
sub    $0x19,%eax
je     186b <ucshowproc+0x75b>
jmp    1679 <ucshowproc+0x569>
mov    -0x68(%rbp),%rax
sub    $0x34,%rax
je     17e6 <ucshowproc+0x6d6>
jmp    168c <ucshowproc+0x57c>
mov    -0x68(%rbp),%rax
sub    $0x40,%rax
je     1787 <ucshowproc+0x677>
jmp    169f <ucshowproc+0x58f>
mov    -0x68(%rbp),%rax
sub    $0x42,%rax
je     17c0 <ucshowproc+0x6b0>
jmp    16b2 <ucshowproc+0x5a2>
mov    -0x68(%rbp),%rax
sub    $0x55,%rax
je     17ad <ucshowproc+0x69d>
jmp    16c5 <ucshowproc+0x5b5>
mov    -0x68(%rbp),%rax
sub    $0x60,%rax
je     17f9 <ucshowproc+0x6e9>
jmp    16d8 <ucshowproc+0x5c8>
mov    -0x68(%rbp),%rax
sub    $0x63,%rax
je     179a <ucshowproc+0x68a>
jmp    16eb <ucshowproc+0x5db>
mov    -0x68(%rbp),%rax
sub    $0x70,%rax
je     180c <ucshowproc+0x6fc>
jmp    16fe <ucshowproc+0x5ee>
mov    -0x68(%rbp),%rax
sub    $0x71,%rax
je     181f <ucshowproc+0x70f>
jmp    1711 <ucshowproc+0x601>
mov    -0x68(%rbp),%rax
sub    $0x72,%rax
je     1832 <ucshowproc+0x722>
jmp    1724 <ucshowproc+0x614>
mov    -0x68(%rbp),%rax
sub    $0x73,%rax
je     1845 <ucshowproc+0x735>
jmp    1737 <ucshowproc+0x627>
mov    -0x68(%rbp),%rax
sub    $0x75,%rax
je     1858 <ucshowproc+0x748>
jmp    174a <ucshowproc+0x63a>
mov    -0x68(%rbp),%rax
sub    $0x92,%rax
je     17d3 <ucshowproc+0x6c3>
jmp    175f <ucshowproc+0x64f>
mov    -0x68(%rbp),%rax
sub    $0xf0,%rax
jne    187e <ucshowproc+0x76e>
jmp    1774 <ucshowproc+0x664>
lea    0xa84(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa63(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa58(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa4d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa42(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa37(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa30(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa29(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa21(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa1b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa14(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0xa0d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    188c <ucshowproc+0x77c>
lea    0x8f2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xa09(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%rsi
mov    -0x8(%rbp),%rcx
shr    $0x1f,%rcx
and    $0x1,%rcx
lea    0x9f1(%rip),%rdx
lea    0x9e6(%rip),%rax
cmp    $0x0,%rcx
cmovne %rax,%rdx
lea    0x9c3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<ucshowproc>:
push   %r15
push   %r14
push   %rbx
mov    %rsi,%r14
mov    %rdi,%r15
mov    %r15d,%edx
and    $0x1f,%edx
lea    0x10a0(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10a2(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%eax
shr    $0x5,%eax
and    $0x7,%eax
add    $0xffffffffffffffff,%rax
cmp    $0x4,%rax
ja     1173 <ucshowproc+0x53>
lea    0x100a(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
jmp    117a <ucshowproc+0x5a>
lea    0x10a2(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1092(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%eax
shr    $0x1c,%eax
and    $0x7,%eax
lea    0x10c7(%rip),%rbx
mov    %rbx,%rdi
cmp    $0x4,%eax
ja     11c2 <ucshowproc+0xa2>
lea    0xfcd(%rip),%rcx
movslq (%rcx,%rax,4),%rdi
add    %rcx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10a6(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%eax
shr    $0x8,%eax
and    $0xf,%eax
mov    %rbx,%rdi
cmp    $0xf,%eax
je     1200 <ucshowproc+0xe0>
lea    0x2bac(%rip),%rcx
mov    (%rcx,%rax,8),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x10a1(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%eax
shr    $0xc,%eax
and    $0xf,%eax
mov    %rbx,%rdi
cmp    $0xf,%eax
je     123e <ucshowproc+0x11e>
lea    0x2b6e(%rip),%rcx
mov    (%rcx,%rax,8),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x1071(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15d,%eax
shr    $0x10,%eax
and    $0xf,%eax
add    $0xffffffffffffffff,%rax
cmp    $0xe,%rax
ja     1281 <ucshowproc+0x161>
lea    0xf22(%rip),%rcx
movslq (%rcx,%rax,4),%rbx
add    %rcx,%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0x104e(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rax
shr    $0x14,%rax
lea    -0x19(%rax),%ecx
cmp    $0x5c,%cl
ja     12d4 <ucshowproc+0x1b4>
movzbl %cl,%eax
lea    0xd41(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x10ac(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
cmp    $0x92,%al
je     1351 <ucshowproc+0x231>
cmp    $0xf0,%al
jne    12e5 <ucshowproc+0x1c5>
lea    0x1018(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0xf87(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1036(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1005(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1014(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1003(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x101a(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0xfe9(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1014(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1017(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1019(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x101d(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0x1020(%rip),%rdi
jmp    1358 <ucshowproc+0x238>
lea    0xfcb(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   $0x80000000,%r15d
lea    0x1027(%rip),%rax
lea    0x101c(%rip),%rdx
cmove  %rax,%rdx
lea    0xffd(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [16 x i8] c"%sVersion:\09%lu\0A\00"
@.str.1 = [14 x i8] c"%sProcessor:\09\00"
@.str.2 = [10 x i8] c"ARM946E-S\00"
@.str.3 = [9 x i8] c"ARM7TDMI\00"
@.str.4 = [8 x i8] c"ARM920T\00"
@.str.5 = [11 x i8] c"ARM926EJ-S\00"
@.str.6 = [8 x i8] c"Unknown\00"
@.str.7 = [2 x i8] c"\0A\00"
@.str.8 = [13 x i8] c"%sNVP Type:\09\00"
@.str.9 = [4 x i8] c"ROM\00"
@.str.10 = [25 x i8] c"ROMless or on-chip Flash\00"
@.str.11 = [19 x i8] c"SRAM emulating ROM\00"
@.str.12 = [15 x i8] c"Embedded Flash\00"
@.str.13 = [22 x i8] c"ROM or Embedded Flash\00"
@.str.14 = [13 x i8] c"Unrecognized\00"
@.str.15 = [13 x i8] c"%sNVP Size:\09\00"
@.str.16 = [5 x i8] c"None\00"
@.str.17 = [3 x i8] c"8K\00"
@.str.18 = [4 x i8] c"16K\00"
@.str.19 = [4 x i8] c"32K\00"
@.str.20 = [4 x i8] c"64K\00"
@.str.21 = [5 x i8] c"128K\00"
@.str.22 = [5 x i8] c"256K\00"
@.str.23 = [5 x i8] c"512K\00"
@.str.24 = [6 x i8] c"1024K\00"
@.str.25 = [6 x i8] c"2048K\00"
@.str.26 = [14 x i8] c"%sNVP2 Size:\09\00"
@.str.27 = [14 x i8] c"%sSRAM Size:\09\00"
@.str.28 = [3 x i8] c"1K\00"
@.str.29 = [3 x i8] c"2K\00"
@.str.30 = [5 x i8] c"112K\00"
@.str.31 = [3 x i8] c"4K\00"
@.str.32 = [4 x i8] c"80K\00"
@.str.33 = [5 x i8] c"160K\00"
@.str.34 = [4 x i8] c"96K\00"
@.str.35 = [17 x i8] c"%sArchitecture:\09\00"
@.str.36 = [8 x i8] c"AT75Cxx\00"
@.str.37 = [8 x i8] c"AT91x40\00"
@.str.38 = [8 x i8] c"AT91x63\00"
@.str.39 = [8 x i8] c"AT91x55\00"
@.str.40 = [8 x i8] c"AT91x42\00"
@.str.41 = [8 x i8] c"AT91x92\00"
@.str.42 = [8 x i8] c"AT91x34\00"
@.str.43 = [12 x i8] c"AT91SAM7Axx\00"
@.str.44 = [12 x i8] c"AT91SAM7Sxx\00"
@.str.45 = [11 x i8] c"AT91SAM7XC\00"
@.str.46 = [13 x i8] c"AT91SAM7SExx\00"
@.str.47 = [12 x i8] c"AT91SAM7Lxx\00"
@.str.48 = [12 x i8] c"AT91SAM7Xxx\00"
@.str.49 = [11 x i8] c"AT91SAM9xx\00"
@.str.50 = [20 x i8] c"%sExtended CIDR\09%s\0A\00"
@.str.51 = [4 x i8] c"yes\00"
@.str.52 = [3 x i8] c"no\00"
define void @ucshowproc(i64 %0, i8* %1) {
%3 = alloca i64
%4 = alloca i8*
store i64 %0, i64* %3
store i8* %1, i8** %4
%5 = load i8*, i8** %4
%6 = load i64, i64* %3
%7 = and i64 %6, 31
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %5, i64 %7)
%9 = load i8*, i8** %4
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* %9)
%11 = load i64, i64* %3
%12 = lshr i64 %11, 5
%13 = and i64 %12, 7
switch i64 %13, label %22 [
i64 1, label %14
i64 2, label %16
i64 4, label %18
i64 5, label %20
]
14: ; preds = %2
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.2, i64 0, i64 0))
br label %24
16: ; preds = %2
%17 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
br label %24
18: ; preds = %2
%19 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.4, i64 0, i64 0))
br label %24
20: ; preds = %2
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.5, i64 0, i64 0))
br label %24
22: ; preds = %2
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0))
br label %24
24: ; preds = %22, %20, %18, %16, %14
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%26 = load i8*, i8** %4
%27 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %26)
%28 = load i64, i64* %3
%29 = lshr i64 %28, 28
%30 = and i64 %29, 7
switch i64 %30, label %41 [
i64 0, label %31
i64 1, label %33
i64 4, label %35
i64 2, label %37
i64 3, label %39
]
31: ; preds = %24
%32 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.9, i64 0, i64 0))
br label %43
33: ; preds = %24
%34 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0))
br label %43
35: ; preds = %24
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0))
br label %43
37: ; preds = %24
%38 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.12, i64 0, i64 0))
br label %43
39: ; preds = %24
%40 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.13, i64 0, i64 0))
br label %43
41: ; preds = %24
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %43
43: ; preds = %41, %39, %37, %35, %33, %31
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%45 = load i8*, i8** %4
%46 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0), i8* %45)
%47 = load i64, i64* %3
%48 = lshr i64 %47, 8
%49 = and i64 %48, 15
switch i64 %49, label %70 [
i64 0, label %50
i64 1, label %52
i64 2, label %54
i64 3, label %56
i64 5, label %58
i64 7, label %60
i64 9, label %62
i64 10, label %64
i64 12, label %66
i64 14, label %68
]
50: ; preds = %43
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
br label %72
52: ; preds = %43
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %72
54: ; preds = %43
%55 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
br label %72
56: ; preds = %43
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0))
br label %72
58: ; preds = %43
%59 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %72
60: ; preds = %43
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
br label %72
62: ; preds = %43
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
br label %72
64: ; preds = %43
%65 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
br label %72
66: ; preds = %43
%67 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0))
br label %72
68: ; preds = %43
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
br label %72
70: ; preds = %43
%71 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %72
72: ; preds = %70, %68, %66, %64, %62, %60, %58, %56, %54, %52, %50
%73 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%74 = load i8*, i8** %4
%75 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* %74)
%76 = load i64, i64* %3
%77 = lshr i64 %76, 12
%78 = and i64 %77, 15
switch i64 %78, label %99 [
i64 0, label %79
i64 1, label %81
i64 2, label %83
i64 3, label %85
i64 5, label %87
i64 7, label %89
i64 9, label %91
i64 10, label %93
i64 12, label %95
i64 14, label %97
]
79: ; preds = %72
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0))
br label %101
81: ; preds = %72
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %101
83: ; preds = %72
%84 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
br label %101
85: ; preds = %72
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0))
br label %101
87: ; preds = %72
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %101
89: ; preds = %72
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
br label %101
91: ; preds = %72
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
br label %101
93: ; preds = %72
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
br label %101
95: ; preds = %72
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0))
br label %101
97: ; preds = %72
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0))
br label %101
99: ; preds = %72
%100 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %101
101: ; preds = %99, %97, %95, %93, %91, %89, %87, %85, %83, %81, %79
%102 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%103 = load i8*, i8** %4
%104 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.27, i64 0, i64 0), i8* %103)
%105 = load i64, i64* %3
%106 = lshr i64 %105, 16
%107 = and i64 %106, 15
switch i64 %107, label %136 [
i64 1, label %108
i64 2, label %110
i64 4, label %112
i64 5, label %114
i64 6, label %116
i64 7, label %118
i64 8, label %120
i64 9, label %122
i64 10, label %124
i64 11, label %126
i64 12, label %128
i64 13, label %130
i64 14, label %132
i64 15, label %134
]
108: ; preds = %101
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.28, i64 0, i64 0))
br label %138
110: ; preds = %101
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.29, i64 0, i64 0))
br label %138
112: ; preds = %101
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.30, i64 0, i64 0))
br label %138
114: ; preds = %101
%115 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.31, i64 0, i64 0))
br label %138
116: ; preds = %101
%117 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.32, i64 0, i64 0))
br label %138
118: ; preds = %101
%119 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.33, i64 0, i64 0))
br label %138
120: ; preds = %101
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0))
br label %138
122: ; preds = %101
%123 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0))
br label %138
124: ; preds = %101
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0))
br label %138
126: ; preds = %101
%127 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0))
br label %138
128: ; preds = %101
%129 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0))
br label %138
130: ; preds = %101
%131 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0))
br label %138
132: ; preds = %101
%133 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.34, i64 0, i64 0))
br label %138
134: ; preds = %101
%135 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0))
br label %138
136: ; preds = %101
%137 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %138
138: ; preds = %136, %134, %132, %130, %128, %126, %124, %122, %120, %118, %116, %114, %112, %110, %108
%139 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%140 = load i8*, i8** %4
%141 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), i8* %140)
%142 = load i64, i64* %3
%143 = lshr i64 %142, 20
%144 = and i64 %143, 255
switch i64 %144, label %173 [
i64 240, label %145
i64 64, label %147
i64 99, label %149
i64 85, label %151
i64 66, label %153
i64 146, label %155
i64 52, label %157
i64 96, label %159
i64 112, label %161
i64 113, label %163
i64 114, label %165
i64 115, label %167
i64 117, label %169
i64 25, label %171
]
145: ; preds = %138
%146 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0))
br label %175
147: ; preds = %138
%148 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0))
br label %175
149: ; preds = %138
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0))
br label %175
151: ; preds = %138
%152 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i64 0, i64 0))
br label %175
153: ; preds = %138
%154 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.40, i64 0, i64 0))
br label %175
155: ; preds = %138
%156 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i64 0, i64 0))
br label %175
157: ; preds = %138
%158 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.42, i64 0, i64 0))
br label %175
159: ; preds = %138
%160 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.43, i64 0, i64 0))
br label %175
161: ; preds = %138
%162 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.44, i64 0, i64 0))
br label %175
163: ; preds = %138
%164 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.45, i64 0, i64 0))
br label %175
165: ; preds = %138
%166 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.46, i64 0, i64 0))
br label %175
167: ; preds = %138
%168 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.47, i64 0, i64 0))
br label %175
169: ; preds = %138
%170 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.48, i64 0, i64 0))
br label %175
171: ; preds = %138
%172 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.49, i64 0, i64 0))
br label %175
173: ; preds = %138
%174 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0))
br label %175
175: ; preds = %173, %171, %169, %167, %165, %163, %161, %159, %157, %155, %153, %151, %149, %147, %145
%176 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0))
%177 = load i8*, i8** %4
%178 = load i64, i64* %3
%179 = lshr i64 %178, 31
%180 = and i64 %179, 1
%181 = icmp ne i64 %180, 0
%182 = zext i1 %181 to i64
%183 = select i1 %181, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.51, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.52, i64 0, i64 0)
%184 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.50, i64 0, i64 0), i8* %177, i8* %183)
ret void
}

LLVM IR (-O2):
@.str = [16 x i8] c"%sVersion:\09%lu\0A\00"
@.str.1 = [14 x i8] c"%sProcessor:\09\00"
@.str.2 = [10 x i8] c"ARM946E-S\00"
@.str.3 = [9 x i8] c"ARM7TDMI\00"
@.str.4 = [8 x i8] c"ARM920T\00"
@.str.5 = [11 x i8] c"ARM926EJ-S\00"
@.str.6 = [8 x i8] c"Unknown\00"
@.str.8 = [13 x i8] c"%sNVP Type:\09\00"
@.str.9 = [4 x i8] c"ROM\00"
@.str.10 = [25 x i8] c"ROMless or on-chip Flash\00"
@.str.11 = [19 x i8] c"SRAM emulating ROM\00"
@.str.12 = [15 x i8] c"Embedded Flash\00"
@.str.13 = [22 x i8] c"ROM or Embedded Flash\00"
@.str.14 = [13 x i8] c"Unrecognized\00"
@.str.15 = [13 x i8] c"%sNVP Size:\09\00"
@.str.16 = [5 x i8] c"None\00"
@.str.17 = [3 x i8] c"8K\00"
@.str.18 = [4 x i8] c"16K\00"
@.str.19 = [4 x i8] c"32K\00"
@.str.20 = [4 x i8] c"64K\00"
@.str.21 = [5 x i8] c"128K\00"
@.str.22 = [5 x i8] c"256K\00"
@.str.23 = [5 x i8] c"512K\00"
@.str.24 = [6 x i8] c"1024K\00"
@.str.25 = [6 x i8] c"2048K\00"
@.str.26 = [14 x i8] c"%sNVP2 Size:\09\00"
@.str.27 = [14 x i8] c"%sSRAM Size:\09\00"
@.str.28 = [3 x i8] c"1K\00"
@.str.29 = [3 x i8] c"2K\00"
@.str.30 = [5 x i8] c"112K\00"
@.str.31 = [3 x i8] c"4K\00"
@.str.32 = [4 x i8] c"80K\00"
@.str.33 = [5 x i8] c"160K\00"
@.str.34 = [4 x i8] c"96K\00"
@.str.35 = [17 x i8] c"%sArchitecture:\09\00"
@.str.36 = [8 x i8] c"AT75Cxx\00"
@.str.37 = [8 x i8] c"AT91x40\00"
@.str.38 = [8 x i8] c"AT91x63\00"
@.str.39 = [8 x i8] c"AT91x55\00"
@.str.40 = [8 x i8] c"AT91x42\00"
@.str.41 = [8 x i8] c"AT91x92\00"
@.str.42 = [8 x i8] c"AT91x34\00"
@.str.43 = [12 x i8] c"AT91SAM7Axx\00"
@.str.44 = [12 x i8] c"AT91SAM7Sxx\00"
@.str.45 = [11 x i8] c"AT91SAM7XC\00"
@.str.46 = [13 x i8] c"AT91SAM7SExx\00"
@.str.47 = [12 x i8] c"AT91SAM7Lxx\00"
@.str.48 = [12 x i8] c"AT91SAM7Xxx\00"
@.str.49 = [11 x i8] c"AT91SAM9xx\00"
@.str.50 = [20 x i8] c"%sExtended CIDR\09%s\0A\00"
@.str.51 = [4 x i8] c"yes\00"
@.str.52 = [3 x i8] c"no\00"
@reltable.ucshowproc = [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.2 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.3 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.6 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.4 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.5 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc to i64)) to i32)]
@reltable.ucshowproc.57 = [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.9 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc.57 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([25 x i8]* @.str.10 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc.57 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.12 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc.57 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([22 x i8]* @.str.13 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc.57 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.11 to i64), i64 ptrtoint ([5 x i32]* @reltable.ucshowproc.57 to i64)) to i32)]
@switch.table.ucshowproc.55 = [15 x i8*] [i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.16, i64 0, i64 0), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.17, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.18, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.20, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.22, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.23, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.24, i64 0, i64 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.25, i64 0, i64 0)]
@reltable.ucshowproc.58 = [15 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.28 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.29 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.14 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.30 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.31 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.32 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.33 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([3 x i8]* @.str.17 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.18 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.19 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.20 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.21 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.22 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.34 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.23 to i64), i64 ptrtoint ([15 x i32]* @reltable.ucshowproc.58 to i64)) to i32)]
define void @ucshowproc(i64 %0, i8* %1) {
%3 = and i64 %0, 31
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str, i64 0, i64 0), i8* %1, i64 %3)
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8* %1)
%6 = lshr i64 %0, 5
%7 = and i64 %6, 7
%8 = add nsw i64 %7, -1
%9 = icmp ult i64 %8, 5
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = shl i64 %8, 2
%12 = call i8* @llvm.load.relative.i64(i8* bitcast ([5 x i32]* @reltable.ucshowproc to i8*), i64 %11)
br label %13
13: ; preds = %2, %10
%14 = phi i8* [ %12, %10 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6, i64 0, i64 0), %2 ]
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %14)
%16 = tail call i32 @putchar(i32 10)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.8, i64 0, i64 0), i8* %1)
%18 = lshr i64 %0, 28
%19 = and i64 %18, 7
%20 = icmp ult i64 %19, 5
br i1 %20, label %21, label %24
21: ; preds = %13
%22 = shl i64 %19, 2
%23 = call i8* @llvm.load.relative.i64(i8* bitcast ([5 x i32]* @reltable.ucshowproc.57 to i8*), i64 %22)
br label %24
24: ; preds = %13, %21
%25 = phi i8* [ %23, %21 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %13 ]
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %25)
%27 = tail call i32 @putchar(i32 10)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.15, i64 0, i64 0), i8* %1)
%29 = lshr i64 %0, 8
%30 = and i64 %29, 15
%31 = icmp eq i64 %30, 15
br i1 %31, label %35, label %32
32: ; preds = %24
%33 = getelementptr inbounds [15 x i8*], [15 x i8*]* @switch.table.ucshowproc.55, i64 0, i64 %30
%34 = load i8*, i8** %33
br label %35
35: ; preds = %24, %32
%36 = phi i8* [ %34, %32 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %24 ]
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %36)
%38 = tail call i32 @putchar(i32 10)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.26, i64 0, i64 0), i8* %1)
%40 = lshr i64 %0, 12
%41 = and i64 %40, 15
%42 = icmp eq i64 %41, 15
br i1 %42, label %46, label %43
43: ; preds = %35
%44 = getelementptr inbounds [15 x i8*], [15 x i8*]* @switch.table.ucshowproc.55, i64 0, i64 %41
%45 = load i8*, i8** %44
br label %46
46: ; preds = %35, %43
%47 = phi i8* [ %45, %43 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %35 ]
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %47)
%49 = tail call i32 @putchar(i32 10)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.27, i64 0, i64 0), i8* %1)
%51 = lshr i64 %0, 16
%52 = and i64 %51, 15
%53 = add nsw i64 %52, -1
%54 = icmp ult i64 %53, 15
br i1 %54, label %55, label %58
55: ; preds = %46
%56 = shl i64 %53, 2
%57 = call i8* @llvm.load.relative.i64(i8* bitcast ([15 x i32]* @reltable.ucshowproc.58 to i8*), i64 %56)
br label %58
58: ; preds = %46, %55
%59 = phi i8* [ %57, %55 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %46 ]
%60 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %59)
%61 = tail call i32 @putchar(i32 10)
%62 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.35, i64 0, i64 0), i8* %1)
%63 = lshr i64 %0, 20
%64 = trunc i64 %63 to i8
switch i8 %64, label %78 [
i8 -16, label %79
i8 64, label %65
i8 99, label %66
i8 85, label %67
i8 66, label %68
i8 -110, label %69
i8 52, label %70
i8 96, label %71
i8 112, label %72
i8 113, label %73
i8 114, label %74
i8 115, label %75
i8 117, label %76
i8 25, label %77
]
65: ; preds = %58
br label %79
66: ; preds = %58
br label %79
67: ; preds = %58
br label %79
68: ; preds = %58
br label %79
69: ; preds = %58
br label %79
70: ; preds = %58
br label %79
71: ; preds = %58
br label %79
72: ; preds = %58
br label %79
73: ; preds = %58
br label %79
74: ; preds = %58
br label %79
75: ; preds = %58
br label %79
76: ; preds = %58
br label %79
77: ; preds = %58
br label %79
78: ; preds = %58
br label %79
79: ; preds = %58, %78, %77, %76, %75, %74, %73, %72, %71, %70, %69, %68, %67, %66, %65
%80 = phi i8* [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.14, i64 0, i64 0), %78 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.49, i64 0, i64 0), %77 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.48, i64 0, i64 0), %76 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.47, i64 0, i64 0), %75 ], [ getelementptr inbounds ([13 x i8], [13 x i8]* @.str.46, i64 0, i64 0), %74 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.45, i64 0, i64 0), %73 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.44, i64 0, i64 0), %72 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.43, i64 0, i64 0), %71 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.42, i64 0, i64 0), %70 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.41, i64 0, i64 0), %69 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.40, i64 0, i64 0), %68 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.39, i64 0, i64 0), %67 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.38, i64 0, i64 0), %66 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.37, i64 0, i64 0), %65 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.36, i64 0, i64 0), %58 ]
%81 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) %80)
%82 = tail call i32 @putchar(i32 10)
%83 = and i64 %0, 2147483648
%84 = icmp eq i64 %83, 0
%85 = select i1 %84, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.52, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.51, i64 0, i64 0)
%86 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.50, i64 0, i64 0), i8* %1, i8* %85)
ret void
}