int Cyc_Lex_trie_char(int c) {
  int _T0;
  int _T1;
  int _T2;
  if (c != 92)
    goto _TL34;
  return 37;
_TL34:
  if (c < 95)
    goto _TL36;
  _T0 = c - 58;
  return _T0;
_TL36:
  if (c <= 64)
    goto _TL38;
  _T1 = c - 55;
  return _T1;
_TL38:
  _T2 = c - 48;
  return _T2;
}


x86 assembly (clang, -O0):
<Cyc_Lex_trie_char>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x8(%rbp)
cmpl   $0x5c,-0x8(%rbp)
je     1116 <Cyc_Lex_trie_char+0x16>
jmp    1122 <Cyc_Lex_trie_char+0x22>
movl   $0x25,-0x4(%rbp)
jmp    1177 <Cyc_Lex_trie_char+0x77>
cmpl   $0x5f,-0x8(%rbp)
jge    1131 <Cyc_Lex_trie_char+0x31>
jmp    1145 <Cyc_Lex_trie_char+0x45>
mov    -0x8(%rbp),%eax
sub    $0x3a,%eax
mov    %eax,-0xc(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1177 <Cyc_Lex_trie_char+0x77>
cmpl   $0x40,-0x8(%rbp)
jg     1154 <Cyc_Lex_trie_char+0x54>
jmp    1168 <Cyc_Lex_trie_char+0x68>
mov    -0x8(%rbp),%eax
sub    $0x37,%eax
mov    %eax,-0x10(%rbp)
mov    -0x10(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    1177 <Cyc_Lex_trie_char+0x77>
mov    -0x8(%rbp),%eax
sub    $0x30,%eax
mov    %eax,-0x14(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<Cyc_Lex_trie_char>:
mov    $0x25,%eax
cmp    $0x5c,%edi
je     1123 <Cyc_Lex_trie_char+0x23>
cmp    $0x5f,%edi
jge    1119 <Cyc_Lex_trie_char+0x19>
cmp    $0x41,%edi
jge    111e <Cyc_Lex_trie_char+0x1e>
add    $0xffffffd0,%edi
jmp    1121 <Cyc_Lex_trie_char+0x21>
add    $0xffffffc6,%edi
jmp    1121 <Cyc_Lex_trie_char+0x21>
add    $0xffffffc9,%edi
mov    %edi,%eax
ret

LLVM IR (-O0):
define i32 @Cyc_Lex_trie_char(i32 %0) {
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 %0, i32* %3
%7 = load i32, i32* %3
%8 = icmp ne i32 %7, 92
br i1 %8, label %9, label %10
9: ; preds = %1
br label %11
10: ; preds = %1
store i32 37, i32* %2
br label %31
11: ; preds = %9
%12 = load i32, i32* %3
%13 = icmp slt i32 %12, 95
br i1 %13, label %14, label %15
14: ; preds = %11
br label %19
15: ; preds = %11
%16 = load i32, i32* %3
%17 = sub nsw i32 %16, 58
store i32 %17, i32* %4
%18 = load i32, i32* %4
store i32 %18, i32* %2
br label %31
19: ; preds = %14
%20 = load i32, i32* %3
%21 = icmp sle i32 %20, 64
br i1 %21, label %22, label %23
22: ; preds = %19
br label %27
23: ; preds = %19
%24 = load i32, i32* %3
%25 = sub nsw i32 %24, 55
store i32 %25, i32* %5
%26 = load i32, i32* %5
store i32 %26, i32* %2
br label %31
27: ; preds = %22
%28 = load i32, i32* %3
%29 = sub nsw i32 %28, 48
store i32 %29, i32* %6
%30 = load i32, i32* %6
store i32 %30, i32* %2
br label %31
31: ; preds = %27, %23, %15, %10
%32 = load i32, i32* %2
ret i32 %32
}

LLVM IR (-O2):
define i32 @Cyc_Lex_trie_char(i32 %0) {
%2 = icmp eq i32 %0, 92
br i1 %2, label %13, label %3
3: ; preds = %1
%4 = icmp slt i32 %0, 95
br i1 %4, label %7, label %5
5: ; preds = %3
%6 = add nsw i32 %0, -58
br label %13
7: ; preds = %3
%8 = icmp slt i32 %0, 65
br i1 %8, label %11, label %9
9: ; preds = %7
%10 = add nsw i32 %0, -55
br label %13
11: ; preds = %7
%12 = add nsw i32 %0, -48
br label %13
13: ; preds = %1, %11, %9, %5
%14 = phi i32 [ %12, %11 ], [ %10, %9 ], [ %6, %5 ], [ 37, %1 ]
ret i32 %14
}