const char *__Pyx_BufFmt_DescribeTypeChar(char ch, int is_complex) {
  switch (ch) {
  case 'b':
    return "'char'";
  case 'B':
    return "'unsigned char'";
  case 'h':
    return "'short'";
  case 'H':
    return "'unsigned short'";
  case 'i':
    return "'int'";
  case 'I':
    return "'unsigned int'";
  case 'l':
    return "'long'";
  case 'L':
    return "'unsigned long'";
  case 'q':
    return "'long long'";
  case 'Q':
    return "'unsigned long long'";
  case 'f':
    return (is_complex ? "'complex float'" : "'float'");
  case 'd':
    return (is_complex ? "'complex double'" : "'double'");
  case 'g':
    return (is_complex ? "'complex long double'" : "'long double'");
  case 'T':
    return "a struct";
  case 'O':
    return "Python object";
  case 'P':
    return "a pointer";
  case 0:
    return "end";
  default:
    return "unparseable format string";
  }
}


x86 assembly (clang, -O0):
<__Pyx_BufFmt_DescribeTypeChar>:
push   %rbp
mov    %rsp,%rbp
mov    %dil,%al
mov    %al,-0x9(%rbp)
mov    %esi,-0x10(%rbp)
movsbl -0x9(%rbp),%eax
mov    %eax,%ecx
mov    %rcx,-0x18(%rbp)
sub    $0x71,%eax
ja     1277 <__Pyx_BufFmt_DescribeTypeChar+0x177>
mov    -0x18(%rbp),%rax
lea    0xed5(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
lea    0x108d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1084(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1084(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x107c(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x107d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1073(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1072(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1069(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1069(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1065(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
mov    -0x10(%rbp),%edx
lea    0x1077(%rip),%rax
lea    0x1060(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
mov    -0x10(%rbp),%edx
lea    0x106f(%rip),%rax
lea    0x1057(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
mov    -0x10(%rbp),%edx
lea    0x106d(%rip),%rax
lea    0x1050(%rip),%rcx
cmp    $0x0,%edx
cmovne %rcx,%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x105d(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1056(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1054(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x104e(%rip),%rax
mov    %rax,-0x8(%rbp)
jmp    1282 <__Pyx_BufFmt_DescribeTypeChar+0x182>
lea    0x1042(%rip),%rax
mov    %rax,-0x8(%rbp)
mov    -0x8(%rbp),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<__Pyx_BufFmt_DescribeTypeChar>:
cmp    $0x71,%edi
ja     1126 <__Pyx_BufFmt_DescribeTypeChar+0x26>
lea    0x10bc(%rip),%rax
mov    %edi,%ecx
lea    0xeeb(%rip),%rdx
movslq (%rdx,%rcx,4),%rcx
add    %rdx,%rcx
jmp    *%rcx
lea    0x1197(%rip),%rax
ret
lea    0x1193(%rip),%rax
ret
lea    0x109a(%rip),%rax
ret
lea    0x10aa(%rip),%rax
ret
lea    0x10b9(%rip),%rax
ret
lea    0x10c7(%rip),%rax
ret
lea    0x114f(%rip),%rax
ret
lea    0x1155(%rip),%rax
ret
lea    0x10cb(%rip),%rax
ret
lea    0x112e(%rip),%rax
ret
test   %esi,%esi
lea    0x10f7(%rip),%rcx
lea    0x10df(%rip),%rax
cmove  %rcx,%rax
ret
test   %esi,%esi
lea    0x10c9(%rip),%rcx
lea    0x10b2(%rip),%rax
cmove  %rcx,%rax
ret
test   %esi,%esi
lea    0x10ec(%rip),%rcx
lea    0x10cf(%rip),%rax
cmove  %rcx,%rax
ret
lea    0x102b(%rip),%rax
ret
lea    0x103c(%rip),%rax
ret
lea    0x1049(%rip),%rax
ret
lea    0x1058(%rip),%rax
ret

LLVM IR (-O0):
@.str = [7 x i8] c"'char'\00"
@.str.1 = [16 x i8] c"'unsigned char'\00"
@.str.2 = [8 x i8] c"'short'\00"
@.str.3 = [17 x i8] c"'unsigned short'\00"
@.str.4 = [6 x i8] c"'int'\00"
@.str.5 = [15 x i8] c"'unsigned int'\00"
@.str.6 = [7 x i8] c"'long'\00"
@.str.7 = [16 x i8] c"'unsigned long'\00"
@.str.8 = [12 x i8] c"'long long'\00"
@.str.9 = [21 x i8] c"'unsigned long long'\00"
@.str.10 = [16 x i8] c"'complex float'\00"
@.str.11 = [8 x i8] c"'float'\00"
@.str.12 = [17 x i8] c"'complex double'\00"
@.str.13 = [9 x i8] c"'double'\00"
@.str.14 = [22 x i8] c"'complex long double'\00"
@.str.15 = [14 x i8] c"'long double'\00"
@.str.16 = [9 x i8] c"a struct\00"
@.str.17 = [14 x i8] c"Python object\00"
@.str.18 = [10 x i8] c"a pointer\00"
@.str.19 = [4 x i8] c"end\00"
@.str.20 = [26 x i8] c"unparseable format string\00"
define i8* @__Pyx_BufFmt_DescribeTypeChar(i8 signext %0, i32 %1) {
%3 = alloca i8*
%4 = alloca i8
%5 = alloca i32
store i8 %0, i8* %4
store i32 %1, i32* %5
%6 = load i8, i8* %4
%7 = sext i8 %6 to i32
switch i32 %7, label %37 [
i32 98, label %8
i32 66, label %9
i32 104, label %10
i32 72, label %11
i32 105, label %12
i32 73, label %13
i32 108, label %14
i32 76, label %15
i32 113, label %16
i32 81, label %17
i32 102, label %18
i32 100, label %23
i32 103, label %28
i32 84, label %33
i32 79, label %34
i32 80, label %35
i32 0, label %36
]
8: ; preds = %2
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), i8** %3
br label %38
9: ; preds = %2
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), i8** %3
br label %38
10: ; preds = %2
store i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), i8** %3
br label %38
11: ; preds = %2
store i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8** %3
br label %38
12: ; preds = %2
store i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), i8** %3
br label %38
13: ; preds = %2
store i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), i8** %3
br label %38
14: ; preds = %2
store i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), i8** %3
br label %38
15: ; preds = %2
store i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), i8** %3
br label %38
16: ; preds = %2
store i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), i8** %3
br label %38
17: ; preds = %2
store i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i8** %3
br label %38
18: ; preds = %2
%19 = load i32, i32* %5
%20 = icmp ne i32 %19, 0
%21 = zext i1 %20 to i64
%22 = select i1 %20, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0)
store i8* %22, i8** %3
br label %38
23: ; preds = %2
%24 = load i32, i32* %5
%25 = icmp ne i32 %24, 0
%26 = zext i1 %25 to i64
%27 = select i1 %25, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0), i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0)
store i8* %27, i8** %3
br label %38
28: ; preds = %2
%29 = load i32, i32* %5
%30 = icmp ne i32 %29, 0
%31 = zext i1 %30 to i64
%32 = select i1 %30, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0)
store i8* %32, i8** %3
br label %38
33: ; preds = %2
store i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), i8** %3
br label %38
34: ; preds = %2
store i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), i8** %3
br label %38
35: ; preds = %2
store i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), i8** %3
br label %38
36: ; preds = %2
store i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), i8** %3
br label %38
37: ; preds = %2
store i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.20, i64 0, i64 0), i8** %3
br label %38
38: ; preds = %37, %36, %35, %34, %33, %28, %23, %18, %17, %16, %15, %14, %13, %12, %11, %10, %9, %8
%39 = load i8*, i8** %3
ret i8* %39
}

LLVM IR (-O2):
@.str = [7 x i8] c"'char'\00"
@.str.1 = [16 x i8] c"'unsigned char'\00"
@.str.2 = [8 x i8] c"'short'\00"
@.str.3 = [17 x i8] c"'unsigned short'\00"
@.str.4 = [6 x i8] c"'int'\00"
@.str.5 = [15 x i8] c"'unsigned int'\00"
@.str.6 = [7 x i8] c"'long'\00"
@.str.7 = [16 x i8] c"'unsigned long'\00"
@.str.8 = [12 x i8] c"'long long'\00"
@.str.9 = [21 x i8] c"'unsigned long long'\00"
@.str.10 = [16 x i8] c"'complex float'\00"
@.str.11 = [8 x i8] c"'float'\00"
@.str.12 = [17 x i8] c"'complex double'\00"
@.str.13 = [9 x i8] c"'double'\00"
@.str.14 = [22 x i8] c"'complex long double'\00"
@.str.15 = [14 x i8] c"'long double'\00"
@.str.16 = [9 x i8] c"a struct\00"
@.str.17 = [14 x i8] c"Python object\00"
@.str.18 = [10 x i8] c"a pointer\00"
@.str.19 = [4 x i8] c"end\00"
@.str.20 = [26 x i8] c"unparseable format string\00"
define i8* @__Pyx_BufFmt_DescribeTypeChar(i8 signext %0, i32 %1) {
%3 = sext i8 %0 to i32
switch i32 %3, label %26 [
i32 98, label %27
i32 66, label %4
i32 104, label %5
i32 72, label %6
i32 105, label %7
i32 73, label %8
i32 108, label %9
i32 76, label %10
i32 113, label %11
i32 81, label %12
i32 102, label %13
i32 100, label %16
i32 103, label %19
i32 84, label %22
i32 79, label %23
i32 80, label %24
i32 0, label %25
]
4: ; preds = %2
br label %27
5: ; preds = %2
br label %27
6: ; preds = %2
br label %27
7: ; preds = %2
br label %27
8: ; preds = %2
br label %27
9: ; preds = %2
br label %27
10: ; preds = %2
br label %27
11: ; preds = %2
br label %27
12: ; preds = %2
br label %27
13: ; preds = %2
%14 = icmp eq i32 %1, 0
%15 = select i1 %14, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.11, i64 0, i64 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.10, i64 0, i64 0)
br label %27
16: ; preds = %2
%17 = icmp eq i32 %1, 0
%18 = select i1 %17, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.13, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.12, i64 0, i64 0)
br label %27
19: ; preds = %2
%20 = icmp eq i32 %1, 0
%21 = select i1 %20, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.15, i64 0, i64 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0)
br label %27
22: ; preds = %2
br label %27
23: ; preds = %2
br label %27
24: ; preds = %2
br label %27
25: ; preds = %2
br label %27
26: ; preds = %2
br label %27
27: ; preds = %2, %26, %25, %24, %23, %22, %19, %16, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4
%28 = phi i8* [ getelementptr inbounds ([26 x i8], [26 x i8]* @.str.20, i64 0, i64 0), %26 ], [ getelementptr inbounds ([4 x i8], [4 x i8]* @.str.19, i64 0, i64 0), %25 ], [ getelementptr inbounds ([10 x i8], [10 x i8]* @.str.18, i64 0, i64 0), %24 ], [ getelementptr inbounds ([14 x i8], [14 x i8]* @.str.17, i64 0, i64 0), %23 ], [ getelementptr inbounds ([9 x i8], [9 x i8]* @.str.16, i64 0, i64 0), %22 ], [ %21, %19 ], [ %18, %16 ], [ %15, %13 ], [ getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), %12 ], [ getelementptr inbounds ([12 x i8], [12 x i8]* @.str.8, i64 0, i64 0), %11 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.7, i64 0, i64 0), %10 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0), %9 ], [ getelementptr inbounds ([15 x i8], [15 x i8]* @.str.5, i64 0, i64 0), %8 ], [ getelementptr inbounds ([6 x i8], [6 x i8]* @.str.4, i64 0, i64 0), %7 ], [ getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), %6 ], [ getelementptr inbounds ([8 x i8], [8 x i8]* @.str.2, i64 0, i64 0), %5 ], [ getelementptr inbounds ([16 x i8], [16 x i8]* @.str.1, i64 0, i64 0), %4 ], [ getelementptr inbounds ([7 x i8], [7 x i8]* @.str, i64 0, i64 0), %2 ]
ret i8* %28
}