#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 */
typedef int int16_t;

/* Variables and functions */
int /*<<< orphan*/ VT_Print(char *);
int /*<<< orphan*/ VT_SendChar(int);
void Show_Characters(void) {
  VT_Print("All Available Characters\r\n");
  int16_t i;
  for (i = 32; i < 256; i++) {
    if ((i & 0x0F) == 0) {
      VT_Print("\r\n");
    }
    VT_SendChar(i);
  }
  VT_Print("\r\n");
}


x86 assembly (clang, -O0):
<Show_Characters>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
lea    0xed1(%rip),%rdi
call   1030 <VT_Print@plt>
movl   $0x20,-0x4(%rbp)
cmpl   $0x100,-0x4(%rbp)
jge    1179 <Show_Characters+0x59>
mov    -0x4(%rbp),%eax
and    $0xf,%eax
cmp    $0x0,%eax
jne    1163 <Show_Characters+0x43>
lea    0xeba(%rip),%rdi
call   1030 <VT_Print@plt>
mov    -0x4(%rbp),%edi
call   1040 <VT_SendChar@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    113b <Show_Characters+0x1b>
lea    0xe98(%rip),%rdi
call   1030 <VT_Print@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Show_Characters>:
push   %r14
push   %rbx
push   %rax
lea    0xed5(%rip),%rdi
call   1030 <VT_Print@plt>
mov    $0x20,%ebx
lea    0xedc(%rip),%r14
jmp    1152 <Show_Characters+0x32>
xchg   %ax,%ax
mov    %ebx,%edi
call   1040 <VT_SendChar@plt>
add    $0x1,%ebx
cmp    $0x100,%ebx
je     1161 <Show_Characters+0x41>
test   $0xf,%bl
jne    1140 <Show_Characters+0x20>
mov    %r14,%rdi
call   1030 <VT_Print@plt>
jmp    1140 <Show_Characters+0x20>
lea    0xeb0(%rip),%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <VT_Print@plt>

LLVM IR (-O0):
@.str = [27 x i8] c"All Available Characters\0D\0A\00"
@.str.1 = [3 x i8] c"\0D\0A\00"
define void @Show_Characters() {
%1 = alloca i32
%2 = call i32 @VT_Print(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
store i32 32, i32* %1
br label %3
3: ; preds = %15, %0
%4 = load i32, i32* %1
%5 = icmp slt i32 %4, 256
br i1 %5, label %6, label %18
6: ; preds = %3
%7 = load i32, i32* %1
%8 = and i32 %7, 15
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = call i32 @VT_Print(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %12
12: ; preds = %10, %6
%13 = load i32, i32* %1
%14 = call i32 @VT_SendChar(i32 %13)
br label %15
15: ; preds = %12
%16 = load i32, i32* %1
%17 = add nsw i32 %16, 1
store i32 %17, i32* %1
br label %3
18: ; preds = %3
%19 = call i32 @VT_Print(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [27 x i8] c"All Available Characters\0D\0A\00"
@.str.1 = [3 x i8] c"\0D\0A\00"
define void @Show_Characters() {
%1 = tail call i32 @VT_Print(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str, i64 0, i64 0))
br label %2
2: ; preds = %0, %8
%3 = phi i32 [ 32, %0 ], [ %10, %8 ]
%4 = and i32 %3, 15
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %2
%7 = tail call i32 @VT_Print(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
br label %8
8: ; preds = %6, %2
%9 = tail call i32 @VT_SendChar(i32 %3)
%10 = add nuw nsw i32 %3, 1
%11 = icmp eq i32 %10, 256
br i1 %11, label %12, label %2
12: ; preds = %8
%13 = tail call i32 @VT_Print(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0))
ret void
}