#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ scanf(char *, int);
void main(void) {
  printf("Vuvedete niz ot 4 cifri molq.\n");
  int niz[2][4];
  scanf("\n%d", niz[1][1]);
  scanf("\n%d", niz[1][2]);
  scanf("\n%d", niz[1][3]);
  scanf("\n%d", niz[1][4]);
  printf("\nVuvedete vtori niz ot 4 cifri molq.\n");
  scanf("\n%d", niz[2][1]);
  scanf("\n%d", niz[2][2]);
  scanf("\n%d", niz[2][3]);
  scanf("\n%d", niz[2][4]);
  int c1, c2;
  c1 = 1;
  c2 = 1;
  while (1 == 1) {
    c1 = 1;
  }
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
lea    0xed1(%rip),%rdi
call   1030 <printf@plt>
mov    -0xc(%rbp),%esi
lea    0xee1(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x8(%rbp),%esi
lea    0xed2(%rip),%rdi
call   1040 <scanf@plt>
mov    -0x4(%rbp),%esi
lea    0xec3(%rip),%rdi
call   1040 <scanf@plt>
mov    0x0(%rbp),%esi
lea    0xeb4(%rip),%rdi
call   1040 <scanf@plt>
lea    0xeac(%rip),%rdi
call   1030 <printf@plt>
mov    0x4(%rbp),%esi
lea    0xe99(%rip),%rdi
call   1040 <scanf@plt>
mov    0x8(%rbp),%esi
lea    0xe8a(%rip),%rdi
call   1040 <scanf@plt>
mov    0xc(%rbp),%esi
lea    0xe7b(%rip),%rdi
call   1040 <scanf@plt>
mov    0x10(%rbp),%esi
lea    0xe6c(%rip),%rdi
call   1040 <scanf@plt>
movl   $0x1,-0x24(%rbp)
movl   $0x1,-0x28(%rbp)
movl   $0x1,-0x24(%rbp)
jmp    11c6 <main+0xa6>

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xedc(%rip),%rdi
call   1030 <puts@plt>
lea    0xecc(%rip),%rbx
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
lea    0xec7(%rip),%rdi
call   1030 <puts@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
mov    %rbx,%rdi
call   1040 <scanf@plt>
jmp    1180 <main+0x60>

LLVM IR (-O0):
@.str = [31 x i8] c"Vuvedete niz ot 4 cifri molq.\0A\00"
@.str.1 = [4 x i8] c"\0A%d\00"
@.str.2 = [38 x i8] c"\0AVuvedete vtori niz ot 4 cifri molq.\0A\00"
define void @main() {
%1 = alloca [2 x [4 x i32]]
%2 = alloca i32
%3 = alloca i32
%4 = call i32 @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str, i64 0, i64 0))
%5 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 1
%6 = getelementptr inbounds [4 x i32], [4 x i32]* %5, i64 0, i64 1
%7 = load i32, i32* %6
%8 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %7)
%9 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 1
%10 = getelementptr inbounds [4 x i32], [4 x i32]* %9, i64 0, i64 2
%11 = load i32, i32* %10
%12 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %11)
%13 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 1
%14 = getelementptr inbounds [4 x i32], [4 x i32]* %13, i64 0, i64 3
%15 = load i32, i32* %14
%16 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %15)
%17 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 1
%18 = getelementptr inbounds [4 x i32], [4 x i32]* %17, i64 0, i64 4
%19 = load i32, i32* %18
%20 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %19)
%21 = call i32 @printf(i8* getelementptr inbounds ([38 x i8], [38 x i8]* @.str.2, i64 0, i64 0))
%22 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 2
%23 = getelementptr inbounds [4 x i32], [4 x i32]* %22, i64 0, i64 1
%24 = load i32, i32* %23
%25 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %24)
%26 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 2
%27 = getelementptr inbounds [4 x i32], [4 x i32]* %26, i64 0, i64 2
%28 = load i32, i32* %27
%29 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %28)
%30 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 2
%31 = getelementptr inbounds [4 x i32], [4 x i32]* %30, i64 0, i64 3
%32 = load i32, i32* %31
%33 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %32)
%34 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %1, i64 0, i64 2
%35 = getelementptr inbounds [4 x i32], [4 x i32]* %34, i64 0, i64 4
%36 = load i32, i32* %35
%37 = call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %36)
store i32 1, i32* %2
store i32 1, i32* %3
br label %38
38: ; preds = %0, %38
store i32 1, i32* %2
br label %38
}

LLVM IR (-O2):
@.str.1 = [4 x i8] c"\0A%d\00"
@str = [30 x i8] c"Vuvedete niz ot 4 cifri molq.\00"
@str.3 = [37 x i8] c"\0AVuvedete vtori niz ot 4 cifri molq.\00"
define void @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([30 x i8], [30 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 undef)
%3 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 undef)
%4 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 undef)
%5 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 poison)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([37 x i8], [37 x i8]* @str.3, i64 0, i64 0))
%7 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 poison)
%8 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 poison)
%9 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 poison)
%10 = tail call i32 @scanf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 poison)
br label %11
11: ; preds = %11, %0
br label %11
}