#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*/ FILE;

/* Variables and functions */
int /*<<< orphan*/ fscanf(int /*<<< orphan*/ *, char *, char *);
int strlen(char *);
void fillArr(char strs[][6][3][12], int numPages, FILE *input) {
  int page, row, col, str, len;
  char word[12];
  for (page = 0; page < numPages; page++) {
    for (row = 0; row < 6; row++) {
      for (col = 0; col < 3; col++) {
        fscanf(input, "%s", word);
        len = strlen(word);
        word[len] = '\0';
        for (str = 0; str < len; str++) {
          if (word[str] != '-') {
            strs[page][row][col][str] = word[str];
          } else {
            strs[page][row][col][str] = ' ';
          }
        }
        strs[page][row][col][len] = '\0';
      }
    }
  }
  return;
}


x86 assembly (clang, -O0):
<fillArr>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1299 <fillArr+0x179>
movl   $0x0,-0x20(%rbp)
cmpl   $0x6,-0x20(%rbp)
jge    1286 <fillArr+0x166>
movl   $0x0,-0x24(%rbp)
cmpl   $0x3,-0x24(%rbp)
jge    1273 <fillArr+0x153>
mov    -0x18(%rbp),%rdi
lea    -0x38(%rbp),%rdx
lea    0xe89(%rip),%rsi
call   1040 <fscanf@plt>
lea    -0x38(%rbp),%rdi
call   1030 <strlen@plt>
mov    %eax,-0x2c(%rbp)
movslq -0x2c(%rbp),%rax
movb   $0x0,-0x38(%rbp,%rax,1)
movl   $0x0,-0x28(%rbp)
mov    -0x28(%rbp),%eax
cmp    -0x2c(%rbp),%eax
jge    1235 <fillArr+0x115>
movslq -0x28(%rbp),%rax
movsbl -0x38(%rbp,%rax,1),%eax
cmp    $0x2d,%eax
je     11f2 <fillArr+0xd2>
movslq -0x28(%rbp),%rax
mov    -0x38(%rbp,%rax,1),%dl
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
imul   $0xd8,%rcx,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0x28(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
jmp    1222 <fillArr+0x102>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
imul   $0xd8,%rcx,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0x28(%rbp),%rcx
movb   $0x20,(%rax,%rcx,1)
jmp    1227 <fillArr+0x107>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1198 <fillArr+0x78>
mov    -0x8(%rbp),%rax
movslq -0x1c(%rbp),%rcx
imul   $0xd8,%rcx,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
imul   $0x24,%rcx,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
imul   $0xc,%rcx,%rcx
add    %rcx,%rax
movslq -0x2c(%rbp),%rcx
movb   $0x0,(%rax,%rcx,1)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    115e <fillArr+0x3e>
jmp    1278 <fillArr+0x158>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    114d <fillArr+0x2d>
jmp    128b <fillArr+0x16b>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    113a <fillArr+0x1a>
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<fillArr>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rdx,0x28(%rsp)
mov    %rdi,0x20(%rsp)
test   %esi,%esi
jle    185f <fillArr+0x73f>
mov    %esi,%eax
mov    %rax,0x30(%rsp)
mov    0x20(%rsp),%r14
lea    0x30(%r14),%r13
xor    %ecx,%ecx
mov    %rcx,0x18(%rsp)
mov    $0x20,%ebp
jmp    1194 <fillArr+0x74>
xchg   %ax,%ax
mov    0x18(%rsp),%rcx
add    $0x1,%rcx
mov    0x40(%rsp),%r13
add    $0xd8,%r13
mov    0x38(%rsp),%r14
add    $0xd8,%r14
mov    %rcx,%rax
mov    %rcx,0x18(%rsp)
cmp    0x30(%rsp),%rcx
je     185f <fillArr+0x73f>
mov    %r14,0x38(%rsp)
mov    %r13,0x40(%rsp)
xor    %r15d,%r15d
jmp    11c8 <fillArr+0xa8>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movb   $0x0,0x18(%rcx,%r12,1)
add    $0x1,%r15
add    $0x24,%r13
add    $0x24,%r14
cmp    $0x6,%r15
je     1160 <fillArr+0x40>
mov    0x28(%rsp),%rdi
lea    0xe6c(%rip),%rsi
lea    0xc(%rsp),%rbx
mov    %rbx,%rdx
call   1040 <fscanf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
movslq %eax,%rcx
movb   $0x0,0xc(%rsp,%rcx,1)
test   %ecx,%ecx
jle    13e9 <fillArr+0x2c9>
mov    %eax,%edx
cmp    $0x8,%eax
jae    1210 <fillArr+0xf0>
xor    %eax,%eax
jmp    13d0 <fillArr+0x2b0>
nopw   0x0(%rax,%rax,1)
cmp    $0x20,%eax
jae    121c <fillArr+0xfc>
xor    %eax,%eax
jmp    1372 <fillArr+0x252>
mov    %edx,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rsi
mov    %rsi,%rbx
shr    $0x5,%rbx
add    $0x1,%rbx
test   %rsi,%rsi
movdqa 0xdc5(%rip),%xmm5
movdqa 0xdcd(%rip),%xmm6
je     182f <fillArr+0x70f>
mov    %rbx,%rdi
movabs $0xffffffffffffffe,%rsi
ff ff 0f
and    %rsi,%rdi
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,-0x30(%r13,%rsi,1)
movdqu %xmm3,-0x20(%r13,%rsi,1)
movdqu 0x2c(%rsp,%rsi,1),%xmm0
movdqu 0x3c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,-0x10(%r13,%rsi,1)
movdqu %xmm3,0x0(%r13,%rsi,1)
add    $0x40,%rsi
add    $0xfffffffffffffffe,%rdi
jne    1260 <fillArr+0x140>
test   $0x1,%bl
je     1364 <fillArr+0x244>
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
imul   $0xd8,0x18(%rsp),%rdi
add    0x20(%rsp),%rdi
lea    (%r15,%r15,8),%rbx
lea    (%rdi,%rbx,4),%rdi
movdqu %xmm2,(%rsi,%rdi,1)
movdqu %xmm3,0x10(%rsi,%rdi,1)
cmp    %rdx,%rax
je     13e9 <fillArr+0x2c9>
test   $0x18,%dl
je     13d0 <fillArr+0x2b0>
mov    %rax,%rsi
mov    %edx,%eax
and    $0xfffffff8,%eax
movdqa 0xc9e(%rip),%xmm3
movdqa 0xca6(%rip),%xmm4
nopw   0x0(%rax,%rax,1)
movq   0xc(%rsp,%rsi,1),%xmm0
movdqa %xmm0,%xmm1
pcmpeqb %xmm3,%xmm1
movdqa %xmm1,%xmm2
pandn  %xmm0,%xmm2
pand   %xmm4,%xmm1
por    %xmm2,%xmm1
movq   %xmm1,(%r14,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%rax
jne    1390 <fillArr+0x270>
cmp    %rdx,%rax
je     13e9 <fillArr+0x2c9>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movzbl 0xc(%rsp,%rax,1),%esi
cmp    $0x2d,%sil
cmove  %ebp,%esi
mov    %sil,(%r14,%rax,1)
add    $0x1,%rax
cmp    %rax,%rdx
jne    13d0 <fillArr+0x2b0>
imul   $0xd8,0x18(%rsp),%rax
add    0x20(%rsp),%rax
lea    (%r15,%r15,8),%rdx
lea    (%rax,%rdx,4),%r12
movb   $0x0,(%rcx,%r12,1)
mov    0x28(%rsp),%rdi
lea    0xc30(%rip),%rsi
lea    0xc(%rsp),%rbx
mov    %rbx,%rdx
call   1040 <fscanf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
movslq %eax,%rcx
movb   $0x0,0xc(%rsp,%rcx,1)
test   %ecx,%ecx
jle    161a <fillArr+0x4fa>
mov    %eax,%edx
cmp    $0x8,%eax
jae    1450 <fillArr+0x330>
xor    %eax,%eax
jmp    1600 <fillArr+0x4e0>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
cmp    $0x20,%eax
jae    145c <fillArr+0x33c>
xor    %eax,%eax
jmp    159f <fillArr+0x47f>
mov    %edx,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rsi
mov    %rsi,%rbx
shr    $0x5,%rbx
add    $0x1,%rbx
test   %rsi,%rsi
movdqa 0xb85(%rip),%xmm5
movdqa 0xb8d(%rip),%xmm6
je     183f <fillArr+0x71f>
mov    %rbx,%rdi
movabs $0xffffffffffffffe,%rsi
ff ff 0f
and    %rsi,%rdi
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0xc(%r14,%rsi,1)
movdqu %xmm3,0x1c(%r14,%rsi,1)
movdqu 0x2c(%rsp,%rsi,1),%xmm0
movdqu 0x3c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0x2c(%r14,%rsi,1)
movdqu %xmm3,0x3c(%r14,%rsi,1)
add    $0x40,%rsi
add    $0xfffffffffffffffe,%rdi
jne    14a0 <fillArr+0x380>
test   $0x1,%bl
je     1591 <fillArr+0x471>
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm5,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm5,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm6,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm6,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0xc(%rsi,%r12,1)
movdqu %xmm3,0x1c(%rsi,%r12,1)
cmp    %rdx,%rax
je     161a <fillArr+0x4fa>
test   $0x18,%dl
je     1600 <fillArr+0x4e0>
mov    %rax,%rsi
mov    %edx,%eax
and    $0xfffffff8,%eax
movdqa 0xa71(%rip),%xmm3
movdqa 0xa79(%rip),%xmm4
nopw   0x0(%rax,%rax,1)
movq   0xc(%rsp,%rsi,1),%xmm0
movdqa %xmm0,%xmm1
pcmpeqb %xmm3,%xmm1
movdqa %xmm1,%xmm2
pandn  %xmm0,%xmm2
pand   %xmm4,%xmm1
por    %xmm2,%xmm1
movq   %xmm1,0xc(%r14,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%rax
jne    15c0 <fillArr+0x4a0>
cmp    %rdx,%rax
je     161a <fillArr+0x4fa>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl 0xc(%rsp,%rax,1),%esi
cmp    $0x2d,%sil
cmove  %ebp,%esi
mov    %sil,0xc(%r14,%rax,1)
add    $0x1,%rax
cmp    %rax,%rdx
jne    1600 <fillArr+0x4e0>
movb   $0x0,0xc(%rcx,%r12,1)
mov    0x28(%rsp),%rdi
lea    0xa14(%rip),%rsi
lea    0xc(%rsp),%rbx
mov    %rbx,%rdx
call   1040 <fscanf@plt>
mov    %rbx,%rdi
call   1030 <strlen@plt>
movslq %eax,%rcx
movb   $0x0,0xc(%rsp,%rcx,1)
test   %ecx,%ecx
movdqa 0x9cd(%rip),%xmm5
movdqa 0x9d5(%rip),%xmm6
movdqa 0x99d(%rip),%xmm7
movdqa 0x9a4(%rip),%xmm8
jle    11b0 <fillArr+0x90>
mov    %eax,%edx
cmp    $0x8,%eax
jae    1680 <fillArr+0x560>
xor    %eax,%eax
jmp    1810 <fillArr+0x6f0>
cmp    $0x20,%eax
jae    168c <fillArr+0x56c>
xor    %eax,%eax
jmp    17c5 <fillArr+0x6a5>
mov    %edx,%eax
and    $0xffffffe0,%eax
lea    -0x20(%rax),%rsi
mov    %rsi,%rbx
shr    $0x5,%rbx
add    $0x1,%rbx
test   %rsi,%rsi
je     184f <fillArr+0x72f>
mov    %rbx,%rdi
movabs $0xffffffffffffffe,%rsi
ff ff 0f
and    %rsi,%rdi
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm7,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm7,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm8,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm8,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0x18(%r14,%rsi,1)
movdqu %xmm3,0x28(%r14,%rsi,1)
movdqu 0x2c(%rsp,%rsi,1),%xmm0
movdqu 0x3c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm7,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm7,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm8,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm8,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0x38(%r14,%rsi,1)
movdqu %xmm3,0x48(%r14,%rsi,1)
add    $0x40,%rsi
add    $0xfffffffffffffffe,%rdi
jne    16c0 <fillArr+0x5a0>
test   $0x1,%bl
je     17b7 <fillArr+0x697>
movdqu 0xc(%rsp,%rsi,1),%xmm0
movdqu 0x1c(%rsp,%rsi,1),%xmm1
movdqa %xmm0,%xmm2
pcmpeqb %xmm7,%xmm2
movdqa %xmm1,%xmm3
pcmpeqb %xmm7,%xmm3
movdqa %xmm2,%xmm4
pandn  %xmm0,%xmm4
pand   %xmm8,%xmm2
por    %xmm4,%xmm2
movdqa %xmm3,%xmm0
pandn  %xmm1,%xmm0
pand   %xmm8,%xmm3
por    %xmm0,%xmm3
movdqu %xmm2,0x18(%rsi,%r12,1)
movdqu %xmm3,0x28(%rsi,%r12,1)
cmp    %rdx,%rax
je     11b0 <fillArr+0x90>
test   $0x18,%dl
je     1810 <fillArr+0x6f0>
mov    %rax,%rsi
mov    %edx,%eax
and    $0xfffffff8,%eax
nopl   (%rax)
movq   0xc(%rsp,%rsi,1),%xmm0
movdqa %xmm0,%xmm1
pcmpeqb %xmm5,%xmm1
movdqa %xmm1,%xmm2
pandn  %xmm0,%xmm2
pand   %xmm6,%xmm1
por    %xmm2,%xmm1
movq   %xmm1,0x18(%r14,%rsi,1)
add    $0x8,%rsi
cmp    %rsi,%rax
jne    17d0 <fillArr+0x6b0>
cmp    %rdx,%rax
je     11b0 <fillArr+0x90>
nopw   0x0(%rax,%rax,1)
movzbl 0xc(%rsp,%rax,1),%esi
cmp    $0x2d,%sil
cmove  %ebp,%esi
mov    %sil,0x18(%r14,%rax,1)
add    $0x1,%rax
cmp    %rax,%rdx
jne    1810 <fillArr+0x6f0>
jmp    11b0 <fillArr+0x90>
xor    %esi,%esi
test   $0x1,%bl
jne    1307 <fillArr+0x1e7>
jmp    1364 <fillArr+0x244>
xor    %esi,%esi
test   $0x1,%bl
jne    1547 <fillArr+0x427>
jmp    1591 <fillArr+0x471>
xor    %esi,%esi
test   $0x1,%bl
jne    176b <fillArr+0x64b>
jmp    17b7 <fillArr+0x697>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
define void @fillArr([6 x [3 x [12 x i8]]]* nocapture writeonly %0, i32 %1, i32* nocapture %2) {
%4 = alloca [12 x i8]
%5 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 0
%6 = icmp sgt i32 %1, 0
br i1 %6, label %7, label %336
7: ; preds = %3
%8 = zext i32 %1 to i64
br label %9
9: ; preds = %7, %333
%10 = phi i64 [ 0, %7 ], [ %334, %333 ]
br label %11
11: ; preds = %9, %329
%12 = phi i64 [ 0, %9 ], [ %331, %329 ]
%13 = call i32 @fscanf(i32* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %5)
%14 = call i32 @strlen(i8* %5)
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %15
store i8 0, i8* %16
%17 = icmp sgt i32 %14, 0
br i1 %17, label %18, label %117
18: ; preds = %11
%19 = zext i32 %14 to i64
%20 = icmp ult i32 %14, 8
br i1 %20, label %106, label %21
21: ; preds = %18
%22 = icmp ult i32 %14, 32
br i1 %22, label %90, label %23
23: ; preds = %21
%24 = and i64 %19, 4294967264
%25 = add nsw i64 %24, -32
%26 = lshr exact i64 %25, 5
%27 = add nuw nsw i64 %26, 1
%28 = and i64 %27, 1
%29 = icmp eq i64 %25, 0
br i1 %29, label %67, label %30
30: ; preds = %23
%31 = and i64 %27, 1152921504606846974
br label %32
32: ; preds = %32, %30
%33 = phi i64 [ 0, %30 ], [ %64, %32 ]
%34 = phi i64 [ 0, %30 ], [ %65, %32 ]
%35 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %33
%36 = bitcast i8* %35 to <16 x i8>*
%37 = load <16 x i8>, <16 x i8>* %36
%38 = getelementptr inbounds i8, i8* %35, i64 16
%39 = bitcast i8* %38 to <16 x i8>*
%40 = load <16 x i8>, <16 x i8>* %39
%41 = icmp eq <16 x i8> %37, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%42 = icmp eq <16 x i8> %40, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%43 = select <16 x i1> %41, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %37
%44 = select <16 x i1> %42, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %40
%45 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %33
%46 = bitcast i8* %45 to <16 x i8>*
store <16 x i8> %43, <16 x i8>* %46
%47 = getelementptr inbounds i8, i8* %45, i64 16
%48 = bitcast i8* %47 to <16 x i8>*
store <16 x i8> %44, <16 x i8>* %48
%49 = or i64 %33, 32
%50 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %49
%51 = bitcast i8* %50 to <16 x i8>*
%52 = load <16 x i8>, <16 x i8>* %51
%53 = getelementptr inbounds i8, i8* %50, i64 16
%54 = bitcast i8* %53 to <16 x i8>*
%55 = load <16 x i8>, <16 x i8>* %54
%56 = icmp eq <16 x i8> %52, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%57 = icmp eq <16 x i8> %55, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%58 = select <16 x i1> %56, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %52
%59 = select <16 x i1> %57, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %55
%60 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %49
%61 = bitcast i8* %60 to <16 x i8>*
store <16 x i8> %58, <16 x i8>* %61
%62 = getelementptr inbounds i8, i8* %60, i64 16
%63 = bitcast i8* %62 to <16 x i8>*
store <16 x i8> %59, <16 x i8>* %63
%64 = add nuw i64 %33, 64
%65 = add i64 %34, 2
%66 = icmp eq i64 %65, %31
br i1 %66, label %67, label %32
67: ; preds = %32, %23
%68 = phi i64 [ 0, %23 ], [ %64, %32 ]
%69 = icmp eq i64 %28, 0
br i1 %69, label %85, label %70
70: ; preds = %67
%71 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %68
%72 = bitcast i8* %71 to <16 x i8>*
%73 = load <16 x i8>, <16 x i8>* %72
%74 = getelementptr inbounds i8, i8* %71, i64 16
%75 = bitcast i8* %74 to <16 x i8>*
%76 = load <16 x i8>, <16 x i8>* %75
%77 = icmp eq <16 x i8> %73, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%78 = icmp eq <16 x i8> %76, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%79 = select <16 x i1> %77, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %73
%80 = select <16 x i1> %78, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %76
%81 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %68
%82 = bitcast i8* %81 to <16 x i8>*
store <16 x i8> %79, <16 x i8>* %82
%83 = getelementptr inbounds i8, i8* %81, i64 16
%84 = bitcast i8* %83 to <16 x i8>*
store <16 x i8> %80, <16 x i8>* %84
br label %85
85: ; preds = %67, %70
%86 = icmp eq i64 %24, %19
br i1 %86, label %117, label %87
87: ; preds = %85
%88 = and i64 %19, 24
%89 = icmp eq i64 %88, 0
br i1 %89, label %106, label %90
90: ; preds = %21, %87
%91 = phi i64 [ %24, %87 ], [ 0, %21 ]
%92 = and i64 %19, 4294967288
br label %93
93: ; preds = %93, %90
%94 = phi i64 [ %91, %90 ], [ %102, %93 ]
%95 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %94
%96 = bitcast i8* %95 to <8 x i8>*
%97 = load <8 x i8>, <8 x i8>* %96
%98 = icmp eq <8 x i8> %97, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%99 = select <8 x i1> %98, <8 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <8 x i8> %97
%100 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %94
%101 = bitcast i8* %100 to <8 x i8>*
store <8 x i8> %99, <8 x i8>* %101
%102 = add nuw i64 %94, 8
%103 = icmp eq i64 %102, %92
br i1 %103, label %104, label %93
104: ; preds = %93
%105 = icmp eq i64 %92, %19
br i1 %105, label %117, label %106
106: ; preds = %18, %87, %104
%107 = phi i64 [ 0, %18 ], [ %24, %87 ], [ %92, %104 ]
br label %108
108: ; preds = %106, %108
%109 = phi i64 [ %115, %108 ], [ %107, %106 ]
%110 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %109
%111 = load i8, i8* %110
%112 = icmp eq i8 %111, 45
%113 = select i1 %112, i8 32, i8 %111
%114 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %109
store i8 %113, i8* %114
%115 = add nuw nsw i64 %109, 1
%116 = icmp eq i64 %115, %19
br i1 %116, label %117, label %108
117: ; preds = %108, %85, %104, %11
%118 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 0, i64 %15
store i8 0, i8* %118
%119 = call i32 @fscanf(i32* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %5)
%120 = call i32 @strlen(i8* %5)
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %121
store i8 0, i8* %122
%123 = icmp sgt i32 %120, 0
br i1 %123, label %124, label %223
124: ; preds = %117
%125 = zext i32 %120 to i64
%126 = icmp ult i32 %120, 8
br i1 %126, label %212, label %127
127: ; preds = %124
%128 = icmp ult i32 %120, 32
br i1 %128, label %196, label %129
129: ; preds = %127
%130 = and i64 %125, 4294967264
%131 = add nsw i64 %130, -32
%132 = lshr exact i64 %131, 5
%133 = add nuw nsw i64 %132, 1
%134 = and i64 %133, 1
%135 = icmp eq i64 %131, 0
br i1 %135, label %173, label %136
136: ; preds = %129
%137 = and i64 %133, 1152921504606846974
br label %138
138: ; preds = %138, %136
%139 = phi i64 [ 0, %136 ], [ %170, %138 ]
%140 = phi i64 [ 0, %136 ], [ %171, %138 ]
%141 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %139
%142 = bitcast i8* %141 to <16 x i8>*
%143 = load <16 x i8>, <16 x i8>* %142
%144 = getelementptr inbounds i8, i8* %141, i64 16
%145 = bitcast i8* %144 to <16 x i8>*
%146 = load <16 x i8>, <16 x i8>* %145
%147 = icmp eq <16 x i8> %143, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%148 = icmp eq <16 x i8> %146, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%149 = select <16 x i1> %147, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %143
%150 = select <16 x i1> %148, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %146
%151 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %139
%152 = bitcast i8* %151 to <16 x i8>*
store <16 x i8> %149, <16 x i8>* %152
%153 = getelementptr inbounds i8, i8* %151, i64 16
%154 = bitcast i8* %153 to <16 x i8>*
store <16 x i8> %150, <16 x i8>* %154
%155 = or i64 %139, 32
%156 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %155
%157 = bitcast i8* %156 to <16 x i8>*
%158 = load <16 x i8>, <16 x i8>* %157
%159 = getelementptr inbounds i8, i8* %156, i64 16
%160 = bitcast i8* %159 to <16 x i8>*
%161 = load <16 x i8>, <16 x i8>* %160
%162 = icmp eq <16 x i8> %158, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%163 = icmp eq <16 x i8> %161, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%164 = select <16 x i1> %162, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %158
%165 = select <16 x i1> %163, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %161
%166 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %155
%167 = bitcast i8* %166 to <16 x i8>*
store <16 x i8> %164, <16 x i8>* %167
%168 = getelementptr inbounds i8, i8* %166, i64 16
%169 = bitcast i8* %168 to <16 x i8>*
store <16 x i8> %165, <16 x i8>* %169
%170 = add nuw i64 %139, 64
%171 = add i64 %140, 2
%172 = icmp eq i64 %171, %137
br i1 %172, label %173, label %138
173: ; preds = %138, %129
%174 = phi i64 [ 0, %129 ], [ %170, %138 ]
%175 = icmp eq i64 %134, 0
br i1 %175, label %191, label %176
176: ; preds = %173
%177 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %174
%178 = bitcast i8* %177 to <16 x i8>*
%179 = load <16 x i8>, <16 x i8>* %178
%180 = getelementptr inbounds i8, i8* %177, i64 16
%181 = bitcast i8* %180 to <16 x i8>*
%182 = load <16 x i8>, <16 x i8>* %181
%183 = icmp eq <16 x i8> %179, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%184 = icmp eq <16 x i8> %182, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%185 = select <16 x i1> %183, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %179
%186 = select <16 x i1> %184, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %182
%187 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %174
%188 = bitcast i8* %187 to <16 x i8>*
store <16 x i8> %185, <16 x i8>* %188
%189 = getelementptr inbounds i8, i8* %187, i64 16
%190 = bitcast i8* %189 to <16 x i8>*
store <16 x i8> %186, <16 x i8>* %190
br label %191
191: ; preds = %173, %176
%192 = icmp eq i64 %130, %125
br i1 %192, label %223, label %193
193: ; preds = %191
%194 = and i64 %125, 24
%195 = icmp eq i64 %194, 0
br i1 %195, label %212, label %196
196: ; preds = %127, %193
%197 = phi i64 [ %130, %193 ], [ 0, %127 ]
%198 = and i64 %125, 4294967288
br label %199
199: ; preds = %199, %196
%200 = phi i64 [ %197, %196 ], [ %208, %199 ]
%201 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %200
%202 = bitcast i8* %201 to <8 x i8>*
%203 = load <8 x i8>, <8 x i8>* %202
%204 = icmp eq <8 x i8> %203, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%205 = select <8 x i1> %204, <8 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <8 x i8> %203
%206 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %200
%207 = bitcast i8* %206 to <8 x i8>*
store <8 x i8> %205, <8 x i8>* %207
%208 = add nuw i64 %200, 8
%209 = icmp eq i64 %208, %198
br i1 %209, label %210, label %199
210: ; preds = %199
%211 = icmp eq i64 %198, %125
br i1 %211, label %223, label %212
212: ; preds = %124, %193, %210
%213 = phi i64 [ 0, %124 ], [ %130, %193 ], [ %198, %210 ]
br label %214
214: ; preds = %212, %214
%215 = phi i64 [ %221, %214 ], [ %213, %212 ]
%216 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %215
%217 = load i8, i8* %216
%218 = icmp eq i8 %217, 45
%219 = select i1 %218, i8 32, i8 %217
%220 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %215
store i8 %219, i8* %220
%221 = add nuw nsw i64 %215, 1
%222 = icmp eq i64 %221, %125
br i1 %222, label %223, label %214
223: ; preds = %214, %191, %210, %117
%224 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 1, i64 %121
store i8 0, i8* %224
%225 = call i32 @fscanf(i32* %2, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %5)
%226 = call i32 @strlen(i8* %5)
%227 = sext i32 %226 to i64
%228 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %227
store i8 0, i8* %228
%229 = icmp sgt i32 %226, 0
br i1 %229, label %230, label %329
230: ; preds = %223
%231 = zext i32 %226 to i64
%232 = icmp ult i32 %226, 8
br i1 %232, label %318, label %233
233: ; preds = %230
%234 = icmp ult i32 %226, 32
br i1 %234, label %302, label %235
235: ; preds = %233
%236 = and i64 %231, 4294967264
%237 = add nsw i64 %236, -32
%238 = lshr exact i64 %237, 5
%239 = add nuw nsw i64 %238, 1
%240 = and i64 %239, 1
%241 = icmp eq i64 %237, 0
br i1 %241, label %279, label %242
242: ; preds = %235
%243 = and i64 %239, 1152921504606846974
br label %244
244: ; preds = %244, %242
%245 = phi i64 [ 0, %242 ], [ %276, %244 ]
%246 = phi i64 [ 0, %242 ], [ %277, %244 ]
%247 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %245
%248 = bitcast i8* %247 to <16 x i8>*
%249 = load <16 x i8>, <16 x i8>* %248
%250 = getelementptr inbounds i8, i8* %247, i64 16
%251 = bitcast i8* %250 to <16 x i8>*
%252 = load <16 x i8>, <16 x i8>* %251
%253 = icmp eq <16 x i8> %249, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%254 = icmp eq <16 x i8> %252, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%255 = select <16 x i1> %253, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %249
%256 = select <16 x i1> %254, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %252
%257 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %245
%258 = bitcast i8* %257 to <16 x i8>*
store <16 x i8> %255, <16 x i8>* %258
%259 = getelementptr inbounds i8, i8* %257, i64 16
%260 = bitcast i8* %259 to <16 x i8>*
store <16 x i8> %256, <16 x i8>* %260
%261 = or i64 %245, 32
%262 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %261
%263 = bitcast i8* %262 to <16 x i8>*
%264 = load <16 x i8>, <16 x i8>* %263
%265 = getelementptr inbounds i8, i8* %262, i64 16
%266 = bitcast i8* %265 to <16 x i8>*
%267 = load <16 x i8>, <16 x i8>* %266
%268 = icmp eq <16 x i8> %264, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%269 = icmp eq <16 x i8> %267, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%270 = select <16 x i1> %268, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %264
%271 = select <16 x i1> %269, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %267
%272 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %261
%273 = bitcast i8* %272 to <16 x i8>*
store <16 x i8> %270, <16 x i8>* %273
%274 = getelementptr inbounds i8, i8* %272, i64 16
%275 = bitcast i8* %274 to <16 x i8>*
store <16 x i8> %271, <16 x i8>* %275
%276 = add nuw i64 %245, 64
%277 = add i64 %246, 2
%278 = icmp eq i64 %277, %243
br i1 %278, label %279, label %244
279: ; preds = %244, %235
%280 = phi i64 [ 0, %235 ], [ %276, %244 ]
%281 = icmp eq i64 %240, 0
br i1 %281, label %297, label %282
282: ; preds = %279
%283 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %280
%284 = bitcast i8* %283 to <16 x i8>*
%285 = load <16 x i8>, <16 x i8>* %284
%286 = getelementptr inbounds i8, i8* %283, i64 16
%287 = bitcast i8* %286 to <16 x i8>*
%288 = load <16 x i8>, <16 x i8>* %287
%289 = icmp eq <16 x i8> %285, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%290 = icmp eq <16 x i8> %288, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%291 = select <16 x i1> %289, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %285
%292 = select <16 x i1> %290, <16 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <16 x i8> %288
%293 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %280
%294 = bitcast i8* %293 to <16 x i8>*
store <16 x i8> %291, <16 x i8>* %294
%295 = getelementptr inbounds i8, i8* %293, i64 16
%296 = bitcast i8* %295 to <16 x i8>*
store <16 x i8> %292, <16 x i8>* %296
br label %297
297: ; preds = %279, %282
%298 = icmp eq i64 %236, %231
br i1 %298, label %329, label %299
299: ; preds = %297
%300 = and i64 %231, 24
%301 = icmp eq i64 %300, 0
br i1 %301, label %318, label %302
302: ; preds = %233, %299
%303 = phi i64 [ %236, %299 ], [ 0, %233 ]
%304 = and i64 %231, 4294967288
br label %305
305: ; preds = %305, %302
%306 = phi i64 [ %303, %302 ], [ %314, %305 ]
%307 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %306
%308 = bitcast i8* %307 to <8 x i8>*
%309 = load <8 x i8>, <8 x i8>* %308
%310 = icmp eq <8 x i8> %309, <i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45, i8 45>
%311 = select <8 x i1> %310, <8 x i8> <i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32, i8 32>, <8 x i8> %309
%312 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %306
%313 = bitcast i8* %312 to <8 x i8>*
store <8 x i8> %311, <8 x i8>* %313
%314 = add nuw i64 %306, 8
%315 = icmp eq i64 %314, %304
br i1 %315, label %316, label %305
316: ; preds = %305
%317 = icmp eq i64 %304, %231
br i1 %317, label %329, label %318
318: ; preds = %230, %299, %316
%319 = phi i64 [ 0, %230 ], [ %236, %299 ], [ %304, %316 ]
br label %320
320: ; preds = %318, %320
%321 = phi i64 [ %327, %320 ], [ %319, %318 ]
%322 = getelementptr inbounds [12 x i8], [12 x i8]* %4, i64 0, i64 %321
%323 = load i8, i8* %322
%324 = icmp eq i8 %323, 45
%325 = select i1 %324, i8 32, i8 %323
%326 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %321
store i8 %325, i8* %326
%327 = add nuw nsw i64 %321, 1
%328 = icmp eq i64 %327, %231
br i1 %328, label %329, label %320
329: ; preds = %320, %297, %316, %223
%330 = getelementptr inbounds [6 x [3 x [12 x i8]]], [6 x [3 x [12 x i8]]]* %0, i64 %10, i64 %12, i64 2, i64 %227
store i8 0, i8* %330
%331 = add nuw nsw i64 %12, 1
%332 = icmp eq i64 %331, 6
br i1 %332, label %333, label %11
333: ; preds = %329
%334 = add nuw nsw i64 %10, 1
%335 = icmp eq i64 %334, %8
br i1 %335, label %336, label %9
336: ; preds = %333, %3
ret void
}