#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*/ scanf(char *, int *);
void main() {
  int v[15], i, j, cont, primos = 0, aux = 0;
  for (i = 0; i < 15; i++) {
    printf("v[%d] = ", i);
    scanf(" %d", &v[i]);
  }
  for (i = 0; i < 15; i++) {
    cont = 0;
    for (j = 1; j <= v[i] / 2; j++) {
      if (v[i] % j == 0)
        cont++;
    }
    if (cont == 1)
      primos++;
  }
  int r[primos];
  for (i = 0; i < 15; i++) {
    cont = 0;
    for (j = 1; j <= v[i] / 2; j++) {
      if (v[i] % j == 0)
        cont++;
    }
    if (cont == 1) {
      r[aux] = v[i];
      aux++;
    }
  }
  printf("\nNumeros primos: ");
  for (i = 0; i < primos; i++)
    printf("%d ", r[i]);
  printf("\n");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x50(%rbp)
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0xf,-0x44(%rbp)
jge    1184 <main+0x64>
mov    -0x44(%rbp),%esi
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x44(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe98(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1140 <main+0x20>
movl   $0x0,-0x44(%rbp)
cmpl   $0xf,-0x44(%rbp)
jge    121d <main+0xfd>
movl   $0x0,-0x4c(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x6c(%rbp)
movslq -0x44(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x6c(%rbp),%eax
cmp    %ecx,%eax
jg     11f7 <main+0xd7>
movslq -0x44(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cltd
idivl  -0x48(%rbp)
cmp    $0x0,%edx
jne    11e4 <main+0xc4>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    11e9 <main+0xc9>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    11a3 <main+0x83>
cmpl   $0x1,-0x4c(%rbp)
jne    120a <main+0xea>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    120f <main+0xef>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    118b <main+0x6b>
mov    -0x50(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x60(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x78(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x68(%rbp)
movl   $0x0,-0x44(%rbp)
cmpl   $0xf,-0x44(%rbp)
jge    12f0 <main+0x1d0>
movl   $0x0,-0x4c(%rbp)
movl   $0x1,-0x48(%rbp)
mov    -0x48(%rbp),%eax
mov    %eax,-0x7c(%rbp)
movslq -0x44(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x7c(%rbp),%eax
cmp    %ecx,%eax
jg     12b7 <main+0x197>
movslq -0x44(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
cltd
idivl  -0x48(%rbp)
cmp    $0x0,%edx
jne    12a4 <main+0x184>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12a9 <main+0x189>
mov    -0x48(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x48(%rbp)
jmp    1263 <main+0x143>
cmpl   $0x1,-0x4c(%rbp)
jne    12dd <main+0x1bd>
mov    -0x78(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    -0x40(%rbp,%rcx,4),%edx
movslq -0x54(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    12e2 <main+0x1c2>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    124b <main+0x12b>
lea    0xd16(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    -0x50(%rbp),%eax
jge    1338 <main+0x218>
mov    -0x78(%rbp),%rax
movslq -0x44(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1305 <main+0x1e5>
lea    0xce4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x60(%rbp),%rax
mov    %rax,%rsp
mov    %rbp,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
mov    %rsp,%rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
lea    0xeb8(%rip),%r14
xor    %r12d,%r12d
mov    %r14,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeab(%rip),%r15
lea    -0x70(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x6c(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x68(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x64(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x60(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x5c(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x58(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x54(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x50(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x4c(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x48(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x44(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xc,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x40(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xd,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x3c(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xe,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    -0x38(%rbp),%rsi
mov    %r15,%rdi
call   1050 <scanf@plt>
xor    %r14d,%r14d
jmp    1305 <main+0x1d5>
nopl   0x0(%rax)
xor    %eax,%eax
cmp    $0x1,%esi
sete   %al
add    %eax,%r14d
add    $0x1,%r12
cmp    $0xf,%r12
je     1376 <main+0x246>
mov    -0x70(%rbp,%r12,4),%ecx
mov    $0x0,%esi
cmp    $0x2,%ecx
jl     12f0 <main+0x1c0>
mov    %ecx,%r8d
shr    %r8d
cmp    $0x1,%r8d
jne    1330 <main+0x200>
xor    %esi,%esi
mov    $0x1,%edi
jmp    1361 <main+0x231>
nopl   0x0(%rax)
and    $0xfffffffe,%r8d
xor    %esi,%esi
mov    $0x1,%edi
nopl   0x0(%rax,%rax,1)
mov    %ecx,%eax
cltd
idiv   %edi
cmp    $0x1,%edx
adc    $0x0,%esi
lea    0x1(%rdi),%ebx
mov    %ecx,%eax
cltd
idiv   %ebx
cmp    $0x1,%edx
adc    $0x0,%esi
add    $0x2,%edi
cmp    %r8d,%ebx
jne    1340 <main+0x210>
test   $0x2,%cl
je     12f0 <main+0x1c0>
mov    %ecx,%eax
cltd
idiv   %edi
cmp    $0x1,%edx
adc    $0x0,%esi
jmp    12f0 <main+0x1c0>
mov    %rsp,%r15
mov    %r14d,%r12d
mov    %rsp,%r13
lea    0xf(,%r12,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r13
mov    %r13,%rsp
xor    %r9d,%r9d
xor    %r8d,%r8d
jmp    13aa <main+0x27a>
nopl   0x0(%rax)
add    $0x1,%r9
cmp    $0xf,%r9
je     1427 <main+0x2f7>
mov    -0x70(%rbp,%r9,4),%ecx
cmp    $0x2,%ecx
jl     13a0 <main+0x270>
mov    %ecx,%r10d
shr    %r10d
cmp    $0x1,%r10d
jne    13d0 <main+0x2a0>
xor    %ebx,%ebx
mov    $0x1,%edi
jmp    1401 <main+0x2d1>
nopl   0x0(%rax)
and    $0xfffffffe,%r10d
xor    %ebx,%ebx
mov    $0x1,%edi
nopl   0x0(%rax,%rax,1)
mov    %ecx,%eax
cltd
idiv   %edi
cmp    $0x1,%edx
adc    $0x0,%ebx
lea    0x1(%rdi),%esi
mov    %ecx,%eax
cltd
idiv   %esi
cmp    $0x1,%edx
adc    $0x0,%ebx
add    $0x2,%edi
cmp    %r10d,%esi
jne    13e0 <main+0x2b0>
test   $0x2,%cl
je     1411 <main+0x2e1>
mov    %ecx,%eax
cltd
idiv   %edi
cmp    $0x1,%edx
adc    $0x0,%ebx
cmp    $0x1,%ebx
jne    13a0 <main+0x270>
movslq %r8d,%r8
mov    %ecx,0x0(%r13,%r8,4)
add    $0x1,%r8d
jmp    13a0 <main+0x270>
lea    0xbdf(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
test   %r14d,%r14d
je     1468 <main+0x338>
lea    0xbde(%rip),%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    0x0(%r13,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%r12
jne    1450 <main+0x320>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rsp
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"v[%d] = \00"
@.str.1 = [4 x i8] c" %d\00"
@.str.2 = [18 x i8] c"\0ANumeros primos: \00"
@.str.3 = [4 x i8] c"%d \00"
@.str.4 = [2 x i8] c"\0A\00"
define void @main() {
%1 = alloca [15 x i32]
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i8*
%8 = alloca i64
store i32 0, i32* %5
store i32 0, i32* %6
store i32 0, i32* %2
br label %9
9: ; preds = %19, %0
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 15
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load i32, i32* %2
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %13)
%15 = load i32, i32* %2
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %16
%18 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32* %17)
br label %19
19: ; preds = %12
%20 = load i32, i32* %2
%21 = add nsw i32 %20, 1
store i32 %21, i32* %2
br label %9
22: ; preds = %9
store i32 0, i32* %2
br label %23
23: ; preds = %57, %22
%24 = load i32, i32* %2
%25 = icmp slt i32 %24, 15
br i1 %25, label %26, label %60
26: ; preds = %23
store i32 0, i32* %4
store i32 1, i32* %3
br label %27
27: ; preds = %47, %26
%28 = load i32, i32* %3
%29 = load i32, i32* %2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %30
%32 = load i32, i32* %31
%33 = sdiv i32 %32, 2
%34 = icmp sle i32 %28, %33
br i1 %34, label %35, label %50
35: ; preds = %27
%36 = load i32, i32* %2
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %37
%39 = load i32, i32* %38
%40 = load i32, i32* %3
%41 = srem i32 %39, %40
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %35
%44 = load i32, i32* %4
%45 = add nsw i32 %44, 1
store i32 %45, i32* %4
br label %46
46: ; preds = %43, %35
br label %47
47: ; preds = %46
%48 = load i32, i32* %3
%49 = add nsw i32 %48, 1
store i32 %49, i32* %3
br label %27
50: ; preds = %27
%51 = load i32, i32* %4
%52 = icmp eq i32 %51, 1
br i1 %52, label %53, label %56
53: ; preds = %50
%54 = load i32, i32* %5
%55 = add nsw i32 %54, 1
store i32 %55, i32* %5
br label %56
56: ; preds = %53, %50
br label %57
57: ; preds = %56
%58 = load i32, i32* %2
%59 = add nsw i32 %58, 1
store i32 %59, i32* %2
br label %23
60: ; preds = %23
%61 = load i32, i32* %5
%62 = zext i32 %61 to i64
%63 = call i8* @llvm.stacksave()
store i8* %63, i8** %7
%64 = alloca i32, i64 %62
store i64 %62, i64* %8
store i32 0, i32* %2
br label %65
65: ; preds = %106, %60
%66 = load i32, i32* %2
%67 = icmp slt i32 %66, 15
br i1 %67, label %68, label %109
68: ; preds = %65
store i32 0, i32* %4
store i32 1, i32* %3
br label %69
69: ; preds = %89, %68
%70 = load i32, i32* %3
%71 = load i32, i32* %2
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %72
%74 = load i32, i32* %73
%75 = sdiv i32 %74, 2
%76 = icmp sle i32 %70, %75
br i1 %76, label %77, label %92
77: ; preds = %69
%78 = load i32, i32* %2
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = load i32, i32* %3
%83 = srem i32 %81, %82
%84 = icmp eq i32 %83, 0
br i1 %84, label %85, label %88
85: ; preds = %77
%86 = load i32, i32* %4
%87 = add nsw i32 %86, 1
store i32 %87, i32* %4
br label %88
88: ; preds = %85, %77
br label %89
89: ; preds = %88
%90 = load i32, i32* %3
%91 = add nsw i32 %90, 1
store i32 %91, i32* %3
br label %69
92: ; preds = %69
%93 = load i32, i32* %4
%94 = icmp eq i32 %93, 1
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load i32, i32* %2
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [15 x i32], [15 x i32]* %1, i64 0, i64 %97
%99 = load i32, i32* %98
%100 = load i32, i32* %6
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, i32* %64, i64 %101
store i32 %99, i32* %102
%103 = load i32, i32* %6
%104 = add nsw i32 %103, 1
store i32 %104, i32* %6
br label %105
105: ; preds = %95, %92
br label %106
106: ; preds = %105
%107 = load i32, i32* %2
%108 = add nsw i32 %107, 1
store i32 %108, i32* %2
br label %65
109: ; preds = %65
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.2, i64 0, i64 0))
store i32 0, i32* %2
br label %111
111: ; preds = %121, %109
%112 = load i32, i32* %2
%113 = load i32, i32* %5
%114 = icmp slt i32 %112, %113
br i1 %114, label %115, label %124
115: ; preds = %111
%116 = load i32, i32* %2
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds i32, i32* %64, i64 %117
%119 = load i32, i32* %118
%120 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0), i32 %119)
br label %121
121: ; preds = %115
%122 = load i32, i32* %2
%123 = add nsw i32 %122, 1
store i32 %123, i32* %2
br label %111
124: ; preds = %111
%125 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0))
%126 = load i8*, i8** %7
ret void
}

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