#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 *, char, char, char);
void main() {
  char i, j, k;
  for (i = 'x'; i <= 'z'; i++)
    for (j = 'x'; j <= 'z'; j++)
      for (k = 'x'; k <= 'z'; k++) {
        if (i != j && i != k && j != k && i != 'x' && k != 'z' && k != 'z')
          printf("a---%c\tb---%c\tc---%c\n", i, j, k);
      }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movb   $0x78,-0x1(%rbp)
movsbl -0x1(%rbp),%eax
cmp    $0x7a,%eax
jg     11f4 <main+0xe4>
movb   $0x78,-0x2(%rbp)
movsbl -0x2(%rbp),%eax
cmp    $0x7a,%eax
jg     11e2 <main+0xd2>
movb   $0x78,-0x3(%rbp)
movsbl -0x3(%rbp),%eax
cmp    $0x7a,%eax
jg     11d0 <main+0xc0>
movsbl -0x1(%rbp),%eax
movsbl -0x2(%rbp),%ecx
cmp    %ecx,%eax
je     11be <main+0xae>
movsbl -0x1(%rbp),%eax
movsbl -0x3(%rbp),%ecx
cmp    %ecx,%eax
je     11be <main+0xae>
movsbl -0x2(%rbp),%eax
movsbl -0x3(%rbp),%ecx
cmp    %ecx,%eax
je     11be <main+0xae>
movsbl -0x1(%rbp),%eax
cmp    $0x78,%eax
je     11be <main+0xae>
movsbl -0x3(%rbp),%eax
cmp    $0x7a,%eax
je     11be <main+0xae>
movsbl -0x3(%rbp),%eax
cmp    $0x7a,%eax
je     11be <main+0xae>
mov    -0x1(%rbp),%cl
mov    -0x2(%rbp),%al
lea    0xe51(%rip),%rdi
movsbl %cl,%esi
movsbl %al,%edx
movsbl -0x3(%rbp),%ecx
call   1030 <printf@plt>
jmp    11c3 <main+0xb3>
mov    -0x3(%rbp),%al
add    $0x1,%al
mov    %al,-0x3(%rbp)
jmp    113e <main+0x2e>
jmp    11d5 <main+0xc5>
mov    -0x2(%rbp),%al
add    $0x1,%al
mov    %al,-0x2(%rbp)
jmp    112d <main+0x1d>
jmp    11e7 <main+0xd7>
mov    -0x1(%rbp),%al
add    $0x1,%al
mov    %al,-0x1(%rbp)
jmp    111c <main+0xc>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x7a,%edx
mov    $0x78,%ecx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x78,%edx
mov    $0x79,%ecx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x79,%edx
mov    $0x78,%ecx
pop    %rbx
jmp    1030 <printf@plt>

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

LLVM IR (-O2):
@.str = [22 x i8] c"a---%c\09b---%c\09c---%c\0A\00"
define void @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8 signext 121, i8 signext 122, i8 signext 120)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8 signext 122, i8 signext 120, i8 signext 121)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i8 signext 122, i8 signext 121, i8 signext 120)
ret void
}