#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 *malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *, ...);
int main(int argc, const char *const argv[]) {
  int array_size, max_value;
  printf("Введите значения N и c: ");
  scanf("%d%d", &array_size, &max_value);
  if (10 < array_size || array_size < 1) {
    printf("Значение N должно быть от 1 до 10 включительно.\n");
    return 1;
  }
  int *array = malloc(array_size * sizeof(int));
  printf("Введите %d элементов массива: ", array_size);
  for (int i = 0; i < array_size; ++i) {
    scanf("%d", array + i);
  }
  int product = 1;
  for (int i = 0; i < array_size; ++i) {
    if (array[i] < max_value) {
      product *= array[i];
    }
  }
  printf("\nПроизведение элементов, меньших %d: %d\n", max_value, product);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xeb3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xece(%rip),%rdi
lea    -0x14(%rbp),%rsi
lea    -0x18(%rbp),%rdx
mov    $0x0,%al
call   1050 <scanf@plt>
mov    $0xa,%eax
cmp    -0x14(%rbp),%eax
jl     1182 <main+0x52>
cmpl   $0x1,-0x14(%rbp)
jge    119c <main+0x6c>
lea    0xea5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x1,-0x4(%rbp)
jmp    126c <main+0x13c>
movslq -0x14(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1040 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    -0x14(%rbp),%esi
lea    0xec8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    11fe <main+0xce>
mov    -0x20(%rbp),%rsi
movslq -0x24(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xe42(%rip),%rdi
mov    $0x0,%al
call   1050 <scanf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    11c7 <main+0x97>
movl   $0x1,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1251 <main+0x121>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
cmp    -0x18(%rbp),%eax
jge    123e <main+0x10e>
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
imul   -0x28(%rbp),%eax
mov    %eax,-0x28(%rbp)
jmp    1243 <main+0x113>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    120c <main+0xdc>
mov    -0x18(%rbp),%esi
mov    -0x28(%rbp),%edx
lea    0xe59(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
lea    0xec1(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xedc(%rip),%rdi
mov    %rsp,%rsi
lea    0x4(%rsp),%rdx
xor    %eax,%eax
call   1060 <scanf@plt>
mov    (%rsp),%ebx
lea    -0xb(%rbx),%eax
cmp    $0xfffffff5,%eax
ja     118d <main+0x4d>
lea    0xf3b(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%ebx
jmp    1415 <main+0x2d5>
lea    0x0(,%rbx,4),%edi
call   1050 <malloc@plt>
mov    %rax,%r14
lea    0xe9b(%rip),%rdi
mov    %ebx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,(%rsp)
jle    11fe <main+0xbe>
lea    0xe82(%rip),%r15
mov    %r14,%r12
xor    %ebx,%ebx
xchg   %ax,%ax
mov    %r15,%rdi
mov    %r12,%rsi
xor    %eax,%eax
call   1060 <scanf@plt>
add    $0x1,%rbx
movslq (%rsp),%rax
add    $0x4,%r12
cmp    %rax,%rbx
jl     11c0 <main+0x80>
mov    %eax,%eax
test   %eax,%eax
jle    11fe <main+0xbe>
mov    0x4(%rsp),%esi
mov    $0x1,%ecx
cmp    $0x8,%eax
jae    120c <main+0xcc>
xor    %edi,%edi
mov    $0x1,%edx
jmp    13f0 <main+0x2b0>
mov    $0x1,%edx
mov    0x4(%rsp),%esi
jmp    1405 <main+0x2c5>
mov    %eax,%edi
and    $0xfffffff8,%edi
movd   %esi,%xmm0
pshufd $0x0,%xmm0,%xmm9
lea    -0x8(%rdi),%rdx
mov    %rdx,%r8
shr    $0x3,%r8
add    $0x1,%r8
test   %rdx,%rdx
je     1423 <main+0x2e3>
mov    %r8,%rdx
and    $0xfffffffffffffffe,%rdx
movdqa 0xdbe(%rip),%xmm1
xor    %ebx,%ebx
pcmpeqd %xmm8,%xmm8
movdqa %xmm1,%xmm2
nopl   (%rax)
movdqu (%r14,%rbx,4),%xmm6
movdqu 0x10(%r14,%rbx,4),%xmm4
movdqu 0x20(%r14,%rbx,4),%xmm7
movdqu 0x30(%r14,%rbx,4),%xmm5
movdqa %xmm9,%xmm3
pcmpgtd %xmm6,%xmm3
movdqa %xmm9,%xmm0
pcmpgtd %xmm4,%xmm0
pand   %xmm3,%xmm6
paddd  %xmm3,%xmm6
psubd  %xmm8,%xmm6
pand   %xmm0,%xmm4
paddd  %xmm0,%xmm4
psubd  %xmm8,%xmm4
pshufd $0xf5,%xmm6,%xmm0
pshufd $0xf5,%xmm1,%xmm3
pmuludq %xmm0,%xmm3
pmuludq %xmm1,%xmm6
pshufd $0xf5,%xmm4,%xmm1
pshufd $0xf5,%xmm2,%xmm0
pmuludq %xmm1,%xmm0
pmuludq %xmm2,%xmm4
movdqa %xmm9,%xmm1
pcmpgtd %xmm7,%xmm1
movdqa %xmm9,%xmm2
pcmpgtd %xmm5,%xmm2
pand   %xmm1,%xmm7
paddd  %xmm1,%xmm7
psubd  %xmm8,%xmm7
pand   %xmm2,%xmm5
paddd  %xmm2,%xmm5
psubd  %xmm8,%xmm5
pmuludq %xmm7,%xmm6
pshufd $0xe8,%xmm6,%xmm1
pshufd $0xf5,%xmm7,%xmm2
pmuludq %xmm3,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
pmuludq %xmm5,%xmm4
pshufd $0xe8,%xmm4,%xmm2
pshufd $0xf5,%xmm5,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm0
punpckldq %xmm0,%xmm2
add    $0x10,%rbx
add    $0xfffffffffffffffe,%rdx
jne    1250 <main+0x110>
test   $0x1,%r8b
je     13b6 <main+0x276>
movdqu (%r14,%rbx,4),%xmm0
movdqu 0x10(%r14,%rbx,4),%xmm3
movdqa %xmm9,%xmm4
pcmpgtd %xmm0,%xmm4
pcmpgtd %xmm3,%xmm9
pand   %xmm4,%xmm0
paddd  %xmm4,%xmm0
pcmpeqd %xmm4,%xmm4
psubd  %xmm4,%xmm0
pand   %xmm9,%xmm3
paddd  %xmm9,%xmm3
psubd  %xmm4,%xmm3
pshufd $0xf5,%xmm0,%xmm4
pmuludq %xmm1,%xmm0
pshufd $0xf5,%xmm1,%xmm1
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm4,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm1,%xmm0
pshufd $0xf5,%xmm3,%xmm1
pmuludq %xmm2,%xmm3
pshufd $0xf5,%xmm2,%xmm2
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xe8,%xmm2,%xmm1
punpckldq %xmm1,%xmm3
movdqa %xmm0,%xmm1
movdqa %xmm3,%xmm2
pshufd $0xf5,%xmm1,%xmm0
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm3
pmuludq %xmm1,%xmm2
pshufd $0xee,%xmm2,%xmm0
pmuludq %xmm2,%xmm0
pshufd $0xaa,%xmm3,%xmm1
pmuludq %xmm3,%xmm1
pmuludq %xmm0,%xmm1
movd   %xmm1,%edx
cmp    %rax,%rdi
je     1405 <main+0x2c5>
nopw   0x0(%rax,%rax,1)
mov    (%r14,%rdi,4),%ebx
cmp    %esi,%ebx
cmovge %ecx,%ebx
imul   %ebx,%edx
add    $0x1,%rdi
cmp    %rdi,%rax
jne    13f0 <main+0x2b0>
lea    0xc68(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1040 <printf@plt>
mov    %ebx,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret
movdqa 0xbd5(%rip),%xmm1
xor    %ebx,%ebx
movdqa %xmm1,%xmm2
test   $0x1,%r8b
jne    1335 <main+0x1f5>
jmp    13b6 <main+0x276>

LLVM IR (-O0):
@.str = [41 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D1\8F N \D0\B8 c: \00"
@.str.1 = [5 x i8] c"%d%d\00"
@.str.2 = [83 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 N \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 10 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\0A\00"
@.str.3 = [54 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0: \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [69 x i8] c"\0A\D0\9F\D1\80\D0\BE\D0\B8\D0\B7\D0\B2\D0\B5\D0\B4\D0\B5\D0\BD\D0\B8\D0\B5 \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2, \D0\BC\D0\B5\D0\BD\D1\8C\D1\88\D0\B8\D1\85 %d: %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32*
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
%12 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%13 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %6, i32* %7)
%14 = load i32, i32* %6
%15 = icmp slt i32 10, %14
br i1 %15, label %19, label %16
16: ; preds = %2
%17 = load i32, i32* %6
%18 = icmp slt i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %16, %2
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([83 x i8], [83 x i8]* @.str.2, i64 0, i64 0))
store i32 1, i32* %3
br label %71
21: ; preds = %16
%22 = load i32, i32* %6
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = trunc i64 %24 to i32
%26 = call i32* @malloc(i32 %25)
store i32* %26, i32** %8
%27 = load i32, i32* %6
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0), i32 %27)
store i32 0, i32* %9
br label %29
29: ; preds = %39, %21
%30 = load i32, i32* %9
%31 = load i32, i32* %6
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %42
33: ; preds = %29
%34 = load i32*, i32** %8
%35 = load i32, i32* %9
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, i32* %34, i64 %36
%38 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %37)
br label %39
39: ; preds = %33
%40 = load i32, i32* %9
%41 = add nsw i32 %40, 1
store i32 %41, i32* %9
br label %29
42: ; preds = %29
store i32 1, i32* %10
store i32 0, i32* %11
br label %43
43: ; preds = %64, %42
%44 = load i32, i32* %11
%45 = load i32, i32* %6
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %67
47: ; preds = %43
%48 = load i32*, i32** %8
%49 = load i32, i32* %11
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, i32* %48, i64 %50
%52 = load i32, i32* %51
%53 = load i32, i32* %7
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %63
55: ; preds = %47
%56 = load i32*, i32** %8
%57 = load i32, i32* %11
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, i32* %56, i64 %58
%60 = load i32, i32* %59
%61 = load i32, i32* %10
%62 = mul nsw i32 %61, %60
store i32 %62, i32* %10
br label %63
63: ; preds = %55, %47
br label %64
64: ; preds = %63
%65 = load i32, i32* %11
%66 = add nsw i32 %65, 1
store i32 %66, i32* %11
br label %43
67: ; preds = %43
%68 = load i32, i32* %7
%69 = load i32, i32* %10
%70 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0), i32 %68, i32 %69)
store i32 0, i32* %3
br label %71
71: ; preds = %67, %19
%72 = load i32, i32* %3
ret i32 %72
}

LLVM IR (-O2):
@.str = [41 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 \D0\B7\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D1\8F N \D0\B8 c: \00"
@.str.1 = [5 x i8] c"%d%d\00"
@.str.3 = [54 x i8] c"\D0\92\D0\B2\D0\B5\D0\B4\D0\B8\D1\82\D0\B5 %d \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2 \D0\BC\D0\B0\D1\81\D1\81\D0\B8\D0\B2\D0\B0: \00"
@.str.4 = [3 x i8] c"%d\00"
@.str.5 = [69 x i8] c"\0A\D0\9F\D1\80\D0\BE\D0\B8\D0\B7\D0\B2\D0\B5\D0\B4\D0\B5\D0\BD\D0\B8\D0\B5 \D1\8D\D0\BB\D0\B5\D0\BC\D0\B5\D0\BD\D1\82\D0\BE\D0\B2, \D0\BC\D0\B5\D0\BD\D1\8C\D1\88\D0\B8\D1\85 %d: %d\0A\00"
@str = [82 x i8] c"\D0\97\D0\BD\D0\B0\D1\87\D0\B5\D0\BD\D0\B8\D0\B5 N \D0\B4\D0\BE\D0\BB\D0\B6\D0\BD\D0\BE \D0\B1\D1\8B\D1\82\D1\8C \D0\BE\D1\82 1 \D0\B4\D0\BE 10 \D0\B2\D0\BA\D0\BB\D1\8E\D1\87\D0\B8\D1\82\D0\B5\D0\BB\D1\8C\D0\BD\D0\BE.\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = alloca i32
%4 = alloca i32
%5 = bitcast i32* %3 to i8*
%6 = bitcast i32* %4 to i8*
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0))
%8 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.1, i64 0, i64 0), i32* %3, i32* %4)
%9 = load i32, i32* %3
%10 = add i32 %9, -11
%11 = icmp ult i32 %10, -10
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([82 x i8], [82 x i8]* @str, i64 0, i64 0))
br label %125
14: ; preds = %2
%15 = shl nuw nsw i32 %9, 2
%16 = call i32* @malloc(i32 %15)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([54 x i8], [54 x i8]* @.str.3, i64 0, i64 0), i32 %9)
%18 = load i32, i32* %3
%19 = icmp sgt i32 %18, 0
br i1 %19, label %103, label %22
20: ; preds = %103
%21 = icmp sgt i32 %108, 0
br i1 %21, label %24, label %22
22: ; preds = %14, %20
%23 = load i32, i32* %4
br label %111
24: ; preds = %20
%25 = load i32, i32* %4
%26 = zext i32 %108 to i64
%27 = icmp ult i32 %108, 8
br i1 %27, label %100, label %28
28: ; preds = %24
%29 = and i64 %26, 4294967288
%30 = insertelement <4 x i32> poison, i32 %25, i64 0
%31 = shufflevector <4 x i32> %30, <4 x i32> poison, <4 x i32> zeroinitializer
%32 = insertelement <4 x i32> poison, i32 %25, i64 0
%33 = shufflevector <4 x i32> %32, <4 x i32> poison, <4 x i32> zeroinitializer
%34 = add nsw i64 %29, -8
%35 = lshr exact i64 %34, 3
%36 = add nuw nsw i64 %35, 1
%37 = and i64 %36, 1
%38 = icmp eq i64 %34, 0
br i1 %38, label %74, label %39
39: ; preds = %28
%40 = and i64 %36, 4611686018427387902
br label %41
41: ; preds = %41, %39
%42 = phi i64 [ 0, %39 ], [ %71, %41 ]
%43 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %39 ], [ %69, %41 ]
%44 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %39 ], [ %70, %41 ]
%45 = phi i64 [ 0, %39 ], [ %72, %41 ]
%46 = getelementptr inbounds i32, i32* %16, i64 %42
%47 = bitcast i32* %46 to <4 x i32>*
%48 = load <4 x i32>, <4 x i32>* %47
%49 = getelementptr inbounds i32, i32* %46, i64 4
%50 = bitcast i32* %49 to <4 x i32>*
%51 = load <4 x i32>, <4 x i32>* %50
%52 = icmp slt <4 x i32> %48, %31
%53 = icmp slt <4 x i32> %51, %33
%54 = select <4 x i1> %52, <4 x i32> %48, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%55 = select <4 x i1> %53, <4 x i32> %51, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%56 = mul <4 x i32> %54, %43
%57 = mul <4 x i32> %55, %44
%58 = or i64 %42, 8
%59 = getelementptr inbounds i32, i32* %16, i64 %58
%60 = bitcast i32* %59 to <4 x i32>*
%61 = load <4 x i32>, <4 x i32>* %60
%62 = getelementptr inbounds i32, i32* %59, i64 4
%63 = bitcast i32* %62 to <4 x i32>*
%64 = load <4 x i32>, <4 x i32>* %63
%65 = icmp slt <4 x i32> %61, %31
%66 = icmp slt <4 x i32> %64, %33
%67 = select <4 x i1> %65, <4 x i32> %61, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%68 = select <4 x i1> %66, <4 x i32> %64, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%69 = mul <4 x i32> %67, %56
%70 = mul <4 x i32> %68, %57
%71 = add nuw i64 %42, 16
%72 = add i64 %45, 2
%73 = icmp eq i64 %72, %40
br i1 %73, label %74, label %41
74: ; preds = %41, %28
%75 = phi <4 x i32> [ undef, %28 ], [ %69, %41 ]
%76 = phi <4 x i32> [ undef, %28 ], [ %70, %41 ]
%77 = phi i64 [ 0, %28 ], [ %71, %41 ]
%78 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %28 ], [ %69, %41 ]
%79 = phi <4 x i32> [ <i32 1, i32 1, i32 1, i32 1>, %28 ], [ %70, %41 ]
%80 = icmp eq i64 %37, 0
br i1 %80, label %94, label %81
81: ; preds = %74
%82 = getelementptr inbounds i32, i32* %16, i64 %77
%83 = bitcast i32* %82 to <4 x i32>*
%84 = load <4 x i32>, <4 x i32>* %83
%85 = getelementptr inbounds i32, i32* %82, i64 4
%86 = bitcast i32* %85 to <4 x i32>*
%87 = load <4 x i32>, <4 x i32>* %86
%88 = icmp slt <4 x i32> %84, %31
%89 = icmp slt <4 x i32> %87, %33
%90 = select <4 x i1> %88, <4 x i32> %84, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%91 = select <4 x i1> %89, <4 x i32> %87, <4 x i32> <i32 1, i32 1, i32 1, i32 1>
%92 = mul <4 x i32> %90, %78
%93 = mul <4 x i32> %91, %79
br label %94
94: ; preds = %74, %81
%95 = phi <4 x i32> [ %75, %74 ], [ %92, %81 ]
%96 = phi <4 x i32> [ %76, %74 ], [ %93, %81 ]
%97 = mul <4 x i32> %96, %95
%98 = call i32 @llvm.vector.reduce.mul.v4i32(<4 x i32> %97)
%99 = icmp eq i64 %29, %26
br i1 %99, label %111, label %100
100: ; preds = %24, %94
%101 = phi i64 [ 0, %24 ], [ %29, %94 ]
%102 = phi i32 [ 1, %24 ], [ %98, %94 ]
br label %115
103: ; preds = %14, %103
%104 = phi i64 [ %107, %103 ], [ 0, %14 ]
%105 = getelementptr inbounds i32, i32* %16, i64 %104
%106 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32* %105)
%107 = add nuw nsw i64 %104, 1
%108 = load i32, i32* %3
%109 = sext i32 %108 to i64
%110 = icmp slt i64 %107, %109
br i1 %110, label %103, label %20
111: ; preds = %115, %94, %22
%112 = phi i32 [ %23, %22 ], [ %25, %94 ], [ %25, %115 ]
%113 = phi i32 [ 1, %22 ], [ %98, %94 ], [ %122, %115 ]
%114 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([69 x i8], [69 x i8]* @.str.5, i64 0, i64 0), i32 %112, i32 %113)
br label %125
115: ; preds = %100, %115
%116 = phi i64 [ %123, %115 ], [ %101, %100 ]
%117 = phi i32 [ %122, %115 ], [ %102, %100 ]
%118 = getelementptr inbounds i32, i32* %16, i64 %116
%119 = load i32, i32* %118
%120 = icmp slt i32 %119, %25
%121 = select i1 %120, i32 %119, i32 1
%122 = mul nsw i32 %121, %117
%123 = add nuw nsw i64 %116, 1
%124 = icmp eq i64 %123, %26
br i1 %124, label %111, label %115
125: ; preds = %111, %12
%126 = phi i32 [ 1, %12 ], [ 0, %111 ]
ret i32 %126
}