#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 *);
int exercicio_02(void) {
  int i, j, k, c, vetor[10], impressos[10 / 2], salvar;
  printf("\nInforme um vetor de números inteiros com %i elementos:\n\n", 10);
  for (i = 0; i < 10; i++) {
    printf("\tvetor[%i] = ", i);
    scanf("%i", &vetor[i]);
  }
  c = 0;
  for (i = 0; i < 10; i++) {
    for (j = i + 1; j < 10; j++)
      if (vetor[i] == vetor[j]) {
        salvar = 1;
        for (k = 0; k < c; k++)
          if (vetor[i] == impressos[k]) {
            salvar = 0;
            break;
          }
        if (salvar)
          impressos[c++] = vetor[i];
        break;
      }
  }
  if (c > 0) {
    printf("\nOs números repetidos no vetor informado são:\n\n");
    for (i = 0; i < c; i++)
      printf("\t%d\n", impressos[i]);
    printf("\n");
  } else
    printf("\nO vetor informado não possui números repetidos.\n\n");
  return 0;
}


x86 assembly (clang, -O0):
<exercicio_02>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
lea    0xed1(%rip),%rdi
mov    $0xa,%esi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
cmpl   $0xa,-0x4(%rbp)
jge    1186 <exercicio_02+0x66>
mov    -0x4(%rbp),%esi
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x4(%rbp),%rax
lea    -0x40(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xed6(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1142 <exercicio_02+0x22>
movl   $0x0,-0x10(%rbp)
movl   $0x0,-0x4(%rbp)
cmpl   $0xa,-0x4(%rbp)
jge    1264 <exercicio_02+0x144>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0xa,-0x8(%rbp)
jge    1251 <exercicio_02+0x131>
movslq -0x4(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
movslq -0x8(%rbp),%rcx
cmp    -0x40(%rbp,%rcx,4),%eax
jne    123e <exercicio_02+0x11e>
movl   $0x1,-0x64(%rbp)
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    1216 <exercicio_02+0xf6>
movslq -0x4(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%eax
movslq -0xc(%rbp),%rcx
cmp    -0x60(%rbp,%rcx,4),%eax
jne    1203 <exercicio_02+0xe3>
movl   $0x0,-0x64(%rbp)
jmp    1216 <exercicio_02+0xf6>
jmp    1208 <exercicio_02+0xe8>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    11d5 <exercicio_02+0xb5>
cmpl   $0x0,-0x64(%rbp)
je     1239 <exercicio_02+0x119>
movslq -0x4(%rbp),%rax
mov    -0x40(%rbp,%rax,4),%ecx
mov    -0x10(%rbp),%eax
mov    %eax,%edx
add    $0x1,%edx
mov    %edx,-0x10(%rbp)
cltq
mov    %ecx,-0x60(%rbp,%rax,4)
jmp    1251 <exercicio_02+0x131>
jmp    1243 <exercicio_02+0x123>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11a7 <exercicio_02+0x87>
jmp    1256 <exercicio_02+0x136>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1194 <exercicio_02+0x74>
cmpl   $0x0,-0x10(%rbp)
jle    12c6 <exercicio_02+0x1a6>
lea    0xdd7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    12b3 <exercicio_02+0x193>
movslq -0x4(%rbp),%rax
mov    -0x60(%rbp,%rax,4),%esi
lea    0xde0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4(%rbp)
jmp    1283 <exercicio_02+0x163>
lea    0xdfc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12d4 <exercicio_02+0x1b4>
lea    0xdb6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<exercicio_02>:
push   %rbp
push   %r15
push   %r14
push   %rbx
sub    $0x48,%rsp
lea    0xeaf(%rip),%rdi
xor    %ebx,%ebx
mov    $0xa,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed5(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed0(%rip),%r14
mov    %rsp,%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x10(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    %r15,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %r14,%rdi
call   1060 <scanf@plt>
mov    $0x1,%eax
xor    %ebp,%ebp
jmp    12aa <exercicio_02+0x16a>
movslq %ebp,%rdx
add    $0x1,%ebp
mov    %ecx,0x30(%rsp,%rdx,4)
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%rax
cmp    $0xa,%rbx
je     1301 <exercicio_02+0x1c1>
mov    %rbx,%rcx
add    $0x1,%rbx
cmp    $0x8,%rcx
ja     12a0 <exercicio_02+0x160>
mov    (%rsp,%rcx,4),%ecx
mov    %rax,%rdx
nopl   (%rax)
cmp    (%rsp,%rdx,4),%ecx
je     12e0 <exercicio_02+0x1a0>
add    $0x1,%rdx
cmp    $0xa,%rdx
jne    12c0 <exercicio_02+0x180>
jmp    12a0 <exercicio_02+0x160>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
test   %ebp,%ebp
jle    1289 <exercicio_02+0x149>
mov    %ebp,%edx
xor    %esi,%esi
nopl   0x0(%rax,%rax,1)
cmp    0x30(%rsp,%rsi,4),%ecx
je     12a0 <exercicio_02+0x160>
add    $0x1,%rsi
cmp    %rsi,%rdx
jne    12f0 <exercicio_02+0x1b0>
jmp    1289 <exercicio_02+0x149>
test   %ebp,%ebp
jle    1343 <exercicio_02+0x203>
lea    0xd79(%rip),%rdi
call   1040 <puts@plt>
mov    %ebp,%ebp
lea    0xd32(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax)
mov    0x30(%rsp,%rbx,4),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbx
cmp    %rbx,%rbp
jne    1320 <exercicio_02+0x1e0>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    134f <exercicio_02+0x20f>
lea    0xd07(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@.str = [59 x i8] c"\0AInforme um vetor de n\C3\BAmeros inteiros com %i elementos:\0A\0A\00"
@.str.1 = [14 x i8] c"\09vetor[%i] = \00"
@.str.2 = [3 x i8] c"%i\00"
@.str.4 = [5 x i8] c"\09%d\0A\00"
@str = [52 x i8] c"\0AO vetor informado n\C3\A3o possui n\C3\BAmeros repetidos.\0A\00"
@str.7 = [49 x i8] c"\0AOs n\C3\BAmeros repetidos no vetor informado s\C3\A3o:\0A\00"
define i32 @exercicio_02() {
%1 = alloca [10 x i32]
%2 = alloca [5 x i32]
%3 = bitcast [10 x i32]* %1 to i8*
%4 = bitcast [5 x i32]* %2 to i8*
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([59 x i8], [59 x i8]* @.str, i64 0, i64 0), i32 10)
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 0)
%7 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%8 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %7)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 1)
%10 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 1
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %10)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 2)
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 2
%14 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %13)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 3)
%16 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 3
%17 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %16)
%18 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 4)
%19 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 4
%20 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %19)
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 5)
%22 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 5
%23 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %22)
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 6)
%25 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 6
%26 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %25)
%27 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 7)
%28 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 7
%29 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %28)
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 8)
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 8
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %31)
%33 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.1, i64 0, i64 0), i32 9)
%34 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 9
%35 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %34)
br label %36
36: ; preds = %0, %69
%37 = phi i64 [ 0, %0 ], [ %40, %69 ]
%38 = phi i64 [ 1, %0 ], [ %71, %69 ]
%39 = phi i32 [ 0, %0 ], [ %70, %69 ]
%40 = add nuw nsw i64 %37, 1
%41 = icmp ult i64 %37, 9
br i1 %41, label %42, label %69
42: ; preds = %36
%43 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %37
%44 = load i32, i32* %43
br label %48
45: ; preds = %48
%46 = add nuw nsw i64 %49, 1
%47 = icmp eq i64 %46, 10
br i1 %47, label %69, label %48
48: ; preds = %42, %45
%49 = phi i64 [ %38, %42 ], [ %46, %45 ]
%50 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %49
%51 = load i32, i32* %50
%52 = icmp eq i32 %44, %51
br i1 %52, label %53, label %45
53: ; preds = %48
%54 = icmp sgt i32 %39, 0
br i1 %54, label %55, label %65
55: ; preds = %53
%56 = zext i32 %39 to i64
br label %59
57: ; preds = %59
%58 = icmp eq i64 %64, %56
br i1 %58, label %65, label %59
59: ; preds = %55, %57
%60 = phi i64 [ 0, %55 ], [ %64, %57 ]
%61 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %60
%62 = load i32, i32* %61
%63 = icmp eq i32 %44, %62
%64 = add nuw nsw i64 %60, 1
br i1 %63, label %69, label %57
65: ; preds = %57, %53
%66 = add nsw i32 %39, 1
%67 = sext i32 %39 to i64
%68 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %67
store i32 %44, i32* %68
br label %69
69: ; preds = %45, %59, %36, %65
%70 = phi i32 [ %66, %65 ], [ %39, %36 ], [ %39, %59 ], [ %39, %45 ]
%71 = add nuw nsw i64 %38, 1
%72 = icmp eq i64 %40, 10
br i1 %72, label %73, label %36
73: ; preds = %69
%74 = icmp sgt i32 %70, 0
br i1 %74, label %75, label %87
75: ; preds = %73
%76 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @str.7, i64 0, i64 0))
%77 = zext i32 %70 to i64
br label %78
78: ; preds = %75, %78
%79 = phi i64 [ 0, %75 ], [ %83, %78 ]
%80 = getelementptr inbounds [5 x i32], [5 x i32]* %2, i64 0, i64 %79
%81 = load i32, i32* %80
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.4, i64 0, i64 0), i32 %81)
%83 = add nuw nsw i64 %79, 1
%84 = icmp eq i64 %83, %77
br i1 %84, label %85, label %78
85: ; preds = %78
%86 = call i32 @putchar(i32 10)
br label %89
87: ; preds = %73
%88 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([52 x i8], [52 x i8]* @str, i64 0, i64 0))
br label %89
89: ; preds = %87, %85
ret i32 0
}