#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*/ shuffle(int *, int);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  srand(time(NULL));
  int p1 = 0;
  int p2 = 0;
  int c1[4][4], c2[4][4];
  int numbers[50];
  for (int i = 0; i < 50; i++)
    numbers[i] = i + 1;
  shuffle(numbers, 50);
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < 4; j++) {
      c1[i][j] = numbers[i * 4 + j];
      printf("%i\t", c1[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  shuffle(numbers, 50);
  for (int i = 0; i < 4; i++) {
    for (int j = 0; j < 4; j++) {
      c2[i][j] = numbers[i * 4 + j];
      printf("%i\t", c2[i][j]);
    }
    printf("\n");
  }
  printf("\n");
  shuffle(numbers, 50);
  for (int k = 0; k < 50 && (p1 <= 16 || p2 <= 16); k++) {
    int sorteio = numbers[k];
    printf("%i ", sorteio);
    for (int i = 0; i < 4; i++) {
      for (int j = 0; j < 4; j++) {
        if (c1[i][j] == sorteio)
          p1++;
        if (c2[i][j] == sorteio)
          p2++;
      }
    }
  }
  if (p1 == 16)
    printf("\nBingo! Jogador 1 ganhou\n");
  else if (p2 == 16)
    printf("\nBingo! Jogador 2 ganhou\n");
  else
    printf("\nempate");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x190,%rsp
movl   $0x0,-0x4(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
movl   $0x0,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x164(%rbp)
cmpl   $0x32,-0x164(%rbp)
jge    11b2 <main+0x72>
mov    -0x164(%rbp),%ecx
add    $0x1,%ecx
movslq -0x164(%rbp),%rax
mov    %ecx,-0x160(%rbp,%rax,4)
mov    -0x164(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x164(%rbp)
jmp    117a <main+0x3a>
lea    -0x160(%rbp),%rdi
mov    $0x32,%esi
call   1030 <shuffle@plt>
movl   $0x0,-0x168(%rbp)
cmpl   $0x4,-0x168(%rbp)
jge    1285 <main+0x145>
movl   $0x0,-0x16c(%rbp)
cmpl   $0x4,-0x16c(%rbp)
jge    1263 <main+0x123>
mov    -0x168(%rbp),%eax
shl    $0x2,%eax
add    -0x16c(%rbp),%eax
cltq
mov    -0x160(%rbp,%rax,4),%edx
movslq -0x168(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x16c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movslq -0x168(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x16c(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xdb8(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x16c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x16c(%rbp)
jmp    11e4 <main+0xa4>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x168(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x168(%rbp)
jmp    11cd <main+0x8d>
lea    0xd94(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x160(%rbp),%rdi
mov    $0x32,%esi
call   1030 <shuffle@plt>
movl   $0x0,-0x170(%rbp)
cmpl   $0x4,-0x170(%rbp)
jge    136c <main+0x22c>
movl   $0x0,-0x174(%rbp)
cmpl   $0x4,-0x174(%rbp)
jge    134a <main+0x20a>
mov    -0x170(%rbp),%eax
shl    $0x2,%eax
add    -0x174(%rbp),%eax
cltq
mov    -0x160(%rbp,%rax,4),%edx
movslq -0x170(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x174(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
movslq -0x170(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x174(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcd1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x174(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x174(%rbp)
jmp    12c5 <main+0x185>
lea    0xccf(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x170(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x170(%rbp)
jmp    12ae <main+0x16e>
lea    0xcad(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    -0x160(%rbp),%rdi
mov    $0x32,%esi
call   1030 <shuffle@plt>
movl   $0x0,-0x178(%rbp)
xor    %eax,%eax
cmpl   $0x32,-0x178(%rbp)
mov    %al,-0x185(%rbp)
jge    13d5 <main+0x295>
mov    $0x1,%al
cmpl   $0x10,-0x8(%rbp)
mov    %al,-0x186(%rbp)
jle    13c9 <main+0x289>
cmpl   $0x10,-0xc(%rbp)
setle  %al
mov    %al,-0x186(%rbp)
mov    -0x186(%rbp),%al
mov    %al,-0x185(%rbp)
mov    -0x185(%rbp),%al
test   $0x1,%al
jne    13e8 <main+0x2a8>
jmp    14ee <main+0x3ae>
movslq -0x178(%rbp),%rax
mov    -0x160(%rbp,%rax,4),%eax
mov    %eax,-0x17c(%rbp)
mov    -0x17c(%rbp),%esi
lea    0xbfb(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x180(%rbp)
cmpl   $0x4,-0x180(%rbp)
jge    14d5 <main+0x395>
movl   $0x0,-0x184(%rbp)
cmpl   $0x4,-0x184(%rbp)
jge    14bc <main+0x37c>
movslq -0x180(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x184(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x17c(%rbp),%eax
jne    146f <main+0x32f>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
movslq -0x180(%rbp),%rcx
lea    -0x90(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x184(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x17c(%rbp),%eax
jne    14a3 <main+0x363>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    14a8 <main+0x368>
mov    -0x184(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x184(%rbp)
jmp    1431 <main+0x2f1>
jmp    14c1 <main+0x381>
mov    -0x180(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x180(%rbp)
jmp    141a <main+0x2da>
jmp    14da <main+0x39a>
mov    -0x178(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x178(%rbp)
jmp    1395 <main+0x255>
cmpl   $0x10,-0x8(%rbp)
jne    150b <main+0x3cb>
lea    0xb09(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    153b <main+0x3fb>
cmpl   $0x10,-0xc(%rbp)
jne    1528 <main+0x3e8>
lea    0xb06(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    1536 <main+0x3f6>
lea    0xb0d(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    153b <main+0x3fb>
mov    -0x4(%rbp),%eax
add    $0x190,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x150,%rsp
xor    %edi,%edi
call   1080 <time@plt>
mov    %eax,%edi
call   1070 <srand@plt>
movaps 0xe7c(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xe7d(%rip),%xmm0
movaps %xmm0,0x90(%rsp)
movaps 0xe7e(%rip),%xmm0
movaps %xmm0,0xa0(%rsp)
movaps 0xe7f(%rip),%xmm0
movaps %xmm0,0xb0(%rsp)
movaps 0xe80(%rip),%xmm0
movaps %xmm0,0xc0(%rsp)
movaps 0xe81(%rip),%xmm0
movaps %xmm0,0xd0(%rsp)
movaps 0xe82(%rip),%xmm0
movaps %xmm0,0xe0(%rsp)
movaps 0xe83(%rip),%xmm0
movaps %xmm0,0xf0(%rsp)
movaps 0xe84(%rip),%xmm0
movaps %xmm0,0x100(%rsp)
movaps 0xe85(%rip),%xmm0
movaps %xmm0,0x110(%rsp)
movaps 0xe86(%rip),%xmm0
movaps %xmm0,0x120(%rsp)
movdqa 0xe86(%rip),%xmm0
movdqa %xmm0,0x130(%rsp)
movabs $0x3200000031,%rax
mov    %rax,0x140(%rsp)
lea    0x80(%rsp),%r14
mov    %r14,%rdi
mov    $0x32,%esi
call   1050 <shuffle@plt>
mov    0x80(%rsp),%esi
mov    %esi,0x40(%rsp)
lea    0xe54(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x84(%rsp),%esi
mov    %esi,0x44(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x88(%rsp),%esi
mov    %esi,0x48(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8c(%rsp),%esi
mov    %esi,0x4c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x90(%rsp),%esi
mov    %esi,0x50(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x94(%rsp),%esi
mov    %esi,0x54(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x98(%rsp),%esi
mov    %esi,0x58(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x9c(%rsp),%esi
mov    %esi,0x5c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0xa0(%rsp),%esi
mov    %esi,0x60(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xa4(%rsp),%esi
mov    %esi,0x64(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xa8(%rsp),%esi
mov    %esi,0x68(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xac(%rsp),%esi
mov    %esi,0x6c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0xb0(%rsp),%esi
mov    %esi,0x70(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xb4(%rsp),%esi
mov    %esi,0x74(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xb8(%rsp),%esi
mov    %esi,0x78(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xbc(%rsp),%esi
mov    %esi,0x7c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x32,%esi
call   1050 <shuffle@plt>
mov    0x80(%rsp),%esi
mov    %esi,(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x84(%rsp),%esi
mov    %esi,0x4(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x88(%rsp),%esi
mov    %esi,0x8(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x8c(%rsp),%esi
mov    %esi,0xc(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x90(%rsp),%esi
mov    %esi,0x10(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x94(%rsp),%esi
mov    %esi,0x14(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x98(%rsp),%esi
mov    %esi,0x18(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0x9c(%rsp),%esi
mov    %esi,0x1c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0xa0(%rsp),%esi
mov    %esi,0x20(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xa4(%rsp),%esi
mov    %esi,0x24(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xa8(%rsp),%esi
mov    %esi,0x28(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xac(%rsp),%esi
mov    %esi,0x2c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0xb0(%rsp),%esi
mov    %esi,0x30(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xb4(%rsp),%esi
mov    %esi,0x34(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xb8(%rsp),%esi
mov    %esi,0x38(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    0xbc(%rsp),%esi
mov    %esi,0x3c(%rsp)
mov    %rbx,%rdi
xor    %eax,%eax
call   1060 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r14,%rdi
mov    $0x32,%esi
call   1050 <shuffle@plt>
lea    0xb3f(%rip),%r14
xor    %r15d,%r15d
xor    %ebx,%ebx
xor    %r12d,%r12d
nopl   (%rax)
cmp    $0x11,%ebx
jl     159f <main+0x43f>
cmp    $0x11,%r12d
jge    179f <main+0x63f>
mov    0x80(%rsp,%r15,4),%ebp
mov    %r14,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1060 <printf@plt>
movd   %ebx,%xmm0
movd   %r12d,%xmm1
movd   %ebp,%xmm2
pshufd $0x0,%xmm2,%xmm2
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movd   0x70(%rsp,%rax,1),%xmm3
movd   0x60(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x50(%rsp,%rax,1),%xmm3
movd   0x40(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm0
movd   0x30(%rsp,%rax,1),%xmm3
movd   0x20(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x10(%rsp,%rax,1),%xmm3
movd   (%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm1
movd   0x74(%rsp,%rax,1),%xmm3
movd   0x64(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x54(%rsp,%rax,1),%xmm3
movd   0x44(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm0
movd   0x34(%rsp,%rax,1),%xmm3
movd   0x24(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x14(%rsp,%rax,1),%xmm3
movd   0x4(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm1
movd   0x78(%rsp,%rax,1),%xmm3
movd   0x68(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x58(%rsp,%rax,1),%xmm3
movd   0x48(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm0
movd   0x38(%rsp,%rax,1),%xmm3
movd   0x28(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x18(%rsp,%rax,1),%xmm3
movd   0x8(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm1
movd   0x7c(%rsp,%rax,1),%xmm3
movd   0x6c(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x5c(%rsp,%rax,1),%xmm3
movd   0x4c(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm0
movd   0x3c(%rsp,%rax,1),%xmm3
movd   0x2c(%rsp,%rax,1),%xmm4
punpckldq %xmm3,%xmm4
movd   0x1c(%rsp,%rax,1),%xmm3
movd   0xc(%rsp,%rax,1),%xmm5
punpckldq %xmm3,%xmm5
punpcklqdq %xmm4,%xmm5
pcmpeqd %xmm2,%xmm5
psubd  %xmm5,%xmm1
add    $0x40,%rax
cmp    $0x40,%rax
jne    15d0 <main+0x470>
pshufd $0xee,%xmm1,%xmm2
paddd  %xmm1,%xmm2
pshufd $0x55,%xmm2,%xmm1
paddd  %xmm2,%xmm1
movd   %xmm1,%r12d
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%ebx
add    $0x1,%r15
cmp    $0x32,%r15
jne    1590 <main+0x430>
cmp    $0x10,%ebx
jne    178b <main+0x62b>
lea    0x965(%rip),%rdi
call   1040 <puts@plt>
jmp    17ad <main+0x64d>
cmp    $0x10,%r12d
jne    179f <main+0x63f>
lea    0x938(%rip),%rdi
call   1040 <puts@plt>
jmp    17ad <main+0x64d>
lea    0x922(%rip),%rdi
xor    %eax,%eax
call   1060 <printf@plt>
xor    %eax,%eax
add    $0x150,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

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