#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 */
typedef int /*<<< orphan*/ set;

/* Variables and functions */
int /*<<< orphan*/ fflush(int /*<<< orphan*/);
int /*<<< orphan*/ fscanf(int /*<<< orphan*/, char *);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ stdin;
int main(int arg, char **argv) {
  char set[] = "ABCDEFG";
  int size = sizeof(set) / sizeof(set[0]);
  size = size - 1;
  int i, j, k;
  for (i = 0, j = 0, k = 0; i < size; i++)
    for (j = 0; j < size; j++)
      for (k = 0; k < size; k++)
        printf("%c%c%c ", set[i], set[j], set[k]);
  printf("\n\n\n");
  for (i = 0; i < size; ++i)
    for (j = i + 1; j < size; ++j)
      for (k = j + 1; k < size; ++k)
        printf("%c%c%c ", set[i], set[j], set[k]);
  printf("\n\n\n");
  for (i = 0, j = 0, k = 0; i < size; i++) {
    for (j = 0; j < size; j++) {
      if (j == i)
        continue;
      for (k = 0; k < size; k++) {
        if (k == i || k == j)
          continue;
        printf("%c%c%c ", set[i], set[j], set[k]);
      }
    }
  }
  printf("\n\n\n");
  fflush(stdin);
  fscanf(stdin, "\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    0xeb3(%rip),%rax
mov    %rax,-0x18(%rbp)
movl   $0x8,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1205 <main+0xd5>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    11f2 <main+0xc2>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    11df <main+0xaf>
movslq -0x20(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%esi
movslq -0x24(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%edx
movslq -0x28(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%ecx
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    119c <main+0x6c>
jmp    11e4 <main+0xb4>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1189 <main+0x59>
jmp    11f7 <main+0xc7>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1176 <main+0x46>
lea    0xe04(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12ad <main+0x17d>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    129a <main+0x16a>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1287 <main+0x157>
movslq -0x20(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%esi
movslq -0x24(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%edx
movslq -0x28(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%ecx
lea    0xd96(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1244 <main+0x114>
jmp    128c <main+0x15c>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    122f <main+0xff>
jmp    129f <main+0x16f>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    121a <main+0xea>
lea    0xd5c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    138d <main+0x25d>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    137a <main+0x24a>
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jne    1300 <main+0x1d0>
jmp    136c <main+0x23c>
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1367 <main+0x237>
mov    -0x28(%rbp),%eax
cmp    -0x20(%rbp),%eax
je     132b <main+0x1fb>
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jne    1330 <main+0x200>
jmp    1359 <main+0x229>
movslq -0x20(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%esi
movslq -0x24(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%edx
movslq -0x28(%rbp),%rax
movsbl -0x18(%rbp,%rax,1),%ecx
lea    0xcb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1307 <main+0x1d7>
jmp    136c <main+0x23c>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    12e3 <main+0x1b3>
jmp    137f <main+0x24f>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    12d0 <main+0x1a0>
lea    0xc7c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0x2c46(%rip),%rax
mov    (%rax),%edi
call   1050 <fflush@plt>
mov    0x2c38(%rip),%rax
mov    (%rax),%edi
lea    0xc59(%rip),%rsi
call   1040 <fscanf@plt>
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
lea    0xeab(%rip),%r15
lea    0xeac(%rip),%rbx
xor    %r14d,%r14d
nop
movsbl (%r14,%r15,1),%ebp
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x41,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x42,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x43,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x44,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x45,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x46,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
mov    $0x47,%edx
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r14
cmp    $0x7,%r14
jne    1160 <main+0x20>
lea    0xa60(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%r13d
lea    0xa46(%rip),%r14
xor    %eax,%eax
jmp    15e3 <main+0x4a3>
cs nopw 0x0(%rax,%rax,1)
mov    0x8(%rsp),%r13
add    $0x1,%r13
mov    (%rsp),%rax
cmp    $0x7,%rax
je     1650 <main+0x510>
mov    %rax,%rcx
add    $0x1,%rax
mov    %rax,(%rsp)
mov    %r13,0x8(%rsp)
mov    %rcx,0x10(%rsp)
cmp    $0x5,%rcx
jbe    1606 <main+0x4c6>
jmp    15d0 <main+0x490>
cmp    $0x7,%r13
je     15d0 <main+0x490>
mov    %r13,%r12
add    $0x1,%r13
cmp    $0x5,%r12
ja     1600 <main+0x4c0>
mov    0x10(%rsp),%rax
movsbl (%rax,%r15,1),%ebp
movsbl (%r12,%r15,1),%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsbl 0x1(%r12,%r15,1),%ecx
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%r12
cmp    $0x6,%r12
jb     1630 <main+0x4f0>
jmp    1600 <main+0x4c0>
lea    0x9b9(%rip),%rdi
call   1030 <puts@plt>
lea    0x9a5(%rip),%r14
xor    %ebp,%ebp
jmp    167e <main+0x53e>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbp
cmp    $0x7,%rbp
je     17b4 <main+0x674>
xor    %ebx,%ebx
jmp    169a <main+0x55a>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%rbx
cmp    $0x7,%rbx
je     1670 <main+0x530>
cmp    %rbx,%rbp
je     1690 <main+0x550>
test   %rbp,%rbp
je     16c3 <main+0x583>
test   %rbx,%rbx
je     16c3 <main+0x583>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x41,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x1,%rbp
je     16e9 <main+0x5a9>
cmp    $0x1,%rbx
je     16e9 <main+0x5a9>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x42,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x2,%rbp
je     170f <main+0x5cf>
cmp    $0x2,%rbx
je     170f <main+0x5cf>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x43,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x3,%rbp
je     1735 <main+0x5f5>
cmp    $0x3,%rbx
je     1735 <main+0x5f5>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x44,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x4,%rbp
je     175b <main+0x61b>
cmp    $0x4,%rbx
je     175b <main+0x61b>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x45,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x5,%rbp
je     1781 <main+0x641>
cmp    $0x5,%rbx
je     1781 <main+0x641>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x46,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
cmp    $0x6,%rbp
je     1690 <main+0x550>
cmp    $0x6,%rbx
je     1690 <main+0x550>
movsbl 0x0(%rbp,%r15,1),%esi
movsbl (%rbx,%r15,1),%edx
mov    %r14,%rdi
mov    $0x47,%ecx
xor    %eax,%eax
call   1040 <printf@plt>
jmp    1690 <main+0x550>
lea    0x855(%rip),%rdi
call   1030 <puts@plt>
mov    0x2821(%rip),%rbx
mov    (%rbx),%edi
call   1060 <fflush@plt>
mov    (%rbx),%edi
lea    0x83a(%rip),%rsi
call   1050 <fscanf@plt>
xor    %eax,%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.set = [8 x i8] c"ABCDEFG\00"
@.str = [8 x i8] c"%c%c%c \00"
@.str.1 = [4 x i8] c"\0A\0A\0A\00"
@stdin = global i32 0
@.str.2 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca [8 x i8]
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%11 = bitcast [8 x i8]* %6 to i8*
store i32 8, i32* %7
%12 = load i32, i32* %7
%13 = sub nsw i32 %12, 1
store i32 %13, i32* %7
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
br label %14
14: ; preds = %53, %2
%15 = load i32, i32* %8
%16 = load i32, i32* %7
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %56
18: ; preds = %14
store i32 0, i32* %9
br label %19
19: ; preds = %49, %18
%20 = load i32, i32* %9
%21 = load i32, i32* %7
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %52
23: ; preds = %19
store i32 0, i32* %10
br label %24
24: ; preds = %45, %23
%25 = load i32, i32* %10
%26 = load i32, i32* %7
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %48
28: ; preds = %24
%29 = load i32, i32* %8
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
%34 = load i32, i32* %9
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %35
%37 = load i8, i8* %36
%38 = sext i8 %37 to i32
%39 = load i32, i32* %10
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %40
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %33, i32 %38, i32 %43)
br label %45
45: ; preds = %28
%46 = load i32, i32* %10
%47 = add nsw i32 %46, 1
store i32 %47, i32* %10
br label %24
48: ; preds = %24
br label %49
49: ; preds = %48
%50 = load i32, i32* %9
%51 = add nsw i32 %50, 1
store i32 %51, i32* %9
br label %19
52: ; preds = %19
br label %53
53: ; preds = %52
%54 = load i32, i32* %8
%55 = add nsw i32 %54, 1
store i32 %55, i32* %8
br label %14
56: ; preds = %14
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
br label %58
58: ; preds = %101, %56
%59 = load i32, i32* %8
%60 = load i32, i32* %7
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %104
62: ; preds = %58
%63 = load i32, i32* %8
%64 = add nsw i32 %63, 1
store i32 %64, i32* %9
br label %65
65: ; preds = %97, %62
%66 = load i32, i32* %9
%67 = load i32, i32* %7
%68 = icmp slt i32 %66, %67
br i1 %68, label %69, label %100
69: ; preds = %65
%70 = load i32, i32* %9
%71 = add nsw i32 %70, 1
store i32 %71, i32* %10
br label %72
72: ; preds = %93, %69
%73 = load i32, i32* %10
%74 = load i32, i32* %7
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %96
76: ; preds = %72
%77 = load i32, i32* %8
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %78
%80 = load i8, i8* %79
%81 = sext i8 %80 to i32
%82 = load i32, i32* %9
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %83
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
%87 = load i32, i32* %10
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %88
%90 = load i8, i8* %89
%91 = sext i8 %90 to i32
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %81, i32 %86, i32 %91)
br label %93
93: ; preds = %76
%94 = load i32, i32* %10
%95 = add nsw i32 %94, 1
store i32 %95, i32* %10
br label %72
96: ; preds = %72
br label %97
97: ; preds = %96
%98 = load i32, i32* %9
%99 = add nsw i32 %98, 1
store i32 %99, i32* %9
br label %65
100: ; preds = %65
br label %101
101: ; preds = %100
%102 = load i32, i32* %8
%103 = add nsw i32 %102, 1
store i32 %103, i32* %8
br label %58
104: ; preds = %58
%105 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
store i32 0, i32* %8
store i32 0, i32* %9
store i32 0, i32* %10
br label %106
106: ; preds = %159, %104
%107 = load i32, i32* %8
%108 = load i32, i32* %7
%109 = icmp slt i32 %107, %108
br i1 %109, label %110, label %162
110: ; preds = %106
store i32 0, i32* %9
br label %111
111: ; preds = %155, %110
%112 = load i32, i32* %9
%113 = load i32, i32* %7
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %158
115: ; preds = %111
%116 = load i32, i32* %9
%117 = load i32, i32* %8
%118 = icmp eq i32 %116, %117
br i1 %118, label %119, label %120
119: ; preds = %115
br label %155
120: ; preds = %115
store i32 0, i32* %10
br label %121
121: ; preds = %151, %120
%122 = load i32, i32* %10
%123 = load i32, i32* %7
%124 = icmp slt i32 %122, %123
br i1 %124, label %125, label %154
125: ; preds = %121
%126 = load i32, i32* %10
%127 = load i32, i32* %8
%128 = icmp eq i32 %126, %127
br i1 %128, label %133, label %129
129: ; preds = %125
%130 = load i32, i32* %10
%131 = load i32, i32* %9
%132 = icmp eq i32 %130, %131
br i1 %132, label %133, label %134
133: ; preds = %129, %125
br label %151
134: ; preds = %129
%135 = load i32, i32* %8
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %136
%138 = load i8, i8* %137
%139 = sext i8 %138 to i32
%140 = load i32, i32* %9
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %141
%143 = load i8, i8* %142
%144 = sext i8 %143 to i32
%145 = load i32, i32* %10
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds [8 x i8], [8 x i8]* %6, i64 0, i64 %146
%148 = load i8, i8* %147
%149 = sext i8 %148 to i32
%150 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %139, i32 %144, i32 %149)
br label %151
151: ; preds = %134, %133
%152 = load i32, i32* %10
%153 = add nsw i32 %152, 1
store i32 %153, i32* %10
br label %121
154: ; preds = %121
br label %155
155: ; preds = %154, %119
%156 = load i32, i32* %9
%157 = add nsw i32 %156, 1
store i32 %157, i32* %9
br label %111
158: ; preds = %111
br label %159
159: ; preds = %158
%160 = load i32, i32* %8
%161 = add nsw i32 %160, 1
store i32 %161, i32* %8
br label %106
162: ; preds = %106
%163 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0))
%164 = load i32, i32* @stdin
%165 = call i32 @fflush(i32 %164)
%166 = load i32, i32* @stdin
%167 = call i32 @fscanf(i32 %166, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
%168 = load i32, i32* %3
ret i32 %168
}

LLVM IR (-O2):
@__const.main.set = [8 x i8] c"ABCDEFG\00"
@.str = [8 x i8] c"%c%c%c \00"
@stdin = global i32 0
@.str.2 = [2 x i8] c"\0A\00"
@str.4 = [3 x i8] c"\0A\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
br label %3
3: ; preds = %2, %3
%4 = phi i64 [ 0, %2 ], [ %57, %3 ]
%5 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %4
%6 = load i8, i8* %5
%7 = sext i8 %6 to i32
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 65)
%9 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 66)
%10 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 67)
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 68)
%12 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 69)
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 70)
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 65, i32 71)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 65)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 66)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 67)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 68)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 69)
%20 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 70)
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 66, i32 71)
%22 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 65)
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 66)
%24 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 67)
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 68)
%26 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 69)
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 70)
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 67, i32 71)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 65)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 66)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 67)
%32 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 68)
%33 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 69)
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 70)
%35 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 68, i32 71)
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 65)
%37 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 66)
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 67)
%39 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 68)
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 69)
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 70)
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 69, i32 71)
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 65)
%44 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 66)
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 67)
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 68)
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 69)
%48 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 70)
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 70, i32 71)
%50 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 65)
%51 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 66)
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 67)
%53 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 68)
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 69)
%55 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 70)
%56 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %7, i32 71, i32 71)
%57 = add nuw nsw i64 %4, 1
%58 = icmp eq i64 %57, 7
br i1 %58, label %59, label %3
59: ; preds = %3
%60 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.4, i64 0, i64 0))
br label %65
61: ; preds = %73, %65
%62 = add nuw nsw i64 %68, 1
%63 = add nuw nsw i64 %67, 1
%64 = icmp eq i64 %69, 7
br i1 %64, label %95, label %65
65: ; preds = %59, %61
%66 = phi i64 [ 0, %59 ], [ %69, %61 ]
%67 = phi i64 [ 1, %59 ], [ %63, %61 ]
%68 = phi i64 [ 2, %59 ], [ %62, %61 ]
%69 = add nuw nsw i64 %66, 1
%70 = icmp ult i64 %66, 6
br i1 %70, label %71, label %61
71: ; preds = %65
%72 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %66
br label %76
73: ; preds = %87, %76
%74 = add nuw nsw i64 %78, 1
%75 = icmp eq i64 %79, 7
br i1 %75, label %61, label %76
76: ; preds = %71, %73
%77 = phi i64 [ %67, %71 ], [ %79, %73 ]
%78 = phi i64 [ %68, %71 ], [ %74, %73 ]
%79 = add nuw nsw i64 %77, 1
%80 = icmp ult i64 %77, 6
br i1 %80, label %81, label %73
81: ; preds = %76
%82 = load i8, i8* %72
%83 = sext i8 %82 to i32
%84 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %77
%85 = load i8, i8* %84
%86 = sext i8 %85 to i32
br label %87
87: ; preds = %81, %87
%88 = phi i64 [ %78, %81 ], [ %93, %87 ]
%89 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %88
%90 = load i8, i8* %89
%91 = sext i8 %90 to i32
%92 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %83, i32 %86, i32 %91)
%93 = add nuw nsw i64 %88, 1
%94 = icmp ult i64 %88, 6
br i1 %94, label %87, label %73
95: ; preds = %61
%96 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.4, i64 0, i64 0))
br label %97
97: ; preds = %95, %177
%98 = phi i64 [ 0, %95 ], [ %178, %177 ]
%99 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %98
%100 = icmp eq i64 %98, 0
%101 = icmp eq i64 %98, 1
%102 = icmp eq i64 %98, 2
%103 = icmp eq i64 %98, 3
%104 = icmp eq i64 %98, 4
%105 = icmp eq i64 %98, 5
%106 = icmp eq i64 %98, 6
br label %107
107: ; preds = %97, %174
%108 = phi i64 [ 0, %97 ], [ %175, %174 ]
%109 = icmp eq i64 %108, %98
br i1 %109, label %174, label %110
110: ; preds = %107
%111 = getelementptr inbounds [8 x i8], [8 x i8]* @__const.main.set, i64 0, i64 %108
%112 = icmp eq i64 %108, 0
%113 = select i1 %100, i1 true, i1 %112
br i1 %113, label %120, label %114
114: ; preds = %110
%115 = load i8, i8* %99
%116 = sext i8 %115 to i32
%117 = load i8, i8* %111
%118 = sext i8 %117 to i32
%119 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %116, i32 %118, i32 65)
br label %120
120: ; preds = %110, %114
%121 = icmp eq i64 %108, 1
%122 = select i1 %101, i1 true, i1 %121
br i1 %122, label %129, label %123
123: ; preds = %120
%124 = load i8, i8* %99
%125 = sext i8 %124 to i32
%126 = load i8, i8* %111
%127 = sext i8 %126 to i32
%128 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %125, i32 %127, i32 66)
br label %129
129: ; preds = %123, %120
%130 = icmp eq i64 %108, 2
%131 = select i1 %102, i1 true, i1 %130
br i1 %131, label %138, label %132
132: ; preds = %129
%133 = load i8, i8* %99
%134 = sext i8 %133 to i32
%135 = load i8, i8* %111
%136 = sext i8 %135 to i32
%137 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %134, i32 %136, i32 67)
br label %138
138: ; preds = %132, %129
%139 = icmp eq i64 %108, 3
%140 = select i1 %103, i1 true, i1 %139
br i1 %140, label %147, label %141
141: ; preds = %138
%142 = load i8, i8* %99
%143 = sext i8 %142 to i32
%144 = load i8, i8* %111
%145 = sext i8 %144 to i32
%146 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %143, i32 %145, i32 68)
br label %147
147: ; preds = %141, %138
%148 = icmp eq i64 %108, 4
%149 = select i1 %104, i1 true, i1 %148
br i1 %149, label %156, label %150
150: ; preds = %147
%151 = load i8, i8* %99
%152 = sext i8 %151 to i32
%153 = load i8, i8* %111
%154 = sext i8 %153 to i32
%155 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %152, i32 %154, i32 69)
br label %156
156: ; preds = %150, %147
%157 = icmp eq i64 %108, 5
%158 = select i1 %105, i1 true, i1 %157
br i1 %158, label %165, label %159
159: ; preds = %156
%160 = load i8, i8* %99
%161 = sext i8 %160 to i32
%162 = load i8, i8* %111
%163 = sext i8 %162 to i32
%164 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %161, i32 %163, i32 70)
br label %165
165: ; preds = %159, %156
%166 = icmp eq i64 %108, 6
%167 = select i1 %106, i1 true, i1 %166
br i1 %167, label %174, label %168
168: ; preds = %165
%169 = load i8, i8* %99
%170 = sext i8 %169 to i32
%171 = load i8, i8* %111
%172 = sext i8 %171 to i32
%173 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0), i32 %170, i32 %172, i32 71)
br label %174
174: ; preds = %165, %168, %107
%175 = add nuw nsw i64 %108, 1
%176 = icmp eq i64 %175, 7
br i1 %176, label %177, label %107
177: ; preds = %174
%178 = add nuw nsw i64 %98, 1
%179 = icmp eq i64 %178, 7
br i1 %179, label %180, label %97
180: ; preds = %177
%181 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @str.4, i64 0, i64 0))
%182 = load i32, i32* @stdin
%183 = tail call i32 @fflush(i32 %182)
%184 = load i32, i32* @stdin
%185 = tail call i32 @fscanf(i32 %184, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0))
ret i32 0
}