#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 rand();
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/ *);
int main() {
  int die;
  int counter = 0;
  int x;
  int ones = 0;
  int twos = 0;
  int threes = 0;
  int fours = 0;
  int fives = 0;
  int sixes = 0;
  srand(time(NULL));
  printf("How many time do you want to roll?: \n");
  scanf("%d", &x);
  while (counter < x) {
    counter++;
    die = rand() % 6 + 1;
    if (die == 1) {
      ones++;
    }
    if (die == 2) {
      twos++;
    }
    if (die == 3) {
      threes++;
    }
    if (die == 4) {
      fours++;
    }
    if (die == 5) {
      fives++;
    }
    if (die == 6) {
      sixes++;
    }
  }
  printf("Rolled a one %d\n", ones);
  printf("Rolled a two %d\n", twos);
  printf("Rolled a three %d\n", threes);
  printf("Rolled a four %d\n", fours);
  printf("Rolled a five %d\n", fives);
  printf("Rolled a six %d\n", sixes);
  if (ones > twos && ones > threes && ones > fours && ones > fives &&
      ones > sixes)
    printf("Ones were the most rolled\n");
  else if (twos > ones && twos > threes && twos > fours && twos > fives &&
           twos > sixes)
    printf("Twos were the most rolled\n");
  else if (threes > ones && threes > twos && threes > fours && threes > fives &&
           threes > sixes)
    printf("Threes were the most rolled\n");
  else if (fours > ones && fours > twos && fours > threes && fours > fives &&
           fours > sixes)
    printf("Fours were the most rolled\n");
  else if (fives > ones && fives > twos && fives > threes && fives > fours &&
           fives > sixes)
    printf("Fives were the most rolled\n");
  else if (sixes > ones && sixes > twos && sixes > threes && sixes > fours &&
           sixes > fives)
    printf("Sixes were the most rolled\n");
  if (ones < twos && ones < threes && ones < fours && ones < fives &&
      ones < sixes)
    printf("Ones were the least rolled\n");
  else if (twos < ones && twos < threes && twos < fours && twos < fives &&
           twos < sixes)
    printf("Twos were the least rolled\n");
  else if (threes < ones && threes < twos && threes < fours && threes < fives &&
           threes < sixes)
    printf("Threes were the least rolled\n");
  else if (fours < ones && fours < twos && fours < threes && fours < fives &&
           fours < sixes)
    printf("Fours were the least rolled\n");
  else if (fives < ones && fives < twos && fives < threes && fives < fours &&
           fives < sixes)
    printf("Fives were the least rolled\n");
  else if (sixes < ones && sixes < twos && sixes < threes && sixes < fours &&
           sixes < fives)
    printf("Sixes were the least rolled\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x0,-0xc(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x28(%rbp)
xor    %eax,%eax
mov    %eax,%edi
call   1050 <time@plt>
mov    %eax,%edi
call   1040 <srand@plt>
lea    0xe59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe71(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    125f <main+0x10f>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
mov    $0x0,%al
call   1070 <rand@plt>
mov    $0x6,%ecx
cltd
idiv   %ecx
add    $0x1,%edx
mov    %edx,-0x8(%rbp)
cmpl   $0x1,-0x8(%rbp)
jne    11fb <main+0xab>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
cmpl   $0x2,-0x8(%rbp)
jne    120e <main+0xbe>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
cmpl   $0x3,-0x8(%rbp)
jne    1221 <main+0xd1>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
cmpl   $0x4,-0x8(%rbp)
jne    1234 <main+0xe4>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x5,-0x8(%rbp)
jne    1247 <main+0xf7>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
cmpl   $0x6,-0x8(%rbp)
jne    125a <main+0x10a>
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    11be <main+0x6e>
mov    -0x14(%rbp),%esi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%esi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%esi
lea    0xdc0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xdc2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x24(%rbp),%esi
lea    0xdc3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%esi
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1314 <main+0x1c4>
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    1314 <main+0x1c4>
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jle    1314 <main+0x1c4>
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    1314 <main+0x1c4>
mov    -0x14(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1314 <main+0x1c4>
lea    0xd8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14b3 <main+0x363>
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jle    1363 <main+0x213>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    1363 <main+0x213>
mov    -0x18(%rbp),%eax
cmp    -0x20(%rbp),%eax
jle    1363 <main+0x213>
mov    -0x18(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    1363 <main+0x213>
mov    -0x18(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1363 <main+0x213>
lea    0xd57(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14ae <main+0x35e>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jle    13b2 <main+0x262>
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    13b2 <main+0x262>
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jle    13b2 <main+0x262>
mov    -0x1c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    13b2 <main+0x262>
mov    -0x1c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    13b2 <main+0x262>
lea    0xd23(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14a9 <main+0x359>
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jle    1401 <main+0x2b1>
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1401 <main+0x2b1>
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    1401 <main+0x2b1>
mov    -0x20(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    1401 <main+0x2b1>
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1401 <main+0x2b1>
lea    0xcf1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    14a4 <main+0x354>
mov    -0x24(%rbp),%eax
cmp    -0x14(%rbp),%eax
jle    1450 <main+0x300>
mov    -0x24(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    1450 <main+0x300>
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    1450 <main+0x300>
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jle    1450 <main+0x300>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jle    1450 <main+0x300>
lea    0xcbe(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    149f <main+0x34f>
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
jle    149a <main+0x34a>
mov    -0x28(%rbp),%eax
cmp    -0x18(%rbp),%eax
jle    149a <main+0x34a>
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jle    149a <main+0x34a>
mov    -0x28(%rbp),%eax
cmp    -0x20(%rbp),%eax
jle    149a <main+0x34a>
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jle    149a <main+0x34a>
lea    0xc8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    149f <main+0x34f>
jmp    14a4 <main+0x354>
jmp    14a9 <main+0x359>
jmp    14ae <main+0x35e>
jmp    14b3 <main+0x363>
mov    -0x14(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1502 <main+0x3b2>
mov    -0x14(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1502 <main+0x3b2>
mov    -0x14(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1502 <main+0x3b2>
mov    -0x14(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1502 <main+0x3b2>
mov    -0x14(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1502 <main+0x3b2>
lea    0xc44(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    16a1 <main+0x551>
mov    -0x18(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1551 <main+0x401>
mov    -0x18(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1551 <main+0x401>
mov    -0x18(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1551 <main+0x401>
mov    -0x18(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1551 <main+0x401>
mov    -0x18(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1551 <main+0x401>
lea    0xc11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    169c <main+0x54c>
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    15a0 <main+0x450>
mov    -0x1c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    15a0 <main+0x450>
mov    -0x1c(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    15a0 <main+0x450>
mov    -0x1c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    15a0 <main+0x450>
mov    -0x1c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    15a0 <main+0x450>
lea    0xbde(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1697 <main+0x547>
mov    -0x20(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    15ef <main+0x49f>
mov    -0x20(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    15ef <main+0x49f>
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    15ef <main+0x49f>
mov    -0x20(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    15ef <main+0x49f>
mov    -0x20(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    15ef <main+0x49f>
lea    0xbad(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    1692 <main+0x542>
mov    -0x24(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    163e <main+0x4ee>
mov    -0x24(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    163e <main+0x4ee>
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    163e <main+0x4ee>
mov    -0x24(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    163e <main+0x4ee>
mov    -0x24(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    163e <main+0x4ee>
lea    0xb7b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    168d <main+0x53d>
mov    -0x28(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1688 <main+0x538>
mov    -0x28(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    1688 <main+0x538>
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1688 <main+0x538>
mov    -0x28(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1688 <main+0x538>
mov    -0x28(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1688 <main+0x538>
lea    0xb49(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    168d <main+0x53d>
jmp    1692 <main+0x542>
jmp    1697 <main+0x547>
jmp    169c <main+0x54c>
jmp    16a1 <main+0x551>
xor    %eax,%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    $0x38,%rsp
xor    %edi,%edi
call   1060 <time@plt>
mov    %eax,%edi
call   1050 <srand@plt>
lea    0xf1a(%rip),%rdi
call   1030 <puts@plt>
lea    0xea1(%rip),%rdi
lea    0xc(%rsp),%rsi
call   1070 <scanf@plt>
cmpl   $0x0,0xc(%rsp)
jle    1239 <main+0xd9>
pxor   %xmm0,%xmm0
movdqa %xmm0,0x10(%rsp)
xor    %ebx,%ebx
pxor   %xmm2,%xmm2
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movdqa %xmm2,0x20(%rsp)
add    $0x1,%ebx
xor    %eax,%eax
call   1080 <rand@plt>
movdqa 0x20(%rsp),%xmm2
cltq
imul   $0x2aaaaaab,%rax,%rcx
mov    %rcx,%rdx
shr    $0x3f,%rdx
shr    $0x20,%rcx
add    %edx,%ecx
add    %ecx,%ecx
lea    (%rcx,%rcx,2),%ecx
mov    %eax,%edx
sub    %ecx,%edx
neg    %ecx
add    %ecx,%eax
add    $0x1,%eax
movd   %eax,%xmm0
pshufd $0x0,%xmm0,%xmm1
pcmpeqd 0xdf3(%rip),%xmm1
movdqa 0x10(%rsp),%xmm3
psubd  %xmm1,%xmm3
movdqa %xmm3,0x10(%rsp)
movd   %edx,%xmm1
punpckldq %xmm0,%xmm1
pcmpeqd 0xde3(%rip),%xmm1
psubd  %xmm1,%xmm2
cmp    0xc(%rsp),%ebx
jl     11c0 <main+0x60>
jmp    1247 <main+0xe7>
pxor   %xmm0,%xmm0
movdqa %xmm0,0x10(%rsp)
pxor   %xmm2,%xmm2
movdqa %xmm2,0x20(%rsp)
movd   %xmm2,%ebx
lea    0xddb(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
movdqa 0x10(%rsp),%xmm0
movd   %xmm0,%ebp
lea    0xdd2(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
pshufd $0x55,0x10(%rsp),%xmm0
movd   %xmm0,%r14d
lea    0xdc7(%rip),%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
pshufd $0xee,0x10(%rsp),%xmm0
movd   %xmm0,%r15d
lea    0xdbd(%rip),%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
pshufd $0xff,0x10(%rsp),%xmm0
movd   %xmm0,%r12d
lea    0xdb2(%rip),%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
pshufd $0x55,0x20(%rsp),%xmm0
movd   %xmm0,%r13d
lea    0xda7(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmp    %ebp,%ebx
jbe    1313 <main+0x1b3>
cmp    %r14d,%ebx
jbe    1313 <main+0x1b3>
cmp    %r15d,%ebx
jbe    1313 <main+0x1b3>
cmp    %r12d,%ebx
jbe    1313 <main+0x1b3>
cmp    %r13d,%ebx
jbe    1313 <main+0x1b3>
lea    0xee2(%rip),%rdi
jmp    1416 <main+0x2b6>
cmp    %ebx,%ebp
jbe    1337 <main+0x1d7>
cmp    %r14d,%ebp
jbe    1337 <main+0x1d7>
cmp    %r15d,%ebp
jbe    1337 <main+0x1d7>
cmp    %r12d,%ebp
jbe    1337 <main+0x1d7>
cmp    %r13d,%ebp
jbe    1337 <main+0x1d7>
lea    0xea4(%rip),%rdi
jmp    1416 <main+0x2b6>
movapd 0x20(%rsp),%xmm6
movapd %xmm6,%xmm0
movapd 0x10(%rsp),%xmm5
unpcklps %xmm5,%xmm0
movapd %xmm5,%xmm3
movsd  %xmm0,%xmm3
movapd 0xcc6(%rip),%xmm1
xorpd  %xmm1,%xmm3
movapd %xmm5,%xmm2
xorpd  %xmm1,%xmm2
pshufd $0x55,%xmm2,%xmm4
pcmpgtd %xmm3,%xmm4
pslld  $0x1f,%xmm4
movmskps %xmm4,%eax
cmp    $0xf,%al
jne    138c <main+0x22c>
cmp    %r13d,%r14d
jbe    138c <main+0x22c>
lea    0xe33(%rip),%rdi
jmp    1416 <main+0x2b6>
movapd %xmm0,%xmm3
shufps $0xd4,%xmm5,%xmm3
xorps  %xmm1,%xmm3
pshufd $0xaa,%xmm2,%xmm4
pcmpgtd %xmm3,%xmm4
pslld  $0x1f,%xmm4
movmskps %xmm4,%eax
cmp    $0xf,%al
jne    13ba <main+0x25a>
cmp    %r13d,%r15d
jbe    13ba <main+0x25a>
lea    0xde7(%rip),%rdi
jmp    1416 <main+0x2b6>
movaps %xmm5,%xmm3
shufps $0x31,%xmm0,%xmm3
shufps $0x84,%xmm3,%xmm0
movaps %xmm5,%xmm3
unpckhpd %xmm0,%xmm3
shufps $0x24,%xmm3,%xmm0
xorps  %xmm1,%xmm0
pshufd $0xff,%xmm2,%xmm1
pcmpgtd %xmm0,%xmm1
pslld  $0x1f,%xmm1
movmskps %xmm1,%eax
cmp    $0xf,%al
jne    13f6 <main+0x296>
cmp    %r13d,%r12d
jbe    13f6 <main+0x296>
lea    0xd90(%rip),%rdi
jmp    1416 <main+0x2b6>
cmp    %ebx,%r13d
jbe    1426 <main+0x2c6>
cmp    %ebp,%r13d
jbe    1426 <main+0x2c6>
cmp    %r14d,%r13d
jbe    1426 <main+0x2c6>
cmp    %r15d,%r13d
jbe    1426 <main+0x2c6>
cmp    %r12d,%r13d
jbe    1426 <main+0x2c6>
lea    0xd53(%rip),%rdi
call   1030 <puts@plt>
movaps 0x10(%rsp),%xmm5
movapd 0x20(%rsp),%xmm6
movapd 0xbf2(%rip),%xmm0
xorpd  %xmm0,%xmm5
xorpd  %xmm0,%xmm6
pshufd $0x0,%xmm6,%xmm0
pcmpgtd %xmm0,%xmm5
pslld  $0x1f,%xmm5
movmskps %xmm5,%eax
cmp    $0xf,%al
jne    145c <main+0x2fc>
cmp    %r13d,%ebx
jae    145c <main+0x2fc>
lea    0xcf7(%rip),%rdi
jmp    1506 <main+0x3a6>
cmp    %ebp,%ebx
jbe    1480 <main+0x320>
cmp    %r14d,%ebp
jae    1480 <main+0x320>
cmp    %r15d,%ebp
jae    1480 <main+0x320>
cmp    %r12d,%ebp
jae    1480 <main+0x320>
cmp    %r13d,%ebp
jae    1480 <main+0x320>
lea    0xcb8(%rip),%rdi
jmp    1506 <main+0x3a6>
cmp    %r14d,%ebx
jbe    14a2 <main+0x342>
cmp    %ebp,%r14d
jae    14a2 <main+0x342>
cmp    %r15d,%r14d
jae    14a2 <main+0x342>
cmp    %r12d,%r14d
jae    14a2 <main+0x342>
cmp    %r13d,%r14d
jae    14a2 <main+0x342>
lea    0xc76(%rip),%rdi
jmp    1506 <main+0x3a6>
cmp    %r15d,%ebx
jbe    14c4 <main+0x364>
cmp    %ebp,%r15d
jae    14c4 <main+0x364>
cmp    %r14d,%r15d
jae    14c4 <main+0x364>
cmp    %r12d,%r15d
jae    14c4 <main+0x364>
cmp    %r13d,%r15d
jae    14c4 <main+0x364>
lea    0xc38(%rip),%rdi
jmp    1506 <main+0x3a6>
cmp    %r12d,%ebx
jbe    14e6 <main+0x386>
cmp    %ebp,%r12d
jae    14e6 <main+0x386>
cmp    %r14d,%r12d
jae    14e6 <main+0x386>
cmp    %r15d,%r12d
jae    14e6 <main+0x386>
cmp    %r13d,%r12d
jae    14e6 <main+0x386>
lea    0xbfa(%rip),%rdi
jmp    1506 <main+0x3a6>
cmp    %r13d,%ebx
jbe    150b <main+0x3ab>
cmp    %ebp,%r13d
jae    150b <main+0x3ab>
cmp    %r14d,%r13d
jae    150b <main+0x3ab>
cmp    %r15d,%r13d
jae    150b <main+0x3ab>
cmp    %r12d,%r13d
jae    150b <main+0x3ab>
lea    0xbbc(%rip),%rdi
call   1030 <puts@plt>
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [17 x i8] c"Rolled a one %d\0A\00"
@.str.3 = [17 x i8] c"Rolled a two %d\0A\00"
@.str.4 = [19 x i8] c"Rolled a three %d\0A\00"
@.str.5 = [18 x i8] c"Rolled a four %d\0A\00"
@.str.6 = [18 x i8] c"Rolled a five %d\0A\00"
@.str.7 = [17 x i8] c"Rolled a six %d\0A\00"
@str = [37 x i8] c"How many time do you want to roll?: \00"
@str.20 = [28 x i8] c"Sixes were the least rolled\00"
@str.21 = [28 x i8] c"Fives were the least rolled\00"
@str.22 = [28 x i8] c"Fours were the least rolled\00"
@str.23 = [29 x i8] c"Threes were the least rolled\00"
@str.24 = [27 x i8] c"Twos were the least rolled\00"
@str.25 = [27 x i8] c"Ones were the least rolled\00"
@str.26 = [27 x i8] c"Sixes were the most rolled\00"
@str.27 = [27 x i8] c"Fives were the most rolled\00"
@str.28 = [27 x i8] c"Fours were the most rolled\00"
@str.29 = [28 x i8] c"Threes were the most rolled\00"
@str.30 = [26 x i8] c"Twos were the most rolled\00"
@str.31 = [26 x i8] c"Ones were the most rolled\00"
define i32 @main() {
%1 = alloca i32
%2 = bitcast i32* %1 to i8*
%3 = tail call i32 @time(i32* null)
%4 = tail call i32 @srand(i32 %3)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str, i64 0, i64 0))
%6 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%7 = load i32, i32* %1
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %29
9: ; preds = %0, %9
%10 = phi i32 [ %13, %9 ], [ 0, %0 ]
%11 = phi <4 x i32> [ %21, %9 ], [ zeroinitializer, %0 ]
%12 = phi <2 x i32> [ %26, %9 ], [ zeroinitializer, %0 ]
%13 = add nuw nsw i32 %10, 1
%14 = call i32 (...) @rand()
%15 = srem i32 %14, 6
%16 = add nsw i32 %15, 1
%17 = insertelement <4 x i32> poison, i32 %16, i64 0
%18 = shufflevector <4 x i32> %17, <4 x i32> poison, <4 x i32> zeroinitializer
%19 = icmp eq <4 x i32> %18, <i32 2, i32 3, i32 4, i32 5>
%20 = zext <4 x i1> %19 to <4 x i32>
%21 = add nuw nsw <4 x i32> %11, %20
%22 = insertelement <2 x i32> poison, i32 %15, i64 0
%23 = insertelement <2 x i32> %22, i32 %16, i64 1
%24 = icmp eq <2 x i32> %23, <i32 0, i32 6>
%25 = zext <2 x i1> %24 to <2 x i32>
%26 = add nuw nsw <2 x i32> %12, %25
%27 = load i32, i32* %1
%28 = icmp slt i32 %13, %27
br i1 %28, label %9, label %29
29: ; preds = %9, %0
%30 = phi <4 x i32> [ zeroinitializer, %0 ], [ %21, %9 ]
%31 = phi <2 x i32> [ zeroinitializer, %0 ], [ %26, %9 ]
%32 = extractelement <2 x i32> %31, i64 0
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %32)
%34 = extractelement <4 x i32> %30, i64 0
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32 %34)
%36 = extractelement <4 x i32> %30, i64 1
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.4, i64 0, i64 0), i32 %36)
%38 = extractelement <4 x i32> %30, i64 2
%39 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.5, i64 0, i64 0), i32 %38)
%40 = extractelement <4 x i32> %30, i64 3
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.6, i64 0, i64 0), i32 %40)
%42 = extractelement <2 x i32> %31, i64 1
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.7, i64 0, i64 0), i32 %42)
%44 = icmp ugt i32 %32, %34
%45 = icmp ugt i32 %32, %36
%46 = and i1 %44, %45
%47 = icmp ugt i32 %32, %38
%48 = and i1 %46, %47
%49 = icmp ugt i32 %32, %40
%50 = and i1 %48, %49
%51 = icmp ugt i32 %32, %42
%52 = and i1 %50, %51
br i1 %52, label %103, label %53
53: ; preds = %29
%54 = icmp ugt i32 %34, %32
%55 = icmp ugt i32 %34, %36
%56 = and i1 %54, %55
%57 = icmp ugt i32 %34, %38
%58 = and i1 %56, %57
%59 = icmp ugt i32 %34, %40
%60 = and i1 %58, %59
%61 = icmp ugt i32 %34, %42
%62 = and i1 %60, %61
br i1 %62, label %103, label %63
63: ; preds = %53
%64 = shufflevector <4 x i32> %30, <4 x i32> undef, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%65 = shufflevector <2 x i32> %31, <2 x i32> undef, <4 x i32> <i32 0, i32 undef, i32 undef, i32 undef>
%66 = shufflevector <4 x i32> %65, <4 x i32> %30, <4 x i32> <i32 0, i32 4, i32 undef, i32 undef>
%67 = shufflevector <4 x i32> %66, <4 x i32> %30, <4 x i32> <i32 0, i32 1, i32 6, i32 7>
%68 = icmp ugt <4 x i32> %64, %67
%69 = freeze <4 x i1> %68
%70 = bitcast <4 x i1> %69 to i4
%71 = icmp eq i4 %70, -1
%72 = icmp ugt i32 %36, %42
%73 = and i1 %71, %72
br i1 %73, label %103, label %74
74: ; preds = %63
%75 = shufflevector <4 x i32> %30, <4 x i32> undef, <4 x i32> <i32 2, i32 2, i32 2, i32 2>
%76 = shufflevector <4 x i32> %66, <4 x i32> %30, <4 x i32> <i32 0, i32 1, i32 5, i32 3>
%77 = shufflevector <4 x i32> %76, <4 x i32> %30, <4 x i32> <i32 0, i32 1, i32 2, i32 7>
%78 = icmp ugt <4 x i32> %75, %77
%79 = freeze <4 x i1> %78
%80 = bitcast <4 x i1> %79 to i4
%81 = icmp eq i4 %80, -1
%82 = icmp ugt i32 %38, %42
%83 = and i1 %81, %82
br i1 %83, label %103, label %84
84: ; preds = %74
%85 = shufflevector <4 x i32> %30, <4 x i32> undef, <4 x i32> <i32 3, i32 3, i32 3, i32 3>
%86 = shufflevector <4 x i32> %76, <4 x i32> %30, <4 x i32> <i32 0, i32 1, i32 2, i32 6>
%87 = icmp ugt <4 x i32> %85, %86
%88 = freeze <4 x i1> %87
%89 = bitcast <4 x i1> %88 to i4
%90 = icmp eq i4 %89, -1
%91 = icmp ugt i32 %40, %42
%92 = and i1 %90, %91
br i1 %92, label %103, label %93
93: ; preds = %84
%94 = icmp ugt i32 %42, %32
%95 = icmp ugt i32 %42, %34
%96 = and i1 %94, %95
%97 = icmp ugt i32 %42, %36
%98 = and i1 %96, %97
%99 = icmp ugt i32 %42, %38
%100 = and i1 %98, %99
%101 = icmp ugt i32 %42, %40
%102 = and i1 %100, %101
br i1 %102, label %103, label %106
103: ; preds = %93, %84, %74, %63, %53, %29
%104 = phi i8* [ getelementptr inbounds ([26 x i8], [26 x i8]* @str.31, i64 0, i64 0), %29 ], [ getelementptr inbounds ([26 x i8], [26 x i8]* @str.30, i64 0, i64 0), %53 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @str.29, i64 0, i64 0), %63 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @str.28, i64 0, i64 0), %74 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @str.27, i64 0, i64 0), %84 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @str.26, i64 0, i64 0), %93 ]
%105 = call i32 @puts(i8* dereferenceable(1) %104)
br label %106
106: ; preds = %103, %93
%107 = shufflevector <2 x i32> %31, <2 x i32> undef, <4 x i32> zeroinitializer
%108 = icmp ult <4 x i32> %107, %30
%109 = freeze <4 x i1> %108
%110 = bitcast <4 x i1> %109 to i4
%111 = icmp eq i4 %110, -1
%112 = icmp ult i32 %32, %42
%113 = and i1 %111, %112
br i1 %113, label %159, label %114
114: ; preds = %106
%115 = icmp ult i32 %34, %36
%116 = and i1 %44, %115
%117 = icmp ult i32 %34, %38
%118 = and i1 %116, %117
%119 = icmp ult i32 %34, %40
%120 = and i1 %118, %119
%121 = icmp ult i32 %34, %42
%122 = and i1 %120, %121
br i1 %122, label %159, label %123
123: ; preds = %114
%124 = icmp ult i32 %36, %34
%125 = and i1 %45, %124
%126 = icmp ult i32 %36, %38
%127 = and i1 %125, %126
%128 = icmp ult i32 %36, %40
%129 = and i1 %127, %128
%130 = icmp ult i32 %36, %42
%131 = and i1 %129, %130
br i1 %131, label %159, label %132
132: ; preds = %123
%133 = icmp ult i32 %38, %34
%134 = and i1 %47, %133
%135 = icmp ult i32 %38, %36
%136 = and i1 %134, %135
%137 = icmp ult i32 %38, %40
%138 = and i1 %136, %137
%139 = icmp ult i32 %38, %42
%140 = and i1 %138, %139
br i1 %140, label %159, label %141
141: ; preds = %132
%142 = icmp ult i32 %40, %34
%143 = and i1 %49, %142
%144 = icmp ult i32 %40, %36
%145 = and i1 %143, %144
%146 = icmp ult i32 %40, %38
%147 = and i1 %145, %146
%148 = icmp ult i32 %40, %42
%149 = and i1 %147, %148
br i1 %149, label %159, label %150
150: ; preds = %141
%151 = icmp ult i32 %42, %34
%152 = and i1 %51, %151
%153 = icmp ult i32 %42, %36
%154 = and i1 %152, %153
%155 = icmp ult i32 %42, %38
%156 = and i1 %154, %155
%157 = icmp ult i32 %42, %40
%158 = and i1 %156, %157
br i1 %158, label %159, label %162
159: ; preds = %150, %141, %132, %123, %114, %106
%160 = phi i8* [ getelementptr inbounds ([27 x i8], [27 x i8]* @str.25, i64 0, i64 0), %106 ], [ getelementptr inbounds ([27 x i8], [27 x i8]* @str.24, i64 0, i64 0), %114 ], [ getelementptr inbounds ([29 x i8], [29 x i8]* @str.23, i64 0, i64 0), %123 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @str.22, i64 0, i64 0), %132 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @str.21, i64 0, i64 0), %141 ], [ getelementptr inbounds ([28 x i8], [28 x i8]* @str.20, i64 0, i64 0), %150 ]
%161 = call i32 @puts(i8* dereferenceable(1) %160)
br label %162
162: ; preds = %159, %150
ret i32 0
}