#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 */
int /*<<< orphan*/ printf(char *, ...);
int tolower(char);
int count(char *str) {
  int lettercount[26];
  int i, count, l;
  for (i = 0; i < 26; i++)
    lettercount[i] = 0;
  i = 0;
  count = 0;
  while (str[i] != 0) {
    l = tolower(str[i]);
    count++;
    if (l >= (int)'a' && l <= (int)'z') {
      lettercount[l - (int)'a']++;
    }
    i++;
  }
  for (i = 0; i < 26; i++)
    printf("%c: %d ", i + 'a', lettercount[i]);
  printf("\n");
  return count;
}


x86 assembly (clang, -O0):
<count>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    %rdi,-0x8(%rbp)
movl   $0x0,-0x74(%rbp)
cmpl   $0x1a,-0x74(%rbp)
jge    115a <count+0x3a>
movslq -0x74(%rbp),%rax
movl   $0x0,-0x70(%rbp,%rax,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1136 <count+0x16>
movl   $0x0,-0x74(%rbp)
movl   $0x0,-0x78(%rbp)
mov    -0x8(%rbp),%rax
movslq -0x74(%rbp),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x0,%eax
je     11cf <count+0xaf>
mov    -0x8(%rbp),%rax
movslq -0x74(%rbp),%rcx
movsbl (%rax,%rcx,1),%edi
call   1040 <tolower@plt>
mov    %eax,-0x7c(%rbp)
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
cmpl   $0x61,-0x7c(%rbp)
jl     11c1 <count+0xa1>
cmpl   $0x7a,-0x7c(%rbp)
jg     11c1 <count+0xa1>
mov    -0x7c(%rbp),%eax
sub    $0x61,%eax
cltq
mov    -0x70(%rbp,%rax,4),%ecx
add    $0x1,%ecx
mov    %ecx,-0x70(%rbp,%rax,4)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    1168 <count+0x48>
movl   $0x0,-0x74(%rbp)
cmpl   $0x1a,-0x74(%rbp)
jge    120a <count+0xea>
mov    -0x74(%rbp),%esi
add    $0x61,%esi
movslq -0x74(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%edx
lea    0xe0b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    11d6 <count+0xb6>
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x78(%rbp),%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<count>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xc8,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0xb0(%rsp)
movaps %xmm0,0xa0(%rsp)
movaps %xmm0,0x90(%rsp)
movaps %xmm0,0x80(%rsp)
movaps %xmm0,0x70(%rsp)
movaps %xmm0,0x60(%rsp)
movq   $0x0,0xc0(%rsp)
mov    (%rdi),%al
test   %al,%al
je     12b0 <count+0x180>
mov    %rdi,%rbp
xor    %ebx,%ebx
jmp    119d <count+0x6d>
nopl   0x0(%rax,%rax,1)
movzbl 0x1(%rbp,%rbx,1),%eax
add    $0x1,%rbx
test   %al,%al
je     11b6 <count+0x86>
movsbl %al,%edi
call   1050 <tolower@plt>
add    $0xffffff9f,%eax
cmp    $0x19,%eax
ja     1190 <count+0x60>
mov    %eax,%eax
addl   $0x1,0x60(%rsp,%rax,4)
jmp    1190 <count+0x60>
mov    0x60(%rsp),%edx
mov    0x64(%rsp),%r13d
mov    0x68(%rsp),%r12d
mov    0x6c(%rsp),%r14d
mov    0x70(%rsp),%ebp
mov    0x74(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x78(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x7c(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x80(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x84(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0x88(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0x8c(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0x90(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0x94(%rsp),%eax
mov    %eax,0x2c(%rsp)
mov    0x98(%rsp),%eax
mov    %eax,0x30(%rsp)
mov    0x9c(%rsp),%eax
mov    %eax,0x34(%rsp)
mov    0xa0(%rsp),%eax
mov    %eax,0x38(%rsp)
mov    0xa4(%rsp),%eax
mov    %eax,0x3c(%rsp)
mov    0xa8(%rsp),%eax
mov    %eax,0x40(%rsp)
mov    0xac(%rsp),%eax
mov    %eax,0x44(%rsp)
mov    0xb0(%rsp),%eax
mov    %eax,0x48(%rsp)
mov    0xb4(%rsp),%eax
mov    %eax,0x4c(%rsp)
mov    0xb8(%rsp),%eax
mov    %eax,0x50(%rsp)
mov    0xbc(%rsp),%eax
mov    %eax,0x54(%rsp)
mov    0xc0(%rsp),%eax
mov    %eax,0x58(%rsp)
mov    0xc4(%rsp),%eax
mov    %eax,0x5c(%rsp)
jmp    1367 <count+0x237>
movl   $0x0,0x5c(%rsp)
movl   $0x0,0x58(%rsp)
movl   $0x0,0x54(%rsp)
movl   $0x0,0x50(%rsp)
movl   $0x0,0x4c(%rsp)
movl   $0x0,0x48(%rsp)
movl   $0x0,0x44(%rsp)
movl   $0x0,0x40(%rsp)
movl   $0x0,0x3c(%rsp)
movl   $0x0,0x38(%rsp)
movl   $0x0,0x34(%rsp)
movl   $0x0,0x30(%rsp)
movl   $0x0,0x2c(%rsp)
movl   $0x0,0x28(%rsp)
movl   $0x0,0x24(%rsp)
movl   $0x0,0x20(%rsp)
movl   $0x0,0x1c(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x0,0x14(%rsp)
movl   $0x0,0x10(%rsp)
movl   $0x0,0xc(%rsp)
xor    %ebp,%ebp
xor    %r14d,%r14d
xor    %r12d,%r12d
xor    %r13d,%r13d
xor    %edx,%edx
xor    %ebx,%ebx
lea    0xc92(%rip),%r15
mov    %r15,%rdi
mov    $0x61,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x62,%esi
mov    %r13d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x63,%esi
mov    %r12d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x64,%esi
mov    %r14d,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x65,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x66,%esi
mov    0xc(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x67,%esi
mov    0x10(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x68,%esi
mov    0x14(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x69,%esi
mov    0x18(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6a,%esi
mov    0x1c(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6b,%esi
mov    0x20(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6c,%esi
mov    0x24(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6d,%esi
mov    0x28(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6e,%esi
mov    0x2c(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x6f,%esi
mov    0x30(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x70,%esi
mov    0x34(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x71,%esi
mov    0x38(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x72,%esi
mov    0x3c(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x73,%esi
mov    0x40(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x74,%esi
mov    0x44(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x75,%esi
mov    0x48(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x76,%esi
mov    0x4c(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x77,%esi
mov    0x50(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x78,%esi
mov    0x54(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x79,%esi
mov    0x58(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
mov    $0x7a,%esi
mov    0x5c(%rsp),%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %ebx,%eax
add    $0xc8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [8 x i8] c"%c: %d \00"
@.str.1 = [2 x i8] c"\0A\00"
define i32 @count(i8* %0) {
%2 = alloca i8*
%3 = alloca [26 x i32]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i8* %0, i8** %2
store i32 0, i32* %4
br label %7
7: ; preds = %14, %1
%8 = load i32, i32* %4
%9 = icmp slt i32 %8, 26
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, i32* %4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %12
store i32 0, i32* %13
br label %14
14: ; preds = %10
%15 = load i32, i32* %4
%16 = add nsw i32 %15, 1
store i32 %16, i32* %4
br label %7
17: ; preds = %7
store i32 0, i32* %4
store i32 0, i32* %5
br label %18
18: ; preds = %47, %17
%19 = load i8*, i8** %2
%20 = load i32, i32* %4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, i8* %19, i64 %21
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %50
26: ; preds = %18
%27 = load i8*, i8** %2
%28 = load i32, i32* %4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, i8* %27, i64 %29
%31 = load i8, i8* %30
%32 = call i32 @tolower(i8 signext %31)
store i32 %32, i32* %6
%33 = load i32, i32* %5
%34 = add nsw i32 %33, 1
store i32 %34, i32* %5
%35 = load i32, i32* %6
%36 = icmp sge i32 %35, 97
br i1 %36, label %37, label %47
37: ; preds = %26
%38 = load i32, i32* %6
%39 = icmp sle i32 %38, 122
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load i32, i32* %6
%42 = sub nsw i32 %41, 97
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %43
%45 = load i32, i32* %44
%46 = add nsw i32 %45, 1
store i32 %46, i32* %44
br label %47
47: ; preds = %40, %37, %26
%48 = load i32, i32* %4
%49 = add nsw i32 %48, 1
store i32 %49, i32* %4
br label %18
50: ; preds = %18
store i32 0, i32* %4
br label %51
51: ; preds = %62, %50
%52 = load i32, i32* %4
%53 = icmp slt i32 %52, 26
br i1 %53, label %54, label %65
54: ; preds = %51
%55 = load i32, i32* %4
%56 = add nsw i32 %55, 97
%57 = load i32, i32* %4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [26 x i32], [26 x i32]* %3, i64 0, i64 %58
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %56, i32 %60)
br label %62
62: ; preds = %54
%63 = load i32, i32* %4
%64 = add nsw i32 %63, 1
store i32 %64, i32* %4
br label %51
65: ; preds = %51
%66 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%67 = load i32, i32* %5
ret i32 %67
}

LLVM IR (-O2):
@.str = [8 x i8] c"%c: %d \00"
define i32 @count(i8* nocapture %0) {
%2 = alloca [26 x i32]
%3 = bitcast [26 x i32]* %2 to i8*
%4 = load i8, i8* %0
%5 = icmp eq i8 %4, 0
br i1 %5, label %59, label %114
6: ; preds = %127
%7 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 0
%8 = load i32, i32* %7
%9 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 1
%10 = load i32, i32* %9
%11 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 2
%12 = load i32, i32* %11
%13 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 3
%14 = load i32, i32* %13
%15 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 4
%16 = load i32, i32* %15
%17 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 5
%18 = load i32, i32* %17
%19 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 6
%20 = load i32, i32* %19
%21 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 7
%22 = load i32, i32* %21
%23 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 8
%24 = load i32, i32* %23
%25 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 9
%26 = load i32, i32* %25
%27 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 10
%28 = load i32, i32* %27
%29 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 11
%30 = load i32, i32* %29
%31 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 12
%32 = load i32, i32* %31
%33 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 13
%34 = load i32, i32* %33
%35 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 14
%36 = load i32, i32* %35
%37 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 15
%38 = load i32, i32* %37
%39 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 16
%40 = load i32, i32* %39
%41 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 17
%42 = load i32, i32* %41
%43 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 18
%44 = load i32, i32* %43
%45 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 19
%46 = load i32, i32* %45
%47 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 20
%48 = load i32, i32* %47
%49 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 21
%50 = load i32, i32* %49
%51 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 22
%52 = load i32, i32* %51
%53 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 23
%54 = load i32, i32* %53
%55 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 24
%56 = load i32, i32* %55
%57 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 25
%58 = load i32, i32* %57
br label %59
59: ; preds = %6, %1
%60 = phi i32 [ 0, %1 ], [ %58, %6 ]
%61 = phi i32 [ 0, %1 ], [ %56, %6 ]
%62 = phi i32 [ 0, %1 ], [ %54, %6 ]
%63 = phi i32 [ 0, %1 ], [ %52, %6 ]
%64 = phi i32 [ 0, %1 ], [ %50, %6 ]
%65 = phi i32 [ 0, %1 ], [ %48, %6 ]
%66 = phi i32 [ 0, %1 ], [ %46, %6 ]
%67 = phi i32 [ 0, %1 ], [ %44, %6 ]
%68 = phi i32 [ 0, %1 ], [ %42, %6 ]
%69 = phi i32 [ 0, %1 ], [ %40, %6 ]
%70 = phi i32 [ 0, %1 ], [ %38, %6 ]
%71 = phi i32 [ 0, %1 ], [ %36, %6 ]
%72 = phi i32 [ 0, %1 ], [ %34, %6 ]
%73 = phi i32 [ 0, %1 ], [ %32, %6 ]
%74 = phi i32 [ 0, %1 ], [ %30, %6 ]
%75 = phi i32 [ 0, %1 ], [ %28, %6 ]
%76 = phi i32 [ 0, %1 ], [ %26, %6 ]
%77 = phi i32 [ 0, %1 ], [ %24, %6 ]
%78 = phi i32 [ 0, %1 ], [ %22, %6 ]
%79 = phi i32 [ 0, %1 ], [ %20, %6 ]
%80 = phi i32 [ 0, %1 ], [ %18, %6 ]
%81 = phi i32 [ 0, %1 ], [ %16, %6 ]
%82 = phi i32 [ 0, %1 ], [ %14, %6 ]
%83 = phi i32 [ 0, %1 ], [ %12, %6 ]
%84 = phi i32 [ 0, %1 ], [ %10, %6 ]
%85 = phi i32 [ 0, %1 ], [ %8, %6 ]
%86 = phi i32 [ 0, %1 ], [ %119, %6 ]
%87 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 97, i32 %85)
%88 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 98, i32 %84)
%89 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 99, i32 %83)
%90 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 100, i32 %82)
%91 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 101, i32 %81)
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 102, i32 %80)
%93 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 103, i32 %79)
%94 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 104, i32 %78)
%95 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 105, i32 %77)
%96 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 106, i32 %76)
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 107, i32 %75)
%98 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 108, i32 %74)
%99 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 109, i32 %73)
%100 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 110, i32 %72)
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 111, i32 %71)
%102 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 112, i32 %70)
%103 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 113, i32 %69)
%104 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 114, i32 %68)
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 115, i32 %67)
%106 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 116, i32 %66)
%107 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 117, i32 %65)
%108 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 118, i32 %64)
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 119, i32 %63)
%110 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 120, i32 %62)
%111 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 121, i32 %61)
%112 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 122, i32 %60)
%113 = tail call i32 @putchar(i32 10)
ret i32 %86
114: ; preds = %1, %127
%115 = phi i64 [ %128, %127 ], [ 0, %1 ]
%116 = phi i8 [ %130, %127 ], [ %4, %1 ]
%117 = phi i32 [ %119, %127 ], [ 0, %1 ]
%118 = tail call i32 @tolower(i8 signext %116)
%119 = add nuw nsw i32 %117, 1
%120 = add i32 %118, -97
%121 = icmp ult i32 %120, 26
br i1 %121, label %122, label %127
122: ; preds = %114
%123 = zext i32 %120 to i64
%124 = getelementptr inbounds [26 x i32], [26 x i32]* %2, i64 0, i64 %123
%125 = load i32, i32* %124
%126 = add nsw i32 %125, 1
store i32 %126, i32* %124
br label %127
127: ; preds = %122, %114
%128 = add nuw i64 %115, 1
%129 = getelementptr inbounds i8, i8* %0, i64 %128
%130 = load i8, i8* %129
%131 = icmp eq i8 %130, 0
br i1 %131, label %6, label %114
}