#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 EXIT_FAILURE;
int EXIT_SUCCESS;
int atoi(char *);
int /*<<< orphan*/ fprintf(int /*<<< orphan*/, char *, ...);
int /*<<< orphan*/ stderr;
int /*<<< orphan*/ stdout;
int main(int argc, char **argv) {
  if (argc != 2) {
    fprintf(stderr, "%s n\n", argv[0]);
    return EXIT_FAILURE;
  }
  int spokes = atoi(argv[1]);
  if (spokes < 3) {
    fprintf(stderr, "Number of spokes should at least be 3.\n");
    return EXIT_FAILURE;
  }
  fprintf(stdout, ">>planar_code<<");
  fprintf(stdout, "%c", (unsigned char)(spokes + 1));
  int i;
  for (i = 0; i < spokes; i++) {
    fprintf(stdout, "%c", (unsigned char)(i + 2));
  }
  fprintf(stdout, "%c", (unsigned char)0);
  fprintf(stdout, "%c", (unsigned char)1);
  fprintf(stdout, "%c", (unsigned char)(spokes + 1));
  fprintf(stdout, "%c", (unsigned char)3);
  fprintf(stdout, "%c", (unsigned char)0);
  for (i = 3; i < spokes + 1; i++) {
    fprintf(stdout, "%c", (unsigned char)1);
    fprintf(stdout, "%c", (unsigned char)(i - 1));
    fprintf(stdout, "%c", (unsigned char)(i + 1));
    fprintf(stdout, "%c", (unsigned char)0);
  }
  fprintf(stdout, "%c", (unsigned char)1);
  fprintf(stdout, "%c", (unsigned char)spokes);
  fprintf(stdout, "%c", (unsigned char)2);
  fprintf(stdout, "%c", (unsigned char)0);
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
cmpl   $0x2,-0x8(%rbp)
je     116f <main+0x4f>
mov    0x2e99(%rip),%rax
mov    (%rax),%edi
mov    -0x10(%rbp),%rax
mov    (%rax),%rdx
lea    0xea9(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e73(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13c8 <main+0x2a8>
mov    -0x10(%rbp),%rax
mov    0x8(%rax),%rdi
call   1040 <atoi@plt>
mov    %eax,-0x14(%rbp)
cmpl   $0x3,-0x14(%rbp)
jge    11b1 <main+0x91>
mov    0x2e50(%rip),%rax
mov    (%rax),%edi
lea    0xe6d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e31(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    13c8 <main+0x2a8>
mov    0x2e18(%rip),%rax
mov    (%rax),%edi
lea    0xe6d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2e01(%rip),%rax
mov    (%rax),%edi
mov    -0x14(%rbp),%eax
add    $0x1,%eax
movzbl %al,%edx
lea    0xe5d(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x0,-0x18(%rbp)
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1229 <main+0x109>
mov    0x2dce(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%eax
add    $0x2,%eax
movzbl %al,%edx
lea    0xe2a(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11ef <main+0xcf>
mov    0x2da0(%rip),%rax
mov    (%rax),%edi
lea    0xe05(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d87(%rip),%rax
mov    (%rax),%edi
lea    0xdec(%rip),%rsi
mov    $0x1,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d6b(%rip),%rax
mov    (%rax),%edi
mov    -0x14(%rbp),%eax
add    $0x1,%eax
movzbl %al,%edx
lea    0xdc7(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d4b(%rip),%rax
mov    (%rax),%edi
lea    0xdb0(%rip),%rsi
mov    $0x3,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2d2f(%rip),%rax
mov    (%rax),%edi
lea    0xd94(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
movl   $0x3,-0x18(%rbp)
mov    -0x18(%rbp),%eax
mov    -0x14(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    134e <main+0x22e>
mov    0x2cfe(%rip),%rax
mov    (%rax),%edi
lea    0xd63(%rip),%rsi
mov    $0x1,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ce2(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%eax
sub    $0x1,%eax
movzbl %al,%edx
lea    0xd3e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2cc2(%rip),%rax
mov    (%rax),%edi
mov    -0x18(%rbp),%eax
add    $0x1,%eax
movzbl %al,%edx
lea    0xd1e(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2ca2(%rip),%rax
mov    (%rax),%edi
lea    0xd07(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    12ba <main+0x19a>
mov    0x2c7b(%rip),%rax
mov    (%rax),%edi
lea    0xce0(%rip),%rsi
mov    $0x1,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c5f(%rip),%rax
mov    (%rax),%edi
mov    -0x14(%rbp),%eax
movzbl %al,%edx
lea    0xcbe(%rip),%rsi
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c42(%rip),%rax
mov    (%rax),%edi
lea    0xca7(%rip),%rsi
mov    $0x2,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c26(%rip),%rax
mov    (%rax),%edi
lea    0xc8b(%rip),%rsi
xor    %edx,%edx
mov    $0x0,%al
call   1030 <fprintf@plt>
mov    0x2c05(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
cmp    $0x2,%edi
jne    1161 <main+0x41>
mov    0x8(%rsi),%rdi
call   1040 <atoi@plt>
cmp    $0x2,%eax
jg     1187 <main+0x67>
mov    0x2e9b(%rip),%rax
mov    (%rax),%edi
lea    0xeb8(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    0x2e7c(%rip),%rax
jmp    1315 <main+0x1f5>
mov    0x2e78(%rip),%rax
mov    (%rax),%edi
mov    (%rsi),%rdx
lea    0xe8c(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    0x2e56(%rip),%rax
jmp    1315 <main+0x1f5>
mov    %eax,%r14d
mov    0x2e3f(%rip),%r12
mov    (%r12),%edi
lea    0xe92(%rip),%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    0x1(%r14),%eax
movzbl %al,%r15d
lea    0xe88(%rip),%rbx
mov    %rbx,%rsi
mov    %r15d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    %r14d,%r13d
neg    %r13d
mov    $0x2,%ebp
xchg   %ax,%ax
mov    (%r12),%edi
movzbl %bpl,%edx
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1(%r13,%rbp,1),%eax
mov    %ebp,%ecx
add    $0x1,%ecx
mov    %ecx,%ebp
cmp    $0x2,%eax
jne    11d0 <main+0xb0>
mov    (%r12),%edi
lea    0xe40(%rip),%rbx
mov    %rbx,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
mov    %r15d,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    $0x102,%ebp
cs nopw 0x0(%rax,%rax,1)
mov    (%r12),%edi
mov    %rbx,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
movzbl %bpl,%edx
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
lea    -0xfe(%rbp),%eax
movzbl %al,%edx
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
lea    0x1(%r13,%rbp,1),%eax
mov    %ebp,%ecx
add    $0x1,%ecx
mov    %ecx,%ebp
cmp    $0x100,%eax
jne    1260 <main+0x140>
mov    (%r12),%edi
lea    0xd74(%rip),%rbx
mov    %rbx,%rsi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
movzbl %r14b,%edx
mov    %rbx,%rsi
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    (%r12),%edi
mov    %rbx,%rsi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <fprintf@plt>
mov    0x2cb3(%rip),%rax
mov    (%rax),%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@stderr = global i32 0
@.str = [6 x i8] c"%s n\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [40 x i8] c"Number of spokes should at least be 3.\0A\00"
@stdout = global i32 0
@.str.2 = [16 x i8] c">>planar_code<<\00"
@.str.3 = [3 x i8] c"%c\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%8 = load i32, i32* %4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = load i8**, i8*** %5
%13 = getelementptr inbounds i8*, i8** %12, i64 0
%14 = load i8*, i8** %13
%15 = call i32 (i32, i8*, ...) @fprintf(i32 %11, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %14)
%16 = load i32, i32* @EXIT_FAILURE
store i32 %16, i32* %3
br label %104
17: ; preds = %2
%18 = load i8**, i8*** %5
%19 = getelementptr inbounds i8*, i8** %18, i64 1
%20 = load i8*, i8** %19
%21 = call i32 @atoi(i8* %20)
store i32 %21, i32* %6
%22 = load i32, i32* %6
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %28
24: ; preds = %17
%25 = load i32, i32* @stderr
%26 = call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
%27 = load i32, i32* @EXIT_FAILURE
store i32 %27, i32* %3
br label %104
28: ; preds = %17
%29 = load i32, i32* @stdout
%30 = call i32 (i32, i8*, ...) @fprintf(i32 %29, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%31 = load i32, i32* @stdout
%32 = load i32, i32* %6
%33 = add nsw i32 %32, 1
%34 = trunc i32 %33 to i8
%35 = zext i8 %34 to i32
%36 = call i32 (i32, i8*, ...) @fprintf(i32 %31, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %35)
store i32 0, i32* %7
br label %37
37: ; preds = %48, %28
%38 = load i32, i32* %7
%39 = load i32, i32* %6
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %51
41: ; preds = %37
%42 = load i32, i32* @stdout
%43 = load i32, i32* %7
%44 = add nsw i32 %43, 2
%45 = trunc i32 %44 to i8
%46 = zext i8 %45 to i32
%47 = call i32 (i32, i8*, ...) @fprintf(i32 %42, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %46)
br label %48
48: ; preds = %41
%49 = load i32, i32* %7
%50 = add nsw i32 %49, 1
store i32 %50, i32* %7
br label %37
51: ; preds = %37
%52 = load i32, i32* @stdout
%53 = call i32 (i32, i8*, ...) @fprintf(i32 %52, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
%54 = load i32, i32* @stdout
%55 = call i32 (i32, i8*, ...) @fprintf(i32 %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%56 = load i32, i32* @stdout
%57 = load i32, i32* %6
%58 = add nsw i32 %57, 1
%59 = trunc i32 %58 to i8
%60 = zext i8 %59 to i32
%61 = call i32 (i32, i8*, ...) @fprintf(i32 %56, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %60)
%62 = load i32, i32* @stdout
%63 = call i32 (i32, i8*, ...) @fprintf(i32 %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 3)
%64 = load i32, i32* @stdout
%65 = call i32 (i32, i8*, ...) @fprintf(i32 %64, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
store i32 3, i32* %7
br label %66
66: ; preds = %88, %51
%67 = load i32, i32* %7
%68 = load i32, i32* %6
%69 = add nsw i32 %68, 1
%70 = icmp slt i32 %67, %69
br i1 %70, label %71, label %91
71: ; preds = %66
%72 = load i32, i32* @stdout
%73 = call i32 (i32, i8*, ...) @fprintf(i32 %72, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%74 = load i32, i32* @stdout
%75 = load i32, i32* %7
%76 = sub nsw i32 %75, 1
%77 = trunc i32 %76 to i8
%78 = zext i8 %77 to i32
%79 = call i32 (i32, i8*, ...) @fprintf(i32 %74, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %78)
%80 = load i32, i32* @stdout
%81 = load i32, i32* %7
%82 = add nsw i32 %81, 1
%83 = trunc i32 %82 to i8
%84 = zext i8 %83 to i32
%85 = call i32 (i32, i8*, ...) @fprintf(i32 %80, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %84)
%86 = load i32, i32* @stdout
%87 = call i32 (i32, i8*, ...) @fprintf(i32 %86, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
br label %88
88: ; preds = %71
%89 = load i32, i32* %7
%90 = add nsw i32 %89, 1
store i32 %90, i32* %7
br label %66
91: ; preds = %66
%92 = load i32, i32* @stdout
%93 = call i32 (i32, i8*, ...) @fprintf(i32 %92, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%94 = load i32, i32* @stdout
%95 = load i32, i32* %6
%96 = trunc i32 %95 to i8
%97 = zext i8 %96 to i32
%98 = call i32 (i32, i8*, ...) @fprintf(i32 %94, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %97)
%99 = load i32, i32* @stdout
%100 = call i32 (i32, i8*, ...) @fprintf(i32 %99, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%101 = load i32, i32* @stdout
%102 = call i32 (i32, i8*, ...) @fprintf(i32 %101, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
%103 = load i32, i32* @EXIT_SUCCESS
store i32 %103, i32* %3
br label %104
104: ; preds = %91, %24, %10
%105 = load i32, i32* %3
ret i32 %105
}

LLVM IR (-O2):
@stderr = global i32 0
@.str = [6 x i8] c"%s n\0A\00"
@EXIT_FAILURE = global i32 0
@.str.1 = [40 x i8] c"Number of spokes should at least be 3.\0A\00"
@stdout = global i32 0
@.str.2 = [16 x i8] c">>planar_code<<\00"
@.str.3 = [3 x i8] c"%c\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture %1) {
%3 = icmp eq i32 %0, 2
br i1 %3, label %8, label %4
4: ; preds = %2
%5 = load i32, i32* @stderr
%6 = load i8*, i8** %1
%7 = tail call i32 (i32, i8*, ...) @fprintf(i32 %5, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i8* %6)
br label %67
8: ; preds = %2
%9 = getelementptr inbounds i8*, i8** %1, i64 1
%10 = load i8*, i8** %9
%11 = tail call i32 @atoi(i8* %10)
%12 = icmp slt i32 %11, 3
br i1 %12, label %13, label %16
13: ; preds = %8
%14 = load i32, i32* @stderr
%15 = tail call i32 (i32, i8*, ...) @fprintf(i32 %14, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.1, i64 0, i64 0))
br label %67
16: ; preds = %8
%17 = load i32, i32* @stdout
%18 = tail call i32 (i32, i8*, ...) @fprintf(i32 %17, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0))
%19 = load i32, i32* @stdout
%20 = add nuw i32 %11, 1
%21 = and i32 %20, 255
%22 = tail call i32 (i32, i8*, ...) @fprintf(i32 %19, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %21)
br label %23
23: ; preds = %16, %23
%24 = phi i32 [ %29, %23 ], [ 0, %16 ]
%25 = load i32, i32* @stdout
%26 = add nuw i32 %24, 2
%27 = and i32 %26, 255
%28 = tail call i32 (i32, i8*, ...) @fprintf(i32 %25, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %27)
%29 = add nuw nsw i32 %24, 1
%30 = icmp eq i32 %29, %11
br i1 %30, label %31, label %23
31: ; preds = %23
%32 = load i32, i32* @stdout
%33 = tail call i32 (i32, i8*, ...) @fprintf(i32 %32, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
%34 = load i32, i32* @stdout
%35 = tail call i32 (i32, i8*, ...) @fprintf(i32 %34, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%36 = load i32, i32* @stdout
%37 = tail call i32 (i32, i8*, ...) @fprintf(i32 %36, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %21)
%38 = load i32, i32* @stdout
%39 = tail call i32 (i32, i8*, ...) @fprintf(i32 %38, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 3)
%40 = load i32, i32* @stdout
%41 = tail call i32 (i32, i8*, ...) @fprintf(i32 %40, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
br label %42
42: ; preds = %31, %42
%43 = phi i32 [ %51, %42 ], [ 3, %31 ]
%44 = load i32, i32* @stdout
%45 = tail call i32 (i32, i8*, ...) @fprintf(i32 %44, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%46 = load i32, i32* @stdout
%47 = add nuw i32 %43, 255
%48 = and i32 %47, 255
%49 = tail call i32 (i32, i8*, ...) @fprintf(i32 %46, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %48)
%50 = load i32, i32* @stdout
%51 = add nuw i32 %43, 1
%52 = and i32 %51, 255
%53 = tail call i32 (i32, i8*, ...) @fprintf(i32 %50, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %52)
%54 = load i32, i32* @stdout
%55 = tail call i32 (i32, i8*, ...) @fprintf(i32 %54, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
%56 = icmp eq i32 %43, %11
br i1 %56, label %57, label %42
57: ; preds = %42
%58 = load i32, i32* @stdout
%59 = tail call i32 (i32, i8*, ...) @fprintf(i32 %58, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 1)
%60 = load i32, i32* @stdout
%61 = and i32 %11, 255
%62 = tail call i32 (i32, i8*, ...) @fprintf(i32 %60, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 %61)
%63 = load i32, i32* @stdout
%64 = tail call i32 (i32, i8*, ...) @fprintf(i32 %63, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 2)
%65 = load i32, i32* @stdout
%66 = tail call i32 (i32, i8*, ...) @fprintf(i32 %65, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.3, i64 0, i64 0), i32 0)
br label %67
67: ; preds = %13, %57, %4
%68 = phi i32* [ @EXIT_FAILURE, %4 ], [ @EXIT_FAILURE, %13 ], [ @EXIT_SUCCESS, %57 ]
%69 = load i32, i32* %68
ret i32 %69
}