#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 */
typedef int /*<<< orphan*/ array;

/* Variables and functions */
int /*<<< orphan*/ print1DArray(int, int *);
int /*<<< orphan*/ print2DArray(int, int, int **);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, int *, ...);
int main(void) {
  int arraySize;
  int row1, col1, row2, col2;
  printf("Enter size of a one-dimensional array: ");
  scanf("%d", &arraySize);
  printf("Enter number of rows and columns in a 2-D array: ");
  scanf("%d %d", &row1, &col1);
  printf("Enter number of rows and columns in another 2-D array: ");
  scanf("%d %d", &row2, &col2);
  int array[arraySize];
  int array2D1[row1][col1];
  int array2D2[row2][col2];
  printf("\nsizeof(array) yields array size of %d bytes\n", sizeof(array));
  for (int i = 0; i < arraySize; i++) {
    array[i] = i * i;
  }
  for (int i = 0; i < row1; i++) {
    for (int j = 0; j < col1; j++) {
      array2D1[i][j] = i + j;
    }
  }
  for (int i = 0; i < row2; i++) {
    for (int j = 0; j < col2; j++) {
      array2D2[i][j] = i + j;
    }
  }
  printf("\nOne-dimensional array:\n");
  print1DArray(arraySize, array);
  printf("\nFirst two-dimensional array:\n");
  print2DArray(row1, col1, array2D1);
  printf("\nSecond two-dimensional array:\n");
  print2DArray(row2, col2, array2D2);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
lea    0xea7(%rip),%rdi
xor    %eax,%eax
mov    %al,-0x89(%rbp)
call   1040 <printf@plt>
mov    -0x89(%rbp),%al
lea    0xeea(%rip),%rdi
lea    -0x8(%rbp),%rsi
call   1060 <scanf@plt>
mov    -0x89(%rbp),%al
lea    0xe9f(%rip),%rdi
call   1040 <printf@plt>
mov    -0x89(%rbp),%al
lea    0xebf(%rip),%rdi
mov    %rdi,-0x98(%rbp)
lea    -0xc(%rbp),%rsi
lea    -0x10(%rbp),%rdx
call   1060 <scanf@plt>
mov    -0x89(%rbp),%al
lea    0xea4(%rip),%rdi
call   1040 <printf@plt>
mov    -0x98(%rbp),%rdi
mov    -0x89(%rbp),%al
lea    -0x14(%rbp),%rsi
lea    -0x18(%rbp),%rdx
call   1060 <scanf@plt>
mov    -0x8(%rbp),%eax
mov    %eax,%esi
mov    %rsp,%rax
mov    %rax,-0x20(%rbp)
lea    0xf(,%rsi,4),%rcx
and    $0xfffffffffffffff0,%rcx
mov    %rsp,%rax
sub    %rcx,%rax
mov    %rax,-0x88(%rbp)
mov    %rax,%rsp
mov    %rsi,-0x28(%rbp)
mov    -0xc(%rbp),%eax
mov    %eax,%ecx
mov    -0x10(%rbp),%eax
mov    %rax,-0x80(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rdi
and    $0xfffffffffffffff0,%rdi
mov    %rsp,%rdx
sub    %rdi,%rdx
mov    %rdx,-0x78(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x30(%rbp)
mov    %rax,-0x38(%rbp)
mov    -0x14(%rbp),%eax
mov    %eax,%ecx
mov    -0x18(%rbp),%eax
mov    %rax,-0x70(%rbp)
mov    %rcx,%rdx
imul   %rax,%rdx
lea    0xf(,%rdx,4),%rdi
and    $0xfffffffffffffff0,%rdi
mov    %rsp,%rdx
sub    %rdi,%rdx
mov    %rdx,-0x68(%rbp)
mov    %rdx,%rsp
mov    %rcx,-0x40(%rbp)
mov    %rax,-0x48(%rbp)
shl    $0x2,%rsi
lea    0xe1e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    12b7 <main+0x177>
mov    -0x88(%rbp),%rax
mov    -0x4c(%rbp),%edx
imul   -0x4c(%rbp),%edx
movslq -0x4c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1288 <main+0x148>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    1322 <main+0x1e2>
movl   $0x0,-0x54(%rbp)
mov    -0x54(%rbp),%eax
cmp    -0x10(%rbp),%eax
jge    130f <main+0x1cf>
mov    -0x78(%rbp),%rax
mov    -0x80(%rbp),%rsi
mov    -0x50(%rbp),%edx
add    -0x54(%rbp),%edx
movslq -0x50(%rbp),%rcx
imul   %rsi,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x54(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
jmp    12d1 <main+0x191>
jmp    1314 <main+0x1d4>
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    12be <main+0x17e>
movl   $0x0,-0x58(%rbp)
mov    -0x58(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    138d <main+0x24d>
movl   $0x0,-0x5c(%rbp)
mov    -0x5c(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    137a <main+0x23a>
mov    -0x68(%rbp),%rax
mov    -0x70(%rbp),%rsi
mov    -0x58(%rbp),%edx
add    -0x5c(%rbp),%edx
movslq -0x58(%rbp),%rcx
imul   %rsi,%rcx
shl    $0x2,%rcx
add    %rcx,%rax
movslq -0x5c(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    133c <main+0x1fc>
jmp    137f <main+0x23f>
mov    -0x58(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x58(%rbp)
jmp    1329 <main+0x1e9>
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x88(%rbp),%rsi
mov    -0x8(%rbp),%edi
call   1030 <print1DArray@plt>
lea    0xd2e(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x78(%rbp),%rdx
mov    -0xc(%rbp),%edi
mov    -0x10(%rbp),%esi
call   1050 <print2DArray@plt>
lea    0xd30(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x68(%rbp),%rdx
mov    -0x14(%rbp),%edi
mov    -0x18(%rbp),%esi
call   1050 <print2DArray@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    $0x58,%rsp
movabs $0x3ffffffffffffffe,%rax
ff ff 3f
mov    %rax,-0x68(%rbp)
lea    0xf1a(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf69(%rip),%rdi
lea    -0x3c(%rbp),%rsi
xor    %eax,%eax
call   1070 <scanf@plt>
lea    0xf22(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xf46(%rip),%rbx
lea    -0x38(%rbp),%rsi
lea    -0x34(%rbp),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <scanf@plt>
lea    0xf33(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    -0x30(%rbp),%rsi
lea    -0x2c(%rbp),%rdx
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <scanf@plt>
mov    %rsp,-0x70(%rbp)
mov    -0x3c(%rbp),%esi
mov    %rsp,%r12
lea    0xf(,%rsi,4),%rax
and    $0xfffffffffffffff0,%rax
sub    %rax,%r12
mov    %r12,%rsp
mov    -0x38(%rbp),%eax
mov    -0x34(%rbp),%edx
mov    %rdx,-0x58(%rbp)
imul   %rdx,%rax
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
mov    %rsp,%rcx
sub    %rax,%rcx
mov    %rcx,-0x50(%rbp)
mov    %rcx,%rsp
mov    -0x30(%rbp),%eax
mov    -0x2c(%rbp),%edx
mov    %rdx,-0x60(%rbp)
imul   %rdx,%rax
lea    0xf(,%rax,4),%rax
and    $0xfffffffffffffff0,%rax
mov    %rsp,%rcx
sub    %rax,%rcx
mov    %rcx,-0x48(%rbp)
mov    %rcx,%rsp
shl    $0x2,%rsi
lea    0xedd(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
test   %eax,%eax
jle    13e2 <main+0x292>
cmp    $0x8,%eax
jae    1269 <main+0x119>
xor    %ecx,%ecx
jmp    13d0 <main+0x280>
mov    %eax,%ecx
and    $0xfffffff8,%ecx
lea    -0x8(%rcx),%rdx
mov    %rdx,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
test   %rdx,%rdx
je     182a <main+0x6da>
mov    %rsi,%rdi
movabs $0x3ffffffffffffffe,%rdx
ff ff 3f
and    %rdx,%rdi
movdqa 0xd62(%rip),%xmm0
xor    %edx,%edx
movdqa 0xd68(%rip),%xmm1
movdqa 0xd70(%rip),%xmm2
movdqa 0xd78(%rip),%xmm3
movdqa 0xd80(%rip),%xmm4
movdqa %xmm0,%xmm5
paddd  %xmm1,%xmm5
movdqa %xmm0,%xmm6
pmuludq %xmm0,%xmm6
pshufd $0xe8,%xmm6,%xmm6
pshufd $0xf5,%xmm0,%xmm7
pmuludq %xmm7,%xmm7
pshufd $0xe8,%xmm7,%xmm7
punpckldq %xmm7,%xmm6
pshufd $0xf5,%xmm5,%xmm7
pmuludq %xmm5,%xmm5
pshufd $0xe8,%xmm5,%xmm5
pmuludq %xmm7,%xmm7
pshufd $0xe8,%xmm7,%xmm7
punpckldq %xmm7,%xmm5
movdqa %xmm6,(%r12,%rdx,4)
movdqa %xmm5,0x10(%r12,%rdx,4)
movdqa %xmm0,%xmm5
paddd  %xmm2,%xmm5
movdqa %xmm0,%xmm6
paddd  %xmm3,%xmm6
pshufd $0xf5,%xmm5,%xmm7
pmuludq %xmm5,%xmm5
pshufd $0xe8,%xmm5,%xmm5
pmuludq %xmm7,%xmm7
pshufd $0xe8,%xmm7,%xmm7
punpckldq %xmm7,%xmm5
pshufd $0xf5,%xmm6,%xmm7
pmuludq %xmm6,%xmm6
pshufd $0xe8,%xmm6,%xmm6
pmuludq %xmm7,%xmm7
pshufd $0xe8,%xmm7,%xmm7
punpckldq %xmm7,%xmm6
movdqa %xmm5,0x20(%r12,%rdx,4)
movdqa %xmm6,0x30(%r12,%rdx,4)
add    $0x10,%rdx
paddd  %xmm4,%xmm0
add    $0xfffffffffffffffe,%rdi
jne    12c0 <main+0x170>
test   $0x1,%sil
je     13ca <main+0x27a>
movdqa 0xc8d(%rip),%xmm1
paddd  %xmm0,%xmm1
pshufd $0xf5,%xmm0,%xmm2
pmuludq %xmm0,%xmm0
pshufd $0xe8,%xmm0,%xmm0
pmuludq %xmm2,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm0
pshufd $0xf5,%xmm1,%xmm2
pmuludq %xmm1,%xmm1
pshufd $0xe8,%xmm1,%xmm1
pmuludq %xmm2,%xmm2
pshufd $0xe8,%xmm2,%xmm2
punpckldq %xmm2,%xmm1
movdqa %xmm0,(%r12,%rdx,4)
movdqa %xmm1,0x10(%r12,%rdx,4)
cmp    %rax,%rcx
je     13e2 <main+0x292>
nop
mov    %ecx,%edx
imul   %ecx,%edx
mov    %edx,(%r12,%rcx,4)
add    $0x1,%rcx
cmp    %rcx,%rax
jne    13d0 <main+0x280>
mov    -0x38(%rbp),%r15d
test   %r15d,%r15d
jle    15d9 <main+0x489>
mov    -0x34(%rbp),%ecx
mov    %ecx,%r11d
and    $0xfffffff8,%r11d
lea    -0x8(%r11),%r9
mov    %r9,%r10
shr    $0x3,%r10
add    $0x1,%r10
mov    %r10,%rdx
movabs $0x3ffffffffffffffe,%rax
ff ff 3f
and    %rax,%rdx
mov    %rdx,-0x78(%rbp)
mov    -0x50(%rbp),%rdx
lea    0x30(%rdx),%rsi
mov    -0x58(%rbp),%rax
lea    0x0(,%rax,4),%r14
xor    %ebx,%ebx
movdqa 0xc15(%rip),%xmm8
movdqa 0xc1c(%rip),%xmm9
movdqa 0xc23(%rip),%xmm10
movdqa 0xc2a(%rip),%xmm11
jmp    1473 <main+0x323>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rbx
add    %r14,%rsi
add    %r14,%rdx
cmp    %r15,%rbx
je     15d9 <main+0x489>
test   %ecx,%ecx
jle    1460 <main+0x310>
cmp    $0x8,%ecx
jae    1490 <main+0x340>
xor    %eax,%eax
jmp    15b0 <main+0x460>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movq   %rbx,%xmm4
pshufd $0x44,%xmm4,%xmm4
test   %r9,%r9
je     15c4 <main+0x474>
lea    0x4(%rbx),%rax
movq   %rax,%xmm5
pshufd $0x44,%xmm5,%xmm3
mov    -0x78(%rbp),%r8
xor    %r13d,%r13d
movdqa %xmm9,%xmm1
movdqa %xmm8,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movdqa %xmm1,%xmm5
paddq  %xmm4,%xmm5
movdqa %xmm0,%xmm6
paddq  %xmm4,%xmm6
shufps $0x88,%xmm6,%xmm5
movdqa %xmm3,%xmm6
paddq  %xmm1,%xmm6
movdqa %xmm3,%xmm7
paddq  %xmm0,%xmm7
shufps $0x88,%xmm7,%xmm6
movups %xmm5,-0x30(%rsi,%r13,4)
movups %xmm6,-0x20(%rsi,%r13,4)
movdqa %xmm0,%xmm5
paddq  %xmm10,%xmm5
movdqa %xmm1,%xmm6
paddq  %xmm10,%xmm6
movdqa %xmm3,%xmm7
paddq  %xmm6,%xmm7
paddq  %xmm4,%xmm6
movdqa %xmm3,%xmm2
paddq  %xmm5,%xmm2
paddq  %xmm4,%xmm5
shufps $0x88,%xmm5,%xmm6
shufps $0x88,%xmm2,%xmm7
movups %xmm6,-0x10(%rsi,%r13,4)
movups %xmm7,(%rsi,%r13,4)
add    $0x10,%r13
paddq  %xmm11,%xmm1
paddq  %xmm11,%xmm0
add    $0xfffffffffffffffe,%r8
jne    14d0 <main+0x380>
test   $0x1,%r10b
je     15a2 <main+0x452>
mov    %rbx,%rax
imul   -0x58(%rbp),%rax
mov    -0x50(%rbp),%rdi
lea    (%rdi,%rax,4),%rax
movdqa %xmm1,%xmm2
paddq  %xmm4,%xmm2
paddq  %xmm0,%xmm4
shufps $0x88,%xmm4,%xmm2
lea    0x4(%rbx),%edi
movd   %edi,%xmm3
pshufd $0x44,%xmm3,%xmm3
paddq  %xmm3,%xmm0
paddq  %xmm1,%xmm3
shufps $0x88,%xmm0,%xmm3
movups %xmm2,(%rax,%r13,4)
movups %xmm3,0x10(%rax,%r13,4)
mov    %r11,%rax
cmp    %rcx,%r11
je     1460 <main+0x310>
xchg   %ax,%ax
lea    (%rbx,%rax,1),%edi
mov    %edi,(%rdx,%rax,4)
add    $0x1,%rax
cmp    %rax,%rcx
jne    15b0 <main+0x460>
jmp    1460 <main+0x310>
xor    %r13d,%r13d
movdqa %xmm9,%xmm1
movdqa %xmm8,%xmm0
test   $0x1,%r10b
jne    155f <main+0x40f>
jmp    15a2 <main+0x452>
mov    -0x30(%rbp),%r11d
test   %r11d,%r11d
jle    17c8 <main+0x678>
mov    -0x2c(%rbp),%r13d
mov    %r13d,%r10d
and    $0xfffffff8,%r10d
lea    -0x8(%r10),%r8
mov    %r8,%r9
shr    $0x3,%r9
add    $0x1,%r9
and    %r9,-0x68(%rbp)
mov    -0x48(%rbp),%rdx
lea    0x30(%rdx),%rsi
mov    -0x60(%rbp),%rax
lea    0x0(,%rax,4),%r14
xor    %ebx,%ebx
movdqa 0xa2d(%rip),%xmm8
movdqa 0xa34(%rip),%xmm9
movdqa 0xa3b(%rip),%xmm10
movdqa 0xa42(%rip),%xmm11
mov    -0x48(%rbp),%rcx
jmp    1663 <main+0x513>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
add    $0x1,%rbx
add    %r14,%rsi
add    %r14,%rdx
cmp    %r11,%rbx
je     17c8 <main+0x678>
test   %r13d,%r13d
jle    1650 <main+0x500>
cmp    $0x8,%r13d
jae    1680 <main+0x530>
xor    %eax,%eax
jmp    17a0 <main+0x650>
cs nopw 0x0(%rax,%rax,1)
nop
movq   %rbx,%xmm4
pshufd $0x44,%xmm4,%xmm4
test   %r8,%r8
je     17b4 <main+0x664>
lea    0x4(%rbx),%rax
movq   %rax,%xmm5
pshufd $0x44,%xmm5,%xmm3
mov    -0x68(%rbp),%rdi
xor    %eax,%eax
movdqa %xmm9,%xmm1
movdqa %xmm8,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movdqa %xmm1,%xmm5
paddq  %xmm4,%xmm5
movdqa %xmm0,%xmm6
paddq  %xmm4,%xmm6
shufps $0x88,%xmm6,%xmm5
movdqa %xmm3,%xmm6
paddq  %xmm1,%xmm6
movdqa %xmm3,%xmm7
paddq  %xmm0,%xmm7
shufps $0x88,%xmm7,%xmm6
movups %xmm5,-0x30(%rsi,%rax,4)
movups %xmm6,-0x20(%rsi,%rax,4)
movdqa %xmm0,%xmm5
paddq  %xmm10,%xmm5
movdqa %xmm1,%xmm6
paddq  %xmm10,%xmm6
movdqa %xmm3,%xmm7
paddq  %xmm6,%xmm7
paddq  %xmm4,%xmm6
movdqa %xmm3,%xmm2
paddq  %xmm5,%xmm2
paddq  %xmm4,%xmm5
shufps $0x88,%xmm5,%xmm6
shufps $0x88,%xmm2,%xmm7
movups %xmm6,-0x10(%rsi,%rax,4)
movups %xmm7,(%rsi,%rax,4)
add    $0x10,%rax
paddq  %xmm11,%xmm1
paddq  %xmm11,%xmm0
add    $0xfffffffffffffffe,%rdi
jne    16c0 <main+0x570>
test   $0x1,%r9b
je     178a <main+0x63a>
mov    %rbx,%rdi
imul   -0x60(%rbp),%rdi
lea    (%rcx,%rdi,4),%r15
movdqa %xmm1,%xmm2
paddq  %xmm4,%xmm2
paddq  %xmm0,%xmm4
shufps $0x88,%xmm4,%xmm2
lea    0x4(%rbx),%edi
movd   %edi,%xmm3
pshufd $0x44,%xmm3,%xmm3
paddq  %xmm3,%xmm0
paddq  %xmm1,%xmm3
shufps $0x88,%xmm0,%xmm3
movups %xmm2,(%r15,%rax,4)
movups %xmm3,0x10(%r15,%rax,4)
mov    %r10,%rax
cmp    %r13,%r10
je     1650 <main+0x500>
cs nopw 0x0(%rax,%rax,1)
lea    (%rbx,%rax,1),%edi
mov    %edi,(%rdx,%rax,4)
add    $0x1,%rax
cmp    %rax,%r13
jne    17a0 <main+0x650>
jmp    1650 <main+0x500>
xor    %eax,%eax
movdqa %xmm9,%xmm1
movdqa %xmm8,%xmm0
test   $0x1,%r9b
jne    174b <main+0x5fb>
jmp    178a <main+0x63a>
lea    0x987(%rip),%rdi
call   1040 <puts@plt>
mov    -0x3c(%rbp),%edi
mov    %r12,%rsi
call   1030 <print1DArray@plt>
lea    0x988(%rip),%rdi
call   1040 <puts@plt>
mov    -0x38(%rbp),%edi
mov    -0x34(%rbp),%esi
mov    -0x50(%rbp),%rdx
call   1060 <print2DArray@plt>
lea    0x98b(%rip),%rdi
call   1040 <puts@plt>
mov    -0x30(%rbp),%edi
mov    -0x2c(%rbp),%esi
mov    -0x48(%rbp),%rdx
call   1060 <print2DArray@plt>
mov    -0x70(%rbp),%rsp
xor    %eax,%eax
lea    -0x28(%rbp),%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
movdqa 0x7ce(%rip),%xmm0
xor    %edx,%edx
test   $0x1,%sil
jne    137b <main+0x22b>
jmp    13ca <main+0x27a>

LLVM IR (-O0):
@.str = [40 x i8] c"Enter size of a one-dimensional array: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [50 x i8] c"Enter number of rows and columns in a 2-D array: \00"
@.str.3 = [6 x i8] c"%d %d\00"
@.str.4 = [56 x i8] c"Enter number of rows and columns in another 2-D array: \00"
@.str.5 = [46 x i8] c"\0Asizeof(array) yields array size of %d bytes\0A\00"
@.str.6 = [25 x i8] c"\0AOne-dimensional array:\0A\00"
@.str.7 = [31 x i8] c"\0AFirst two-dimensional array:\0A\00"
@.str.8 = [32 x i8] c"\0ASecond two-dimensional array:\0A\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
%9 = alloca i64
%10 = alloca i64
%11 = alloca i64
%12 = alloca i64
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
store i32 0, i32* %1
%18 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
%19 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %2)
%20 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%21 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %3, i32* %4)
%22 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%23 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %5, i32* %6)
%24 = load i32, i32* %2
%25 = zext i32 %24 to i64
%26 = call i8* @llvm.stacksave()
store i8* %26, i8** %7
%27 = alloca i32, i64 %25
store i64 %25, i64* %8
%28 = load i32, i32* %3
%29 = zext i32 %28 to i64
%30 = load i32, i32* %4
%31 = zext i32 %30 to i64
%32 = mul nuw i64 %29, %31
%33 = alloca i32, i64 %32
store i64 %29, i64* %9
store i64 %31, i64* %10
%34 = load i32, i32* %5
%35 = zext i32 %34 to i64
%36 = load i32, i32* %6
%37 = zext i32 %36 to i64
%38 = mul nuw i64 %35, %37
%39 = alloca i32, i64 %38
store i64 %35, i64* %11
store i64 %37, i64* %12
%40 = mul nuw i64 4, %25
%41 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i64 %40)
store i32 0, i32* %13
br label %42
42: ; preds = %53, %0
%43 = load i32, i32* %13
%44 = load i32, i32* %2
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %56
46: ; preds = %42
%47 = load i32, i32* %13
%48 = load i32, i32* %13
%49 = mul nsw i32 %47, %48
%50 = load i32, i32* %13
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, i32* %27, i64 %51
store i32 %49, i32* %52
br label %53
53: ; preds = %46
%54 = load i32, i32* %13
%55 = add nsw i32 %54, 1
store i32 %55, i32* %13
br label %42
56: ; preds = %42
store i32 0, i32* %14
br label %57
57: ; preds = %81, %56
%58 = load i32, i32* %14
%59 = load i32, i32* %3
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %84
61: ; preds = %57
store i32 0, i32* %15
br label %62
62: ; preds = %77, %61
%63 = load i32, i32* %15
%64 = load i32, i32* %4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %80
66: ; preds = %62
%67 = load i32, i32* %14
%68 = load i32, i32* %15
%69 = add nsw i32 %67, %68
%70 = load i32, i32* %14
%71 = sext i32 %70 to i64
%72 = mul nsw i64 %71, %31
%73 = getelementptr inbounds i32, i32* %33, i64 %72
%74 = load i32, i32* %15
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, i32* %73, i64 %75
store i32 %69, i32* %76
br label %77
77: ; preds = %66
%78 = load i32, i32* %15
%79 = add nsw i32 %78, 1
store i32 %79, i32* %15
br label %62
80: ; preds = %62
br label %81
81: ; preds = %80
%82 = load i32, i32* %14
%83 = add nsw i32 %82, 1
store i32 %83, i32* %14
br label %57
84: ; preds = %57
store i32 0, i32* %16
br label %85
85: ; preds = %109, %84
%86 = load i32, i32* %16
%87 = load i32, i32* %5
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %112
89: ; preds = %85
store i32 0, i32* %17
br label %90
90: ; preds = %105, %89
%91 = load i32, i32* %17
%92 = load i32, i32* %6
%93 = icmp slt i32 %91, %92
br i1 %93, label %94, label %108
94: ; preds = %90
%95 = load i32, i32* %16
%96 = load i32, i32* %17
%97 = add nsw i32 %95, %96
%98 = load i32, i32* %16
%99 = sext i32 %98 to i64
%100 = mul nsw i64 %99, %37
%101 = getelementptr inbounds i32, i32* %39, i64 %100
%102 = load i32, i32* %17
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, i32* %101, i64 %103
store i32 %97, i32* %104
br label %105
105: ; preds = %94
%106 = load i32, i32* %17
%107 = add nsw i32 %106, 1
store i32 %107, i32* %17
br label %90
108: ; preds = %90
br label %109
109: ; preds = %108
%110 = load i32, i32* %16
%111 = add nsw i32 %110, 1
store i32 %111, i32* %16
br label %85
112: ; preds = %85
%113 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0))
%114 = load i32, i32* %2
%115 = call i32 @print1DArray(i32 %114, i32* %27)
%116 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.7, i64 0, i64 0))
%117 = load i32, i32* %3
%118 = load i32, i32* %4
%119 = bitcast i32* %33 to i32**
%120 = call i32 @print2DArray(i32 %117, i32 %118, i32** %119)
%121 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([32 x i8], [32 x i8]* @.str.8, i64 0, i64 0))
%122 = load i32, i32* %5
%123 = load i32, i32* %6
%124 = bitcast i32* %39 to i32**
%125 = call i32 @print2DArray(i32 %122, i32 %123, i32** %124)
store i32 0, i32* %1
%126 = load i8*, i8** %7
%127 = load i32, i32* %1
ret i32 %127
}

LLVM IR (-O2):
@.str = [40 x i8] c"Enter size of a one-dimensional array: \00"
@.str.1 = [3 x i8] c"%d\00"
@.str.2 = [50 x i8] c"Enter number of rows and columns in a 2-D array: \00"
@.str.3 = [6 x i8] c"%d %d\00"
@.str.4 = [56 x i8] c"Enter number of rows and columns in another 2-D array: \00"
@.str.5 = [46 x i8] c"\0Asizeof(array) yields array size of %d bytes\0A\00"
@str = [24 x i8] c"\0AOne-dimensional array:\00"
@str.9 = [30 x i8] c"\0AFirst two-dimensional array:\00"
@str.10 = [31 x i8] c"\0ASecond two-dimensional array:\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = bitcast i32* %1 to i8*
%7 = bitcast i32* %2 to i8*
%8 = bitcast i32* %3 to i8*
%9 = bitcast i32* %4 to i8*
%10 = bitcast i32* %5 to i8*
%11 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str, i64 0, i64 0))
%12 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i32* %1)
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.2, i64 0, i64 0))
%14 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %2, i32* %3)
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([56 x i8], [56 x i8]* @.str.4, i64 0, i64 0))
%16 = call i32 (i8*, i32*, ...) @scanf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.3, i64 0, i64 0), i32* %4, i32* %5)
%17 = load i32, i32* %1
%18 = zext i32 %17 to i64
%19 = call i8* @llvm.stacksave()
%20 = alloca i32, i64 %18
%21 = load i32, i32* %2
%22 = zext i32 %21 to i64
%23 = load i32, i32* %3
%24 = zext i32 %23 to i64
%25 = mul nuw i64 %24, %22
%26 = alloca i32, i64 %25
%27 = load i32, i32* %4
%28 = zext i32 %27 to i64
%29 = load i32, i32* %5
%30 = zext i32 %29 to i64
%31 = mul nuw i64 %30, %28
%32 = alloca i32, i64 %31
%33 = shl nuw nsw i64 %18, 2
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i64 %33)
%35 = load i32, i32* %1
%36 = icmp sgt i32 %35, 0
br i1 %36, label %37, label %89
37: ; preds = %0
%38 = zext i32 %35 to i64
%39 = icmp ult i32 %35, 8
br i1 %39, label %87, label %40
40: ; preds = %37
%41 = and i64 %38, 4294967288
%42 = add nsw i64 %41, -8
%43 = lshr exact i64 %42, 3
%44 = add nuw nsw i64 %43, 1
%45 = and i64 %44, 1
%46 = icmp eq i64 %42, 0
br i1 %46, label %73, label %47
47: ; preds = %40
%48 = and i64 %44, 4611686018427387902
br label %49
49: ; preds = %49, %47
%50 = phi i64 [ 0, %47 ], [ %69, %49 ]
%51 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %47 ], [ %70, %49 ]
%52 = phi i64 [ 0, %47 ], [ %71, %49 ]
%53 = add <4 x i32> %51, <i32 4, i32 4, i32 4, i32 4>
%54 = mul nsw <4 x i32> %51, %51
%55 = mul nsw <4 x i32> %53, %53
%56 = getelementptr inbounds i32, i32* %20, i64 %50
%57 = bitcast i32* %56 to <4 x i32>*
store <4 x i32> %54, <4 x i32>* %57
%58 = getelementptr inbounds i32, i32* %56, i64 4
%59 = bitcast i32* %58 to <4 x i32>*
store <4 x i32> %55, <4 x i32>* %59
%60 = or i64 %50, 8
%61 = add <4 x i32> %51, <i32 8, i32 8, i32 8, i32 8>
%62 = add <4 x i32> %51, <i32 12, i32 12, i32 12, i32 12>
%63 = mul nsw <4 x i32> %61, %61
%64 = mul nsw <4 x i32> %62, %62
%65 = getelementptr inbounds i32, i32* %20, i64 %60
%66 = bitcast i32* %65 to <4 x i32>*
store <4 x i32> %63, <4 x i32>* %66
%67 = getelementptr inbounds i32, i32* %65, i64 4
%68 = bitcast i32* %67 to <4 x i32>*
store <4 x i32> %64, <4 x i32>* %68
%69 = add nuw i64 %50, 16
%70 = add <4 x i32> %51, <i32 16, i32 16, i32 16, i32 16>
%71 = add i64 %52, 2
%72 = icmp eq i64 %71, %48
br i1 %72, label %73, label %49
73: ; preds = %49, %40
%74 = phi i64 [ 0, %40 ], [ %69, %49 ]
%75 = phi <4 x i32> [ <i32 0, i32 1, i32 2, i32 3>, %40 ], [ %70, %49 ]
%76 = icmp eq i64 %45, 0
br i1 %76, label %85, label %77
77: ; preds = %73
%78 = add <4 x i32> %75, <i32 4, i32 4, i32 4, i32 4>
%79 = mul nsw <4 x i32> %75, %75
%80 = mul nsw <4 x i32> %78, %78
%81 = getelementptr inbounds i32, i32* %20, i64 %74
%82 = bitcast i32* %81 to <4 x i32>*
store <4 x i32> %79, <4 x i32>* %82
%83 = getelementptr inbounds i32, i32* %81, i64 4
%84 = bitcast i32* %83 to <4 x i32>*
store <4 x i32> %80, <4 x i32>* %84
br label %85
85: ; preds = %73, %77
%86 = icmp eq i64 %41, %38
br i1 %86, label %89, label %87
87: ; preds = %37, %85
%88 = phi i64 [ 0, %37 ], [ %41, %85 ]
br label %108
89: ; preds = %108, %85, %0
%90 = load i32, i32* %2
%91 = icmp sgt i32 %90, 0
br i1 %91, label %92, label %174
92: ; preds = %89
%93 = load i32, i32* %3
%94 = icmp sgt i32 %93, 0
%95 = zext i32 %90 to i64
%96 = zext i32 %93 to i64
%97 = and i64 %96, 4294967288
%98 = add nsw i64 %97, -8
%99 = lshr exact i64 %98, 3
%100 = add nuw nsw i64 %99, 1
%101 = icmp ult i32 %93, 8
%102 = and i64 %96, 4294967288
%103 = and i64 %100, 1
%104 = icmp eq i64 %98, 0
%105 = and i64 %100, 4611686018427387902
%106 = icmp eq i64 %103, 0
%107 = icmp eq i64 %102, %96
br label %115
108: ; preds = %87, %108
%109 = phi i64 [ %113, %108 ], [ %88, %87 ]
%110 = trunc i64 %109 to i32
%111 = mul nsw i32 %110, %110
%112 = getelementptr inbounds i32, i32* %20, i64 %109
store i32 %111, i32* %112
%113 = add nuw nsw i64 %109, 1
%114 = icmp eq i64 %113, %38
br i1 %114, label %89, label %108
115: ; preds = %92, %193
%116 = phi i64 [ 0, %92 ], [ %194, %193 ]
br i1 %94, label %117, label %193
117: ; preds = %115
%118 = mul nuw nsw i64 %116, %24
%119 = getelementptr inbounds i32, i32* %26, i64 %118
br i1 %101, label %172, label %120
120: ; preds = %117
%121 = insertelement <4 x i64> poison, i64 %116, i64 0
%122 = shufflevector <4 x i64> %121, <4 x i64> poison, <4 x i32> zeroinitializer
br i1 %104, label %156, label %123
123: ; preds = %120
%124 = add nuw i64 %116, 4
%125 = insertelement <4 x i64> poison, i64 %124, i64 0
%126 = shufflevector <4 x i64> %125, <4 x i64> poison, <4 x i32> zeroinitializer
%127 = add nuw i64 %116, 4
%128 = insertelement <4 x i64> poison, i64 %127, i64 0
%129 = shufflevector <4 x i64> %128, <4 x i64> poison, <4 x i32> zeroinitializer
br label %130
130: ; preds = %130, %123
%131 = phi i64 [ 0, %123 ], [ %152, %130 ]
%132 = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %123 ], [ %153, %130 ]
%133 = phi i64 [ 0, %123 ], [ %154, %130 ]
%134 = add nuw nsw <4 x i64> %132, %122
%135 = add <4 x i64> %126, %132
%136 = getelementptr inbounds i32, i32* %119, i64 %131
%137 = trunc <4 x i64> %134 to <4 x i32>
%138 = trunc <4 x i64> %135 to <4 x i32>
%139 = bitcast i32* %136 to <4 x i32>*
store <4 x i32> %137, <4 x i32>* %139
%140 = getelementptr inbounds i32, i32* %136, i64 4
%141 = bitcast i32* %140 to <4 x i32>*
store <4 x i32> %138, <4 x i32>* %141
%142 = or i64 %131, 8
%143 = add <4 x i64> %132, <i64 8, i64 8, i64 8, i64 8>
%144 = add nuw nsw <4 x i64> %143, %122
%145 = add <4 x i64> %129, %143
%146 = getelementptr inbounds i32, i32* %119, i64 %142
%147 = trunc <4 x i64> %144 to <4 x i32>
%148 = trunc <4 x i64> %145 to <4 x i32>
%149 = bitcast i32* %146 to <4 x i32>*
store <4 x i32> %147, <4 x i32>* %149
%150 = getelementptr inbounds i32, i32* %146, i64 4
%151 = bitcast i32* %150 to <4 x i32>*
store <4 x i32> %148, <4 x i32>* %151
%152 = add nuw i64 %131, 16
%153 = add <4 x i64> %132, <i64 16, i64 16, i64 16, i64 16>
%154 = add i64 %133, 2
%155 = icmp eq i64 %154, %105
br i1 %155, label %156, label %130
156: ; preds = %130, %120
%157 = phi i64 [ 0, %120 ], [ %152, %130 ]
%158 = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %120 ], [ %153, %130 ]
br i1 %106, label %171, label %159
159: ; preds = %156
%160 = add nuw nsw <4 x i64> %158, %122
%161 = add nuw i64 %116, 4
%162 = insertelement <4 x i64> poison, i64 %161, i64 0
%163 = shufflevector <4 x i64> %162, <4 x i64> poison, <4 x i32> zeroinitializer
%164 = add <4 x i64> %163, %158
%165 = getelementptr inbounds i32, i32* %119, i64 %157
%166 = trunc <4 x i64> %160 to <4 x i32>
%167 = trunc <4 x i64> %164 to <4 x i32>
%168 = bitcast i32* %165 to <4 x i32>*
store <4 x i32> %166, <4 x i32>* %168
%169 = getelementptr inbounds i32, i32* %165, i64 4
%170 = bitcast i32* %169 to <4 x i32>*
store <4 x i32> %167, <4 x i32>* %170
br label %171
171: ; preds = %156, %159
br i1 %107, label %193, label %172
172: ; preds = %117, %171
%173 = phi i64 [ 0, %117 ], [ %102, %171 ]
br label %196
174: ; preds = %193, %89
%175 = load i32, i32* %4
%176 = icmp sgt i32 %175, 0
br i1 %176, label %177, label %262
177: ; preds = %174
%178 = load i32, i32* %5
%179 = icmp sgt i32 %178, 0
%180 = zext i32 %175 to i64
%181 = zext i32 %178 to i64
%182 = and i64 %181, 4294967288
%183 = add nsw i64 %182, -8
%184 = lshr exact i64 %183, 3
%185 = add nuw nsw i64 %184, 1
%186 = icmp ult i32 %178, 8
%187 = and i64 %181, 4294967288
%188 = and i64 %185, 1
%189 = icmp eq i64 %183, 0
%190 = and i64 %185, 4611686018427387902
%191 = icmp eq i64 %188, 0
%192 = icmp eq i64 %187, %181
br label %203
193: ; preds = %196, %171, %115
%194 = add nuw nsw i64 %116, 1
%195 = icmp eq i64 %194, %95
br i1 %195, label %174, label %115
196: ; preds = %172, %196
%197 = phi i64 [ %201, %196 ], [ %173, %172 ]
%198 = add nuw nsw i64 %197, %116
%199 = getelementptr inbounds i32, i32* %119, i64 %197
%200 = trunc i64 %198 to i32
store i32 %200, i32* %199
%201 = add nuw nsw i64 %197, 1
%202 = icmp eq i64 %201, %96
br i1 %202, label %193, label %196
203: ; preds = %177, %276
%204 = phi i64 [ 0, %177 ], [ %277, %276 ]
br i1 %179, label %205, label %276
205: ; preds = %203
%206 = mul nuw nsw i64 %204, %30
%207 = getelementptr inbounds i32, i32* %32, i64 %206
br i1 %186, label %260, label %208
208: ; preds = %205
%209 = insertelement <4 x i64> poison, i64 %204, i64 0
%210 = shufflevector <4 x i64> %209, <4 x i64> poison, <4 x i32> zeroinitializer
br i1 %189, label %244, label %211
211: ; preds = %208
%212 = add nuw i64 %204, 4
%213 = insertelement <4 x i64> poison, i64 %212, i64 0
%214 = shufflevector <4 x i64> %213, <4 x i64> poison, <4 x i32> zeroinitializer
%215 = add nuw i64 %204, 4
%216 = insertelement <4 x i64> poison, i64 %215, i64 0
%217 = shufflevector <4 x i64> %216, <4 x i64> poison, <4 x i32> zeroinitializer
br label %218
218: ; preds = %218, %211
%219 = phi i64 [ 0, %211 ], [ %240, %218 ]
%220 = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %211 ], [ %241, %218 ]
%221 = phi i64 [ 0, %211 ], [ %242, %218 ]
%222 = add nuw nsw <4 x i64> %220, %210
%223 = add <4 x i64> %214, %220
%224 = getelementptr inbounds i32, i32* %207, i64 %219
%225 = trunc <4 x i64> %222 to <4 x i32>
%226 = trunc <4 x i64> %223 to <4 x i32>
%227 = bitcast i32* %224 to <4 x i32>*
store <4 x i32> %225, <4 x i32>* %227
%228 = getelementptr inbounds i32, i32* %224, i64 4
%229 = bitcast i32* %228 to <4 x i32>*
store <4 x i32> %226, <4 x i32>* %229
%230 = or i64 %219, 8
%231 = add <4 x i64> %220, <i64 8, i64 8, i64 8, i64 8>
%232 = add nuw nsw <4 x i64> %231, %210
%233 = add <4 x i64> %217, %231
%234 = getelementptr inbounds i32, i32* %207, i64 %230
%235 = trunc <4 x i64> %232 to <4 x i32>
%236 = trunc <4 x i64> %233 to <4 x i32>
%237 = bitcast i32* %234 to <4 x i32>*
store <4 x i32> %235, <4 x i32>* %237
%238 = getelementptr inbounds i32, i32* %234, i64 4
%239 = bitcast i32* %238 to <4 x i32>*
store <4 x i32> %236, <4 x i32>* %239
%240 = add nuw i64 %219, 16
%241 = add <4 x i64> %220, <i64 16, i64 16, i64 16, i64 16>
%242 = add i64 %221, 2
%243 = icmp eq i64 %242, %190
br i1 %243, label %244, label %218
244: ; preds = %218, %208
%245 = phi i64 [ 0, %208 ], [ %240, %218 ]
%246 = phi <4 x i64> [ <i64 0, i64 1, i64 2, i64 3>, %208 ], [ %241, %218 ]
br i1 %191, label %259, label %247
247: ; preds = %244
%248 = add nuw nsw <4 x i64> %246, %210
%249 = add nuw i64 %204, 4
%250 = insertelement <4 x i64> poison, i64 %249, i64 0
%251 = shufflevector <4 x i64> %250, <4 x i64> poison, <4 x i32> zeroinitializer
%252 = add <4 x i64> %251, %246
%253 = getelementptr inbounds i32, i32* %207, i64 %245
%254 = trunc <4 x i64> %248 to <4 x i32>
%255 = trunc <4 x i64> %252 to <4 x i32>
%256 = bitcast i32* %253 to <4 x i32>*
store <4 x i32> %254, <4 x i32>* %256
%257 = getelementptr inbounds i32, i32* %253, i64 4
%258 = bitcast i32* %257 to <4 x i32>*
store <4 x i32> %255, <4 x i32>* %258
br label %259
259: ; preds = %244, %247
br i1 %192, label %276, label %260
260: ; preds = %205, %259
%261 = phi i64 [ 0, %205 ], [ %187, %259 ]
br label %279
262: ; preds = %276, %174
%263 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @str, i64 0, i64 0))
%264 = load i32, i32* %1
%265 = call i32 @print1DArray(i32 %264, i32* %20)
%266 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str.9, i64 0, i64 0))
%267 = load i32, i32* %2
%268 = load i32, i32* %3
%269 = bitcast i32* %26 to i32**
%270 = call i32 @print2DArray(i32 %267, i32 %268, i32** %269)
%271 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @str.10, i64 0, i64 0))
%272 = load i32, i32* %4
%273 = load i32, i32* %5
%274 = bitcast i32* %32 to i32**
%275 = call i32 @print2DArray(i32 %272, i32 %273, i32** %274)
ret i32 0
276: ; preds = %279, %259, %203
%277 = add nuw nsw i64 %204, 1
%278 = icmp eq i64 %277, %180
br i1 %278, label %262, label %203
279: ; preds = %260, %279
%280 = phi i64 [ %284, %279 ], [ %261, %260 ]
%281 = add nuw nsw i64 %280, %204
%282 = getelementptr inbounds i32, i32* %207, i64 %280
%283 = trunc i64 %281 to i32
store i32 %283, i32* %282
%284 = add nuw nsw i64 %280, 1
%285 = icmp eq i64 %284, %181
br i1 %285, label %276, label %279
}