#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 get_cputype(int);
int get_vendor();
int /*<<< orphan*/ have_cpuid();
int /*<<< orphan*/ support_avx();
int get_cpuname(void) {
  int family, exfamily, model, vendor, exmodel;
  if (!have_cpuid())
    return 11;
  family = get_cputype(4);
  exfamily = get_cputype(1);
  model = get_cputype(5);
  exmodel = get_cputype(2);
  vendor = get_vendor();
  if (vendor == 1) {
    switch (family) {
    case 0x4:
      return 12;
    case 0x5:
      return 13;
    case 0x6:
      switch (exmodel) {
      case 0:
        switch (model) {
        case 1:
        case 3:
        case 5:
        case 6:
          return 14;
        case 7:
        case 8:
        case 10:
        case 11:
          return 15;
        case 9:
        case 13:
        case 14:
          return 16;
        case 15:
          return 18;
        }
        break;
      case 1:
        switch (model) {
        case 6:
          return 18;
        case 7:
          return 19;
        case 10:
        case 11:
        case 14:
        case 15:
          return 21;
        case 12:
          return 22;
        case 13:
          return 20;
        }
        break;
      case 2:
        switch (model) {
        case 5:
          return 21;
        case 10:
          if (support_avx())
            return 44;
          else
            return 21;
        case 12:
          return 21;
        case 13:
          if (support_avx())
            return 44;
          else
            return 21;
        case 14:
        case 15:
          return 21;
        }
        break;
      case 3:
        switch (model) {
        case 10:
        case 14:
          if (support_avx())
            return 44;
          else
            return 21;
        case 12:
        case 15:
          if (support_avx())
            return 48;
          else
            return 21;
        case 13:
          if (support_avx())
            return 48;
          else
            return 21;
        }
        break;
      case 4:
        switch (model) {
        case 5:
        case 6:
          if (support_avx())
            return 48;
          else
            return 21;
        case 7:
        case 15:
          if (support_avx())
            return 48;
          else
            return 21;
        case 14:
          if (support_avx())
            return 48;
          else
            return 21;
        }
        break;
      case 5:
        switch (model) {
        case 6:
          if (support_avx())
            return 48;
          else
            return 21;
        case 5:
        case 14:
          if (support_avx())
            return 48;
          else
            return 21;
        }
        break;
      }
      break;
    case 0x7:
      return 23;
    case 0xf:
      switch (exfamily) {
      case 0:
        return 17;
      case 1:
        return 23;
      }
      break;
    }
    return 1;
  }
  if (vendor == 3) {
    switch (family) {
    case 0x4:
      return 25;
    case 0x5:
      return 26;
    case 0x6:
      return 27;
    case 0xf:
      switch (exfamily) {
      case 0:
      case 2:
        return 29;
      case 1:
      case 10:
        return 30;
      case 6:
        switch (model) {
        case 1:
          if (support_avx())
            return 46;
          else
            return 30;
        case 2:
          if (support_avx())
            return 47;
          else
            return 30;
        case 0:
          switch (exmodel) {
          case 3:
            if (support_avx())
              return 49;
            else
              return 30;
          case 6:
            if (support_avx())
              return 50;
            else
              return 30;
          }
          break;
        }
        break;
      case 5:
        return 45;
      }
      break;
    }
    return 3;
  }
  if (vendor == 4) {
    switch (family) {
    case 0x4:
      return 33;
    case 0x5:
      return 34;
    case 0x6:
      return 35;
    }
    return 4;
  }
  if (vendor == 5) {
    switch (family) {
    case 0x5:
      return 36;
    }
    return 5;
  }
  if (vendor == 6) {
    switch (family) {
    case 0x5:
      return 37;
      break;
    case 0x6:
      return 43;
      break;
    }
    return 42;
  }
  if (vendor == 7) {
    switch (family) {
    case 0x5:
      return 38;
    }
    return 7;
  }
  if (vendor == 8) {
    switch (family) {
    case 0x5:
      return 39;
    }
    return 8;
  }
  if (vendor == 9) {
    switch (family) {
    case 0x5:
      return 40;
    }
    return 9;
  }
  if (vendor == 10) {
    switch (family) {
    case 0x5:
      return 41;
    }
    return 10;
  }
  return 0;
}


x86 assembly (clang, -O0):
<get_cpuname>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    $0x0,%al
call   1060 <have_cpuid@plt>
cmp    $0x0,%eax
jne    1167 <get_cpuname+0x27>
movl   $0xb,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x4,%edi
call   1030 <get_cputype@plt>
mov    %eax,-0x8(%rbp)
mov    $0x1,%edi
call   1030 <get_cputype@plt>
mov    %eax,-0xc(%rbp)
mov    $0x5,%edi
call   1030 <get_cputype@plt>
mov    %eax,-0x10(%rbp)
mov    $0x2,%edi
call   1030 <get_cputype@plt>
mov    %eax,-0x18(%rbp)
mov    $0x0,%al
call   1040 <get_vendor@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x1,-0x14(%rbp)
jne    15b4 <get_cpuname+0x474>
mov    -0x8(%rbp),%eax
add    $0xfffffffc,%eax
mov    %eax,%ecx
mov    %rcx,-0x20(%rbp)
sub    $0xb,%eax
ja     15a8 <get_cpuname+0x468>
mov    -0x20(%rbp),%rax
lea    0xe8d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0xc,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0xd,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    -0x18(%rbp),%eax
mov    %rax,-0x28(%rbp)
sub    $0x5,%rax
ja     1556 <get_cpuname+0x416>
mov    -0x28(%rbp),%rax
lea    0xe80(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0xe,%eax
ja     126e <get_cpuname+0x12e>
mov    -0x30(%rbp),%rax
lea    0xf07(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0xe,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0xf,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x10,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x12,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
mov    -0x10(%rbp),%eax
add    $0xfffffffa,%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0x9,%eax
ja     12d8 <get_cpuname+0x198>
mov    -0x38(%rbp),%rax
lea    0xe81(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x12,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x13,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x16,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x14,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
mov    -0x10(%rbp),%eax
add    $0xfffffffb,%eax
mov    %eax,%ecx
mov    %rcx,-0x40(%rbp)
sub    $0xa,%eax
ja     137a <get_cpuname+0x23a>
mov    -0x40(%rbp),%rax
lea    0xdeb(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     132e <get_cpuname+0x1ee>
movl   $0x2c,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1362 <get_cpuname+0x222>
movl   $0x2c,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
mov    -0x10(%rbp),%eax
add    $0xfffffff6,%eax
mov    %eax,%ecx
mov    %rcx,-0x48(%rbp)
sub    $0x5,%eax
ja     1420 <get_cpuname+0x2e0>
mov    -0x48(%rbp),%rax
lea    0xd31(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     13c4 <get_cpuname+0x284>
movl   $0x2c,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     13ec <get_cpuname+0x2ac>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1414 <get_cpuname+0x2d4>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
mov    -0x10(%rbp),%eax
add    $0xfffffffb,%eax
mov    %eax,%ecx
mov    %rcx,-0x50(%rbp)
sub    $0xa,%eax
ja     14c6 <get_cpuname+0x386>
mov    -0x50(%rbp),%rax
lea    0xc5f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     146a <get_cpuname+0x32a>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1492 <get_cpuname+0x352>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     14ba <get_cpuname+0x37a>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
mov    -0x10(%rbp),%eax
mov    %eax,-0x54(%rbp)
sub    $0x5,%eax
je     1529 <get_cpuname+0x3e9>
jmp    14df <get_cpuname+0x39f>
mov    -0x54(%rbp),%eax
sub    $0x6,%eax
je     1501 <get_cpuname+0x3c1>
jmp    14f0 <get_cpuname+0x3b0>
mov    -0x54(%rbp),%eax
sub    $0xe,%eax
je     1529 <get_cpuname+0x3e9>
jmp    1551 <get_cpuname+0x411>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     151d <get_cpuname+0x3dd>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1545 <get_cpuname+0x405>
movl   $0x30,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x15,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1556 <get_cpuname+0x416>
jmp    15a8 <get_cpuname+0x468>
movl   $0x17,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    -0xc(%rbp),%eax
mov    %eax,-0x58(%rbp)
test   %eax,%eax
je     158b <get_cpuname+0x44b>
jmp    157a <get_cpuname+0x43a>
mov    -0x58(%rbp),%eax
sub    $0x1,%eax
je     1597 <get_cpuname+0x457>
jmp    15a3 <get_cpuname+0x463>
movl   $0x11,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x17,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    15a8 <get_cpuname+0x468>
movl   $0x1,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x3,-0x14(%rbp)
jne    1769 <get_cpuname+0x629>
mov    -0x8(%rbp),%eax
add    $0xfffffffc,%eax
mov    %eax,%ecx
mov    %rcx,-0x60(%rbp)
sub    $0xb,%eax
ja     175d <get_cpuname+0x61d>
mov    -0x60(%rbp),%rax
lea    0xa22(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x19,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1a,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1b,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    -0xc(%rbp),%eax
mov    %rax,-0x68(%rbp)
sub    $0xa,%rax
ja     1758 <get_cpuname+0x618>
mov    -0x68(%rbp),%rax
lea    0xa09(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
movl   $0x1d,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    -0x10(%rbp),%eax
mov    %eax,-0x6c(%rbp)
test   %eax,%eax
je     16cd <get_cpuname+0x58d>
jmp    165b <get_cpuname+0x51b>
mov    -0x6c(%rbp),%eax
sub    $0x1,%eax
je     167d <get_cpuname+0x53d>
jmp    166c <get_cpuname+0x52c>
mov    -0x6c(%rbp),%eax
sub    $0x2,%eax
je     16a5 <get_cpuname+0x565>
jmp    1747 <get_cpuname+0x607>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1699 <get_cpuname+0x559>
movl   $0x2e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     16c1 <get_cpuname+0x581>
movl   $0x2f,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    -0x18(%rbp),%eax
mov    %eax,-0x70(%rbp)
sub    $0x3,%eax
je     16f2 <get_cpuname+0x5b2>
jmp    16e1 <get_cpuname+0x5a1>
mov    -0x70(%rbp),%eax
sub    $0x6,%eax
je     171a <get_cpuname+0x5da>
jmp    1742 <get_cpuname+0x602>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     170e <get_cpuname+0x5ce>
movl   $0x31,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
mov    $0x0,%al
call   1050 <support_avx@plt>
cmp    $0x0,%eax
je     1736 <get_cpuname+0x5f6>
movl   $0x32,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x1e,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    1747 <get_cpuname+0x607>
jmp    1758 <get_cpuname+0x618>
movl   $0x2d,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
jmp    175d <get_cpuname+0x61d>
movl   $0x3,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x4,-0x14(%rbp)
jne    17d9 <get_cpuname+0x699>
mov    -0x8(%rbp),%eax
mov    %eax,-0x74(%rbp)
sub    $0x4,%eax
je     17a9 <get_cpuname+0x669>
jmp    1787 <get_cpuname+0x647>
mov    -0x74(%rbp),%eax
sub    $0x5,%eax
je     17b5 <get_cpuname+0x675>
jmp    1798 <get_cpuname+0x658>
mov    -0x74(%rbp),%eax
sub    $0x6,%eax
je     17c1 <get_cpuname+0x681>
jmp    17cd <get_cpuname+0x68d>
movl   $0x21,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x22,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x23,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x4,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x5,-0x14(%rbp)
jne    180c <get_cpuname+0x6cc>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
jne    1800 <get_cpuname+0x6c0>
jmp    17f4 <get_cpuname+0x6b4>
movl   $0x24,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x5,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x6,-0x14(%rbp)
jne    185f <get_cpuname+0x71f>
mov    -0x8(%rbp),%eax
mov    %eax,-0x78(%rbp)
sub    $0x5,%eax
je     183b <get_cpuname+0x6fb>
jmp    182a <get_cpuname+0x6ea>
mov    -0x78(%rbp),%eax
sub    $0x6,%eax
je     1847 <get_cpuname+0x707>
jmp    1853 <get_cpuname+0x713>
movl   $0x25,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x2b,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x2a,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x7,-0x14(%rbp)
jne    1892 <get_cpuname+0x752>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
jne    1886 <get_cpuname+0x746>
jmp    187a <get_cpuname+0x73a>
movl   $0x26,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x7,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x8,-0x14(%rbp)
jne    18c5 <get_cpuname+0x785>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
jne    18b9 <get_cpuname+0x779>
jmp    18ad <get_cpuname+0x76d>
movl   $0x27,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x8,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0x9,-0x14(%rbp)
jne    18f8 <get_cpuname+0x7b8>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
jne    18ec <get_cpuname+0x7ac>
jmp    18e0 <get_cpuname+0x7a0>
movl   $0x28,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x9,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
cmpl   $0xa,-0x14(%rbp)
jne    192b <get_cpuname+0x7eb>
mov    -0x8(%rbp),%eax
sub    $0x5,%eax
jne    191f <get_cpuname+0x7df>
jmp    1913 <get_cpuname+0x7d3>
movl   $0x29,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0xa,-0x4(%rbp)
jmp    1932 <get_cpuname+0x7f2>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_cpuname>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
xor    %ebp,%ebp
xor    %eax,%eax
call   1060 <have_cpuid@plt>
test   %eax,%eax
je     11cf <get_cpuname+0x8f>
mov    $0x4,%edi
call   1030 <get_cputype@plt>
mov    %eax,%ebx
mov    $0x1,%edi
call   1030 <get_cputype@plt>
mov    %eax,%r12d
mov    $0x5,%edi
call   1030 <get_cputype@plt>
mov    %eax,%r14d
mov    $0x2,%edi
call   1030 <get_cputype@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1040 <get_vendor@plt>
add    $0xffffffff,%eax
cmp    $0x9,%eax
ja     11d4 <get_cpuname+0x94>
lea    0xe62(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
add    $0xfffffffc,%ebx
cmp    $0xb,%ebx
ja     143c <get_cpuname+0x2fc>
mov    $0xc,%ebp
lea    0xec5(%rip),%rax
movslq (%rax,%rbx,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    $0xd,%ebp
jmp    11d4 <get_cpuname+0x94>
mov    $0xb,%ebp
mov    %ebp,%eax
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret
add    $0xfffffffc,%ebx
cmp    $0xb,%ebx
ja     146d <get_cpuname+0x32d>
mov    $0x19,%ebp
lea    0xe31(%rip),%rax
movslq (%rax,%rbx,4),%rcx
add    %rax,%rcx
jmp    *%rcx
mov    $0x1a,%ebp
jmp    11d4 <get_cpuname+0x94>
lea    -0x4(%rbx),%eax
add    $0x1d,%ebx
cmp    $0x3,%eax
mov    $0x4,%ebp
cmovb  %ebx,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%ebx
mov    $0x24,%eax
mov    $0x5,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
xor    %eax,%eax
cmp    $0x6,%ebx
sete   %al
or     $0x2a,%eax
cmp    $0x5,%ebx
mov    $0x25,%ebp
cmovne %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%ebx
mov    $0x26,%eax
mov    $0x7,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%ebx
mov    $0x27,%eax
mov    $0x8,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%ebx
mov    $0x28,%eax
mov    $0x9,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%ebx
mov    $0x29,%eax
mov    $0xa,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
mov    $0x1b,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0xa,%r12d
ja     146d <get_cpuname+0x32d>
mov    $0x1d,%ebp
mov    %r12d,%eax
lea    0xd9d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    $0x1e,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x5,%r15d
ja     143c <get_cpuname+0x2fc>
mov    %r15d,%eax
lea    0xdd2(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
add    $0xffffffff,%r14d
cmp    $0xf,%r14d
jae    143c <get_cpuname+0x2fc>
movslq %r14d,%rax
lea    0xe0d(%rip),%rcx
jmp    138c <get_cpuname+0x24c>
mov    $0x17,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x1,%r12d
mov    $0x17,%eax
mov    $0x1,%ecx
cmove  %eax,%ecx
test   %r12d,%r12d
mov    $0x11,%ebp
cmovne %ecx,%ebp
jmp    11d4 <get_cpuname+0x94>
mov    $0x2d,%ebp
jmp    11d4 <get_cpuname+0x94>
test   %r14d,%r14d
je     1446 <get_cpuname+0x306>
cmp    $0x2,%r14d
je     1477 <get_cpuname+0x337>
cmp    $0x1,%r14d
jne    146d <get_cpuname+0x32d>
xor    %eax,%eax
call   1050 <support_avx@plt>
xor    %ebp,%ebp
test   %eax,%eax
setne  %bpl
shl    $0x4,%ebp
add    $0x1e,%ebp
jmp    11d4 <get_cpuname+0x94>
add    $0xfffffffa,%r14d
cmp    $0xa,%r14d
jae    143c <get_cpuname+0x2fc>
movslq %r14d,%rax
lea    0xdc0(%rip),%rcx
mov    (%rcx,%rax,4),%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0xf,%r14d
ja     143c <get_cpuname+0x2fc>
mov    $0x15,%ebp
mov    $0xd020,%eax
bt     %r14d,%eax
jb     11d4 <get_cpuname+0x94>
cmp    $0xa,%r14d
je     13da <get_cpuname+0x29a>
cmp    $0xd,%r14d
je     13da <get_cpuname+0x29a>
jmp    143c <get_cpuname+0x2fc>
add    $0xfffffff6,%r14d
cmp    $0x5,%r14d
ja     143c <get_cpuname+0x2fc>
lea    0xd27(%rip),%rax
movslq (%rax,%r14,4),%rcx
add    %rax,%rcx
jmp    *%rcx
xor    %eax,%eax
call   1050 <support_avx@plt>
test   %eax,%eax
mov    $0x15,%eax
mov    $0x2c,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
add    $0xfffffffb,%r14d
cmp    $0xa,%r14d
ja     143c <get_cpuname+0x2fc>
lea    0xcc6(%rip),%rax
movslq (%rax,%r14,4),%rcx
add    %rax,%rcx
jmp    *%rcx
cmp    $0x5,%r14d
je     1421 <get_cpuname+0x2e1>
cmp    $0xe,%r14d
je     1421 <get_cpuname+0x2e1>
cmp    $0x6,%r14d
jne    143c <get_cpuname+0x2fc>
xor    %eax,%eax
call   1050 <support_avx@plt>
test   %eax,%eax
mov    $0x15,%eax
mov    $0x30,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
mov    $0x1,%ebp
jmp    11d4 <get_cpuname+0x94>
cmp    $0x6,%r15d
je     1492 <get_cpuname+0x352>
cmp    $0x3,%r15d
jne    146d <get_cpuname+0x32d>
xor    %eax,%eax
call   1050 <support_avx@plt>
test   %eax,%eax
mov    $0x1e,%eax
mov    $0x31,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
mov    $0x3,%ebp
jmp    11d4 <get_cpuname+0x94>
xor    %eax,%eax
call   1050 <support_avx@plt>
test   %eax,%eax
mov    $0x1e,%eax
mov    $0x2f,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>
xor    %eax,%eax
call   1050 <support_avx@plt>
test   %eax,%eax
mov    $0x1e,%eax
mov    $0x32,%ebp
cmove  %eax,%ebp
jmp    11d4 <get_cpuname+0x94>

LLVM IR (-O0):
define i32 @get_cpuname() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = call i32 (...) @have_cpuid()
%8 = icmp ne i32 %7, 0
br i1 %8, label %10, label %9
9: ; preds = %0
store i32 11, i32* %1
br label %206
10: ; preds = %0
%11 = call i32 @get_cputype(i32 4)
store i32 %11, i32* %2
%12 = call i32 @get_cputype(i32 1)
store i32 %12, i32* %3
%13 = call i32 @get_cputype(i32 5)
store i32 %13, i32* %4
%14 = call i32 @get_cputype(i32 2)
store i32 %14, i32* %6
%15 = call i32 (...) @get_vendor()
store i32 %15, i32* %5
%16 = load i32, i32* %5
%17 = icmp eq i32 %16, 1
br i1 %17, label %18, label %112
18: ; preds = %10
%19 = load i32, i32* %2
switch i32 %19, label %111 [
i32 4, label %20
i32 5, label %21
i32 6, label %22
i32 7, label %105
i32 15, label %106
]
20: ; preds = %18
store i32 12, i32* %1
br label %206
21: ; preds = %18
store i32 13, i32* %1
br label %206
22: ; preds = %18
%23 = load i32, i32* %6
switch i32 %23, label %104 [
i32 0, label %24
i32 1, label %31
i32 2, label %39
i32 3, label %55
i32 4, label %73
i32 5, label %91
]
24: ; preds = %22
%25 = load i32, i32* %4
switch i32 %25, label %30 [
i32 1, label %26
i32 3, label %26
i32 5, label %26
i32 6, label %26
i32 7, label %27
i32 8, label %27
i32 10, label %27
i32 11, label %27
i32 9, label %28
i32 13, label %28
i32 14, label %28
i32 15, label %29
]
26: ; preds = %24, %24, %24, %24
store i32 14, i32* %1
br label %206
27: ; preds = %24, %24, %24, %24
store i32 15, i32* %1
br label %206
28: ; preds = %24, %24, %24
store i32 16, i32* %1
br label %206
29: ; preds = %24
store i32 18, i32* %1
br label %206
30: ; preds = %24
br label %104
31: ; preds = %22
%32 = load i32, i32* %4
switch i32 %32, label %38 [
i32 6, label %33
i32 7, label %34
i32 10, label %35
i32 11, label %35
i32 14, label %35
i32 15, label %35
i32 12, label %36
i32 13, label %37
]
33: ; preds = %31
store i32 18, i32* %1
br label %206
34: ; preds = %31
store i32 19, i32* %1
br label %206
35: ; preds = %31, %31, %31, %31
store i32 21, i32* %1
br label %206
36: ; preds = %31
store i32 22, i32* %1
br label %206
37: ; preds = %31
store i32 20, i32* %1
br label %206
38: ; preds = %31
br label %104
39: ; preds = %22
%40 = load i32, i32* %4
switch i32 %40, label %54 [
i32 5, label %41
i32 10, label %42
i32 12, label %47
i32 13, label %48
i32 14, label %53
i32 15, label %53
]
41: ; preds = %39
store i32 21, i32* %1
br label %206
42: ; preds = %39
%43 = call i32 (...) @support_avx()
%44 = icmp ne i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %42
store i32 44, i32* %1
br label %206
46: ; preds = %42
store i32 21, i32* %1
br label %206
47: ; preds = %39
store i32 21, i32* %1
br label %206
48: ; preds = %39
%49 = call i32 (...) @support_avx()
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %52
51: ; preds = %48
store i32 44, i32* %1
br label %206
52: ; preds = %48
store i32 21, i32* %1
br label %206
53: ; preds = %39, %39
store i32 21, i32* %1
br label %206
54: ; preds = %39
br label %104
55: ; preds = %22
%56 = load i32, i32* %4
switch i32 %56, label %72 [
i32 10, label %57
i32 14, label %57
i32 12, label %62
i32 15, label %62
i32 13, label %67
]
57: ; preds = %55, %55
%58 = call i32 (...) @support_avx()
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %57
store i32 44, i32* %1
br label %206
61: ; preds = %57
store i32 21, i32* %1
br label %206
62: ; preds = %55, %55
%63 = call i32 (...) @support_avx()
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %62
store i32 48, i32* %1
br label %206
66: ; preds = %62
store i32 21, i32* %1
br label %206
67: ; preds = %55
%68 = call i32 (...) @support_avx()
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %67
store i32 48, i32* %1
br label %206
71: ; preds = %67
store i32 21, i32* %1
br label %206
72: ; preds = %55
br label %104
73: ; preds = %22
%74 = load i32, i32* %4
switch i32 %74, label %90 [
i32 5, label %75
i32 6, label %75
i32 7, label %80
i32 15, label %80
i32 14, label %85
]
75: ; preds = %73, %73
%76 = call i32 (...) @support_avx()
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %79
78: ; preds = %75
store i32 48, i32* %1
br label %206
79: ; preds = %75
store i32 21, i32* %1
br label %206
80: ; preds = %73, %73
%81 = call i32 (...) @support_avx()
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %84
83: ; preds = %80
store i32 48, i32* %1
br label %206
84: ; preds = %80
store i32 21, i32* %1
br label %206
85: ; preds = %73
%86 = call i32 (...) @support_avx()
%87 = icmp ne i32 %86, 0
br i1 %87, label %88, label %89
88: ; preds = %85
store i32 48, i32* %1
br label %206
89: ; preds = %85
store i32 21, i32* %1
br label %206
90: ; preds = %73
br label %104
91: ; preds = %22
%92 = load i32, i32* %4
switch i32 %92, label %103 [
i32 6, label %93
i32 5, label %98
i32 14, label %98
]
93: ; preds = %91
%94 = call i32 (...) @support_avx()
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 48, i32* %1
br label %206
97: ; preds = %93
store i32 21, i32* %1
br label %206
98: ; preds = %91, %91
%99 = call i32 (...) @support_avx()
%100 = icmp ne i32 %99, 0
br i1 %100, label %101, label %102
101: ; preds = %98
store i32 48, i32* %1
br label %206
102: ; preds = %98
store i32 21, i32* %1
br label %206
103: ; preds = %91
br label %104
104: ; preds = %22, %103, %90, %72, %54, %38, %30
br label %111
105: ; preds = %18
store i32 23, i32* %1
br label %206
106: ; preds = %18
%107 = load i32, i32* %3
switch i32 %107, label %110 [
i32 0, label %108
i32 1, label %109
]
108: ; preds = %106
store i32 17, i32* %1
br label %206
109: ; preds = %106
store i32 23, i32* %1
br label %206
110: ; preds = %106
br label %111
111: ; preds = %18, %110, %104
store i32 1, i32* %1
br label %206
112: ; preds = %10
%113 = load i32, i32* %5
%114 = icmp eq i32 %113, 3
br i1 %114, label %115, label %153
115: ; preds = %112
%116 = load i32, i32* %2
switch i32 %116, label %152 [
i32 4, label %117
i32 5, label %118
i32 6, label %119
i32 15, label %120
]
117: ; preds = %115
store i32 25, i32* %1
br label %206
118: ; preds = %115
store i32 26, i32* %1
br label %206
119: ; preds = %115
store i32 27, i32* %1
br label %206
120: ; preds = %115
%121 = load i32, i32* %3
switch i32 %121, label %151 [
i32 0, label %122
i32 2, label %122
i32 1, label %123
i32 10, label %123
i32 6, label %124
i32 5, label %150
]
122: ; preds = %120, %120
store i32 29, i32* %1
br label %206
123: ; preds = %120, %120
store i32 30, i32* %1
br label %206
124: ; preds = %120
%125 = load i32, i32* %4
switch i32 %125, label %149 [
i32 1, label %126
i32 2, label %131
i32 0, label %136
]
126: ; preds = %124
%127 = call i32 (...) @support_avx()
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %130
129: ; preds = %126
store i32 46, i32* %1
br label %206
130: ; preds = %126
store i32 30, i32* %1
br label %206
131: ; preds = %124
%132 = call i32 (...) @support_avx()
%133 = icmp ne i32 %132, 0
br i1 %133, label %134, label %135
134: ; preds = %131
store i32 47, i32* %1
br label %206
135: ; preds = %131
store i32 30, i32* %1
br label %206
136: ; preds = %124
%137 = load i32, i32* %6
switch i32 %137, label %148 [
i32 3, label %138
i32 6, label %143
]
138: ; preds = %136
%139 = call i32 (...) @support_avx()
%140 = icmp ne i32 %139, 0
br i1 %140, label %141, label %142
141: ; preds = %138
store i32 49, i32* %1
br label %206
142: ; preds = %138
store i32 30, i32* %1
br label %206
143: ; preds = %136
%144 = call i32 (...) @support_avx()
%145 = icmp ne i32 %144, 0
br i1 %145, label %146, label %147
146: ; preds = %143
store i32 50, i32* %1
br label %206
147: ; preds = %143
store i32 30, i32* %1
br label %206
148: ; preds = %136
br label %149
149: ; preds = %124, %148
br label %151
150: ; preds = %120
store i32 45, i32* %1
br label %206
151: ; preds = %120, %149
br label %152
152: ; preds = %115, %151
store i32 3, i32* %1
br label %206
153: ; preds = %112
%154 = load i32, i32* %5
%155 = icmp eq i32 %154, 4
br i1 %155, label %156, label %162
156: ; preds = %153
%157 = load i32, i32* %2
switch i32 %157, label %161 [
i32 4, label %158
i32 5, label %159
i32 6, label %160
]
158: ; preds = %156
store i32 33, i32* %1
br label %206
159: ; preds = %156
store i32 34, i32* %1
br label %206
160: ; preds = %156
store i32 35, i32* %1
br label %206
161: ; preds = %156
store i32 4, i32* %1
br label %206
162: ; preds = %153
%163 = load i32, i32* %5
%164 = icmp eq i32 %163, 5
br i1 %164, label %165, label %169
165: ; preds = %162
%166 = load i32, i32* %2
switch i32 %166, label %168 [
i32 5, label %167
]
167: ; preds = %165
store i32 36, i32* %1
br label %206
168: ; preds = %165
store i32 5, i32* %1
br label %206
169: ; preds = %162
%170 = load i32, i32* %5
%171 = icmp eq i32 %170, 6
br i1 %171, label %172, label %177
172: ; preds = %169
%173 = load i32, i32* %2
switch i32 %173, label %176 [
i32 5, label %174
i32 6, label %175
]
174: ; preds = %172
store i32 37, i32* %1
br label %206
175: ; preds = %172
store i32 43, i32* %1
br label %206
176: ; preds = %172
store i32 42, i32* %1
br label %206
177: ; preds = %169
%178 = load i32, i32* %5
%179 = icmp eq i32 %178, 7
br i1 %179, label %180, label %184
180: ; preds = %177
%181 = load i32, i32* %2
switch i32 %181, label %183 [
i32 5, label %182
]
182: ; preds = %180
store i32 38, i32* %1
br label %206
183: ; preds = %180
store i32 7, i32* %1
br label %206
184: ; preds = %177
%185 = load i32, i32* %5
%186 = icmp eq i32 %185, 8
br i1 %186, label %187, label %191
187: ; preds = %184
%188 = load i32, i32* %2
switch i32 %188, label %190 [
i32 5, label %189
]
189: ; preds = %187
store i32 39, i32* %1
br label %206
190: ; preds = %187
store i32 8, i32* %1
br label %206
191: ; preds = %184
%192 = load i32, i32* %5
%193 = icmp eq i32 %192, 9
br i1 %193, label %194, label %198
194: ; preds = %191
%195 = load i32, i32* %2
switch i32 %195, label %197 [
i32 5, label %196
]
196: ; preds = %194
store i32 40, i32* %1
br label %206
197: ; preds = %194
store i32 9, i32* %1
br label %206
198: ; preds = %191
%199 = load i32, i32* %5
%200 = icmp eq i32 %199, 10
br i1 %200, label %201, label %205
201: ; preds = %198
%202 = load i32, i32* %2
switch i32 %202, label %204 [
i32 5, label %203
]
203: ; preds = %201
store i32 41, i32* %1
br label %206
204: ; preds = %201
store i32 10, i32* %1
br label %206
205: ; preds = %198
store i32 0, i32* %1
br label %206
206: ; preds = %205, %204, %203, %197, %196, %190, %189, %183, %182, %176, %175, %174, %168, %167, %161, %160, %159, %158, %152, %150, %147, %146, %142, %141, %135, %134, %130, %129, %123, %122, %119, %118, %117, %111, %109, %108, %105, %102, %101, %97, %96, %89, %88, %84, %83, %79, %78, %71, %70, %66, %65, %61, %60, %53, %52, %51, %47, %46, %45, %41, %37, %36, %35, %34, %33, %29, %28, %27, %26, %21, %20, %9
%207 = load i32, i32* %1
ret i32 %207
}

LLVM IR (-O2):
@switch.table.get_cpuname = [15 x i32] [i32 14, i32 1, i32 14, i32 1, i32 14, i32 14, i32 15, i32 15, i32 16, i32 15, i32 15, i32 1, i32 16, i32 16, i32 18]
@switch.table.get_cpuname.1 = [10 x i32] [i32 18, i32 19, i32 1, i32 1, i32 21, i32 21, i32 22, i32 20, i32 21, i32 21]
define i32 @get_cpuname() {
%1 = tail call i32 (...) @have_cpuid()
%2 = icmp eq i32 %1, 0
br i1 %2, label %127, label %3
3: ; preds = %0
%4 = tail call i32 @get_cputype(i32 4)
%5 = tail call i32 @get_cputype(i32 1)
%6 = tail call i32 @get_cputype(i32 5)
%7 = tail call i32 @get_cputype(i32 2)
%8 = tail call i32 (...) @get_vendor()
switch i32 %8, label %127 [
i32 1, label %9
i32 3, label %69
i32 4, label %94
i32 5, label %99
i32 6, label %102
i32 7, label %107
i32 8, label %110
i32 9, label %113
i32 10, label %116
]
9: ; preds = %3
switch i32 %4, label %68 [
i32 4, label %127
i32 5, label %10
i32 6, label %11
i32 7, label %62
i32 15, label %63
]
10: ; preds = %9
br label %127
11: ; preds = %9
switch i32 %7, label %68 [
i32 0, label %12
i32 1, label %15
i32 2, label %18
i32 3, label %27
i32 4, label %40
i32 5, label %53
]
12: ; preds = %11
%13 = add i32 %6, -1
%14 = icmp ult i32 %13, 15
br i1 %14, label %119, label %68
15: ; preds = %11
%16 = add i32 %6, -6
%17 = icmp ult i32 %16, 10
br i1 %17, label %123, label %68
18: ; preds = %11
switch i32 %6, label %68 [
i32 5, label %127
i32 10, label %19
i32 12, label %127
i32 13, label %23
i32 14, label %127
i32 15, label %127
]
19: ; preds = %18
%20 = tail call i32 (...) @support_avx()
%21 = icmp eq i32 %20, 0
%22 = select i1 %21, i32 21, i32 44
br label %127
23: ; preds = %18
%24 = tail call i32 (...) @support_avx()
%25 = icmp eq i32 %24, 0
%26 = select i1 %25, i32 21, i32 44
br label %127
27: ; preds = %11
switch i32 %6, label %68 [
i32 10, label %28
i32 14, label %28
i32 12, label %32
i32 15, label %32
i32 13, label %36
]
28: ; preds = %27, %27
%29 = tail call i32 (...) @support_avx()
%30 = icmp eq i32 %29, 0
%31 = select i1 %30, i32 21, i32 44
br label %127
32: ; preds = %27, %27
%33 = tail call i32 (...) @support_avx()
%34 = icmp eq i32 %33, 0
%35 = select i1 %34, i32 21, i32 48
br label %127
36: ; preds = %27
%37 = tail call i32 (...) @support_avx()
%38 = icmp eq i32 %37, 0
%39 = select i1 %38, i32 21, i32 48
br label %127
40: ; preds = %11
switch i32 %6, label %68 [
i32 5, label %41
i32 6, label %41
i32 7, label %45
i32 15, label %45
i32 14, label %49
]
41: ; preds = %40, %40
%42 = tail call i32 (...) @support_avx()
%43 = icmp eq i32 %42, 0
%44 = select i1 %43, i32 21, i32 48
br label %127
45: ; preds = %40, %40
%46 = tail call i32 (...) @support_avx()
%47 = icmp eq i32 %46, 0
%48 = select i1 %47, i32 21, i32 48
br label %127
49: ; preds = %40
%50 = tail call i32 (...) @support_avx()
%51 = icmp eq i32 %50, 0
%52 = select i1 %51, i32 21, i32 48
br label %127
53: ; preds = %11
switch i32 %6, label %68 [
i32 6, label %54
i32 5, label %58
i32 14, label %58
]
54: ; preds = %53
%55 = tail call i32 (...) @support_avx()
%56 = icmp eq i32 %55, 0
%57 = select i1 %56, i32 21, i32 48
br label %127
58: ; preds = %53, %53
%59 = tail call i32 (...) @support_avx()
%60 = icmp eq i32 %59, 0
%61 = select i1 %60, i32 21, i32 48
br label %127
62: ; preds = %9
br label %127
63: ; preds = %9
%64 = icmp eq i32 %5, 1
%65 = select i1 %64, i32 23, i32 1
%66 = icmp eq i32 %5, 0
%67 = select i1 %66, i32 17, i32 %65
br label %127
68: ; preds = %15, %12, %11, %18, %27, %40, %53, %9
br label %127
69: ; preds = %3
switch i32 %4, label %93 [
i32 4, label %127
i32 5, label %70
i32 6, label %71
i32 15, label %72
]
70: ; preds = %69
br label %127
71: ; preds = %69
br label %127
72: ; preds = %69
switch i32 %5, label %93 [
i32 0, label %127
i32 2, label %127
i32 1, label %73
i32 10, label %73
i32 6, label %74
i32 5, label %92
]
73: ; preds = %72, %72
br label %127
74: ; preds = %72
switch i32 %6, label %93 [
i32 1, label %75
i32 2, label %79
i32 0, label %83
]
75: ; preds = %74
%76 = tail call i32 (...) @support_avx()
%77 = icmp eq i32 %76, 0
%78 = select i1 %77, i32 30, i32 46
br label %127
79: ; preds = %74
%80 = tail call i32 (...) @support_avx()
%81 = icmp eq i32 %80, 0
%82 = select i1 %81, i32 30, i32 47
br label %127
83: ; preds = %74
switch i32 %7, label %93 [
i32 3, label %84
i32 6, label %88
]
84: ; preds = %83
%85 = tail call i32 (...) @support_avx()
%86 = icmp eq i32 %85, 0
%87 = select i1 %86, i32 30, i32 49
br label %127
88: ; preds = %83
%89 = tail call i32 (...) @support_avx()
%90 = icmp eq i32 %89, 0
%91 = select i1 %90, i32 30, i32 50
br label %127
92: ; preds = %72
br label %127
93: ; preds = %72, %83, %74, %69
br label %127
94: ; preds = %3
%95 = add i32 %4, -4
%96 = icmp ult i32 %95, 3
%97 = add i32 %4, 29
%98 = select i1 %96, i32 %97, i32 4
br label %127
99: ; preds = %3
%100 = icmp eq i32 %4, 5
%101 = select i1 %100, i32 36, i32 5
br label %127
102: ; preds = %3
%103 = icmp eq i32 %4, 6
%104 = select i1 %103, i32 43, i32 42
%105 = icmp eq i32 %4, 5
%106 = select i1 %105, i32 37, i32 %104
br label %127
107: ; preds = %3
%108 = icmp eq i32 %4, 5
%109 = select i1 %108, i32 38, i32 7
br label %127
110: ; preds = %3
%111 = icmp eq i32 %4, 5
%112 = select i1 %111, i32 39, i32 8
br label %127
113: ; preds = %3
%114 = icmp eq i32 %4, 5
%115 = select i1 %114, i32 40, i32 9
br label %127
116: ; preds = %3
%117 = icmp eq i32 %4, 5
%118 = select i1 %117, i32 41, i32 10
br label %127
119: ; preds = %12
%120 = sext i32 %13 to i64
%121 = getelementptr inbounds [15 x i32], [15 x i32]* @switch.table.get_cpuname, i64 0, i64 %120
%122 = load i32, i32* %121
br label %127
123: ; preds = %15
%124 = sext i32 %16 to i64
%125 = getelementptr inbounds [10 x i32], [10 x i32]* @switch.table.get_cpuname.1, i64 0, i64 %124
%126 = load i32, i32* %125
br label %127
127: ; preds = %94, %123, %119, %3, %116, %113, %110, %107, %102, %99, %88, %84, %79, %75, %72, %72, %69, %63, %58, %54, %49, %45, %41, %36, %32, %28, %18, %18, %23, %18, %19, %18, %9, %0, %93, %92, %73, %71, %70, %68, %62, %10
%128 = phi i32 [ 1, %68 ], [ 23, %62 ], [ 13, %10 ], [ 3, %93 ], [ 45, %92 ], [ 30, %73 ], [ 27, %71 ], [ 26, %70 ], [ 11, %0 ], [ 12, %9 ], [ 21, %18 ], [ %22, %19 ], [ 21, %18 ], [ %26, %23 ], [ 21, %18 ], [ 21, %18 ], [ %31, %28 ], [ %35, %32 ], [ %39, %36 ], [ %44, %41 ], [ %48, %45 ], [ %52, %49 ], [ %57, %54 ], [ %61, %58 ], [ %67, %63 ], [ 25, %69 ], [ 29, %72 ], [ 29, %72 ], [ %78, %75 ], [ %82, %79 ], [ %87, %84 ], [ %91, %88 ], [ %101, %99 ], [ %106, %102 ], [ %109, %107 ], [ %112, %110 ], [ %115, %113 ], [ %118, %116 ], [ 0, %3 ], [ %122, %119 ], [ %126, %123 ], [ %98, %94 ]
ret i32 %128
}