#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 A[10], B[10], soma = 0;
  printf("Vetor A\n");
  for (int i = 0; i < 10; i++) {
    printf("Posicao %d: ", i + 1);
    scanf("%d", &A[i]);
  }
  printf("Vetor B\n");
  for (int i = 0; i < 10; i++) {
    printf("Posicao %d: ", i + 1);
    scanf("%d", &B[i]);
  }
  for (int i = 0; i < (10); i++) {
    printf("%d - %d = %d\n", A[i], B[(10 - 1) - i], A[i] - B[(10 - 1) - i]);
    soma += (A[i] - B[(10 - 1) - i]);
  }
  printf("Soma: %d\n", soma);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x64(%rbp)
lea    0xeca(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x68(%rbp)
cmpl   $0xa,-0x68(%rbp)
jge    118b <main+0x6b>
mov    -0x68(%rbp),%esi
add    $0x1,%esi
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x68(%rbp),%rax
lea    -0x30(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe9e(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x68(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x68(%rbp)
jmp    1144 <main+0x24>
lea    0xe87(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x6c(%rbp)
cmpl   $0xa,-0x6c(%rbp)
jge    11e7 <main+0xc7>
mov    -0x6c(%rbp),%esi
add    $0x1,%esi
lea    0xe52(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x6c(%rbp),%rax
lea    -0x60(%rbp),%rsi
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe42(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x6c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x6c(%rbp)
jmp    11a0 <main+0x80>
movl   $0x0,-0x70(%rbp)
cmpl   $0xa,-0x70(%rbp)
jge    125d <main+0x13d>
movslq -0x70(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
mov    $0x9,%eax
sub    -0x70(%rbp),%eax
cltq
mov    -0x60(%rbp,%rax,4),%edx
movslq -0x70(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%ecx
mov    $0x9,%eax
sub    -0x70(%rbp),%eax
cltq
sub    -0x60(%rbp,%rax,4),%ecx
lea    0xdf7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x70(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%eax
mov    $0x9,%ecx
sub    -0x70(%rbp),%ecx
movslq %ecx,%rcx
sub    -0x60(%rbp,%rcx,4),%eax
add    -0x64(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x70(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x70(%rbp)
jmp    11ee <main+0xce>
mov    -0x64(%rbp),%esi
lea    0xdc9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r14
push   %rbx
sub    $0xc0,%rsp
lea    0xee6(%rip),%rdi
call   1030 <puts@plt>
lea    0xeb2(%rip),%r14
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xea9(%rip),%rbx
lea    0x30(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x34(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x38(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x40(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x44(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x48(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4c(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x50(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x54(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
lea    0xdbc(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rsp,%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x10(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x18(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1c(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x20(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    %r14,%rdi
mov    $0xa,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x24(%rsp),%rsi
mov    %rbx,%rdi
call   1050 <scanf@plt>
mov    0x30(%rsp),%esi
mov    0x24(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
lea    0xc6e(%rip),%r14
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movaps 0x30(%rsp),%xmm0
movaps %xmm0,0x60(%rsp)
mov    0x34(%rsp),%esi
mov    0x20(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x24(%rsp),%xmm0
movaps %xmm0,0x80(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x38(%rsp),%esi
mov    0x1c(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x34(%rsp),%xmm0
unpcklpd 0x60(%rsp),%xmm0
movaps %xmm0,0x90(%rsp)
movss  0x20(%rsp),%xmm0
movaps 0x80(%rsp),%xmm1
unpcklps %xmm0,%xmm1
movaps %xmm1,0x80(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x3c(%rsp),%esi
mov    0x18(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x38(%rsp),%xmm0
movaps %xmm0,0x70(%rsp)
movss  0x1c(%rsp),%xmm0
movaps %xmm0,0x60(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x40(%rsp),%esi
mov    0x14(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x3c(%rsp),%xmm0
unpcklpd 0x70(%rsp),%xmm0
movaps 0x90(%rsp),%xmm1
shufps $0x22,%xmm0,%xmm1
movaps %xmm1,0x90(%rsp)
movss  0x18(%rsp),%xmm0
movaps 0x60(%rsp),%xmm1
unpcklps %xmm0,%xmm1
movaps 0x80(%rsp),%xmm0
movlhps %xmm1,%xmm0
movaps %xmm0,0x80(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x44(%rsp),%esi
mov    0x10(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x40(%rsp),%xmm0
movaps %xmm0,0x70(%rsp)
movss  0x14(%rsp),%xmm0
movaps %xmm0,0x60(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x48(%rsp),%esi
mov    0xc(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x44(%rsp),%xmm0
movaps 0x70(%rsp),%xmm1
unpcklps %xmm0,%xmm1
movaps %xmm1,0x70(%rsp)
movss  0x10(%rsp),%xmm0
movaps 0x60(%rsp),%xmm1
unpcklps %xmm0,%xmm1
movaps %xmm1,0x60(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x4c(%rsp),%esi
mov    0x8(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
movss  0x48(%rsp),%xmm0
movaps %xmm0,0xa0(%rsp)
movss  0xc(%rsp),%xmm0
movaps %xmm0,0xb0(%rsp)
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movd   0x4c(%rsp),%xmm0
movdqa 0xa0(%rsp),%xmm1
punpckldq %xmm0,%xmm1
movdqa 0x70(%rsp),%xmm0
punpcklqdq %xmm1,%xmm0
paddd  0x90(%rsp),%xmm0
movdqa %xmm0,0x70(%rsp)
movd   0x8(%rsp),%xmm0
movdqa 0xb0(%rsp),%xmm1
punpckldq %xmm0,%xmm1
movdqa 0x60(%rsp),%xmm0
punpcklqdq %xmm1,%xmm0
paddd  0x80(%rsp),%xmm0
movdqa %xmm0,0x60(%rsp)
mov    0x50(%rsp),%esi
mov    0x4(%rsp),%edx
mov    %esi,%ecx
sub    %edx,%ecx
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x54(%rsp),%esi
mov    (%rsp),%edx
mov    %esi,%ecx
movdqa 0x70(%rsp),%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%ebp
add    0x50(%rsp),%ebp
sub    %edx,%ecx
movdqa 0x60(%rsp),%xmm1
pshufd $0xee,%xmm1,%xmm0
paddd  %xmm1,%xmm0
pshufd $0x55,%xmm0,%xmm1
paddd  %xmm0,%xmm1
movd   %xmm1,%ebx
add    0x4(%rsp),%ebx
mov    %r14,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
add    0x54(%rsp),%ebp
add    (%rsp),%ebx
sub    %ebx,%ebp
lea    0xa11(%rip),%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
add    $0xc0,%rsp
pop    %rbx
pop    %r14
pop    %rbp
ret

LLVM IR (-O0):
@.str = [9 x i8] c"Vetor A\0A\00"
@.str.1 = [13 x i8] c"Posicao %d: \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [9 x i8] c"Vetor B\0A\00"
@.str.4 = [14 x i8] c"%d - %d = %d\0A\00"
@.str.5 = [10 x i8] c"Soma: %d\0A\00"
define void @main() {
%1 = alloca [10 x i32]
%2 = alloca [10 x i32]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
store i32 0, i32* %3
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %4
br label %8
8: ; preds = %19, %0
%9 = load i32, i32* %4
%10 = icmp slt i32 %9, 10
br i1 %10, label %11, label %22
11: ; preds = %8
%12 = load i32, i32* %4
%13 = add nsw i32 %12, 1
%14 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %13)
%15 = load i32, i32* %4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x i32], [10 x i32]* %1, 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 = %11
%20 = load i32, i32* %4
%21 = add nsw i32 %20, 1
store i32 %21, i32* %4
br label %8
22: ; preds = %8
%23 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %5
br label %24
24: ; preds = %35, %22
%25 = load i32, i32* %5
%26 = icmp slt i32 %25, 10
br i1 %26, label %27, label %38
27: ; preds = %24
%28 = load i32, i32* %5
%29 = add nsw i32 %28, 1
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %29)
%31 = load i32, i32* %5
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %32
%34 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %33)
br label %35
35: ; preds = %27
%36 = load i32, i32* %5
%37 = add nsw i32 %36, 1
store i32 %37, i32* %5
br label %24
38: ; preds = %24
store i32 0, i32* %6
br label %39
39: ; preds = %75, %38
%40 = load i32, i32* %6
%41 = icmp slt i32 %40, 10
br i1 %41, label %42, label %78
42: ; preds = %39
%43 = load i32, i32* %6
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %44
%46 = load i32, i32* %45
%47 = load i32, i32* %6
%48 = sub nsw i32 9, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %49
%51 = load i32, i32* %50
%52 = load i32, i32* %6
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %53
%55 = load i32, i32* %54
%56 = load i32, i32* %6
%57 = sub nsw i32 9, %56
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %58
%60 = load i32, i32* %59
%61 = sub nsw i32 %55, %60
%62 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %46, i32 %51, i32 %61)
%63 = load i32, i32* %6
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %64
%66 = load i32, i32* %65
%67 = load i32, i32* %6
%68 = sub nsw i32 9, %67
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %69
%71 = load i32, i32* %70
%72 = sub nsw i32 %66, %71
%73 = load i32, i32* %3
%74 = add nsw i32 %73, %72
store i32 %74, i32* %3
br label %75
75: ; preds = %42
%76 = load i32, i32* %6
%77 = add nsw i32 %76, 1
store i32 %77, i32* %6
br label %39
78: ; preds = %39
%79 = load i32, i32* %3
%80 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %79)
ret void
}

LLVM IR (-O2):
@.str.1 = [13 x i8] c"Posicao %d: \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.4 = [14 x i8] c"%d - %d = %d\0A\00"
@.str.5 = [10 x i8] c"Soma: %d\0A\00"
@str = [8 x i8] c"Vetor A\00"
@str.6 = [8 x i8] c"Vetor B\00"
define void @main() {
%1 = alloca [10 x i32]
%2 = alloca [10 x i32]
%3 = bitcast [10 x i32]* %1 to i8*
%4 = bitcast [10 x i32]* %2 to i8*
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 1)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 2)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 3)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 4)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 5)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 6)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 7)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 8)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 9)
%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 ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 10)
%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)
%36 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([8 x i8], [8 x i8]* @str.6, i64 0, i64 0))
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 1)
%38 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%39 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %38)
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 2)
%41 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 1
%42 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %41)
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 3)
%44 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 2
%45 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %44)
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 4)
%47 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 3
%48 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %47)
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 5)
%50 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 4
%51 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %50)
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 6)
%53 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 5
%54 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %53)
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 7)
%56 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 6
%57 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %56)
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 8)
%59 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 7
%60 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %59)
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 9)
%62 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 8
%63 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %62)
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 10)
%65 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 9
%66 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %65)
%67 = load i32, i32* %7
%68 = load i32, i32* %65
%69 = sub nsw i32 %67, %68
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %67, i32 %68, i32 %69)
%71 = bitcast [10 x i32]* %1 to <4 x i32>*
%72 = load <4 x i32>, <4 x i32>* %71
%73 = shufflevector <4 x i32> %72, <4 x i32> poison, <8 x i32> <i32 0, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef>
%74 = load i32, i32* %65
%75 = load i32, i32* %10
%76 = load i32, i32* %62
%77 = sub nsw i32 %75, %76
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %75, i32 %76, i32 %77)
%79 = load i32, i32* %10
%80 = load i32, i32* %62
%81 = load i32, i32* %13
%82 = load i32, i32* %59
%83 = sub nsw i32 %81, %82
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %81, i32 %82, i32 %83)
%85 = load i32, i32* %13
%86 = load i32, i32* %59
%87 = load i32, i32* %16
%88 = load i32, i32* %56
%89 = sub nsw i32 %87, %88
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %87, i32 %88, i32 %89)
%91 = load i32, i32* %16
%92 = load i32, i32* %56
%93 = load i32, i32* %19
%94 = load i32, i32* %53
%95 = sub nsw i32 %93, %94
%96 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %93, i32 %94, i32 %95)
%97 = load i32, i32* %19
%98 = load i32, i32* %53
%99 = load i32, i32* %22
%100 = load i32, i32* %50
%101 = sub nsw i32 %99, %100
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %99, i32 %100, i32 %101)
%103 = load i32, i32* %22
%104 = load i32, i32* %50
%105 = load i32, i32* %25
%106 = load i32, i32* %47
%107 = sub nsw i32 %105, %106
%108 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %105, i32 %106, i32 %107)
%109 = load i32, i32* %25
%110 = load i32, i32* %47
%111 = load i32, i32* %28
%112 = load i32, i32* %44
%113 = sub nsw i32 %111, %112
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %111, i32 %112, i32 %113)
%115 = load i32, i32* %28
%116 = insertelement <8 x i32> %73, i32 %79, i64 1
%117 = insertelement <8 x i32> %116, i32 %85, i64 2
%118 = insertelement <8 x i32> %117, i32 %91, i64 3
%119 = insertelement <8 x i32> %118, i32 %97, i64 4
%120 = insertelement <8 x i32> %119, i32 %103, i64 5
%121 = insertelement <8 x i32> %120, i32 %109, i64 6
%122 = insertelement <8 x i32> %121, i32 %115, i64 7
%123 = load i32, i32* %44
%124 = insertelement <8 x i32> poison, i32 %74, i64 0
%125 = insertelement <8 x i32> %124, i32 %80, i64 1
%126 = insertelement <8 x i32> %125, i32 %86, i64 2
%127 = insertelement <8 x i32> %126, i32 %92, i64 3
%128 = insertelement <8 x i32> %127, i32 %98, i64 4
%129 = insertelement <8 x i32> %128, i32 %104, i64 5
%130 = insertelement <8 x i32> %129, i32 %110, i64 6
%131 = insertelement <8 x i32> %130, i32 %123, i64 7
%132 = load i32, i32* %31
%133 = load i32, i32* %41
%134 = sub nsw i32 %132, %133
%135 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %132, i32 %133, i32 %134)
%136 = load i32, i32* %31
%137 = load i32, i32* %41
%138 = load i32, i32* %34
%139 = load i32, i32* %38
%140 = sub nsw i32 %138, %139
%141 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @.str.4, i64 0, i64 0), i32 %138, i32 %139, i32 %140)
%142 = load i32, i32* %34
%143 = load i32, i32* %38
%144 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %122)
%145 = add i32 %144, %136
%146 = add i32 %145, %142
%147 = call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %131)
%148 = add i32 %147, %137
%149 = add i32 %148, %143
%150 = sub i32 %146, %149
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([10 x i8], [10 x i8]* @.str.5, i64 0, i64 0), i32 %150)
ret void
}