#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 */
typedef int /*<<< orphan*/ cls_str;

/* Variables and functions */
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strlen(char *);
int /*<<< orphan*/ strncat(char *, char *, int /*<<< orphan*/);
int /*<<< orphan*/ strncpy(char *, char *, int);
char *get_minor_device_name(int major, int minor) {
  switch (major) {
  case 0:
    return "";
  case 1:
    switch (minor) {
    case 0:
      return "Uncategorized";
    case 1:
      return "Desktop workstation";
    case 2:
      return "Server";
    case 3:
      return "Laptop";
    case 4:
      return "Handheld";
    case 5:
      return "Palm";
    case 6:
      return "Wearable";
    }
    break;
  case 2:
    switch (minor) {
    case 0:
      return "Uncategorized";
    case 1:
      return "Cellular";
    case 2:
      return "Cordless";
    case 3:
      return "Smart phone";
    case 4:
      return "Wired modem or voice gateway";
    case 5:
      return "Common ISDN Access";
    case 6:
      return "Sim Card Reader";
    }
    break;
  case 3:
    if (minor == 0)
      return "Uncategorized";
    switch (minor / 8) {
    case 0:
      return "Fully available";
    case 1:
      return "1-17% utilized";
    case 2:
      return "17-33% utilized";
    case 3:
      return "33-50% utilized";
    case 4:
      return "50-67% utilized";
    case 5:
      return "67-83% utilized";
    case 6:
      return "83-99% utilized";
    case 7:
      return "No service available";
    }
    break;
  case 4:
    switch (minor) {
    case 0:
      return "Uncategorized";
    case 1:
      return "Device conforms to the Headset profile";
    case 2:
      return "Hands-free";
    case 4:
      return "Microphone";
    case 5:
      return "Loudspeaker";
    case 6:
      return "Headphones";
    case 7:
      return "Portable Audio";
    case 8:
      return "Car Audio";
    case 9:
      return "Set-top box";
    case 10:
      return "HiFi Audio Device";
    case 11:
      return "VCR";
    case 12:
      return "Video Camera";
    case 13:
      return "Camcorder";
    case 14:
      return "Video Monitor";
    case 15:
      return "Video Display and Loudspeaker";
    case 16:
      return "Video Conferencing";
    case 18:
      return "Gaming/Toy";
    }
    break;
  case 5: {
    static char cls_str[48];
    cls_str[0] = 0;
    switch (minor & 48) {
    case 16:
      strncpy(cls_str, "Keyboard", sizeof(cls_str));
      break;
    case 32:
      strncpy(cls_str, "Pointing device", sizeof(cls_str));
      break;
    case 48:
      strncpy(cls_str, "Combo keyboard/pointing device", sizeof(cls_str));
      break;
    }
    if ((minor & 15) && (strlen(cls_str) > 0))
      strcat(cls_str, "/");
    switch (minor & 15) {
    case 0:
      break;
    case 1:
      strncat(cls_str, "Joystick", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    case 2:
      strncat(cls_str, "Gamepad", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    case 3:
      strncat(cls_str, "Remote control", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    case 4:
      strncat(cls_str, "Sensing device", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    case 5:
      strncat(cls_str, "Digitizer tablet",
              sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    case 6:
      strncat(cls_str, "Card reader", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    default:
      strncat(cls_str, "(reserved)", sizeof(cls_str) - strlen(cls_str) - 1);
      break;
    }
    if (strlen(cls_str) > 0)
      return cls_str;
    break;
  }
  case 6:
    if (minor & 4)
      return "Display";
    if (minor & 8)
      return "Camera";
    if (minor & 16)
      return "Scanner";
    if (minor & 32)
      return "Printer";
    break;
  case 7:
    switch (minor) {
    case 1:
      return "Wrist Watch";
    case 2:
      return "Pager";
    case 3:
      return "Jacket";
    case 4:
      return "Helmet";
    case 5:
      return "Glasses";
    }
    break;
  case 8:
    switch (minor) {
    case 1:
      return "Robot";
    case 2:
      return "Vehicle";
    case 3:
      return "Doll / Action Figure";
    case 4:
      return "Controller";
    case 5:
      return "Game";
    }
    break;
  case 63:
    return "";
  }
  return "Unknown (reserved) minor device class";
}


x86 assembly (clang, -O0):
<get_minor_device_name>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    %edi,-0xc(%rbp)
mov    %esi,-0x10(%rbp)
mov    -0xc(%rbp),%eax
mov    %rax,-0x18(%rbp)
sub    $0x3f,%rax
ja     18dd <get_minor_device_name+0x79d>
mov    -0x18(%rbp),%rax
lea    0xe96(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x130b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
mov    -0x10(%rbp),%eax
mov    %rax,-0x20(%rbp)
sub    $0x6,%rax
ja     1218 <get_minor_device_name+0xd8>
mov    -0x20(%rbp),%rax
lea    0x102d(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x1039(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x1037(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x103b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x1032(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x1029(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x1022(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0x1017(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
mov    -0x10(%rbp),%eax
mov    %rax,-0x28(%rbp)
sub    $0x6,%rax
ja     12b2 <get_minor_device_name+0x172>
mov    -0x28(%rbp),%rax
lea    0xf77(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf9f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfd6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfcf(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfc8(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfc4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfd1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfd4(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
cmpl   $0x0,-0x10(%rbp)
jne    12d1 <get_minor_device_name+0x191>
lea    0xf20(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
mov    -0x10(%rbp),%eax
mov    %eax,%ecx
add    $0x7,%ecx
test   %eax,%eax
cmovs  %ecx,%eax
sar    $0x3,%eax
mov    %eax,%ecx
mov    %rcx,-0x30(%rbp)
sub    $0x7,%eax
ja     1384 <get_minor_device_name+0x244>
mov    -0x30(%rbp),%rax
lea    0xe95(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xf82(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf82(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf81(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
mov    -0x10(%rbp),%eax
mov    %rax,-0x38(%rbp)
sub    $0x12,%rax
ja     14be <get_minor_device_name+0x37e>
mov    -0x38(%rbp),%rax
lea    0xd9f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xe33(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf4c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf63(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf5e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xfd6(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf49(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf44(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf43(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf3d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf39(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf3b(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf2f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf2c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf26(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf24(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf32(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xf35(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
movb   $0x0,0x2b86(%rip)
mov    -0x10(%rbp),%eax
and    $0x30,%eax
mov    %eax,-0x3c(%rbp)
sub    $0x10,%eax
je     1503 <get_minor_device_name+0x3c3>
jmp    14e1 <get_minor_device_name+0x3a1>
mov    -0x3c(%rbp),%eax
sub    $0x20,%eax
je     1520 <get_minor_device_name+0x3e0>
jmp    14f2 <get_minor_device_name+0x3b2>
mov    -0x3c(%rbp),%eax
sub    $0x30,%eax
je     153d <get_minor_device_name+0x3fd>
jmp    1555 <get_minor_device_name+0x415>
lea    0x2b46(%rip),%rdi
lea    0xee4(%rip),%rsi
mov    $0x30,%edx
call   1030 <strncpy@plt>
jmp    1555 <get_minor_device_name+0x415>
lea    0x2b29(%rip),%rdi
lea    0xed0(%rip),%rsi
mov    $0x30,%edx
call   1030 <strncpy@plt>
jmp    1555 <get_minor_device_name+0x415>
lea    0x2b0c(%rip),%rdi
lea    0xec3(%rip),%rsi
mov    $0x30,%edx
call   1030 <strncpy@plt>
mov    -0x10(%rbp),%eax
and    $0xf,%eax
cmp    $0x0,%eax
je     158c <get_minor_device_name+0x44c>
lea    0x2ae5(%rip),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%eax
jle    158c <get_minor_device_name+0x44c>
lea    0x2ad0(%rip),%rdi
lea    0xea6(%rip),%rsi
call   1060 <strcat@plt>
mov    -0x10(%rbp),%eax
and    $0xf,%eax
mov    %rax,-0x48(%rbp)
sub    $0x6,%eax
ja     16f6 <get_minor_device_name+0x5b6>
mov    -0x48(%rbp),%rax
lea    0xb7e(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x2a91(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x2a74(%rip),%rdi
lea    0xe4c(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x2a5c(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x2a3f(%rip),%rdi
lea    0xe20(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x2a27(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x2a0a(%rip),%rdi
lea    0xdf3(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x29f2(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x29d5(%rip),%rdi
lea    0xdcd(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x29bd(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x29a0(%rip),%rdi
lea    0xda7(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x2988(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x296b(%rip),%rdi
lea    0xd83(%rip),%rsi
call   1050 <strncat@plt>
jmp    1726 <get_minor_device_name+0x5e6>
lea    0x2953(%rip),%rdi
call   1040 <strlen@plt>
movslq %eax,%rcx
mov    $0x30,%eax
sub    %rcx,%rax
sub    $0x1,%rax
mov    %eax,%edx
lea    0x2936(%rip),%rdi
lea    0xd5a(%rip),%rsi
call   1050 <strncat@plt>
lea    0x2923(%rip),%rdi
call   1040 <strlen@plt>
cmp    $0x0,%eax
jle    174b <get_minor_device_name+0x60b>
lea    0x290e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
mov    -0x10(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     176f <get_minor_device_name+0x62f>
lea    0xd20(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
mov    -0x10(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     178e <get_minor_device_name+0x64e>
lea    0xc15(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
mov    -0x10(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     17ad <get_minor_device_name+0x66d>
lea    0xcea(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
mov    -0x10(%rbp),%eax
and    $0x20,%eax
cmp    $0x0,%eax
je     17cc <get_minor_device_name+0x68c>
lea    0xcd3(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x50(%rbp)
sub    $0x4,%eax
ja     184a <get_minor_device_name+0x70a>
mov    -0x50(%rbp),%rax
lea    0x923(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xc9d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc99(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc8f(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc86(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc7d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
mov    -0x10(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,%ecx
mov    %rcx,-0x58(%rbp)
sub    $0x4,%eax
ja     18c8 <get_minor_device_name+0x788>
mov    -0x58(%rbp),%rax
lea    0x891(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0xc47(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc3d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc35(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc3a(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc35(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
jmp    18dd <get_minor_device_name+0x79d>
lea    0xbb1(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    18e8 <get_minor_device_name+0x7a8>
lea    0xc15(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<get_minor_device_name>:
push   %r14
push   %rbx
push   %rax
cmp    $0x3f,%edi
ja     133b <get_minor_device_name+0x1fb>
mov    %esi,%r14d
lea    0x132a(%rip),%rbx
mov    %edi,%eax
lea    0xea0(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
cmp    $0x7,%r14d
jae    133b <get_minor_device_name+0x1fb>
movslq %r14d,%rax
lea    0xf83(%rip),%rcx
jmp    1275 <get_minor_device_name+0x135>
cmp    $0x13,%r14d
jae    133b <get_minor_device_name+0x1fb>
movslq %r14d,%rax
lea    0xfc2(%rip),%rcx
jmp    1275 <get_minor_device_name+0x135>
movb   $0x0,0x2eae(%rip)
mov    %r14d,%eax
and    $0x30,%eax
cmp    $0x10,%eax
je     1299 <get_minor_device_name+0x159>
cmp    $0x30,%eax
je     12a2 <get_minor_device_name+0x162>
cmp    $0x20,%eax
jne    12ba <get_minor_device_name+0x17a>
lea    0x1230(%rip),%rsi
jmp    12a9 <get_minor_device_name+0x169>
cmp    $0x7,%r14d
jae    133b <get_minor_device_name+0x1fb>
movslq %r14d,%rax
lea    0xf39(%rip),%rcx
jmp    1275 <get_minor_device_name+0x135>
test   %r14d,%r14d
je     128d <get_minor_device_name+0x14d>
lea    0x7(%r14),%eax
test   %r14d,%r14d
cmovns %r14d,%eax
sar    $0x3,%eax
cmp    $0x8,%eax
jae    133b <get_minor_device_name+0x1fb>
cltq
lea    0xf27(%rip),%rcx
jmp    1275 <get_minor_device_name+0x135>
test   $0x4,%r14b
jne    1281 <get_minor_device_name+0x141>
test   $0x8,%r14b
jne    134d <get_minor_device_name+0x20d>
test   $0x10,%r14b
jne    1356 <get_minor_device_name+0x216>
test   $0x20,%r14b
je     133b <get_minor_device_name+0x1fb>
lea    0x1254(%rip),%rbx
jmp    1342 <get_minor_device_name+0x202>
add    $0xffffffff,%r14d
cmp    $0x5,%r14d
jae    133b <get_minor_device_name+0x1fb>
movslq %r14d,%rax
lea    0xf61(%rip),%rcx
jmp    1275 <get_minor_device_name+0x135>
add    $0xffffffff,%r14d
cmp    $0x5,%r14d
jae    133b <get_minor_device_name+0x1fb>
movslq %r14d,%rax
lea    0xf5b(%rip),%rcx
movslq (%rcx,%rax,4),%rbx
add    %rcx,%rbx
jmp    1342 <get_minor_device_name+0x202>
lea    0x11fa(%rip),%rbx
jmp    1342 <get_minor_device_name+0x202>
lea    0xf50(%rip),%rbx
jmp    1342 <get_minor_device_name+0x202>
lea    0x1151(%rip),%rsi
jmp    12a9 <get_minor_device_name+0x169>
lea    0x1161(%rip),%rsi
lea    0x2da0(%rip),%rdi
mov    $0x30,%edx
call   1030 <strncpy@plt>
and    $0xf,%r14d
je     1328 <get_minor_device_name+0x1e8>
lea    0x2d89(%rip),%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jle    12e3 <get_minor_device_name+0x1a3>
lea    0x2d79(%rip),%rdi
lea    0x114b(%rip),%rsi
call   1060 <strcat@plt>
add    $0xffffffff,%r14d
cmp    $0x5,%r14d
ja     1300 <get_minor_device_name+0x1c0>
movslq %r14d,%rax
lea    0xead(%rip),%rcx
movslq (%rcx,%rax,4),%rbx
add    %rcx,%rbx
jmp    1307 <get_minor_device_name+0x1c7>
lea    0x1170(%rip),%rbx
lea    0x2d42(%rip),%r14
mov    %r14,%rdi
call   1040 <strlen@plt>
mov    $0x2f,%edx
sub    %eax,%edx
mov    %r14,%rdi
mov    %rbx,%rsi
call   1050 <strncat@plt>
lea    0x2d21(%rip),%rbx
mov    %rbx,%rdi
call   1040 <strlen@plt>
test   %eax,%eax
jg     1342 <get_minor_device_name+0x202>
lea    0x11b3(%rip),%rbx
mov    %rbx,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret
lea    0x1042(%rip),%rbx
jmp    1342 <get_minor_device_name+0x202>
lea    0x112d(%rip),%rbx
jmp    1342 <get_minor_device_name+0x202>

LLVM IR (-O0):
@.str = [1 x i8] zeroinitializer
@.str.1 = [14 x i8] c"Uncategorized\00"
@.str.2 = [20 x i8] c"Desktop workstation\00"
@.str.3 = [7 x i8] c"Server\00"
@.str.4 = [7 x i8] c"Laptop\00"
@.str.5 = [9 x i8] c"Handheld\00"
@.str.6 = [5 x i8] c"Palm\00"
@.str.7 = [9 x i8] c"Wearable\00"
@.str.8 = [9 x i8] c"Cellular\00"
@.str.9 = [9 x i8] c"Cordless\00"
@.str.10 = [12 x i8] c"Smart phone\00"
@.str.11 = [29 x i8] c"Wired modem or voice gateway\00"
@.str.12 = [19 x i8] c"Common ISDN Access\00"
@.str.13 = [16 x i8] c"Sim Card Reader\00"
@.str.14 = [16 x i8] c"Fully available\00"
@.str.15 = [15 x i8] c"1-17% utilized\00"
@.str.16 = [16 x i8] c"17-33% utilized\00"
@.str.17 = [16 x i8] c"33-50% utilized\00"
@.str.18 = [16 x i8] c"50-67% utilized\00"
@.str.19 = [16 x i8] c"67-83% utilized\00"
@.str.20 = [16 x i8] c"83-99% utilized\00"
@.str.21 = [21 x i8] c"No service available\00"
@.str.22 = [39 x i8] c"Device conforms to the Headset profile\00"
@.str.23 = [11 x i8] c"Hands-free\00"
@.str.24 = [11 x i8] c"Microphone\00"
@.str.25 = [12 x i8] c"Loudspeaker\00"
@.str.26 = [11 x i8] c"Headphones\00"
@.str.27 = [15 x i8] c"Portable Audio\00"
@.str.28 = [10 x i8] c"Car Audio\00"
@.str.29 = [12 x i8] c"Set-top box\00"
@.str.30 = [18 x i8] c"HiFi Audio Device\00"
@.str.31 = [4 x i8] c"VCR\00"
@.str.32 = [13 x i8] c"Video Camera\00"
@.str.33 = [10 x i8] c"Camcorder\00"
@.str.34 = [14 x i8] c"Video Monitor\00"
@.str.35 = [30 x i8] c"Video Display and Loudspeaker\00"
@.str.36 = [19 x i8] c"Video Conferencing\00"
@.str.37 = [11 x i8] c"Gaming/Toy\00"
@get_minor_device_name.cls_str = internal global [48 x i8] zeroinitializer
@.str.38 = [9 x i8] c"Keyboard\00"
@.str.39 = [16 x i8] c"Pointing device\00"
@.str.40 = [31 x i8] c"Combo keyboard/pointing device\00"
@.str.41 = [2 x i8] c"/\00"
@.str.42 = [9 x i8] c"Joystick\00"
@.str.43 = [8 x i8] c"Gamepad\00"
@.str.44 = [15 x i8] c"Remote control\00"
@.str.45 = [15 x i8] c"Sensing device\00"
@.str.46 = [17 x i8] c"Digitizer tablet\00"
@.str.47 = [12 x i8] c"Card reader\00"
@.str.48 = [11 x i8] c"(reserved)\00"
@.str.49 = [8 x i8] c"Display\00"
@.str.50 = [7 x i8] c"Camera\00"
@.str.51 = [8 x i8] c"Scanner\00"
@.str.52 = [8 x i8] c"Printer\00"
@.str.53 = [12 x i8] c"Wrist Watch\00"
@.str.54 = [6 x i8] c"Pager\00"
@.str.55 = [7 x i8] c"Jacket\00"
@.str.56 = [7 x i8] c"Helmet\00"
@.str.57 = [8 x i8] c"Glasses\00"
@.str.58 = [6 x i8] c"Robot\00"
@.str.59 = [8 x i8] c"Vehicle\00"
@.str.60 = [21 x i8] c"Doll / Action Figure\00"
@.str.61 = [11 x i8] c"Controller\00"
@.str.62 = [5 x i8] c"Game\00"
@.str.63 = [38 x i8] c"Unknown (reserved) minor device class\00"
define i8* @get_minor_device_name(i32 %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
store i32 %0, i32* %4
store i32 %1, i32* %5
%6 = load i32, i32* %4
switch i32 %6, label %178 [
i32 0, label %7
i32 1, label %8
i32 2, label %18
i32 3, label %28
i32 4, label %44
i32 5, label %64
i32 6, label %140
i32 7, label %161
i32 8, label %169
i32 63, label %177
]
7: ; preds = %2
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %3
br label %179
8: ; preds = %2
%9 = load i32, i32* %5
switch i32 %9, label %17 [
i32 0, label %10
i32 1, label %11
i32 2, label %12
i32 3, label %13
i32 4, label %14
i32 5, label %15
i32 6, label %16
]
10: ; preds = %8
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %3
br label %179
11: ; preds = %8
store i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), i8** %3
br label %179
12: ; preds = %8
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.3, i64 0, i64 0), i8** %3
br label %179
13: ; preds = %8
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.4, i64 0, i64 0), i8** %3
br label %179
14: ; preds = %8
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0), i8** %3
br label %179
15: ; preds = %8
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.6, i64 0, i64 0), i8** %3
br label %179
16: ; preds = %8
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0), i8** %3
br label %179
17: ; preds = %8
br label %178
18: ; preds = %2
%19 = load i32, i32* %5
switch i32 %19, label %27 [
i32 0, label %20
i32 1, label %21
i32 2, label %22
i32 3, label %23
i32 4, label %24
i32 5, label %25
i32 6, label %26
]
20: ; preds = %18
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %3
br label %179
21: ; preds = %18
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.8, i64 0, i64 0), i8** %3
br label %179
22: ; preds = %18
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.9, i64 0, i64 0), i8** %3
br label %179
23: ; preds = %18
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.10, i64 0, i64 0), i8** %3
br label %179
24: ; preds = %18
store i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.11, i64 0, i64 0), i8** %3
br label %179
25: ; preds = %18
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.12, i64 0, i64 0), i8** %3
br label %179
26: ; preds = %18
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.13, i64 0, i64 0), i8** %3
br label %179
27: ; preds = %18
br label %178
28: ; preds = %2
%29 = load i32, i32* %5
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %28
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %3
br label %179
32: ; preds = %28
%33 = load i32, i32* %5
%34 = sdiv i32 %33, 8
switch i32 %34, label %43 [
i32 0, label %35
i32 1, label %36
i32 2, label %37
i32 3, label %38
i32 4, label %39
i32 5, label %40
i32 6, label %41
i32 7, label %42
]
35: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.14, i64 0, i64 0), i8** %3
br label %179
36: ; preds = %32
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.15, i64 0, i64 0), i8** %3
br label %179
37: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.16, i64 0, i64 0), i8** %3
br label %179
38: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.17, i64 0, i64 0), i8** %3
br label %179
39: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.18, i64 0, i64 0), i8** %3
br label %179
40: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.19, i64 0, i64 0), i8** %3
br label %179
41: ; preds = %32
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.20, i64 0, i64 0), i8** %3
br label %179
42: ; preds = %32
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.21, i64 0, i64 0), i8** %3
br label %179
43: ; preds = %32
br label %178
44: ; preds = %2
%45 = load i32, i32* %5
switch i32 %45, label %63 [
i32 0, label %46
i32 1, label %47
i32 2, label %48
i32 4, label %49
i32 5, label %50
i32 6, label %51
i32 7, label %52
i32 8, label %53
i32 9, label %54
i32 10, label %55
i32 11, label %56
i32 12, label %57
i32 13, label %58
i32 14, label %59
i32 15, label %60
i32 16, label %61
i32 18, label %62
]
46: ; preds = %44
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i8** %3
br label %179
47: ; preds = %44
store i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.22, i64 0, i64 0), i8** %3
br label %179
48: ; preds = %44
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.23, i64 0, i64 0), i8** %3
br label %179
49: ; preds = %44
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.24, i64 0, i64 0), i8** %3
br label %179
50: ; preds = %44
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.25, i64 0, i64 0), i8** %3
br label %179
51: ; preds = %44
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.26, i64 0, i64 0), i8** %3
br label %179
52: ; preds = %44
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.27, i64 0, i64 0), i8** %3
br label %179
53: ; preds = %44
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.28, i64 0, i64 0), i8** %3
br label %179
54: ; preds = %44
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.29, i64 0, i64 0), i8** %3
br label %179
55: ; preds = %44
store i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.30, i64 0, i64 0), i8** %3
br label %179
56: ; preds = %44
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.31, i64 0, i64 0), i8** %3
br label %179
57: ; preds = %44
store i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.32, i64 0, i64 0), i8** %3
br label %179
58: ; preds = %44
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.33, i64 0, i64 0), i8** %3
br label %179
59: ; preds = %44
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.34, i64 0, i64 0), i8** %3
br label %179
60: ; preds = %44
store i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.35, i64 0, i64 0), i8** %3
br label %179
61: ; preds = %44
store i8* getelementptr inbounds ([19 x i8], [19 x i8]* @.str.36, i64 0, i64 0), i8** %3
br label %179
62: ; preds = %44
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.37, i64 0, i64 0), i8** %3
br label %179
63: ; preds = %44
br label %178
64: ; preds = %2
store i8 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0)
%65 = load i32, i32* %5
%66 = and i32 %65, 48
switch i32 %66, label %73 [
i32 16, label %67
i32 32, label %69
i32 48, label %71
]
67: ; preds = %64
%68 = call i32 @strncpy(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.38, i64 0, i64 0), i32 48)
br label %73
69: ; preds = %64
%70 = call i32 @strncpy(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.39, i64 0, i64 0), i32 48)
br label %73
71: ; preds = %64
%72 = call i32 @strncpy(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.40, i64 0, i64 0), i32 48)
br label %73
73: ; preds = %64, %71, %69, %67
%74 = load i32, i32* %5
%75 = and i32 %74, 15
%76 = icmp ne i32 %75, 0
br i1 %76, label %77, label %82
77: ; preds = %73
%78 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%79 = icmp sgt i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %77
%81 = call i32 @strcat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0))
br label %82
82: ; preds = %80, %77, %73
%83 = load i32, i32* %5
%84 = and i32 %83, 15
switch i32 %84, label %128 [
i32 0, label %85
i32 1, label %86
i32 2, label %93
i32 3, label %100
i32 4, label %107
i32 5, label %114
i32 6, label %121
]
85: ; preds = %82
br label %135
86: ; preds = %82
%87 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%88 = sext i32 %87 to i64
%89 = sub i64 48, %88
%90 = sub i64 %89, 1
%91 = trunc i64 %90 to i32
%92 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.42, i64 0, i64 0), i32 %91)
br label %135
93: ; preds = %82
%94 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%95 = sext i32 %94 to i64
%96 = sub i64 48, %95
%97 = sub i64 %96, 1
%98 = trunc i64 %97 to i32
%99 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.43, i64 0, i64 0), i32 %98)
br label %135
100: ; preds = %82
%101 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%102 = sext i32 %101 to i64
%103 = sub i64 48, %102
%104 = sub i64 %103, 1
%105 = trunc i64 %104 to i32
%106 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.44, i64 0, i64 0), i32 %105)
br label %135
107: ; preds = %82
%108 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%109 = sext i32 %108 to i64
%110 = sub i64 48, %109
%111 = sub i64 %110, 1
%112 = trunc i64 %111 to i32
%113 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.45, i64 0, i64 0), i32 %112)
br label %135
114: ; preds = %82
%115 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%116 = sext i32 %115 to i64
%117 = sub i64 48, %116
%118 = sub i64 %117, 1
%119 = trunc i64 %118 to i32
%120 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.46, i64 0, i64 0), i32 %119)
br label %135
121: ; preds = %82
%122 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%123 = sext i32 %122 to i64
%124 = sub i64 48, %123
%125 = sub i64 %124, 1
%126 = trunc i64 %125 to i32
%127 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.47, i64 0, i64 0), i32 %126)
br label %135
128: ; preds = %82
%129 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%130 = sext i32 %129 to i64
%131 = sub i64 48, %130
%132 = sub i64 %131, 1
%133 = trunc i64 %132 to i32
%134 = call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.48, i64 0, i64 0), i32 %133)
br label %135
135: ; preds = %128, %121, %114, %107, %100, %93, %86, %85
%136 = call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%137 = icmp sgt i32 %136, 0
br i1 %137, label %138, label %139
138: ; preds = %135
store i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8** %3
br label %179
139: ; preds = %135
br label %178
140: ; preds = %2
%141 = load i32, i32* %5
%142 = and i32 %141, 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %145
144: ; preds = %140
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.49, i64 0, i64 0), i8** %3
br label %179
145: ; preds = %140
%146 = load i32, i32* %5
%147 = and i32 %146, 8
%148 = icmp ne i32 %147, 0
br i1 %148, label %149, label %150
149: ; preds = %145
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.50, i64 0, i64 0), i8** %3
br label %179
150: ; preds = %145
%151 = load i32, i32* %5
%152 = and i32 %151, 16
%153 = icmp ne i32 %152, 0
br i1 %153, label %154, label %155
154: ; preds = %150
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.51, i64 0, i64 0), i8** %3
br label %179
155: ; preds = %150
%156 = load i32, i32* %5
%157 = and i32 %156, 32
%158 = icmp ne i32 %157, 0
br i1 %158, label %159, label %160
159: ; preds = %155
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.52, i64 0, i64 0), i8** %3
br label %179
160: ; preds = %155
br label %178
161: ; preds = %2
%162 = load i32, i32* %5
switch i32 %162, label %168 [
i32 1, label %163
i32 2, label %164
i32 3, label %165
i32 4, label %166
i32 5, label %167
]
163: ; preds = %161
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.53, i64 0, i64 0), i8** %3
br label %179
164: ; preds = %161
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.54, i64 0, i64 0), i8** %3
br label %179
165: ; preds = %161
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.55, i64 0, i64 0), i8** %3
br label %179
166: ; preds = %161
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.56, i64 0, i64 0), i8** %3
br label %179
167: ; preds = %161
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.57, i64 0, i64 0), i8** %3
br label %179
168: ; preds = %161
br label %178
169: ; preds = %2
%170 = load i32, i32* %5
switch i32 %170, label %176 [
i32 1, label %171
i32 2, label %172
i32 3, label %173
i32 4, label %174
i32 5, label %175
]
171: ; preds = %169
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.58, i64 0, i64 0), i8** %3
br label %179
172: ; preds = %169
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.59, i64 0, i64 0), i8** %3
br label %179
173: ; preds = %169
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.60, i64 0, i64 0), i8** %3
br label %179
174: ; preds = %169
store i8* getelementptr inbounds ([11 x i8], [11 x i8]* @.str.61, i64 0, i64 0), i8** %3
br label %179
175: ; preds = %169
store i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.62, i64 0, i64 0), i8** %3
br label %179
176: ; preds = %169
br label %178
177: ; preds = %2
store i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), i8** %3
br label %179
178: ; preds = %2, %176, %168, %160, %139, %63, %43, %27, %17
store i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.63, i64 0, i64 0), i8** %3
br label %179
179: ; preds = %178, %177, %175, %174, %173, %172, %171, %167, %166, %165, %164, %163, %159, %154, %149, %144, %138, %62, %61, %60, %59, %58, %57, %56, %55, %54, %53, %52, %51, %50, %49, %48, %47, %46, %42, %41, %40, %39, %38, %37, %36, %35, %31, %26, %25, %24, %23, %22, %21, %20, %16, %15, %14, %13, %12, %11, %10, %7
%180 = load i8*, i8** %3
ret i8* %180
}

LLVM IR (-O2):
@.str = [1 x i8] zeroinitializer
@.str.1 = [14 x i8] c"Uncategorized\00"
@.str.2 = [20 x i8] c"Desktop workstation\00"
@.str.3 = [7 x i8] c"Server\00"
@.str.4 = [7 x i8] c"Laptop\00"
@.str.5 = [9 x i8] c"Handheld\00"
@.str.6 = [5 x i8] c"Palm\00"
@.str.7 = [9 x i8] c"Wearable\00"
@.str.8 = [9 x i8] c"Cellular\00"
@.str.9 = [9 x i8] c"Cordless\00"
@.str.10 = [12 x i8] c"Smart phone\00"
@.str.11 = [29 x i8] c"Wired modem or voice gateway\00"
@.str.12 = [19 x i8] c"Common ISDN Access\00"
@.str.13 = [16 x i8] c"Sim Card Reader\00"
@.str.14 = [16 x i8] c"Fully available\00"
@.str.15 = [15 x i8] c"1-17% utilized\00"
@.str.16 = [16 x i8] c"17-33% utilized\00"
@.str.17 = [16 x i8] c"33-50% utilized\00"
@.str.18 = [16 x i8] c"50-67% utilized\00"
@.str.19 = [16 x i8] c"67-83% utilized\00"
@.str.20 = [16 x i8] c"83-99% utilized\00"
@.str.21 = [21 x i8] c"No service available\00"
@.str.22 = [39 x i8] c"Device conforms to the Headset profile\00"
@.str.23 = [11 x i8] c"Hands-free\00"
@.str.24 = [11 x i8] c"Microphone\00"
@.str.25 = [12 x i8] c"Loudspeaker\00"
@.str.26 = [11 x i8] c"Headphones\00"
@.str.27 = [15 x i8] c"Portable Audio\00"
@.str.28 = [10 x i8] c"Car Audio\00"
@.str.29 = [12 x i8] c"Set-top box\00"
@.str.30 = [18 x i8] c"HiFi Audio Device\00"
@.str.31 = [4 x i8] c"VCR\00"
@.str.32 = [13 x i8] c"Video Camera\00"
@.str.33 = [10 x i8] c"Camcorder\00"
@.str.34 = [14 x i8] c"Video Monitor\00"
@.str.35 = [30 x i8] c"Video Display and Loudspeaker\00"
@.str.36 = [19 x i8] c"Video Conferencing\00"
@.str.37 = [11 x i8] c"Gaming/Toy\00"
@get_minor_device_name.cls_str = internal global [48 x i8] zeroinitializer
@.str.38 = [9 x i8] c"Keyboard\00"
@.str.39 = [16 x i8] c"Pointing device\00"
@.str.40 = [31 x i8] c"Combo keyboard/pointing device\00"
@.str.41 = [2 x i8] c"/\00"
@.str.42 = [9 x i8] c"Joystick\00"
@.str.43 = [8 x i8] c"Gamepad\00"
@.str.44 = [15 x i8] c"Remote control\00"
@.str.45 = [15 x i8] c"Sensing device\00"
@.str.46 = [17 x i8] c"Digitizer tablet\00"
@.str.47 = [12 x i8] c"Card reader\00"
@.str.48 = [11 x i8] c"(reserved)\00"
@.str.49 = [8 x i8] c"Display\00"
@.str.50 = [7 x i8] c"Camera\00"
@.str.51 = [8 x i8] c"Scanner\00"
@.str.52 = [8 x i8] c"Printer\00"
@.str.53 = [12 x i8] c"Wrist Watch\00"
@.str.54 = [6 x i8] c"Pager\00"
@.str.55 = [7 x i8] c"Jacket\00"
@.str.56 = [7 x i8] c"Helmet\00"
@.str.57 = [8 x i8] c"Glasses\00"
@.str.58 = [6 x i8] c"Robot\00"
@.str.59 = [8 x i8] c"Vehicle\00"
@.str.60 = [21 x i8] c"Doll / Action Figure\00"
@.str.61 = [11 x i8] c"Controller\00"
@.str.62 = [5 x i8] c"Game\00"
@.str.63 = [38 x i8] c"Unknown (reserved) minor device class\00"
@reltable.get_minor_device_name = [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.1 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([20 x i8]* @.str.2 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.3 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.4 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.5 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.6 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.7 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name to i64)) to i32)]
@reltable.get_minor_device_name.70 = [7 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.1 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.8 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.9 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.10 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([29 x i8]* @.str.11 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.12 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.13 to i64), i64 ptrtoint ([7 x i32]* @reltable.get_minor_device_name.70 to i64)) to i32)]
@reltable.get_minor_device_name.71 = [8 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.14 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.15 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.16 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.17 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.18 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.19 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([16 x i8]* @.str.20 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.21 to i64), i64 ptrtoint ([8 x i32]* @reltable.get_minor_device_name.71 to i64)) to i32)]
@reltable.get_minor_device_name.72 = [19 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.1 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([39 x i8]* @.str.22 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.23 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([38 x i8]* @.str.63 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.24 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.25 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.26 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.27 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.28 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.29 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([18 x i8]* @.str.30 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([4 x i8]* @.str.31 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([13 x i8]* @.str.32 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([10 x i8]* @.str.33 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([14 x i8]* @.str.34 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([30 x i8]* @.str.35 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([19 x i8]* @.str.36 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([38 x i8]* @.str.63 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.37 to i64), i64 ptrtoint ([19 x i32]* @reltable.get_minor_device_name.72 to i64)) to i32)]
@reltable.get_minor_device_name.73 = [6 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([9 x i8]* @.str.42 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.43 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.44 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([15 x i8]* @.str.45 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([17 x i8]* @.str.46 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.47 to i64), i64 ptrtoint ([6 x i32]* @reltable.get_minor_device_name.73 to i64)) to i32)]
@reltable.get_minor_device_name.74 = [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([12 x i8]* @.str.53 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.74 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.54 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.74 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.55 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.74 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([7 x i8]* @.str.56 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.74 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.57 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.74 to i64)) to i32)]
@reltable.get_minor_device_name.75 = [5 x i32] [i32 trunc (i64 sub (i64 ptrtoint ([6 x i8]* @.str.58 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.75 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([8 x i8]* @.str.59 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.75 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([21 x i8]* @.str.60 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.75 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([11 x i8]* @.str.61 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.75 to i64)) to i32), i32 trunc (i64 sub (i64 ptrtoint ([5 x i8]* @.str.62 to i64), i64 ptrtoint ([5 x i32]* @reltable.get_minor_device_name.75 to i64)) to i32)]
define i8* @get_minor_device_name(i32 %0, i32 %1) {
switch i32 %0, label %62 [
i32 0, label %87
i32 1, label %3
i32 2, label %5
i32 3, label %7
i32 4, label %12
i32 5, label %14
i32 6, label %44
i32 7, label %56
i32 8, label %59
i32 63, label %87
]
3: ; preds = %2
%4 = icmp ult i32 %1, 7
br i1 %4, label %63, label %62
5: ; preds = %2
%6 = icmp ult i32 %1, 7
br i1 %6, label %67, label %62
7: ; preds = %2
%8 = icmp eq i32 %1, 0
br i1 %8, label %87, label %9
9: ; preds = %7
%10 = sdiv i32 %1, 8
%11 = icmp ult i32 %10, 8
br i1 %11, label %71, label %62
12: ; preds = %2
%13 = icmp ult i32 %1, 19
br i1 %13, label %75, label %62
14: ; preds = %2
store i8 0, i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0)
%15 = and i32 %1, 48
switch i32 %15, label %21 [
i32 16, label %18
i32 32, label %16
i32 48, label %17
]
16: ; preds = %14
br label %18
17: ; preds = %14
br label %18
18: ; preds = %14, %16, %17
%19 = phi i8* [ getelementptr inbounds ([31 x i8], [31 x i8]* @.str.40, i64 0, i64 0), %17 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.39, i64 0, i64 0), %16 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.38, i64 0, i64 0), %14 ]
%20 = tail call i32 @strncpy(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* %19, i32 48)
br label %21
21: ; preds = %18, %14
%22 = and i32 %1, 15
%23 = icmp eq i32 %22, 0
br i1 %23, label %41, label %24
24: ; preds = %21
%25 = tail call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = tail call i32 @strcat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0))
br label %29
29: ; preds = %27, %24
%30 = add nsw i32 %22, -1
%31 = icmp ult i32 %30, 6
br i1 %31, label %32, label %36
32: ; preds = %29
%33 = sext i32 %30 to i64
%34 = shl i64 %33, 2
%35 = call i8* @llvm.load.relative.i64(i8* bitcast ([6 x i32]* @reltable.get_minor_device_name.73 to i8*), i64 %34)
br label %36
36: ; preds = %29, %32
%37 = phi i8* [ %35, %32 ], [ getelementptr inbounds ([11 x i8], [11 x i8]* @.str.48, i64 0, i64 0), %29 ]
%38 = tail call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%39 = sub i32 47, %38
%40 = tail call i32 @strncat(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), i8* %37, i32 %39)
br label %41
41: ; preds = %36, %21
%42 = tail call i32 @strlen(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0))
%43 = icmp sgt i32 %42, 0
br i1 %43, label %87, label %62
44: ; preds = %2
%45 = and i32 %1, 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %47, label %87
47: ; preds = %44
%48 = and i32 %1, 8
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %87
50: ; preds = %47
%51 = and i32 %1, 16
%52 = icmp eq i32 %51, 0
br i1 %52, label %53, label %87
53: ; preds = %50
%54 = and i32 %1, 32
%55 = icmp eq i32 %54, 0
br i1 %55, label %62, label %87
56: ; preds = %2
%57 = add i32 %1, -1
%58 = icmp ult i32 %57, 5
br i1 %58, label %79, label %62
59: ; preds = %2
%60 = add i32 %1, -1
%61 = icmp ult i32 %60, 5
br i1 %61, label %83, label %62
62: ; preds = %59, %56, %12, %9, %5, %3, %53, %41, %2
br label %87
63: ; preds = %3
%64 = sext i32 %1 to i64
%65 = shl i64 %64, 2
%66 = call i8* @llvm.load.relative.i64(i8* bitcast ([7 x i32]* @reltable.get_minor_device_name to i8*), i64 %65)
br label %87
67: ; preds = %5
%68 = sext i32 %1 to i64
%69 = shl i64 %68, 2
%70 = call i8* @llvm.load.relative.i64(i8* bitcast ([7 x i32]* @reltable.get_minor_device_name.70 to i8*), i64 %69)
br label %87
71: ; preds = %9
%72 = sext i32 %10 to i64
%73 = shl i64 %72, 2
%74 = call i8* @llvm.load.relative.i64(i8* bitcast ([8 x i32]* @reltable.get_minor_device_name.71 to i8*), i64 %73)
br label %87
75: ; preds = %12
%76 = sext i32 %1 to i64
%77 = shl i64 %76, 2
%78 = call i8* @llvm.load.relative.i64(i8* bitcast ([19 x i32]* @reltable.get_minor_device_name.72 to i8*), i64 %77)
br label %87
79: ; preds = %56
%80 = sext i32 %57 to i64
%81 = shl i64 %80, 2
%82 = call i8* @llvm.load.relative.i64(i8* bitcast ([5 x i32]* @reltable.get_minor_device_name.74 to i8*), i64 %81)
br label %87
83: ; preds = %59
%84 = sext i32 %60 to i64
%85 = shl i64 %84, 2
%86 = call i8* @llvm.load.relative.i64(i8* bitcast ([5 x i32]* @reltable.get_minor_device_name.75 to i8*), i64 %85)
br label %87
87: ; preds = %83, %79, %75, %71, %67, %63, %2, %53, %50, %47, %44, %41, %7, %2, %62
%88 = phi i8* [ getelementptr inbounds ([38 x i8], [38 x i8]* @.str.63, i64 0, i64 0), %62 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %2 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), %7 ], [ getelementptr inbounds ([48 x i8], [48 x i8]* @get_minor_device_name.cls_str, i64 0, i64 0), %41 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.49, i64 0, i64 0), %44 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.50, i64 0, i64 0), %47 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.51, i64 0, i64 0), %50 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.52, i64 0, i64 0), %53 ], [ getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i64 0, i64 0), %2 ], [ %66, %63 ], [ %70, %67 ], [ %74, %71 ], [ %78, %75 ], [ %82, %79 ], [ %86, %83 ]
ret i8* %88
}