const char *_initUpper2Lower() {
  static char u2l[0x80];
  unsigned short c = 0;
  for (c = 0; c < 0x80; c++)
    if (c >= 'A' && c <= 'Z')
      u2l[c] = c + 'a' - 'A';
    else
      u2l[c] = c;
  return u2l;
}


x86 assembly (clang, -O0):
<_initUpper2Lower>:
push   %rbp
mov    %rsp,%rbp
movw   $0x0,-0x2(%rbp)
movw   $0x0,-0x2(%rbp)
movzwl -0x2(%rbp),%eax
cmp    $0x80,%eax
jge    1186 <_initUpper2Lower+0x86>
movzwl -0x2(%rbp),%eax
cmp    $0x41,%eax
jl     115a <_initUpper2Lower+0x5a>
movzwl -0x2(%rbp),%eax
cmp    $0x5a,%eax
jg     115a <_initUpper2Lower+0x5a>
movzwl -0x2(%rbp),%eax
add    $0x61,%eax
sub    $0x41,%eax
mov    %al,%dl
movzwl -0x2(%rbp),%eax
mov    %eax,%ecx
lea    0x2ede(%rip),%rax
mov    %dl,(%rax,%rcx,1)
jmp    1170 <_initUpper2Lower+0x70>
mov    -0x2(%rbp),%ax
mov    %al,%dl
movzwl -0x2(%rbp),%eax
mov    %eax,%ecx
lea    0x2ec3(%rip),%rax
mov    %dl,(%rax,%rcx,1)
jmp    1175 <_initUpper2Lower+0x75>
mov    -0x2(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2(%rbp)
jmp    1110 <_initUpper2Lower+0x10>
lea    0x2ea3(%rip),%rax
pop    %rbp
ret

x86 assembly (clang, -O2):
<_initUpper2Lower>:
movaps 0xef9(%rip),%xmm0
movaps %xmm0,0x2f22(%rip)
lea    0x2f1b(%rip),%rax
movaps 0xef4(%rip),%xmm0
movaps %xmm0,0x2f1d(%rip)
movaps 0xef6(%rip),%xmm0
movaps %xmm0,0x2f1f(%rip)
movaps 0xef8(%rip),%xmm0
movaps %xmm0,0x2f21(%rip)
movaps 0xefa(%rip),%xmm0
movaps %xmm0,0x2f23(%rip)
movaps 0xefc(%rip),%xmm0
movaps %xmm0,0x2f25(%rip)
movaps 0xefe(%rip),%xmm0
movaps %xmm0,0x2f27(%rip)
movaps 0xf00(%rip),%xmm0
movaps %xmm0,0x2f29(%rip)
ret

LLVM IR (-O0):
@_initUpper2Lower.u2l = internal global [128 x i8] zeroinitializer
define i8* @_initUpper2Lower() {
%1 = alloca i16
store i16 0, i16* %1
store i16 0, i16* %1
br label %2
2: ; preds = %30, %0
%3 = load i16, i16* %1
%4 = zext i16 %3 to i32
%5 = icmp slt i32 %4, 128
br i1 %5, label %6, label %33
6: ; preds = %2
%7 = load i16, i16* %1
%8 = zext i16 %7 to i32
%9 = icmp sge i32 %8, 65
br i1 %9, label %10, label %23
10: ; preds = %6
%11 = load i16, i16* %1
%12 = zext i16 %11 to i32
%13 = icmp sle i32 %12, 90
br i1 %13, label %14, label %23
14: ; preds = %10
%15 = load i16, i16* %1
%16 = zext i16 %15 to i32
%17 = add nsw i32 %16, 97
%18 = sub nsw i32 %17, 65
%19 = trunc i32 %18 to i8
%20 = load i16, i16* %1
%21 = zext i16 %20 to i64
%22 = getelementptr inbounds [128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 %21
store i8 %19, i8* %22
br label %29
23: ; preds = %10, %6
%24 = load i16, i16* %1
%25 = trunc i16 %24 to i8
%26 = load i16, i16* %1
%27 = zext i16 %26 to i64
%28 = getelementptr inbounds [128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 %27
store i8 %25, i8* %28
br label %29
29: ; preds = %23, %14
br label %30
30: ; preds = %29
%31 = load i16, i16* %1
%32 = add i16 %31, 1
store i16 %32, i16* %1
br label %2
33: ; preds = %2
ret i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 0)
}

LLVM IR (-O2):
@_initUpper2Lower.u2l = internal global [128 x i8] zeroinitializer
define i8* @_initUpper2Lower() {
store <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, <16 x i8>* bitcast ([128 x i8]* @_initUpper2Lower.u2l to <16 x i8>*)
store <16 x i8> <i8 16, i8 17, i8 18, i8 19, i8 20, i8 21, i8 22, i8 23, i8 24, i8 25, i8 26, i8 27, i8 28, i8 29, i8 30, i8 31>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 16) to <16 x i8>*)
store <16 x i8> <i8 32, i8 33, i8 34, i8 35, i8 36, i8 37, i8 38, i8 39, i8 40, i8 41, i8 42, i8 43, i8 44, i8 45, i8 46, i8 47>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 32) to <16 x i8>*)
store <16 x i8> <i8 48, i8 49, i8 50, i8 51, i8 52, i8 53, i8 54, i8 55, i8 56, i8 57, i8 58, i8 59, i8 60, i8 61, i8 62, i8 63>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 48) to <16 x i8>*)
store <16 x i8> <i8 64, i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 64) to <16 x i8>*)
store <16 x i8> <i8 112, i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120, i8 121, i8 122, i8 91, i8 92, i8 93, i8 94, i8 95>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 80) to <16 x i8>*)
store <16 x i8> <i8 96, i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 96) to <16 x i8>*)
store <16 x i8> <i8 112, i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120, i8 121, i8 122, i8 123, i8 124, i8 125, i8 126, i8 127>, <16 x i8>* bitcast (i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 112) to <16 x i8>*)
ret i8* getelementptr inbounds ([128 x i8], [128 x i8]* @_initUpper2Lower.u2l, i64 0, i64 0)
}