#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 *, ...);
int /*<<< orphan*/ puts(char *);
int /*<<< orphan*/ strcat(char *, char *);
int /*<<< orphan*/ strcpy(char *, char *);
void fp_test(void) {
  int i, j, k, l;
  char buf[7];
  char *prefix = buf;
  char tp[20];
  puts("\nFormatted output test");
  printf("prefix  6d      6o      6x      6X      6u\n");
  strcpy(prefix, "%");
  for (i = 0; i < 2; i++) {
    for (j = 0; j < 2; j++) {
      for (k = 0; k < 2; k++) {
        for (l = 0; l < 2; l++) {
          strcpy(prefix, "%");
          if (i == 0)
            strcat(prefix, "-");
          if (j == 0)
            strcat(prefix, "+");
          if (k == 0)
            strcat(prefix, "#");
          if (l == 0)
            strcat(prefix, "0");
          printf("%5s |", prefix);
          strcpy(tp, prefix);
          strcat(tp, "6d |");
          printf(tp, -123);
          strcpy(tp, prefix);
          strcat(tp, "6o |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6x |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6X |");
          printf(tp, 255);
          strcpy(tp, prefix);
          strcat(tp, "6u |");
          printf(tp, (~0));
          printf("\n");
        }
      }
    }
  }
  printf("%10s\n", (char *)NULL);
  printf("%-10s\n", (char *)NULL);
}


x86 assembly (clang, -O0):
<fp_test>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
lea    -0x17(%rbp),%rax
mov    %rax,-0x20(%rbp)
lea    0xea9(%rip),%rdi
call   1040 <puts@plt>
lea    0xeb4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x20(%rbp),%rdi
lea    0xece(%rip),%rsi
call   1030 <strcpy@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0x2,-0x4(%rbp)
jge    137e <fp_test+0x23e>
movl   $0x0,-0x8(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    136b <fp_test+0x22b>
movl   $0x0,-0xc(%rbp)
cmpl   $0x2,-0xc(%rbp)
jge    1358 <fp_test+0x218>
movl   $0x0,-0x10(%rbp)
cmpl   $0x2,-0x10(%rbp)
jge    1345 <fp_test+0x205>
mov    -0x20(%rbp),%rdi
lea    0xe7a(%rip),%rsi
call   1030 <strcpy@plt>
cmpl   $0x0,-0x4(%rbp)
jne    11e8 <fp_test+0xa8>
mov    -0x20(%rbp),%rdi
lea    0xe62(%rip),%rsi
call   1060 <strcat@plt>
cmpl   $0x0,-0x8(%rbp)
jne    1202 <fp_test+0xc2>
mov    -0x20(%rbp),%rdi
lea    0xe4a(%rip),%rsi
call   1060 <strcat@plt>
cmpl   $0x0,-0xc(%rbp)
jne    121c <fp_test+0xdc>
mov    -0x20(%rbp),%rdi
lea    0xe32(%rip),%rsi
call   1060 <strcat@plt>
cmpl   $0x0,-0x10(%rbp)
jne    1236 <fp_test+0xf6>
mov    -0x20(%rbp),%rdi
lea    0xe1a(%rip),%rsi
call   1060 <strcat@plt>
mov    -0x20(%rbp),%rsi
lea    0xe0c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x40(%rbp),%rdi
lea    0xdf3(%rip),%rsi
call   1060 <strcat@plt>
lea    -0x40(%rbp),%rdi
mov    $0xffffff85,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x40(%rbp),%rdi
lea    0xdcb(%rip),%rsi
call   1060 <strcat@plt>
lea    -0x40(%rbp),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x40(%rbp),%rdi
lea    0xda3(%rip),%rsi
call   1060 <strcat@plt>
lea    -0x40(%rbp),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x40(%rbp),%rdi
lea    0xd7b(%rip),%rsi
call   1060 <strcat@plt>
lea    -0x40(%rbp),%rdi
mov    $0xff,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x40(%rbp),%rdi
mov    -0x20(%rbp),%rsi
call   1030 <strcpy@plt>
lea    -0x40(%rbp),%rdi
lea    0xd53(%rip),%rsi
call   1060 <strcat@plt>
lea    -0x40(%rbp),%rdi
mov    $0xffffffff,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd40(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11b4 <fp_test+0x74>
jmp    134a <fp_test+0x20a>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11a3 <fp_test+0x63>
jmp    135d <fp_test+0x21d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1192 <fp_test+0x52>
jmp    1370 <fp_test+0x230>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1181 <fp_test+0x41>
lea    0xce7(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xcdb(%rip),%rdi
xor    %eax,%eax
mov    %eax,%esi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fp_test>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
lea    0xe9b(%rip),%rdi
call   1050 <puts@plt>
lea    0xedc(%rip),%rdi
call   1050 <puts@plt>
lea    0xe9a(%rip),%rsi
lea    0x9(%rsp),%rbx
mov    %rbx,%rdi
call   1040 <strcpy@plt>
mov    $0x1,%bpl
lea    0x10(%rsp),%r12
lea    0xea2(%rip),%r13
jmp    11af <fp_test+0x5f>
nopl   0x0(%rax,%rax,1)
test   $0x1,%bpl
mov    $0x0,%ebp
je     14b2 <fp_test+0x362>
mov    $0x1,%r14b
jmp    11cc <fp_test+0x7c>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
test   $0x1,%r14b
mov    $0x0,%r14d
je     11a0 <fp_test+0x50>
mov    $0x1,%r15b
jmp    12d4 <fp_test+0x184>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
lea    0xe3a(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xe21(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xffffff85,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xdfd(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xdd9(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xdb5(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
test   $0x1,%r15b
mov    $0x0,%r15d
je     11c0 <fp_test+0x70>
mov    %rbx,%rdi
lea    0xd39(%rip),%rsi
call   1040 <strcpy@plt>
test   $0x1,%bpl
jne    1430 <fp_test+0x2e0>
test   $0x1,%r14b
jne    1449 <fp_test+0x2f9>
test   $0x1,%r15b
je     130c <fp_test+0x1bc>
mov    %rbx,%rdi
lea    0xd16(%rip),%rsi
call   1070 <strcat@plt>
mov    %rbx,%rdi
lea    0xd09(%rip),%rsi
call   1070 <strcat@plt>
lea    0xcff(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xce6(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xffffff85,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xcc2(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xc9e(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
lea    0xc7a(%rip),%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1040 <strcpy@plt>
mov    %r12,%rdi
mov    %r13,%rsi
call   1070 <strcat@plt>
mov    %r12,%rdi
mov    $0xffffffff,%esi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %rbx,%rdi
lea    0xc0e(%rip),%rsi
call   1040 <strcpy@plt>
test   $0x1,%bpl
jne    1470 <fp_test+0x320>
test   $0x1,%r14b
jne    1485 <fp_test+0x335>
test   $0x1,%r15b
je     11e0 <fp_test+0x90>
jmp    149e <fp_test+0x34e>
cs nopw 0x0(%rax,%rax,1)
mov    %rbx,%rdi
lea    0xbdf(%rip),%rsi
call   1070 <strcat@plt>
test   $0x1,%r14b
je     12f7 <fp_test+0x1a7>
mov    %rbx,%rdi
lea    0xbc8(%rip),%rsi
call   1070 <strcat@plt>
test   $0x1,%r15b
jne    12fd <fp_test+0x1ad>
jmp    130c <fp_test+0x1bc>
nopw   0x0(%rax,%rax,1)
mov    %rbx,%rdi
lea    0xb9f(%rip),%rsi
call   1070 <strcat@plt>
test   $0x1,%r14b
je     141a <fp_test+0x2ca>
mov    %rbx,%rdi
lea    0xb8c(%rip),%rsi
call   1070 <strcat@plt>
test   $0x1,%r15b
je     11e0 <fp_test+0x90>
mov    %rbx,%rdi
lea    0xb75(%rip),%rsi
call   1070 <strcat@plt>
jmp    11e0 <fp_test+0x90>
lea    0xb87(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
lea    0xb7d(%rip),%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1060 <printf@plt>
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [23 x i8] c"\0AFormatted output test\00"
@.str.1 = [44 x i8] c"prefix 6d 6o 6x 6X 6u\0A\00"
@.str.2 = [2 x i8] c"%\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [2 x i8] c"+\00"
@.str.5 = [2 x i8] c"#\00"
@.str.6 = [2 x i8] c"0\00"
@.str.7 = [6 x i8] c"%5s |\00"
@.str.8 = [5 x i8] c"6d |\00"
@.str.9 = [5 x i8] c"6o |\00"
@.str.10 = [5 x i8] c"6x |\00"
@.str.11 = [5 x i8] c"6X |\00"
@.str.12 = [5 x i8] c"6u |\00"
@.str.13 = [2 x i8] c"\0A\00"
@.str.14 = [6 x i8] c"%10s\0A\00"
@.str.15 = [7 x i8] c"%-10s\0A\00"
define void @fp_test() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [7 x i8]
%6 = alloca i8*
%7 = alloca [20 x i8]
%8 = getelementptr inbounds [7 x i8], [7 x i8]* %5, i64 0, i64 0
store i8* %8, i8** %6
%9 = call i32 @puts(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([44 x i8], [44 x i8]* @.str.1, i64 0, i64 0))
%11 = load i8*, i8** %6
%12 = call i32 @strcpy(i8* %11, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %1
br label %13
13: ; preds = %105, %0
%14 = load i32, i32* %1
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %108
16: ; preds = %13
store i32 0, i32* %2
br label %17
17: ; preds = %101, %16
%18 = load i32, i32* %2
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %104
20: ; preds = %17
store i32 0, i32* %3
br label %21
21: ; preds = %97, %20
%22 = load i32, i32* %3
%23 = icmp slt i32 %22, 2
br i1 %23, label %24, label %100
24: ; preds = %21
store i32 0, i32* %4
br label %25
25: ; preds = %93, %24
%26 = load i32, i32* %4
%27 = icmp slt i32 %26, 2
br i1 %27, label %28, label %96
28: ; preds = %25
%29 = load i8*, i8** %6
%30 = call i32 @strcpy(i8* %29, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%31 = load i32, i32* %1
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %28
%34 = load i8*, i8** %6
%35 = call i32 @strcat(i8* %34, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %36
36: ; preds = %33, %28
%37 = load i32, i32* %2
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load i8*, i8** %6
%41 = call i32 @strcat(i8* %40, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %42
42: ; preds = %39, %36
%43 = load i32, i32* %3
%44 = icmp eq i32 %43, 0
br i1 %44, label %45, label %48
45: ; preds = %42
%46 = load i8*, i8** %6
%47 = call i32 @strcat(i8* %46, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %48
48: ; preds = %45, %42
%49 = load i32, i32* %4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %54
51: ; preds = %48
%52 = load i8*, i8** %6
%53 = call i32 @strcat(i8* %52, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
br label %54
54: ; preds = %51, %48
%55 = load i8*, i8** %6
%56 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* %55)
%57 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%58 = load i8*, i8** %6
%59 = call i32 @strcpy(i8* %57, i8* %58)
%60 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%61 = call i32 @strcat(i8* %60, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%62 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%63 = call i32 (i8*, ...) @printf(i8* %62, i32 -123)
%64 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%65 = load i8*, i8** %6
%66 = call i32 @strcpy(i8* %64, i8* %65)
%67 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%68 = call i32 @strcat(i8* %67, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%69 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%70 = call i32 (i8*, ...) @printf(i8* %69, i32 255)
%71 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%72 = load i8*, i8** %6
%73 = call i32 @strcpy(i8* %71, i8* %72)
%74 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%75 = call i32 @strcat(i8* %74, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%76 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%77 = call i32 (i8*, ...) @printf(i8* %76, i32 255)
%78 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%79 = load i8*, i8** %6
%80 = call i32 @strcpy(i8* %78, i8* %79)
%81 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%82 = call i32 @strcat(i8* %81, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%83 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%84 = call i32 (i8*, ...) @printf(i8* %83, i32 255)
%85 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%86 = load i8*, i8** %6
%87 = call i32 @strcpy(i8* %85, i8* %86)
%88 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%89 = call i32 @strcat(i8* %88, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%90 = getelementptr inbounds [20 x i8], [20 x i8]* %7, i64 0, i64 0
%91 = call i32 (i8*, ...) @printf(i8* %90, i32 -1)
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
br label %93
93: ; preds = %54
%94 = load i32, i32* %4
%95 = add nsw i32 %94, 1
store i32 %95, i32* %4
br label %25
96: ; preds = %25
br label %97
97: ; preds = %96
%98 = load i32, i32* %3
%99 = add nsw i32 %98, 1
store i32 %99, i32* %3
br label %21
100: ; preds = %21
br label %101
101: ; preds = %100
%102 = load i32, i32* %2
%103 = add nsw i32 %102, 1
store i32 %103, i32* %2
br label %17
104: ; preds = %17
br label %105
105: ; preds = %104
%106 = load i32, i32* %1
%107 = add nsw i32 %106, 1
store i32 %107, i32* %1
br label %13
108: ; preds = %13
%109 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* null)
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* null)
ret void
}

LLVM IR (-O2):
@.str = [23 x i8] c"\0AFormatted output test\00"
@.str.2 = [2 x i8] c"%\00"
@.str.3 = [2 x i8] c"-\00"
@.str.4 = [2 x i8] c"+\00"
@.str.5 = [2 x i8] c"#\00"
@.str.6 = [2 x i8] c"0\00"
@.str.7 = [6 x i8] c"%5s |\00"
@.str.8 = [5 x i8] c"6d |\00"
@.str.9 = [5 x i8] c"6o |\00"
@.str.10 = [5 x i8] c"6x |\00"
@.str.11 = [5 x i8] c"6X |\00"
@.str.12 = [5 x i8] c"6u |\00"
@.str.14 = [6 x i8] c"%10s\0A\00"
@.str.15 = [7 x i8] c"%-10s\0A\00"
@str = [43 x i8] c"prefix 6d 6o 6x 6X 6u\00"
define void @fp_test() {
%1 = alloca [7 x i8]
%2 = alloca [20 x i8]
%3 = getelementptr inbounds [7 x i8], [7 x i8]* %1, i64 0, i64 0
%4 = getelementptr inbounds [20 x i8], [20 x i8]* %2, i64 0, i64 0
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([43 x i8], [43 x i8]* @str, i64 0, i64 0))
%7 = call i32 @strcpy(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br label %8
8: ; preds = %0, %70
%9 = phi i1 [ true, %0 ], [ false, %70 ]
br label %10
10: ; preds = %8, %69
%11 = phi i1 [ true, %8 ], [ false, %69 ]
br label %12
12: ; preds = %10, %51
%13 = phi i1 [ true, %10 ], [ false, %51 ]
%14 = call i32 @strcpy(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br i1 %9, label %15, label %17
15: ; preds = %12
%16 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %17
17: ; preds = %15, %12
br i1 %11, label %18, label %20
18: ; preds = %17
%19 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %20
20: ; preds = %18, %17
br i1 %13, label %21, label %23
21: ; preds = %20
%22 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %23
23: ; preds = %21, %20
%24 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* %3)
%26 = call i32 @strcpy(i8* %4, i8* %3)
%27 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%28 = call i32 (i8*, ...) @printf(i8* %4, i32 -123)
%29 = call i32 @strcpy(i8* %4, i8* %3)
%30 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%32 = call i32 @strcpy(i8* %4, i8* %3)
%33 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%34 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%35 = call i32 @strcpy(i8* %4, i8* %3)
%36 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%38 = call i32 @strcpy(i8* %4, i8* %3)
%39 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%40 = call i32 (i8*, ...) @printf(i8* %4, i32 -1)
%41 = call i32 @putchar(i32 10)
%42 = call i32 @strcpy(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
br i1 %9, label %43, label %45
43: ; preds = %23
%44 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %45
45: ; preds = %43, %23
br i1 %11, label %46, label %48
46: ; preds = %45
%47 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
br label %48
48: ; preds = %46, %45
br i1 %13, label %49, label %51
49: ; preds = %48
%50 = call i32 @strcat(i8* %3, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0))
br label %51
51: ; preds = %48, %49
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i8* %3)
%53 = call i32 @strcpy(i8* %4, i8* %3)
%54 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.8, i64 0, i64 0))
%55 = call i32 (i8*, ...) @printf(i8* %4, i32 -123)
%56 = call i32 @strcpy(i8* %4, i8* %3)
%57 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.9, i64 0, i64 0))
%58 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%59 = call i32 @strcpy(i8* %4, i8* %3)
%60 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.10, i64 0, i64 0))
%61 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%62 = call i32 @strcpy(i8* %4, i8* %3)
%63 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.11, i64 0, i64 0))
%64 = call i32 (i8*, ...) @printf(i8* %4, i32 255)
%65 = call i32 @strcpy(i8* %4, i8* %3)
%66 = call i32 @strcat(i8* %4, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.12, i64 0, i64 0))
%67 = call i32 (i8*, ...) @printf(i8* %4, i32 -1)
%68 = call i32 @putchar(i32 10)
br i1 %13, label %12, label %69
69: ; preds = %51
br i1 %11, label %10, label %70
70: ; preds = %69
br i1 %9, label %8, label %71
71: ; preds = %70
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.14, i64 0, i64 0), i8* null)
%73 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([7 x i8], [7 x i8]* @.str.15, i64 0, i64 0), i8* null)
ret void
}