#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 *, ...);
void Big_factorial_iteration(int n) {
  int i = 1;
  int a[30] = {0};
  int tail = 30 - 1;
  a[tail] = 1;
  for (i = 1; i <= n; i++) {
    int j;
    for (j = tail; j >= 0; j--) {
      a[j] = a[j] * i;
    }
    for (j = tail; j >= 0; j--) {
      if (a[j] >= 10)
        a[j - 1] = a[j - 1] + (a[j] / 10);
      a[j] = a[j] % 10;
    }
  }
  for (i = 0; i < 30; i++) {
    printf("%d", a[i]);
  }
  printf("\n");
}


x86 assembly (clang, -O0):
<Big_factorial_iteration>:
push   %rbp
mov    %rsp,%rbp
sub    $0x90,%rsp
mov    %edi,-0x4(%rbp)
movl   $0x1,-0x8(%rbp)
lea    -0x80(%rbp),%rdi
xor    %esi,%esi
mov    $0x78,%edx
call   1040 <memset@plt>
movl   $0x1d,-0x84(%rbp)
movslq -0x84(%rbp),%rax
movl   $0x1,-0x80(%rbp,%rax,4)
movl   $0x1,-0x8(%rbp)
mov    -0x8(%rbp),%eax
cmp    -0x4(%rbp),%eax
jg     125b <Big_factorial_iteration+0x13b>
mov    -0x84(%rbp),%eax
mov    %eax,-0x88(%rbp)
cmpl   $0x0,-0x88(%rbp)
jl     11b8 <Big_factorial_iteration+0x98>
movslq -0x88(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%ecx
imul   -0x8(%rbp),%ecx
movslq -0x88(%rbp),%rax
mov    %ecx,-0x80(%rbp,%rax,4)
mov    -0x88(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x88(%rbp)
jmp    117d <Big_factorial_iteration+0x5d>
mov    -0x84(%rbp),%eax
mov    %eax,-0x88(%rbp)
cmpl   $0x0,-0x88(%rbp)
jl     1248 <Big_factorial_iteration+0x128>
movslq -0x88(%rbp),%rax
cmpl   $0xa,-0x80(%rbp,%rax,4)
jl     1216 <Big_factorial_iteration+0xf6>
mov    -0x88(%rbp),%eax
sub    $0x1,%eax
cltq
mov    -0x80(%rbp,%rax,4),%ecx
movslq -0x88(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%eax
mov    $0xa,%esi
cltd
idiv   %esi
add    %eax,%ecx
mov    -0x88(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %ecx,-0x80(%rbp,%rax,4)
movslq -0x88(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%eax
mov    $0xa,%ecx
cltd
idiv   %ecx
movslq -0x88(%rbp),%rax
mov    %edx,-0x80(%rbp,%rax,4)
mov    -0x88(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x88(%rbp)
jmp    11c4 <Big_factorial_iteration+0xa4>
jmp    124d <Big_factorial_iteration+0x12d>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1165 <Big_factorial_iteration+0x45>
movl   $0x0,-0x8(%rbp)
cmpl   $0x1e,-0x8(%rbp)
jge    1290 <Big_factorial_iteration+0x170>
movslq -0x8(%rbp),%rax
mov    -0x80(%rbp,%rax,4),%esi
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1262 <Big_factorial_iteration+0x142>
lea    0xd6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x90,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<Big_factorial_iteration>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xd8,%rsp
pxor   %xmm0,%xmm0
movdqa %xmm0,0xc0(%rsp)
movdqa %xmm0,0xb0(%rsp)
movdqa %xmm0,0xa0(%rsp)
movdqa %xmm0,0x90(%rsp)
movdqa %xmm0,0x80(%rsp)
movdqa %xmm0,0x70(%rsp)
movdqa %xmm0,0x60(%rsp)
movq   $0x0,0xd0(%rsp)
movl   $0x1,0xd4(%rsp)
test   %edi,%edi
jle    147c <Big_factorial_iteration+0x35c>
mov    $0x1,%ecx
mov    $0xcccccccd,%eax
jmp    11ad <Big_factorial_iteration+0x8d>
nopl   0x0(%rax)
lea    0x1(%rcx),%edx
cmp    %edi,%ecx
mov    %edx,%ecx
je     135a <Big_factorial_iteration+0x23a>
movd   %ecx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqu 0xc8(%rsp),%xmm1
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm2,%xmm1
movdqu %xmm1,0xc8(%rsp)
movdqu 0xb8(%rsp),%xmm1
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm2,%xmm1
movdqu %xmm1,0xb8(%rsp)
movdqu 0xa8(%rsp),%xmm1
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm1
punpckldq %xmm2,%xmm1
movdqu %xmm1,0xa8(%rsp)
movdqu 0x68(%rsp),%xmm1
movdqu 0x78(%rsp),%xmm2
movdqu 0x88(%rsp),%xmm3
movdqu 0x98(%rsp),%xmm4
pshufd $0xf5,%xmm4,%xmm5
pmuludq %xmm0,%xmm5
pshufd $0xe8,%xmm5,%xmm5
pmuludq %xmm0,%xmm4
pshufd $0xe8,%xmm4,%xmm4
punpckldq %xmm5,%xmm4
movdqu %xmm4,0x98(%rsp)
pshufd $0xf5,%xmm3,%xmm4
pmuludq %xmm0,%xmm4
pshufd $0xe8,%xmm4,%xmm4
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
punpckldq %xmm4,%xmm3
movdqu %xmm3,0x88(%rsp)
pshufd $0xf5,%xmm2,%xmm3
pmuludq %xmm0,%xmm3
pshufd $0xe8,%xmm3,%xmm3
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm3,%xmm2
movdqu %xmm2,0x78(%rsp)
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm0,%xmm2
pshufd $0xe8,%xmm2,%xmm2
pmuludq %xmm0,%xmm1
pshufd $0xe8,%xmm1,%xmm0
punpckldq %xmm2,%xmm0
movdqu %xmm0,0x68(%rsp)
mov    0x64(%rsp),%edx
imul   %ecx,%edx
mov    %edx,0x64(%rsp)
mov    0x60(%rsp),%edx
imul   %ecx,%edx
mov    %edx,0x60(%rsp)
mov    $0x1c,%edx
jmp    1341 <Big_factorial_iteration+0x221>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movslq %esi,%rbp
imul   $0x66666667,%rbp,%rbp
mov    %rbp,%rbx
shr    $0x3f,%rbx
sar    $0x22,%rbp
add    %ebx,%ebp
add    %ebp,%ebp
lea    0x0(%rbp,%rbp,4),%ebp
sub    %ebp,%esi
mov    %esi,0x64(%rsp,%rdx,4)
add    $0xffffffffffffffff,%rdx
cmp    $0xfffffffffffffffe,%rdx
je     11a0 <Big_factorial_iteration+0x80>
mov    0x64(%rsp,%rdx,4),%esi
cmp    $0xa,%esi
jl     1310 <Big_factorial_iteration+0x1f0>
mov    %esi,%ebp
imul   %rax,%rbp
shr    $0x23,%rbp
add    %ebp,0x60(%rsp,%rdx,4)
jmp    1310 <Big_factorial_iteration+0x1f0>
mov    0x60(%rsp),%esi
mov    0x64(%rsp),%r15d
mov    0x68(%rsp),%r14d
mov    0x6c(%rsp),%ebp
mov    0x70(%rsp),%r13d
mov    0x74(%rsp),%r12d
mov    0x78(%rsp),%eax
mov    %eax,(%rsp)
mov    0x7c(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x80(%rsp),%eax
mov    %eax,0x8(%rsp)
mov    0x84(%rsp),%eax
mov    %eax,0xc(%rsp)
mov    0x88(%rsp),%eax
mov    %eax,0x10(%rsp)
mov    0x8c(%rsp),%eax
mov    %eax,0x14(%rsp)
mov    0x90(%rsp),%eax
mov    %eax,0x18(%rsp)
mov    0x94(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    0x98(%rsp),%eax
mov    %eax,0x20(%rsp)
mov    0x9c(%rsp),%eax
mov    %eax,0x24(%rsp)
mov    0xa0(%rsp),%eax
mov    %eax,0x28(%rsp)
mov    0xa4(%rsp),%eax
mov    %eax,0x2c(%rsp)
mov    0xa8(%rsp),%eax
mov    %eax,0x30(%rsp)
mov    0xac(%rsp),%eax
mov    %eax,0x34(%rsp)
mov    0xb0(%rsp),%eax
mov    %eax,0x38(%rsp)
mov    0xb4(%rsp),%eax
mov    %eax,0x3c(%rsp)
mov    0xb8(%rsp),%eax
mov    %eax,0x40(%rsp)
mov    0xbc(%rsp),%eax
mov    %eax,0x44(%rsp)
mov    0xc0(%rsp),%eax
mov    %eax,0x48(%rsp)
mov    0xc4(%rsp),%eax
mov    %eax,0x4c(%rsp)
mov    0xc8(%rsp),%eax
mov    %eax,0x50(%rsp)
mov    0xcc(%rsp),%eax
mov    %eax,0x54(%rsp)
mov    0xd0(%rsp),%eax
mov    %eax,0x58(%rsp)
mov    0xd4(%rsp),%eax
mov    %eax,0x5c(%rsp)
jmp    154b <Big_factorial_iteration+0x42b>
movl   $0x0,0x58(%rsp)
movl   $0x1,0x5c(%rsp)
movl   $0x0,0x54(%rsp)
movl   $0x0,0x50(%rsp)
movl   $0x0,0x4c(%rsp)
movl   $0x0,0x48(%rsp)
movl   $0x0,0x44(%rsp)
movl   $0x0,0x40(%rsp)
movl   $0x0,0x3c(%rsp)
movl   $0x0,0x38(%rsp)
movl   $0x0,0x34(%rsp)
movl   $0x0,0x30(%rsp)
movl   $0x0,0x2c(%rsp)
movl   $0x0,0x28(%rsp)
movl   $0x0,0x24(%rsp)
movl   $0x0,0x20(%rsp)
movl   $0x0,0x1c(%rsp)
movl   $0x0,0x18(%rsp)
movl   $0x0,0x14(%rsp)
movl   $0x0,0x10(%rsp)
movl   $0x0,0xc(%rsp)
movl   $0x0,0x8(%rsp)
movl   $0x0,0x4(%rsp)
movl   $0x0,(%rsp)
xor    %r12d,%r12d
xor    %r13d,%r13d
xor    %ebp,%ebp
xor    %r14d,%r14d
xor    %r15d,%r15d
xor    %esi,%esi
lea    0xaae(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r15d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r14d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %ebp,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r13d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    %r12d,%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    (%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x4(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x8(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0xc(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x10(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x14(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x18(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x1c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x20(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x24(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x28(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x2c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x30(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x34(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x38(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x3c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x40(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x44(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x48(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x4c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x50(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x54(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x58(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %rbx,%rdi
mov    0x5c(%rsp),%esi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
add    $0xd8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <putchar@plt>

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

LLVM IR (-O2):
@.str = [3 x i8] c"%d\00"
define void @Big_factorial_iteration(i32 %0) {
%2 = alloca [30 x i32]
%3 = bitcast [30 x i32]* %2 to i8*
%4 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 29
store i32 1, i32* %4
%5 = icmp slt i32 %0, 1
br i1 %5, label %126, label %6
6: ; preds = %1
%7 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 26
%8 = bitcast i32* %7 to <4 x i32>*
%9 = bitcast i32* %7 to <4 x i32>*
%10 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 22
%11 = bitcast i32* %10 to <4 x i32>*
%12 = bitcast i32* %10 to <4 x i32>*
%13 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 18
%14 = bitcast i32* %13 to <4 x i32>*
%15 = bitcast i32* %13 to <4 x i32>*
%16 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 14
%17 = bitcast i32* %16 to <4 x i32>*
%18 = bitcast i32* %16 to <4 x i32>*
%19 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 10
%20 = bitcast i32* %19 to <4 x i32>*
%21 = bitcast i32* %19 to <4 x i32>*
%22 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 6
%23 = bitcast i32* %22 to <4 x i32>*
%24 = bitcast i32* %22 to <4 x i32>*
%25 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 2
%26 = bitcast i32* %25 to <4 x i32>*
%27 = bitcast i32* %25 to <4 x i32>*
%28 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 1
%29 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 0
br label %30
30: ; preds = %6, %202
%31 = phi i32 [ %203, %202 ], [ 1, %6 ]
%32 = insertelement <4 x i32> poison, i32 %31, i64 0
%33 = shufflevector <4 x i32> %32, <4 x i32> poison, <4 x i32> zeroinitializer
%34 = load <4 x i32>, <4 x i32>* %8
%35 = shufflevector <4 x i32> %34, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%36 = mul nsw <4 x i32> %35, %33
%37 = shufflevector <4 x i32> %36, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %37, <4 x i32>* %9
%38 = load <4 x i32>, <4 x i32>* %11
%39 = shufflevector <4 x i32> %38, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%40 = mul nsw <4 x i32> %39, %33
%41 = shufflevector <4 x i32> %40, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %41, <4 x i32>* %12
%42 = load <4 x i32>, <4 x i32>* %14
%43 = shufflevector <4 x i32> %42, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%44 = mul nsw <4 x i32> %43, %33
%45 = shufflevector <4 x i32> %44, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %45, <4 x i32>* %15
%46 = load <4 x i32>, <4 x i32>* %17
%47 = shufflevector <4 x i32> %46, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%48 = mul nsw <4 x i32> %47, %33
%49 = shufflevector <4 x i32> %48, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %49, <4 x i32>* %18
%50 = load <4 x i32>, <4 x i32>* %20
%51 = shufflevector <4 x i32> %50, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%52 = mul nsw <4 x i32> %51, %33
%53 = shufflevector <4 x i32> %52, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %53, <4 x i32>* %21
%54 = load <4 x i32>, <4 x i32>* %23
%55 = shufflevector <4 x i32> %54, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%56 = mul nsw <4 x i32> %55, %33
%57 = shufflevector <4 x i32> %56, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %57, <4 x i32>* %24
%58 = load <4 x i32>, <4 x i32>* %26
%59 = shufflevector <4 x i32> %58, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
%60 = mul nsw <4 x i32> %59, %33
%61 = shufflevector <4 x i32> %60, <4 x i32> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0>
store <4 x i32> %61, <4 x i32>* %27
%62 = load i32, i32* %28
%63 = mul nsw i32 %62, %31
store i32 %63, i32* %28
%64 = load i32, i32* %29
%65 = mul nsw i32 %64, %31
store i32 %65, i32* %29
br label %188
66: ; preds = %202
%67 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 0
%68 = load i32, i32* %67
%69 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 1
%70 = load i32, i32* %69
%71 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 2
%72 = load i32, i32* %71
%73 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 3
%74 = load i32, i32* %73
%75 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 4
%76 = load i32, i32* %75
%77 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 5
%78 = load i32, i32* %77
%79 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 6
%80 = load i32, i32* %79
%81 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 7
%82 = load i32, i32* %81
%83 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 8
%84 = load i32, i32* %83
%85 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 9
%86 = load i32, i32* %85
%87 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 10
%88 = load i32, i32* %87
%89 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 11
%90 = load i32, i32* %89
%91 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 12
%92 = load i32, i32* %91
%93 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 13
%94 = load i32, i32* %93
%95 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 14
%96 = load i32, i32* %95
%97 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 15
%98 = load i32, i32* %97
%99 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 16
%100 = load i32, i32* %99
%101 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 17
%102 = load i32, i32* %101
%103 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 18
%104 = load i32, i32* %103
%105 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 19
%106 = load i32, i32* %105
%107 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 20
%108 = load i32, i32* %107
%109 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 21
%110 = load i32, i32* %109
%111 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 22
%112 = load i32, i32* %111
%113 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 23
%114 = load i32, i32* %113
%115 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 24
%116 = load i32, i32* %115
%117 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 25
%118 = load i32, i32* %117
%119 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 26
%120 = load i32, i32* %119
%121 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 27
%122 = load i32, i32* %121
%123 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 28
%124 = load i32, i32* %123
%125 = load i32, i32* %4
br label %126
126: ; preds = %66, %1
%127 = phi i32 [ %125, %66 ], [ 1, %1 ]
%128 = phi i32 [ %124, %66 ], [ 0, %1 ]
%129 = phi i32 [ %122, %66 ], [ 0, %1 ]
%130 = phi i32 [ %120, %66 ], [ 0, %1 ]
%131 = phi i32 [ %118, %66 ], [ 0, %1 ]
%132 = phi i32 [ %116, %66 ], [ 0, %1 ]
%133 = phi i32 [ %114, %66 ], [ 0, %1 ]
%134 = phi i32 [ %112, %66 ], [ 0, %1 ]
%135 = phi i32 [ %110, %66 ], [ 0, %1 ]
%136 = phi i32 [ %108, %66 ], [ 0, %1 ]
%137 = phi i32 [ %106, %66 ], [ 0, %1 ]
%138 = phi i32 [ %104, %66 ], [ 0, %1 ]
%139 = phi i32 [ %102, %66 ], [ 0, %1 ]
%140 = phi i32 [ %100, %66 ], [ 0, %1 ]
%141 = phi i32 [ %98, %66 ], [ 0, %1 ]
%142 = phi i32 [ %96, %66 ], [ 0, %1 ]
%143 = phi i32 [ %94, %66 ], [ 0, %1 ]
%144 = phi i32 [ %92, %66 ], [ 0, %1 ]
%145 = phi i32 [ %90, %66 ], [ 0, %1 ]
%146 = phi i32 [ %88, %66 ], [ 0, %1 ]
%147 = phi i32 [ %86, %66 ], [ 0, %1 ]
%148 = phi i32 [ %84, %66 ], [ 0, %1 ]
%149 = phi i32 [ %82, %66 ], [ 0, %1 ]
%150 = phi i32 [ %80, %66 ], [ 0, %1 ]
%151 = phi i32 [ %78, %66 ], [ 0, %1 ]
%152 = phi i32 [ %76, %66 ], [ 0, %1 ]
%153 = phi i32 [ %74, %66 ], [ 0, %1 ]
%154 = phi i32 [ %72, %66 ], [ 0, %1 ]
%155 = phi i32 [ %70, %66 ], [ 0, %1 ]
%156 = phi i32 [ %68, %66 ], [ 0, %1 ]
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %156)
%158 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %155)
%159 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %154)
%160 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %153)
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %152)
%162 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %151)
%163 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %150)
%164 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %149)
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %148)
%166 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %147)
%167 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %146)
%168 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %145)
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %144)
%170 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %143)
%171 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %142)
%172 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %141)
%173 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %140)
%174 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %139)
%175 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %138)
%176 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %137)
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %136)
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %135)
%179 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %134)
%180 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %133)
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %132)
%182 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %131)
%183 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %130)
%184 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %129)
%185 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %128)
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %127)
%187 = tail call i32 @putchar(i32 10)
ret void
188: ; preds = %30, %199
%189 = phi i64 [ %193, %199 ], [ 29, %30 ]
%190 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 %189
%191 = load i32, i32* %190
%192 = icmp sgt i32 %191, 9
%193 = add nsw i64 %189, -1
br i1 %192, label %194, label %199
194: ; preds = %188
%195 = getelementptr inbounds [30 x i32], [30 x i32]* %2, i64 0, i64 %193
%196 = load i32, i32* %195
%197 = udiv i32 %191, 10
%198 = add nsw i32 %196, %197
store i32 %198, i32* %195
br label %199
199: ; preds = %188, %194
%200 = srem i32 %191, 10
store i32 %200, i32* %190
%201 = icmp eq i64 %189, 0
br i1 %201, label %202, label %188
202: ; preds = %199
%203 = add nuw i32 %31, 1
%204 = icmp eq i32 %31, %0
br i1 %204, label %66, label %30
}