#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 print_tty_constraint(unsigned int option) {
  if (!(option & 64U))
    printf("Input structure constraints using the following notation:\n");
  if (option & 1U)
    printf("| : paired with another base\n");
  if (option & 2U)
    printf(". : no constraint at all\n");
  if (option & 4U)
    printf("x : base must not pair\n");
  if (option & 8U)
    printf("< : base i is paired with a base j<i\n> : base i is paired with a "
           "base j>i\n");
  if (option & 16U)
    printf("matching brackets ( ): base i pairs base j\n");
}


x86 assembly (clang, -O0):
<print_tty_constraint>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %edi,-0x4(%rbp)
mov    -0x4(%rbp),%eax
and    $0x40,%eax
cmp    $0x0,%eax
jne    1136 <print_tty_constraint+0x26>
lea    0xecf(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
and    $0x1,%eax
cmp    $0x0,%eax
je     1151 <print_tty_constraint+0x41>
lea    0xeef(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
and    $0x2,%eax
cmp    $0x0,%eax
je     116c <print_tty_constraint+0x5c>
lea    0xef2(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
and    $0x4,%eax
cmp    $0x0,%eax
je     1187 <print_tty_constraint+0x77>
lea    0xef1(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
and    $0x8,%eax
cmp    $0x0,%eax
je     11a2 <print_tty_constraint+0x92>
lea    0xeee(%rip),%rdi
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
and    $0x10,%eax
cmp    $0x0,%eax
je     11bd <print_tty_constraint+0xad>
lea    0xf1e(%rip),%rdi
call   1030 <printf@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<print_tty_constraint>:
push   %rbx
mov    %edi,%ebx
test   $0x40,%bl
je     1133 <print_tty_constraint+0x23>
test   $0x1,%bl
jne    1144 <print_tty_constraint+0x34>
test   $0x2,%bl
jne    1155 <print_tty_constraint+0x45>
test   $0x4,%bl
jne    1166 <print_tty_constraint+0x56>
test   $0x8,%bl
jne    1177 <print_tty_constraint+0x67>
test   $0x10,%bl
jne    1188 <print_tty_constraint+0x78>
pop    %rbx
ret
lea    0xec6(%rip),%rdi
call   1030 <puts@plt>
test   $0x1,%bl
je     111d <print_tty_constraint+0xd>
lea    0xf94(%rip),%rdi
call   1030 <puts@plt>
test   $0x2,%bl
je     1122 <print_tty_constraint+0x12>
lea    0xf6a(%rip),%rdi
call   1030 <puts@plt>
test   $0x4,%bl
je     1127 <print_tty_constraint+0x17>
lea    0xf42(%rip),%rdi
call   1030 <puts@plt>
test   $0x8,%bl
je     112c <print_tty_constraint+0x1c>
lea    0xee7(%rip),%rdi
call   1030 <puts@plt>
test   $0x10,%bl
je     1131 <print_tty_constraint+0x21>
lea    0xeab(%rip),%rdi
pop    %rbx
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [59 x i8] c"Input structure constraints using the following notation:\0A\00"
@.str.1 = [30 x i8] c"| : paired with another base\0A\00"
@.str.2 = [26 x i8] c". : no constraint at all\0A\00"
@.str.3 = [24 x i8] c"x : base must not pair\0A\00"
@.str.4 = [75 x i8] c"< : base i is paired with a base j<i\0A> : base i is paired with a base j>i\0A\00"
@.str.5 = [44 x i8] c"matching brackets ( ): base i pairs base j\0A\00"
define void @print_tty_constraint(i32 %0) {
%2 = alloca i32
store i32 %0, i32* %2
%3 = load i32, i32* %2
%4 = and i32 %3, 64
%5 = icmp ne i32 %4, 0
br i1 %5, label %8, label %6
6: ; preds = %1
%7 = call i32 @printf(i8* getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0))
br label %8
8: ; preds = %6, %1
%9 = load i32, i32* %2
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @.str.1, i64 0, i64 0))
br label %14
14: ; preds = %12, %8
%15 = load i32, i32* %2
%16 = and i32 %15, 2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.2, i64 0, i64 0))
br label %20
20: ; preds = %18, %14
%21 = load i32, i32* %2
%22 = and i32 %21, 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.3, i64 0, i64 0))
br label %26
26: ; preds = %24, %20
%27 = load i32, i32* %2
%28 = and i32 %27, 8
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.4, i64 0, i64 0))
br label %32
32: ; preds = %30, %26
%33 = load i32, i32* %2
%34 = and i32 %33, 16
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.5, i64 0, i64 0))
br label %38
38: ; preds = %36, %32
ret void
}

LLVM IR (-O2):
@str = [58 x i8] c"Input structure constraints using the following notation:\00"
@str.6 = [43 x i8] c"matching brackets ( ): base i pairs base j\00"
@str.7 = [74 x i8] c"< : base i is paired with a base j<i\0A> : base i is paired with a base j>i\00"
@str.8 = [23 x i8] c"x : base must not pair\00"
@str.9 = [25 x i8] c". : no constraint at all\00"
@str.10 = [29 x i8] c"| : paired with another base\00"
define void @print_tty_constraint(i32 %0) {
%2 = and i32 %0, 64
%3 = icmp eq i32 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %1
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([58 x i8], [58 x i8]* @str, i64 0, i64 0))
br label %6
6: ; preds = %4, %1
%7 = and i32 %0, 1
%8 = icmp eq i32 %7, 0
br i1 %8, label %11, label %9
9: ; preds = %6
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([29 x i8], [29 x i8]* @str.10, i64 0, i64 0))
br label %11
11: ; preds = %9, %6
%12 = and i32 %0, 2
%13 = icmp eq i32 %12, 0
br i1 %13, label %16, label %14
14: ; preds = %11
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @str.9, i64 0, i64 0))
br label %16
16: ; preds = %14, %11
%17 = and i32 %0, 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %21, label %19
19: ; preds = %16
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @str.8, i64 0, i64 0))
br label %21
21: ; preds = %19, %16
%22 = and i32 %0, 8
%23 = icmp eq i32 %22, 0
br i1 %23, label %26, label %24
24: ; preds = %21
%25 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.7, i64 0, i64 0))
br label %26
26: ; preds = %24, %21
%27 = and i32 %0, 16
%28 = icmp eq i32 %27, 0
br i1 %28, label %31, label %29
29: ; preds = %26
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str.6, i64 0, i64 0))
br label %31
31: ; preds = %29, %26
ret void
}