#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 main() {
  int i, num, cant, producto = 1, suma = 0;
pregunta:
  printf("Introduzca la cantidad de valores que desea ingresar: ");
  scanf("%d", &cant);
  if (cant < 10) {
    printf("\nLa cantidad debe ser mayor o igual a 10 para efectuar "
           "correctamente la operación.\n");
    printf("\n");
    goto pregunta;
  } else {
    int valor[cant];
    printf("\n");
    for (i = 0; i <= cant - 1; i++) {
      printf("Introduzca el valor número %d: ", i + 1);
      scanf("%d", &num);
      valor[i] = num;
    }
    for (i = 0; i <= 5 - 1; i++) {
      suma = suma + valor[i];
    }
    for (i = cant - 1; i >= cant - 5; i--) {
      producto = producto * valor[i];
    }
    printf("\nLa suma de los primeros cinco valores es: %d", suma);
    printf("\nEl producto de los ultimos cinco valores es: %d", producto);
    return 0;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
lea    0xebc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xfb7(%rip),%rdi
lea    -0x10(%rbp),%rsi
call   1040 <scanf@plt>
cmpl   $0xa,-0x10(%rbp)
jge    1186 <main+0x66>
lea    0xecb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf10(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    113d <main+0x1d>
mov    -0x10(%rbp),%eax
mov    %rsp,%rcx
mov    %rcx,-0x20(%rbp)
lea    0xf(,%rax,4),%rdx
and    $0xfffffffffffffff0,%rdx
mov    %rsp,%rcx
sub    %rdx,%rcx
mov    %rcx,-0x30(%rbp)
mov    %rcx,%rsp
mov    %rax,-0x28(%rbp)
lea    0xed6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    -0x10(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jg     1213 <main+0xf3>
mov    -0x8(%rbp),%esi
add    $0x1,%esi
lea    0xeac(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xf1b(%rip),%rdi
lea    -0xc(%rbp),%rsi
call   1040 <scanf@plt>
mov    -0x30(%rbp),%rax
mov    -0xc(%rbp),%edx
movslq -0x8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    11c2 <main+0xa2>
movl   $0x0,-0x8(%rbp)
cmpl   $0x4,-0x8(%rbp)
jg     1243 <main+0x123>
mov    -0x30(%rbp),%rcx
mov    -0x18(%rbp),%eax
movslq -0x8(%rbp),%rdx
add    (%rcx,%rdx,4),%eax
mov    %eax,-0x18(%rbp)
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    121a <main+0xfa>
mov    -0x10(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x8(%rbp)
mov    -0x8(%rbp),%eax
mov    -0x10(%rbp),%ecx
sub    $0x5,%ecx
cmp    %ecx,%eax
jl     127d <main+0x15d>
mov    -0x30(%rbp),%rcx
mov    -0x14(%rbp),%eax
movslq -0x8(%rbp),%rdx
imul   (%rcx,%rdx,4),%eax
mov    %eax,-0x14(%rbp)
mov    -0x8(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x8(%rbp)
jmp    124c <main+0x12c>
mov    -0x18(%rbp),%esi
lea    0xe26(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xe43(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x20(%rbp),%rax
mov    %rax,%rsp
mov    -0x4(%rbp),%eax
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    $0x18,%rsp
lea    0xeb8(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf5e(%rip),%rdi
lea    -0x2c(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x2c(%rbp),%eax
cmp    $0x9,%eax
jg     11bf <main+0x7f>
lea    0xf49(%rip),%r14
lea    0xe8b(%rip),%r15
lea    0xf38(%rip),%r12
lea    -0x2c(%rbp),%rbx
mov    %r14,%rdi
call   1040 <puts@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r12,%rdi
mov    %rbx,%rsi
call   1060 <scanf@plt>
mov    -0x2c(%rbp),%eax
cmp    $0xa,%eax
jl     1190 <main+0x50>
mov    %rsp,%r13
mov    %eax,%eax
mov    %rsp,%r15
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r15
mov    %r15,%rsp
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    -0x2c(%rbp),%eax
test   %eax,%eax
jle    124c <main+0x10c>
mov    %r13,-0x38(%rbp)
lea    0xecf(%rip),%r14
lea    -0x3c(%rbp),%r12
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
lea    0x1(%rbx),%r13
lea    0xe3c(%rip),%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
mov    %r12,%rsi
call   1060 <scanf@plt>
mov    -0x3c(%rbp),%eax
mov    %eax,(%r15,%rbx,4)
movslq -0x2c(%rbp),%rax
mov    %r13,%rbx
cmp    %rax,%r13
jl     1200 <main+0xc0>
mov    (%r15),%ecx
mov    0x4(%r15),%r11d
mov    0x8(%r15),%r10d
mov    0xc(%r15),%r9d
mov    0x10(%r15),%esi
mov    -0x38(%rbp),%r13
jmp    124c <main+0x10c>
movslq %eax,%rdi
lea    -0x4(%rdi),%eax
cltq
mov    %rdi,%r12
sub    %rax,%r12
add    $0x1,%r12
mov    $0x1,%ebx
cmp    $0x8,%r12
jb     140c <main+0x2cc>
mov    %ecx,-0x38(%rbp)
mov    %r15,%r8
mov    %r12,%r14
and    $0xfffffffffffffff8,%r14
lea    -0x8(%r14),%rcx
mov    %rcx,%r15
shr    $0x3,%r15
add    $0x1,%r15
test   %rcx,%rcx
je     1359 <main+0x219>
mov    %r15,%rbx
and    $0xfffffffffffffffe,%rbx
lea    (%r8,%rdi,4),%rcx
add    $0xfffffffffffffff0,%rcx
movdqa 0xd57(%rip),%xmm0
mov    $0xfffffffffffffffc,%rdx
movdqa %xmm0,%xmm1
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movdqu -0x20(%rcx,%rdx,4),%xmm2
movdqu -0x10(%rcx,%rdx,4),%xmm3
movdqu (%rcx,%rdx,4),%xmm4
movdqu 0x10(%rcx,%rdx,4),%xmm5
pshufd $0x1b,%xmm5,%xmm6
pshufd $0x1b,%xmm4,%xmm7
pmuludq %xmm0,%xmm6
pshufd $0x4e,%xmm5,%xmm5
pshufd $0xf5,%xmm0,%xmm0
pmuludq %xmm5,%xmm0
pmuludq %xmm1,%xmm7
pshufd $0x4e,%xmm4,%xmm4
pshufd $0xf5,%xmm1,%xmm1
pmuludq %xmm4,%xmm1
pshufd $0x1b,%xmm3,%xmm4
pmuludq %xmm6,%xmm4
pshufd $0x1b,%xmm2,%xmm5
pmuludq %xmm7,%xmm5
pshufd $0x4e,%xmm3,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pshufd $0xe8,%xmm4,%xmm0
punpckldq %xmm3,%xmm0
pshufd $0x4e,%xmm2,%xmm2
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pshufd $0xe8,%xmm5,%xmm1
punpckldq %xmm2,%xmm1
add    $0xfffffffffffffff0,%rdx
add    $0xfffffffffffffffe,%rbx
jne    12c0 <main+0x180>
add    $0x3,%rdx
jmp    136c <main+0x22c>
movdqa 0xc9f(%rip),%xmm0
mov    $0xffffffffffffffff,%rdx
movdqa %xmm0,%xmm1
test   $0x1,%r15b
mov    %r8,%r15
je     13d0 <main+0x290>
add    %rdi,%rdx
movdqu -0x1c(%r15,%rdx,4),%xmm2
movdqu -0xc(%r15,%rdx,4),%xmm3
pshufd $0x1b,%xmm3,%xmm4
pshufd $0x1b,%xmm2,%xmm5
pshufd $0x4e,%xmm3,%xmm3
pshufd $0xf5,%xmm0,%xmm6
pmuludq %xmm3,%xmm6
pshufd $0xe8,%xmm6,%xmm3
pmuludq %xmm0,%xmm4
pshufd $0xe8,%xmm4,%xmm0
punpckldq %xmm3,%xmm0
pshufd $0x4e,%xmm2,%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm2,%xmm3
pshufd $0xe8,%xmm3,%xmm2
pmuludq %xmm1,%xmm5
pshufd $0xe8,%xmm5,%xmm1
punpckldq %xmm2,%xmm1
pshufd $0xf5,%xmm0,%xmm2
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm2,%xmm3
pmuludq %xmm0,%xmm1
pshufd $0xee,%xmm1,%xmm0
pmuludq %xmm1,%xmm0
pshufd $0xaa,%xmm3,%xmm1
pmuludq %xmm3,%xmm1
pmuludq %xmm0,%xmm1
movd   %xmm1,%ebx
cmp    %r14,%r12
jne    1406 <main+0x2c6>
mov    -0x38(%rbp),%ecx
jmp    141f <main+0x2df>
sub    %r14,%rdi
mov    -0x38(%rbp),%ecx
add    $0x1,%rdi
imul   -0x8(%r15,%rdi,4),%ebx
add    $0xffffffffffffffff,%rdi
cmp    %rax,%rdi
jg     1410 <main+0x2d0>
add    %ecx,%r11d
add    %r11d,%r10d
add    %r10d,%r9d
add    %r9d,%esi
lea    0xc36(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc56(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r13,%rsp
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [55 x i8] c"Introduzca la cantidad de valores que desea ingresar: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [85 x i8] c"\0ALa cantidad debe ser mayor o igual a 10 para efectuar correctamente la operaci\C3\B3n.\0A\00"
@.str.3 = [2 x i8] c"\0A\00"
@.str.4 = [33 x i8] c"Introduzca el valor n\C3\BAmero %d: \00"
@.str.5 = [46 x i8] c"\0ALa suma de los primeros cinco valores es: %d\00"
@.str.6 = [49 x i8] c"\0AEl producto de los ultimos cinco valores es: %d\00"
define i32 @main() {
%1 = alloca 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* %1
store i32 1, i32* %5
store i32 0, i32* %6
br label %9
9: ; preds = %14, %0
%10 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
%11 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %4)
%12 = load i32, i32* %4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.2, i64 0, i64 0))
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
br label %9
17: ; preds = %9
%18 = load i32, i32* %4
%19 = zext i32 %18 to i64
%20 = call i8* @llvm.stacksave()
store i8* %20, i8** %7
%21 = alloca i32, i64 %19
store i64 %19, i64* %8
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0))
store i32 0, i32* %2
br label %23
23: ; preds = %37, %17
%24 = load i32, i32* %2
%25 = load i32, i32* %4
%26 = sub nsw i32 %25, 1
%27 = icmp sle i32 %24, %26
br i1 %27, label %28, label %40
28: ; preds = %23
%29 = load i32, i32* %2
%30 = add nsw i32 %29, 1
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %30)
%32 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %3)
%33 = load i32, i32* %3
%34 = load i32, i32* %2
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, i32* %21, i64 %35
store i32 %33, i32* %36
br label %37
37: ; preds = %28
%38 = load i32, i32* %2
%39 = add nsw i32 %38, 1
store i32 %39, i32* %2
br label %23
40: ; preds = %23
store i32 0, i32* %2
br label %41
41: ; preds = %51, %40
%42 = load i32, i32* %2
%43 = icmp sle i32 %42, 4
br i1 %43, label %44, label %54
44: ; preds = %41
%45 = load i32, i32* %6
%46 = load i32, i32* %2
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, i32* %21, i64 %47
%49 = load i32, i32* %48
%50 = add nsw i32 %45, %49
store i32 %50, i32* %6
br label %51
51: ; preds = %44
%52 = load i32, i32* %2
%53 = add nsw i32 %52, 1
store i32 %53, i32* %2
br label %41
54: ; preds = %41
%55 = load i32, i32* %4
%56 = sub nsw i32 %55, 1
store i32 %56, i32* %2
br label %57
57: ; preds = %69, %54
%58 = load i32, i32* %2
%59 = load i32, i32* %4
%60 = sub nsw i32 %59, 5
%61 = icmp sge i32 %58, %60
br i1 %61, label %62, label %72
62: ; preds = %57
%63 = load i32, i32* %5
%64 = load i32, i32* %2
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, i32* %21, i64 %65
%67 = load i32, i32* %66
%68 = mul nsw i32 %63, %67
store i32 %68, i32* %5
br label %69
69: ; preds = %62
%70 = load i32, i32* %2
%71 = add nsw i32 %70, -1
store i32 %71, i32* %2
br label %57
72: ; preds = %57
%73 = load i32, i32* %6
%74 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %5
%76 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i32 %75)
store i32 0, i32* %1
%77 = load i8*, i8** %7
%78 = load i32, i32* %1
ret i32 %78
}

LLVM IR (-O2):
@.str = [55 x i8] c"Introduzca la cantidad de valores que desea ingresar: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.4 = [33 x i8] c"Introduzca el valor n\C3\BAmero %d: \00"
@.str.5 = [46 x i8] c"\0ALa suma de los primeros cinco valores es: %d\00"
@.str.6 = [49 x i8] c"\0AEl producto de los ultimos cinco valores es: %d\00"
@str = [84 x i8] c"\0ALa cantidad debe ser mayor o igual a 10 para efectuar correctamente la operaci\C3\B3n.\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = bitcast i32* %1 to i8*
%4 = bitcast i32* %2 to i8*
%5 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 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* %2)
%7 = load i32, i32* %2
%8 = icmp slt i32 %7, 10
br i1 %8, label %9, label %16
9: ; preds = %0, %9
%10 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([84 x i8], [84 x i8]* @str, i64 0, i64 0))
%11 = call i32 @putchar(i32 10)
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @.str, i64 0, i64 0))
%13 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%14 = load i32, i32* %2
%15 = icmp slt i32 %14, 10
br i1 %15, label %9, label %16
16: ; preds = %9, %0
%17 = phi i32 [ %7, %0 ], [ %14, %9 ]
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
%20 = alloca i32, i64 %18
%21 = call i32 @putchar(i32 10)
%22 = load i32, i32* %2
%23 = icmp sgt i32 %22, 0
br i1 %23, label %125, label %34
24: ; preds = %125
%25 = load i32, i32* %20
%26 = getelementptr inbounds i32, i32* %20, i64 1
%27 = load i32, i32* %26
%28 = getelementptr inbounds i32, i32* %20, i64 2
%29 = load i32, i32* %28
%30 = getelementptr inbounds i32, i32* %20, i64 3
%31 = load i32, i32* %30
%32 = getelementptr inbounds i32, i32* %20, i64 4
%33 = load i32, i32* %32
br label %34
34: ; preds = %16, %24
%35 = phi i32 [ %33, %24 ], [ undef, %16 ]
%36 = phi i32 [ %31, %24 ], [ undef, %16 ]
%37 = phi i32 [ %29, %24 ], [ undef, %16 ]
%38 = phi i32 [ %27, %24 ], [ undef, %16 ]
%39 = phi i32 [ %25, %24 ], [ undef, %16 ]
%40 = phi i32 [ %133, %24 ], [ %22, %16 ]
%41 = sext i32 %40 to i64
%42 = add nsw i32 %40, -4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %41, 1
%45 = sub nsw i64 %44, %43
%46 = icmp ult i64 %45, 8
br i1 %46, label %122, label %47
47: ; preds = %34
%48 = and i64 %45, -8
%49 = sub nsw i64 %41, %48
%50 = add nsw i64 %48, -8
%51 = lshr exact i64 %50, 3
%52 = add nuw nsw i64 %51, 1
%53 = and i64 %52, 1
%54 = icmp eq i64 %50, 0
br i1 %54, label %95, label %55
55: ; preds = %47
%56 = and i64 %52, 4611686018427387902
br label %57
57: ; preds = %57, %55
%58 = phi i64 [ 0, %55 ], [ %90, %57 ]
%59 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %55 ], [ %88, %57 ]
%60 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %55 ], [ %89, %57 ]
%61 = phi i64 [ 0, %55 ], [ %91, %57 ]
%62 = xor i64 %58, -1
%63 = add i64 %62, %41
%64 = getelementptr inbounds i32, i32* %20, i64 %63
%65 = getelementptr inbounds i32, i32* %64, i64 -3
%66 = bitcast i32* %65 to <4 x i32>*
%67 = load <4 x i32>, <4 x i32>* %66
%68 = shufflevector <4 x i32> %67, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%69 = getelementptr inbounds i32, i32* %64, i64 -4
%70 = getelementptr inbounds i32, i32* %69, i64 -3
%71 = bitcast i32* %70 to <4 x i32>*
%72 = load <4 x i32>, <4 x i32>* %71
%73 = shufflevector <4 x i32> %72, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%74 = mul <4 x i32> %68, %59
%75 = mul <4 x i32> %73, %60
%76 = sub nuw nsw i64 -9, %58
%77 = add i64 %76, %41
%78 = getelementptr inbounds i32, i32* %20, i64 %77
%79 = getelementptr inbounds i32, i32* %78, i64 -3
%80 = bitcast i32* %79 to <4 x i32>*
%81 = load <4 x i32>, <4 x i32>* %80
%82 = shufflevector <4 x i32> %81, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%83 = getelementptr inbounds i32, i32* %78, i64 -4
%84 = getelementptr inbounds i32, i32* %83, i64 -3
%85 = bitcast i32* %84 to <4 x i32>*
%86 = load <4 x i32>, <4 x i32>* %85
%87 = shufflevector <4 x i32> %86, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%88 = mul <4 x i32> %82, %74
%89 = mul <4 x i32> %87, %75
%90 = add nuw i64 %58, 16
%91 = add i64 %61, 2
%92 = icmp eq i64 %91, %56
br i1 %92, label %93, label %57
93: ; preds = %57
%94 = sub i64 -17, %58
br label %95
95: ; preds = %93, %47
%96 = phi <4 x i32> [ undef, %47 ], [ %88, %93 ]
%97 = phi <4 x i32> [ undef, %47 ], [ %89, %93 ]
%98 = phi i64 [ -1, %47 ], [ %94, %93 ]
%99 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %47 ], [ %88, %93 ]
%100 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %47 ], [ %89, %93 ]
%101 = icmp eq i64 %53, 0
br i1 %101, label %116, label %102
102: ; preds = %95
%103 = add i64 %98, %41
%104 = getelementptr inbounds i32, i32* %20, i64 %103
%105 = getelementptr inbounds i32, i32* %104, i64 -3
%106 = bitcast i32* %105 to <4 x i32>*
%107 = load <4 x i32>, <4 x i32>* %106
%108 = shufflevector <4 x i32> %107, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%109 = getelementptr inbounds i32, i32* %104, i64 -4
%110 = getelementptr inbounds i32, i32* %109, i64 -3
%111 = bitcast i32* %110 to <4 x i32>*
%112 = load <4 x i32>, <4 x i32>* %111
%113 = shufflevector <4 x i32> %112, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%114 = mul <4 x i32> %108, %99
%115 = mul <4 x i32> %113, %100
br label %116
116: ; preds = %95, %102
%117 = phi <4 x i32> [ %96, %95 ], [ %114, %102 ]
%118 = phi <4 x i32> [ %97, %95 ], [ %115, %102 ]
%119 = mul <4 x i32> %118, %117
%120 = call i32 @llvm.vector.reduce.mul.v4i32(<4 x i32> %119)
%121 = icmp eq i64 %45, %48
br i1 %121, label %144, label %122
122: ; preds = %34, %116
%123 = phi i64 [ %41, %34 ], [ %49, %116 ]
%124 = phi i32 [ 1, %34 ], [ %120, %116 ]
br label %136
125: ; preds = %16, %125
%126 = phi i64 [ %127, %125 ], [ 0, %16 ]
%127 = add nuw nsw i64 %126, 1
%128 = trunc i64 %127 to i32
%129 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0), i32 %128)
%130 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%131 = load i32, i32* %1
%132 = getelementptr inbounds i32, i32* %20, i64 %126
store i32 %131, i32* %132
%133 = load i32, i32* %2
%134 = sext i32 %133 to i64
%135 = icmp slt i64 %127, %134
br i1 %135, label %125, label %24
136: ; preds = %122, %136
%137 = phi i64 [ %139, %136 ], [ %123, %122 ]
%138 = phi i32 [ %142, %136 ], [ %124, %122 ]
%139 = add nsw i64 %137, -1
%140 = getelementptr inbounds i32, i32* %20, i64 %139
%141 = load i32, i32* %140
%142 = mul nsw i32 %141, %138
%143 = icmp sgt i64 %137, %43
br i1 %143, label %136, label %144
144: ; preds = %136, %116
%145 = phi i32 [ %120, %116 ], [ %142, %136 ]
%146 = add nsw i32 %38, %39
%147 = add nsw i32 %37, %146
%148 = add nsw i32 %36, %147
%149 = add nsw i32 %35, %148
%150 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 %149)
%151 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([49 x i8], [49 x i8]* @.str.6, i64 0, i64 0), i32 %145)
ret i32 0
}