#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 */
unsigned int next_utf8(char const *, int *);
int fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122(
    const char *text) {
  int pos = 0;
  unsigned int c = next_utf8(text, &pos);
  if (c >= 33 && c <= 33)
    return pos;
  if (c >= 36 && c <= 36)
    return pos;
  if (c >= 38 && c <= 44)
    return pos;
  if (c >= 46 && c <= 46)
    return pos;
  if (c >= 48 && c <= 57)
    return pos;
  if (c >= 59 && c <= 59)
    return pos;
  if (c >= 58 && c <= 126)
    return pos;
  if (c >= 61 && c <= 61)
    return pos;
  if (c >= 65 && c <= 91)
    return pos;
  if (c >= 95 && c <= 95)
    return pos;
  if (c >= 97 && c <= 122)
    return pos;
  return -1;
}


x86 assembly (clang, -O0):
<fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    -0x10(%rbp),%rdi
lea    -0x14(%rbp),%rsi
call   1030 <next_utf8@plt>
mov    %eax,-0x18(%rbp)
cmpl   $0x21,-0x18(%rbp)
jb     1152 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x42>
cmpl   $0x21,-0x18(%rbp)
ja     1152 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x42>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x24,-0x18(%rbp)
jb     1171 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x61>
cmpl   $0x24,-0x18(%rbp)
ja     1171 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x61>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x26,-0x18(%rbp)
jb     1190 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x80>
cmpl   $0x2c,-0x18(%rbp)
ja     1190 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x80>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x2e,-0x18(%rbp)
jb     11af <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x9f>
cmpl   $0x2e,-0x18(%rbp)
ja     11af <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x9f>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x30,-0x18(%rbp)
jb     11ce <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xbe>
cmpl   $0x39,-0x18(%rbp)
ja     11ce <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xbe>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x3b,-0x18(%rbp)
jb     11ed <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xdd>
cmpl   $0x3b,-0x18(%rbp)
ja     11ed <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xdd>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x3a,-0x18(%rbp)
jb     120c <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xfc>
cmpl   $0x7e,-0x18(%rbp)
ja     120c <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0xfc>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x3d,-0x18(%rbp)
jb     122b <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x11b>
cmpl   $0x3d,-0x18(%rbp)
ja     122b <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x11b>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x41,-0x18(%rbp)
jb     124a <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x13a>
cmpl   $0x5b,-0x18(%rbp)
ja     124a <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x13a>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x5f,-0x18(%rbp)
jb     1269 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x159>
cmpl   $0x5f,-0x18(%rbp)
ja     1269 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x159>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
cmpl   $0x61,-0x18(%rbp)
jb     1288 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x178>
cmpl   $0x7a,-0x18(%rbp)
ja     1288 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x178>
mov    -0x14(%rbp),%eax
mov    %eax,-0x4(%rbp)
jmp    128f <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x17f>
movl   $0xffffffff,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122>:
push   %rax
movl   $0x0,0x4(%rsp)
lea    0x4(%rsp),%rsi
call   1030 <next_utf8@plt>
cmp    $0x24,%eax
je     1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
cmp    $0x21,%eax
je     1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
lea    -0x26(%rax),%ecx
cmp    $0x6,%ecx
jbe    1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
cmp    $0x2e,%eax
je     1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
lea    -0x30(%rax),%ecx
cmp    $0x9,%ecx
jbe    1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
cmp    $0x3b,%eax
je     1154 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x44>
add    $0xffffffc6,%eax
mov    $0xffffffff,%ecx
cmp    $0x45,%eax
jae    1158 <fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122+0x48>
mov    0x4(%rsp),%ecx
mov    %ecx,%eax
pop    %rcx
ret

LLVM IR (-O0):
define i32 @fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122(i8* %0) {
%2 = alloca i32
%3 = alloca i8*
%4 = alloca i32
%5 = alloca i32
store i8* %0, i8** %3
store i32 0, i32* %4
%6 = load i8*, i8** %3
%7 = call i32 @next_utf8(i8* %6, i32* %4)
store i32 %7, i32* %5
%8 = load i32, i32* %5
%9 = icmp uge i32 %8, 33
br i1 %9, label %10, label %15
10: ; preds = %1
%11 = load i32, i32* %5
%12 = icmp ule i32 %11, 33
br i1 %12, label %13, label %15
13: ; preds = %10
%14 = load i32, i32* %4
store i32 %14, i32* %2
br label %96
15: ; preds = %10, %1
%16 = load i32, i32* %5
%17 = icmp uge i32 %16, 36
br i1 %17, label %18, label %23
18: ; preds = %15
%19 = load i32, i32* %5
%20 = icmp ule i32 %19, 36
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = load i32, i32* %4
store i32 %22, i32* %2
br label %96
23: ; preds = %18, %15
%24 = load i32, i32* %5
%25 = icmp uge i32 %24, 38
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = load i32, i32* %5
%28 = icmp ule i32 %27, 44
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = load i32, i32* %4
store i32 %30, i32* %2
br label %96
31: ; preds = %26, %23
%32 = load i32, i32* %5
%33 = icmp uge i32 %32, 46
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load i32, i32* %5
%36 = icmp ule i32 %35, 46
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = load i32, i32* %4
store i32 %38, i32* %2
br label %96
39: ; preds = %34, %31
%40 = load i32, i32* %5
%41 = icmp uge i32 %40, 48
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, i32* %5
%44 = icmp ule i32 %43, 57
br i1 %44, label %45, label %47
45: ; preds = %42
%46 = load i32, i32* %4
store i32 %46, i32* %2
br label %96
47: ; preds = %42, %39
%48 = load i32, i32* %5
%49 = icmp uge i32 %48, 59
br i1 %49, label %50, label %55
50: ; preds = %47
%51 = load i32, i32* %5
%52 = icmp ule i32 %51, 59
br i1 %52, label %53, label %55
53: ; preds = %50
%54 = load i32, i32* %4
store i32 %54, i32* %2
br label %96
55: ; preds = %50, %47
%56 = load i32, i32* %5
%57 = icmp uge i32 %56, 58
br i1 %57, label %58, label %63
58: ; preds = %55
%59 = load i32, i32* %5
%60 = icmp ule i32 %59, 126
br i1 %60, label %61, label %63
61: ; preds = %58
%62 = load i32, i32* %4
store i32 %62, i32* %2
br label %96
63: ; preds = %58, %55
%64 = load i32, i32* %5
%65 = icmp uge i32 %64, 61
br i1 %65, label %66, label %71
66: ; preds = %63
%67 = load i32, i32* %5
%68 = icmp ule i32 %67, 61
br i1 %68, label %69, label %71
69: ; preds = %66
%70 = load i32, i32* %4
store i32 %70, i32* %2
br label %96
71: ; preds = %66, %63
%72 = load i32, i32* %5
%73 = icmp uge i32 %72, 65
br i1 %73, label %74, label %79
74: ; preds = %71
%75 = load i32, i32* %5
%76 = icmp ule i32 %75, 91
br i1 %76, label %77, label %79
77: ; preds = %74
%78 = load i32, i32* %4
store i32 %78, i32* %2
br label %96
79: ; preds = %74, %71
%80 = load i32, i32* %5
%81 = icmp uge i32 %80, 95
br i1 %81, label %82, label %87
82: ; preds = %79
%83 = load i32, i32* %5
%84 = icmp ule i32 %83, 95
br i1 %84, label %85, label %87
85: ; preds = %82
%86 = load i32, i32* %4
store i32 %86, i32* %2
br label %96
87: ; preds = %82, %79
%88 = load i32, i32* %5
%89 = icmp uge i32 %88, 97
br i1 %89, label %90, label %95
90: ; preds = %87
%91 = load i32, i32* %5
%92 = icmp ule i32 %91, 122
br i1 %92, label %93, label %95
93: ; preds = %90
%94 = load i32, i32* %4
store i32 %94, i32* %2
br label %96
95: ; preds = %90, %87
store i32 -1, i32* %2
br label %96
96: ; preds = %95, %93, %85, %77, %69, %61, %53, %45, %37, %29, %21, %13
%97 = load i32, i32* %2
ret i32 %97
}

LLVM IR (-O2):
define i32 @fn_cl_33_33_36_36_38_44_46_46_48_57_59_59_58_126_61_61_65_91_95_95_97_122(i8* %0) {
%2 = alloca i32
%3 = bitcast i32* %2 to i8*
store i32 0, i32* %2
%4 = call i32 @next_utf8(i8* %0, i32* %2)
switch i32 %4, label %9 [
i32 33, label %5
i32 36, label %7
]
5: ; preds = %1
%6 = load i32, i32* %2
br label %32
7: ; preds = %1
%8 = load i32, i32* %2
br label %32
9: ; preds = %1
%10 = add i32 %4, -38
%11 = icmp ult i32 %10, 7
br i1 %11, label %12, label %14
12: ; preds = %9
%13 = load i32, i32* %2
br label %32
14: ; preds = %9
%15 = icmp eq i32 %4, 46
br i1 %15, label %16, label %18
16: ; preds = %14
%17 = load i32, i32* %2
br label %32
18: ; preds = %14
%19 = add i32 %4, -48
%20 = icmp ult i32 %19, 10
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = load i32, i32* %2
br label %32
23: ; preds = %18
%24 = icmp eq i32 %4, 59
br i1 %24, label %25, label %27
25: ; preds = %23
%26 = load i32, i32* %2
br label %32
27: ; preds = %23
%28 = add i32 %4, -58
%29 = icmp ult i32 %28, 69
%30 = load i32, i32* %2
%31 = select i1 %29, i32 %30, i32 -1
br label %32
32: ; preds = %27, %25, %21, %16, %12, %7, %5
%33 = phi i32 [ %6, %5 ], [ %8, %7 ], [ %13, %12 ], [ %17, %16 ], [ %22, %21 ], [ %26, %25 ], [ %31, %27 ]
ret i32 %33
}