#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)
          if (i != 'x' && k != 'x' && k != 'z')
            printf("order is: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     11f9 <main+0xe9>
movb   $0x78,-0x2(%rbp)
movsbl -0x2(%rbp),%eax
cmp    $0x7a,%eax
jg     11e7 <main+0xd7>
movb   $0x78,-0x3(%rbp)
movsbl -0x3(%rbp),%eax
cmp    $0x7a,%eax
jg     11d5 <main+0xc5>
movsbl -0x1(%rbp),%eax
movsbl -0x2(%rbp),%ecx
cmp    %ecx,%eax
je     11c3 <main+0xb3>
movsbl -0x1(%rbp),%eax
movsbl -0x3(%rbp),%ecx
cmp    %ecx,%eax
je     11c3 <main+0xb3>
movsbl -0x2(%rbp),%eax
movsbl -0x3(%rbp),%ecx
cmp    %ecx,%eax
je     11c3 <main+0xb3>
movsbl -0x1(%rbp),%eax
cmp    $0x78,%eax
je     11be <main+0xae>
movsbl -0x3(%rbp),%eax
cmp    $0x78,%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>
jmp    11c8 <main+0xb8>
mov    -0x3(%rbp),%al
add    $0x1,%al
mov    %al,-0x3(%rbp)
jmp    113e <main+0x2e>
jmp    11da <main+0xca>
mov    -0x2(%rbp),%al
add    $0x1,%al
mov    %al,-0x2(%rbp)
jmp    112d <main+0x1d>
jmp    11ec <main+0xdc>
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>:
lea    0xee9(%rip),%rdi
mov    $0x7a,%esi
mov    $0x78,%edx
mov    $0x79,%ecx
jmp    1030 <printf@plt>

LLVM IR (-O0):
@.str = [31 x i8] c"order is: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 = %63, %0
%5 = load i8, i8* %1
%6 = sext i8 %5 to i32
%7 = icmp sle i32 %6, 122
br i1 %7, label %8, label %66
8: ; preds = %4
store i8 120, i8* %2
br label %9
9: ; preds = %59, %8
%10 = load i8, i8* %2
%11 = sext i8 %10 to i32
%12 = icmp sle i32 %11, 122
br i1 %12, label %13, label %62
13: ; preds = %9
store i8 120, i8* %3
br label %14
14: ; preds = %55, %13
%15 = load i8, i8* %3
%16 = sext i8 %15 to i32
%17 = icmp sle i32 %16, 122
br i1 %17, label %18, label %58
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 %54
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 %54
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 %54
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, 120
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 ([31 x i8], [31 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
br label %54
54: ; preds = %53, %30, %24, %18
br label %55
55: ; preds = %54
%56 = load i8, i8* %3
%57 = add i8 %56, 1
store i8 %57, i8* %3
br label %14
58: ; preds = %14
br label %59
59: ; preds = %58
%60 = load i8, i8* %2
%61 = add i8 %60, 1
store i8 %61, i8* %2
br label %9
62: ; preds = %9
br label %63
63: ; preds = %62
%64 = load i8, i8* %1
%65 = add i8 %64, 1
store i8 %65, i8* %1
br label %4
66: ; preds = %4
ret void
}

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