#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 *, ...);
void decode_table(const char *name) {
  printf("/*\n");
  printf(" * Table has a 0 if that character cannot be a hex digit;\n");
  printf(" * otherwise it has the decimal value for that hex digit.\n");
  printf(" */\n");
  printf("static char %s[%d] =\n", name, (1 << 4) * (1 << 4));
  printf("/*");
  for (unsigned char r = 0; r < (1 << 4); ++r) {
    printf("%5x", r);
  }
  printf(" */\n{\n");
  for (unsigned char r = 0; r < (1 << 4); ++r) {
    unsigned char m = r << 4;
    printf("   ");
    for (unsigned char c = 0; c < (1 << 4); ++c) {
      unsigned char x = m | c;
      int hex = 0;
      int dig = 0;
      if (x >= '0' && x <= '9') {
        hex = 1;
        dig = x - '0';
      } else if (x >= 'a' && x <= 'f') {
        hex = 1;
        dig = x - 'a' + 10;
      } else if (x >= 'A' && x <= 'F') {
        hex = 1;
        dig = x - 'A' + 10;
      }
      printf(" %3d,", hex ? dig : 0);
    }
    printf("  /* %1x: %3d ~ %3d */\n", r, m, m + (1 << 4) - 1);
  }
  printf("};\n\n");
}


x86 assembly (clang, -O0):
<decode_table>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
lea    0xedd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf00(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%rsi
lea    0xf1b(%rip),%rdi
mov    $0x100,%edx
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movb   $0x0,-0x9(%rbp)
movzbl -0x9(%rbp),%eax
cmp    $0x10,%eax
jge    11a9 <decode_table+0x99>
movzbl -0x9(%rbp),%esi
lea    0xefe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x9(%rbp),%al
add    $0x1,%al
mov    %al,-0x9(%rbp)
jmp    117d <decode_table+0x6d>
lea    0xee7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movb   $0x0,-0xa(%rbp)
movzbl -0xa(%rbp),%eax
cmp    $0x10,%eax
jge    1311 <decode_table+0x201>
movzbl -0xa(%rbp),%eax
shl    $0x4,%eax
mov    %al,-0xb(%rbp)
lea    0xec5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movb   $0x0,-0xc(%rbp)
movzbl -0xc(%rbp),%eax
cmp    $0x10,%eax
jge    12e4 <decode_table+0x1d4>
movzbl -0xb(%rbp),%eax
movzbl -0xc(%rbp),%ecx
or     %ecx,%eax
mov    %al,-0xd(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movzbl -0xd(%rbp),%eax
cmp    $0x30,%eax
jl     123c <decode_table+0x12c>
movzbl -0xd(%rbp),%eax
cmp    $0x39,%eax
jg     123c <decode_table+0x12c>
movl   $0x1,-0x14(%rbp)
movzbl -0xd(%rbp),%eax
sub    $0x30,%eax
mov    %eax,-0x18(%rbp)
jmp    12a7 <decode_table+0x197>
movzbl -0xd(%rbp),%eax
cmp    $0x61,%eax
jl     126f <decode_table+0x15f>
movzbl -0xd(%rbp),%eax
cmp    $0x66,%eax
jg     126f <decode_table+0x15f>
movl   $0x1,-0x14(%rbp)
movzbl -0xd(%rbp),%eax
sub    $0x61,%eax
add    $0xa,%eax
mov    %eax,-0x18(%rbp)
jmp    12a2 <decode_table+0x192>
movzbl -0xd(%rbp),%eax
cmp    $0x41,%eax
jl     129d <decode_table+0x18d>
movzbl -0xd(%rbp),%eax
cmp    $0x46,%eax
jg     129d <decode_table+0x18d>
movl   $0x1,-0x14(%rbp)
movzbl -0xd(%rbp),%eax
sub    $0x41,%eax
add    $0xa,%eax
mov    %eax,-0x18(%rbp)
jmp    12a2 <decode_table+0x192>
jmp    12a7 <decode_table+0x197>
cmpl   $0x0,-0x14(%rbp)
je     12bc <decode_table+0x1ac>
mov    -0x18(%rbp),%eax
mov    %eax,-0x1c(%rbp)
jmp    12c6 <decode_table+0x1b6>
xor    %eax,%eax
mov    %eax,-0x1c(%rbp)
jmp    12c6 <decode_table+0x1b6>
mov    -0x1c(%rbp),%esi
lea    0xdd2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%al
add    $0x1,%al
mov    %al,-0xc(%rbp)
jmp    11e4 <decode_table+0xd4>
movzbl -0xa(%rbp),%esi
movzbl -0xb(%rbp),%edx
movzbl -0xb(%rbp),%ecx
add    $0x10,%ecx
sub    $0x1,%ecx
lea    0xdab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xa(%rbp),%al
add    $0x1,%al
mov    %al,-0xa(%rbp)
jmp    11bb <decode_table+0xab>
lea    0xda8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<decode_table>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdi,%rbp
lea    0xf07(%rip),%rbx
mov    %rbx,%rdi
call   1030 <puts@plt>
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf29(%rip),%rdi
call   1030 <puts@plt>
lea    0xf57(%rip),%rdi
call   1030 <puts@plt>
lea    0xe98(%rip),%rdi
xor    %r13d,%r13d
mov    %rbp,%rsi
mov    $0x100,%edx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe8b(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    $0xf,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe38(%rip),%rdi
call   1030 <puts@plt>
lea    0xd93(%rip),%rbx
lea    0xd92(%rip),%r15
xor    %r12d,%r12d
jmp    12be <decode_table+0x19e>
nopw   0x0(%rax,%rax,1)
mov    %ebp,%ecx
or     $0xf,%ecx
mov    %r15,%rdi
mov    %r12d,%esi
mov    %ebp,%edx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r12d
cmp    $0x10,%r12d
je     132d <decode_table+0x20d>
mov    %r12d,%ebp
shl    $0x4,%ebp
xor    %r14d,%r14d
lea    0xd4c(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
jmp    12f7 <decode_table+0x1d7>
nopw   0x0(%rax,%rax,1)
add    $0xffffffd0,%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r14b
cmp    $0x10,%r14b
je     12a0 <decode_table+0x180>
mov    %r14d,%eax
or     %bpl,%al
movzbl %al,%esi
lea    -0x30(%rsi),%ecx
cmp    $0x9,%cl
jbe    12e0 <decode_table+0x1c0>
lea    -0x61(%rax),%ecx
cmp    $0x5,%cl
ja     1320 <decode_table+0x200>
add    $0xffffffa9,%esi
jmp    12e3 <decode_table+0x1c3>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0xbf,%al
add    $0xffffffc9,%esi
cmp    $0x6,%al
cmovae %r13d,%esi
jmp    12e3 <decode_table+0x1c3>
lea    0xd89(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [4 x i8] c"/*\0A\00"
@.str.1 = [59 x i8] c" * Table has a 0 if that character cannot be a hex digit;\0A\00"
@.str.2 = [59 x i8] c" * otherwise it has the decimal value for that hex digit.\0A\00"
@.str.3 = [5 x i8] c" */\0A\00"
@.str.4 = [22 x i8] c"static char %s[%d] =\0A\00"
@.str.5 = [3 x i8] c"/*\00"
@.str.6 = [4 x i8] c"%5x\00"
@.str.7 = [7 x i8] c" */\0A{\0A\00"
@.str.8 = [4 x i8] c" \00"
@.str.9 = [6 x i8] c" %3d,\00"
@.str.10 = [24 x i8] c" /* %1x: %3d ~ %3d */\0A\00"
@.str.11 = [5 x i8] c"};\0A\0A\00"
define void @decode_table(i8* %0) {
%2 = alloca i8*
%3 = alloca i8
%4 = alloca i8
%5 = alloca i8
%6 = alloca i8
%7 = alloca i8
%8 = alloca i32
%9 = alloca i32
store i8* %0, i8** %2
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0))
%11 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.1, i64 0, i64 0))
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str.2, i64 0, i64 0))
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.3, i64 0, i64 0))
%14 = load i8*, i8** %2
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i8* %14, i32 256)
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.5, i64 0, i64 0))
store i8 0, i8* %3
br label %17
17: ; preds = %25, %1
%18 = load i8, i8* %3
%19 = zext i8 %18 to i32
%20 = icmp slt i32 %19, 16
br i1 %20, label %21, label %28
21: ; preds = %17
%22 = load i8, i8* %3
%23 = zext i8 %22 to i32
%24 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 %23)
br label %25
25: ; preds = %21
%26 = load i8, i8* %3
%27 = add i8 %26, 1
store i8 %27, i8* %3
br label %17
28: ; preds = %17
%29 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7, i64 0, i64 0))
store i8 0, i8* %4
br label %30
30: ; preds = %112, %28
%31 = load i8, i8* %4
%32 = zext i8 %31 to i32
%33 = icmp slt i32 %32, 16
br i1 %33, label %34, label %115
34: ; preds = %30
%35 = load i8, i8* %4
%36 = zext i8 %35 to i32
%37 = shl i32 %36, 4
%38 = trunc i32 %37 to i8
store i8 %38, i8* %5
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
store i8 0, i8* %6
br label %40
40: ; preds = %99, %34
%41 = load i8, i8* %6
%42 = zext i8 %41 to i32
%43 = icmp slt i32 %42, 16
br i1 %43, label %44, label %102
44: ; preds = %40
%45 = load i8, i8* %5
%46 = zext i8 %45 to i32
%47 = load i8, i8* %6
%48 = zext i8 %47 to i32
%49 = or i32 %46, %48
%50 = trunc i32 %49 to i8
store i8 %50, i8* %7
store i32 0, i32* %8
store i32 0, i32* %9
%51 = load i8, i8* %7
%52 = zext i8 %51 to i32
%53 = icmp sge i32 %52, 48
br i1 %53, label %54, label %62
54: ; preds = %44
%55 = load i8, i8* %7
%56 = zext i8 %55 to i32
%57 = icmp sle i32 %56, 57
br i1 %57, label %58, label %62
58: ; preds = %54
store i32 1, i32* %8
%59 = load i8, i8* %7
%60 = zext i8 %59 to i32
%61 = sub nsw i32 %60, 48
store i32 %61, i32* %9
br label %90
62: ; preds = %54, %44
%63 = load i8, i8* %7
%64 = zext i8 %63 to i32
%65 = icmp sge i32 %64, 97
br i1 %65, label %66, label %75
66: ; preds = %62
%67 = load i8, i8* %7
%68 = zext i8 %67 to i32
%69 = icmp sle i32 %68, 102
br i1 %69, label %70, label %75
70: ; preds = %66
store i32 1, i32* %8
%71 = load i8, i8* %7
%72 = zext i8 %71 to i32
%73 = sub nsw i32 %72, 97
%74 = add nsw i32 %73, 10
store i32 %74, i32* %9
br label %89
75: ; preds = %66, %62
%76 = load i8, i8* %7
%77 = zext i8 %76 to i32
%78 = icmp sge i32 %77, 65
br i1 %78, label %79, label %88
79: ; preds = %75
%80 = load i8, i8* %7
%81 = zext i8 %80 to i32
%82 = icmp sle i32 %81, 70
br i1 %82, label %83, label %88
83: ; preds = %79
store i32 1, i32* %8
%84 = load i8, i8* %7
%85 = zext i8 %84 to i32
%86 = sub nsw i32 %85, 65
%87 = add nsw i32 %86, 10
store i32 %87, i32* %9
br label %88
88: ; preds = %83, %79, %75
br label %89
89: ; preds = %88, %70
br label %90
90: ; preds = %89, %58
%91 = load i32, i32* %8
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %95
93: ; preds = %90
%94 = load i32, i32* %9
br label %96
95: ; preds = %90
br label %96
96: ; preds = %95, %93
%97 = phi i32 [ %94, %93 ], [ 0, %95 ]
%98 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i32 %97)
br label %99
99: ; preds = %96
%100 = load i8, i8* %6
%101 = add i8 %100, 1
store i8 %101, i8* %6
br label %40
102: ; preds = %40
%103 = load i8, i8* %4
%104 = zext i8 %103 to i32
%105 = load i8, i8* %5
%106 = zext i8 %105 to i32
%107 = load i8, i8* %5
%108 = zext i8 %107 to i32
%109 = add nsw i32 %108, 16
%110 = sub nsw i32 %109, 1
%111 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i32 %104, i32 %106, i32 %110)
br label %112
112: ; preds = %102
%113 = load i8, i8* %4
%114 = add i8 %113, 1
store i8 %114, i8* %4
br label %30
115: ; preds = %30
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str.4 = [22 x i8] c"static char %s[%d] =\0A\00"
@.str.6 = [4 x i8] c"%5x\00"
@.str.8 = [4 x i8] c" \00"
@.str.9 = [6 x i8] c" %3d,\00"
@.str.10 = [24 x i8] c" /* %1x: %3d ~ %3d */\0A\00"
@str = [3 x i8] c"/*\00"
@str.12 = [58 x i8] c" * Table has a 0 if that character cannot be a hex digit;\00"
@str.13 = [58 x i8] c" * otherwise it has the decimal value for that hex digit.\00"
@str.14 = [4 x i8] c" */\00"
@str.15 = [6 x i8] c" */\0A{\00"
@str.16 = [4 x i8] c"};\0A\00"
define void @decode_table(i8* %0) {
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.12, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str.13, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.14, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.4, i64 0, i64 0), i8* %0, i32 256)
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 0)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 1)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 2)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 3)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 4)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 5)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 6)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 7)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 8)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 9)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 10)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 11)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 12)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 13)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 14)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.6, i64 0, i64 0), i32 15)
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.15, i64 0, i64 0))
br label %27
25: ; preds = %32
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @str.16, i64 0, i64 0))
ret void
27: ; preds = %1, %32
%28 = phi i32 [ 0, %1 ], [ %35, %32 ]
%29 = shl nuw i32 %28, 4
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.8, i64 0, i64 0))
%31 = trunc i32 %29 to i8
br label %37
32: ; preds = %55
%33 = or i32 %29, 15
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.10, i64 0, i64 0), i32 %28, i32 %29, i32 %33)
%35 = add nuw nsw i32 %28, 1
%36 = icmp eq i32 %35, 16
br i1 %36, label %25, label %27
37: ; preds = %27, %55
%38 = phi i8 [ 0, %27 ], [ %58, %55 ]
%39 = or i8 %38, %31
%40 = zext i8 %39 to i32
%41 = add i8 %39, -48
%42 = icmp ult i8 %41, 10
br i1 %42, label %43, label %45
43: ; preds = %37
%44 = add nsw i32 %40, -48
br label %55
45: ; preds = %37
%46 = add i8 %39, -97
%47 = icmp ult i8 %46, 6
br i1 %47, label %48, label %50
48: ; preds = %45
%49 = add nsw i32 %40, -87
br label %55
50: ; preds = %45
%51 = add i8 %39, -65
%52 = icmp ult i8 %51, 6
%53 = add nsw i32 %40, -55
%54 = select i1 %52, i32 %53, i32 0
br label %55
55: ; preds = %50, %48, %43
%56 = phi i32 [ %49, %48 ], [ %44, %43 ], [ %54, %50 ]
%57 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.9, i64 0, i64 0), i32 %56)
%58 = add nuw nsw i8 %38, 1
%59 = icmp eq i8 %58, 16
br i1 %59, label %32, label %37
}