#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 *, int *);
int /*<<< orphan*/ strcpy(char *, char *);
int /*<<< orphan*/ system(char *);
int main() {
  int month[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
  char week[7][15];
  int date, mon, year, i, r, s = 0;
  system("clear");
  strcpy(week[0], "Sunday");
  strcpy(week[1], "Monday");
  strcpy(week[2], "Tuesday");
  strcpy(week[3], "Wednesday");
  strcpy(week[4], "Thursday");
  strcpy(week[5], "Friday");
  strcpy(week[6], "Saturday");
  printf("Enter a valid date (dd/mm/yyyy) : ");
  scanf("%d / %d / %d", &date, &mon, &year);
  if (year % 4 == 0) {
    if (year % 100 == 0) {
      if (year % 400 == 0) {
        month[1] = 29;
      }
    }
  }
  for (i = 0; i < mon - 1; i++)
    s = s + month[i];
  s = s + (date + year + (year / 4) - 2);
  s = s % 7;
  printf("\nThe day is : %s", week[s]);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x40(%rbp),%rdi
lea    0xe93(%rip),%rsi
mov    $0x30,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0xc8(%rbp)
lea    0xea8(%rip),%rdi
call   1040 <system@plt>
lea    -0xb0(%rbp),%rdi
lea    0xe9b(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0xf,%rdi
lea    0xe8b(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0x1e,%rdi
lea    0xe7b(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0x2d,%rdi
lea    0xe6c(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0x3c,%rdi
lea    0xe5f(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0x4b,%rdi
lea    0xe51(%rip),%rsi
call   1030 <strcpy@plt>
lea    -0xb0(%rbp),%rdi
add    $0x5a,%rdi
lea    0xe41(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xe3e(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe53(%rip),%rdi
lea    -0xb4(%rbp),%rsi
lea    -0xb8(%rbp),%rdx
lea    -0xbc(%rbp),%rcx
call   1070 <scanf@plt>
mov    -0xbc(%rbp),%eax
mov    $0x4,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12af <main+0x15f>
mov    -0xbc(%rbp),%eax
mov    $0x64,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12aa <main+0x15a>
mov    -0xbc(%rbp),%eax
mov    $0x190,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12a5 <main+0x155>
movl   $0x1d,-0x3c(%rbp)
jmp    12aa <main+0x15a>
jmp    12af <main+0x15f>
movl   $0x0,-0xc0(%rbp)
mov    -0xc0(%rbp),%eax
mov    -0xb8(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    12fb <main+0x1ab>
mov    -0xc8(%rbp),%eax
movslq -0xc0(%rbp),%rcx
add    -0x40(%rbp,%rcx,4),%eax
mov    %eax,-0xc8(%rbp)
mov    -0xc0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc0(%rbp)
jmp    12b9 <main+0x169>
mov    -0xc8(%rbp),%eax
mov    %eax,-0xcc(%rbp)
mov    -0xb4(%rbp),%ecx
add    -0xbc(%rbp),%ecx
mov    -0xbc(%rbp),%eax
mov    $0x4,%esi
cltd
idiv   %esi
mov    %eax,%edx
mov    -0xcc(%rbp),%eax
add    %edx,%ecx
sub    $0x2,%ecx
add    %ecx,%eax
mov    %eax,-0xc8(%rbp)
mov    -0xc8(%rbp),%eax
mov    $0x7,%ecx
cltd
idiv   %ecx
mov    %edx,-0xc8(%rbp)
movslq -0xc8(%rbp),%rax
lea    -0xb0(%rbp),%rsi
imul   $0xf,%rax,%rax
add    %rax,%rsi
lea    0xd39(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
sub    $0xb0,%rsp
movaps 0xed1(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xeb5(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movdqa 0xe98(%rip),%xmm0
movdqa %xmm0,0x10(%rsp)
lea    0xebb(%rip),%rdi
call   1040 <system@plt>
lea    0xeb5(%rip),%rsi
lea    0x40(%rsp),%rdi
call   1030 <strcpy@plt>
lea    0x4f(%rsp),%rdi
lea    0xea6(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x5e(%rsp),%rdi
lea    0xe9c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x6d(%rsp),%rdi
lea    0xe93(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x7c(%rsp),%rdi
lea    0xe8c(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x8b(%rsp),%rdi
lea    0xe81(%rip),%rsi
call   1030 <strcpy@plt>
lea    0x9a(%rsp),%rdi
lea    0xe74(%rip),%rsi
call   1030 <strcpy@plt>
lea    0xe71(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xe84(%rip),%rdi
lea    0xc(%rsp),%rsi
lea    0x8(%rsp),%rdx
lea    0x4(%rsp),%rcx
call   1060 <scanf@plt>
movslq 0x4(%rsp),%r8
mov    %r8d,%ecx
and    $0x3,%ecx
imul   $0x51eb851f,%r8,%rdx
mov    %rdx,%rsi
sar    $0x25,%rsi
mov    %rdx,%rdi
shr    $0x3f,%rdi
add    %edi,%esi
imul   $0x64,%esi,%esi
mov    %r8d,%eax
sub    %esi,%eax
or     %ecx,%eax
sar    $0x27,%rdx
add    %edi,%edx
imul   $0x190,%edx,%ecx
mov    %r8d,%edx
sub    %ecx,%edx
or     %eax,%edx
jne    126b <main+0x12b>
movl   $0x1d,0x14(%rsp)
mov    0x8(%rsp),%ecx
cmp    $0x2,%ecx
jl     136d <main+0x22d>
add    $0xffffffff,%ecx
cmp    $0x8,%ecx
jae    1289 <main+0x149>
xor    %edx,%edx
xor    %ebx,%ebx
jmp    1360 <main+0x220>
mov    %ecx,%edx
and    $0xfffffff8,%edx
lea    -0x8(%rdx),%rax
mov    %rax,%rsi
shr    $0x3,%rsi
add    $0x1,%rsi
mov    %esi,%ebx
and    $0x3,%ebx
cmp    $0x18,%rax
jae    12b4 <main+0x174>
pxor   %xmm0,%xmm0
xor    %edi,%edi
pxor   %xmm1,%xmm1
jmp    130d <main+0x1cd>
and    $0xfffffffffffffffc,%rsi
pxor   %xmm0,%xmm0
xor    %edi,%edi
pxor   %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
paddd  0x10(%rsp,%rdi,4),%xmm0
paddd  0x20(%rsp,%rdi,4),%xmm1
paddd  0x30(%rsp,%rdi,4),%xmm0
paddd  0x40(%rsp,%rdi,4),%xmm1
paddd  0x50(%rsp,%rdi,4),%xmm0
paddd  0x60(%rsp,%rdi,4),%xmm1
paddd  0x70(%rsp,%rdi,4),%xmm0
paddd  0x80(%rsp,%rdi,4),%xmm1
add    $0x20,%rdi
add    $0xfffffffffffffffc,%rsi
jne    12d0 <main+0x190>
test   %rbx,%rbx
je     1334 <main+0x1f4>
lea    (%rsp,%rdi,4),%rsi
add    $0x20,%rsi
shl    $0x5,%rbx
xor    %edi,%edi
paddd  -0x10(%rsi,%rdi,1),%xmm0
paddd  (%rsi,%rdi,1),%xmm1
add    $0x20,%rdi
cmp    %rdi,%rbx
jne    1320 <main+0x1e0>
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%ebx
cmp    %rcx,%rdx
je     136d <main+0x22d>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    0x10(%rsp,%rdx,4),%ebx
add    $0x1,%rdx
cmp    %rdx,%rcx
jne    1360 <main+0x220>
lea    0x3(%r8),%eax
test   %r8d,%r8d
cmovns %r8d,%eax
mov    0xc(%rsp),%ecx
sar    $0x2,%eax
add    %r8d,%eax
add    %ebx,%eax
lea    (%rcx,%rax,1),%edx
add    $0xfffffffe,%edx
add    %ecx,%eax
movslq %edx,%rcx
imul   $0xffffffff92492493,%rcx,%rcx
shr    $0x20,%rcx
add    %eax,%ecx
add    $0xfffffffe,%ecx
mov    %ecx,%edx
shr    $0x1f,%edx
sar    $0x2,%ecx
add    %edx,%ecx
lea    0x0(,%rcx,8),%edx
sub    %edx,%ecx
add    %ecx,%eax
add    $0xfffffffe,%eax
cltq
lea    (%rax,%rax,4),%rax
lea    (%rax,%rax,2),%rax
lea    (%rsp,%rax,1),%rsi
add    $0x40,%rsi
lea    0xccf(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
xor    %eax,%eax
add    $0xb0,%rsp
pop    %rbx
ret

LLVM IR (-O0):
@__const.main.month = [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31]
@.str = [6 x i8] c"clear\00"
@.str.1 = [7 x i8] c"Sunday\00"
@.str.2 = [7 x i8] c"Monday\00"
@.str.3 = [8 x i8] c"Tuesday\00"
@.str.4 = [10 x i8] c"Wednesday\00"
@.str.5 = [9 x i8] c"Thursday\00"
@.str.6 = [7 x i8] c"Friday\00"
@.str.7 = [9 x i8] c"Saturday\00"
@.str.8 = [35 x i8] c"Enter a valid date (dd/mm/yyyy) : \00"
@.str.9 = [13 x i8] c"%d / %d / %d\00"
@.str.10 = [17 x i8] c"\0AThe day is : %s\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [12 x i32]
%3 = alloca [7 x [15 x i8]]
%4 = alloca i32
%5 = alloca i32
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32 0, i32* %1
%10 = bitcast [12 x i32]* %2 to i8*
store i32 0, i32* %9
%11 = call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%12 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 0
%13 = getelementptr inbounds [15 x i8], [15 x i8]* %12, i64 0, i64 0
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%15 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 1
%16 = getelementptr inbounds [15 x i8], [15 x i8]* %15, i64 0, i64 0
%17 = call i32 @strcpy(i8* %16, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%18 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 2
%19 = getelementptr inbounds [15 x i8], [15 x i8]* %18, i64 0, i64 0
%20 = call i32 @strcpy(i8* %19, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%21 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 3
%22 = getelementptr inbounds [15 x i8], [15 x i8]* %21, i64 0, i64 0
%23 = call i32 @strcpy(i8* %22, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%24 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 4
%25 = getelementptr inbounds [15 x i8], [15 x i8]* %24, i64 0, i64 0
%26 = call i32 @strcpy(i8* %25, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%27 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 5
%28 = getelementptr inbounds [15 x i8], [15 x i8]* %27, i64 0, i64 0
%29 = call i32 @strcpy(i8* %28, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%30 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 6
%31 = getelementptr inbounds [15 x i8], [15 x i8]* %30, i64 0, i64 0
%32 = call i32 @strcpy(i8* %31, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
%34 = call i32 @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i32* %4, i32* %5, i32* %6)
%35 = load i32, i32* %6
%36 = srem i32 %35, 4
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %50
38: ; preds = %0
%39 = load i32, i32* %6
%40 = srem i32 %39, 100
%41 = icmp eq i32 %40, 0
br i1 %41, label %42, label %49
42: ; preds = %38
%43 = load i32, i32* %6
%44 = srem i32 %43, 400
%45 = icmp eq i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %42
%47 = getelementptr inbounds [12 x i32], [12 x i32]* %2, i64 0, i64 1
store i32 29, i32* %47
br label %48
48: ; preds = %46, %42
br label %49
49: ; preds = %48, %38
br label %50
50: ; preds = %49, %0
store i32 0, i32* %7
br label %51
51: ; preds = %63, %50
%52 = load i32, i32* %7
%53 = load i32, i32* %5
%54 = sub nsw i32 %53, 1
%55 = icmp slt i32 %52, %54
br i1 %55, label %56, label %66
56: ; preds = %51
%57 = load i32, i32* %9
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [12 x i32], [12 x i32]* %2, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = add nsw i32 %57, %61
store i32 %62, i32* %9
br label %63
63: ; preds = %56
%64 = load i32, i32* %7
%65 = add nsw i32 %64, 1
store i32 %65, i32* %7
br label %51
66: ; preds = %51
%67 = load i32, i32* %9
%68 = load i32, i32* %4
%69 = load i32, i32* %6
%70 = add nsw i32 %68, %69
%71 = load i32, i32* %6
%72 = sdiv i32 %71, 4
%73 = add nsw i32 %70, %72
%74 = sub nsw i32 %73, 2
%75 = add nsw i32 %67, %74
store i32 %75, i32* %9
%76 = load i32, i32* %9
%77 = srem i32 %76, 7
store i32 %77, i32* %9
%78 = load i32, i32* %9
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %3, i64 0, i64 %79
%81 = getelementptr inbounds [15 x i8], [15 x i8]* %80, i64 0, i64 0
%82 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i8* %81)
%83 = load i32, i32* %1
ret i32 %83
}

LLVM IR (-O2):
@__const.main.month = [12 x i32] [i32 31, i32 28, i32 31, i32 30, i32 31, i32 30, i32 31, i32 31, i32 30, i32 31, i32 30, i32 31]
@.str = [6 x i8] c"clear\00"
@.str.1 = [7 x i8] c"Sunday\00"
@.str.2 = [7 x i8] c"Monday\00"
@.str.3 = [8 x i8] c"Tuesday\00"
@.str.4 = [10 x i8] c"Wednesday\00"
@.str.5 = [9 x i8] c"Thursday\00"
@.str.6 = [7 x i8] c"Friday\00"
@.str.7 = [9 x i8] c"Saturday\00"
@.str.8 = [35 x i8] c"Enter a valid date (dd/mm/yyyy) : \00"
@.str.9 = [13 x i8] c"%d / %d / %d\00"
@.str.10 = [17 x i8] c"\0AThe day is : %s\00"
define i32 @main() {
%1 = alloca [12 x i32]
%2 = alloca [7 x [15 x i8]]
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32
%6 = bitcast [12 x i32]* %1 to i8*
%7 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 0, i64 0
%8 = bitcast i32* %3 to i8*
%9 = bitcast i32* %4 to i8*
%10 = bitcast i32* %5 to i8*
%11 = tail call i32 @system(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0))
%12 = call i32 @strcpy(i8* %7, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.1, i64 0, i64 0))
%13 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 1, i64 0
%14 = call i32 @strcpy(i8* %13, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.2, i64 0, i64 0))
%15 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 2, i64 0
%16 = call i32 @strcpy(i8* %15, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.3, i64 0, i64 0))
%17 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 3, i64 0
%18 = call i32 @strcpy(i8* %17, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.4, i64 0, i64 0))
%19 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 4, i64 0
%20 = call i32 @strcpy(i8* %19, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.5, i64 0, i64 0))
%21 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 5, i64 0
%22 = call i32 @strcpy(i8* %21, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.6, i64 0, i64 0))
%23 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 6, i64 0
%24 = call i32 @strcpy(i8* %23, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str.7, i64 0, i64 0))
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.8, i64 0, i64 0))
%26 = call i32 @scanf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.9, i64 0, i64 0), i32* %3, i32* %4, i32* %5)
%27 = load i32, i32* %5
%28 = and i32 %27, 3
%29 = srem i32 %27, 100
%30 = or i32 %28, %29
%31 = icmp eq i32 %30, 0
%32 = srem i32 %27, 400
%33 = icmp eq i32 %32, 0
%34 = select i1 %31, i1 %33, i1 false
br i1 %34, label %35, label %37
35: ; preds = %0
%36 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 1
store i32 29, i32* %36
br label %37
37: ; preds = %35, %0
%38 = load i32, i32* %4
%39 = icmp sgt i32 %38, 1
br i1 %39, label %40, label %136
40: ; preds = %37
%41 = add nsw i32 %38, -1
%42 = zext i32 %41 to i64
%43 = icmp ult i32 %41, 8
br i1 %43, label %125, label %44
44: ; preds = %40
%45 = and i64 %42, 4294967288
%46 = add nsw i64 %45, -8
%47 = lshr exact i64 %46, 3
%48 = add nuw nsw i64 %47, 1
%49 = and i64 %48, 3
%50 = icmp ult i64 %46, 24
br i1 %50, label %96, label %51
51: ; preds = %44
%52 = and i64 %48, 4611686018427387900
br label %53
53: ; preds = %53, %51
%54 = phi i64 [ 0, %51 ], [ %93, %53 ]
%55 = phi <4 x i32> [ zeroinitializer, %51 ], [ %91, %53 ]
%56 = phi <4 x i32> [ zeroinitializer, %51 ], [ %92, %53 ]
%57 = phi i64 [ 0, %51 ], [ %94, %53 ]
%58 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %54
%59 = bitcast i32* %58 to <4 x i32>*
%60 = load <4 x i32>, <4 x i32>* %59
%61 = getelementptr inbounds i32, i32* %58, i64 4
%62 = bitcast i32* %61 to <4 x i32>*
%63 = load <4 x i32>, <4 x i32>* %62
%64 = add <4 x i32> %60, %55
%65 = add <4 x i32> %63, %56
%66 = or i64 %54, 8
%67 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %66
%68 = bitcast i32* %67 to <4 x i32>*
%69 = load <4 x i32>, <4 x i32>* %68
%70 = getelementptr inbounds i32, i32* %67, i64 4
%71 = bitcast i32* %70 to <4 x i32>*
%72 = load <4 x i32>, <4 x i32>* %71
%73 = add <4 x i32> %69, %64
%74 = add <4 x i32> %72, %65
%75 = or i64 %54, 16
%76 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %75
%77 = bitcast i32* %76 to <4 x i32>*
%78 = load <4 x i32>, <4 x i32>* %77
%79 = getelementptr inbounds i32, i32* %76, i64 4
%80 = bitcast i32* %79 to <4 x i32>*
%81 = load <4 x i32>, <4 x i32>* %80
%82 = add <4 x i32> %78, %73
%83 = add <4 x i32> %81, %74
%84 = or i64 %54, 24
%85 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %84
%86 = bitcast i32* %85 to <4 x i32>*
%87 = load <4 x i32>, <4 x i32>* %86
%88 = getelementptr inbounds i32, i32* %85, i64 4
%89 = bitcast i32* %88 to <4 x i32>*
%90 = load <4 x i32>, <4 x i32>* %89
%91 = add <4 x i32> %87, %82
%92 = add <4 x i32> %90, %83
%93 = add nuw i64 %54, 32
%94 = add i64 %57, 4
%95 = icmp eq i64 %94, %52
br i1 %95, label %96, label %53
96: ; preds = %53, %44
%97 = phi <4 x i32> [ undef, %44 ], [ %91, %53 ]
%98 = phi <4 x i32> [ undef, %44 ], [ %92, %53 ]
%99 = phi i64 [ 0, %44 ], [ %93, %53 ]
%100 = phi <4 x i32> [ zeroinitializer, %44 ], [ %91, %53 ]
%101 = phi <4 x i32> [ zeroinitializer, %44 ], [ %92, %53 ]
%102 = icmp eq i64 %49, 0
br i1 %102, label %119, label %103
103: ; preds = %96, %103
%104 = phi i64 [ %116, %103 ], [ %99, %96 ]
%105 = phi <4 x i32> [ %114, %103 ], [ %100, %96 ]
%106 = phi <4 x i32> [ %115, %103 ], [ %101, %96 ]
%107 = phi i64 [ %117, %103 ], [ 0, %96 ]
%108 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %104
%109 = bitcast i32* %108 to <4 x i32>*
%110 = load <4 x i32>, <4 x i32>* %109
%111 = getelementptr inbounds i32, i32* %108, i64 4
%112 = bitcast i32* %111 to <4 x i32>*
%113 = load <4 x i32>, <4 x i32>* %112
%114 = add <4 x i32> %110, %105
%115 = add <4 x i32> %113, %106
%116 = add nuw i64 %104, 8
%117 = add i64 %107, 1
%118 = icmp eq i64 %117, %49
br i1 %118, label %119, label %103
119: ; preds = %103, %96
%120 = phi <4 x i32> [ %97, %96 ], [ %114, %103 ]
%121 = phi <4 x i32> [ %98, %96 ], [ %115, %103 ]
%122 = add <4 x i32> %121, %120
%123 = call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %122)
%124 = icmp eq i64 %45, %42
br i1 %124, label %136, label %125
125: ; preds = %40, %119
%126 = phi i64 [ 0, %40 ], [ %45, %119 ]
%127 = phi i32 [ 0, %40 ], [ %123, %119 ]
br label %128
128: ; preds = %125, %128
%129 = phi i64 [ %134, %128 ], [ %126, %125 ]
%130 = phi i32 [ %133, %128 ], [ %127, %125 ]
%131 = getelementptr inbounds [12 x i32], [12 x i32]* %1, i64 0, i64 %129
%132 = load i32, i32* %131
%133 = add nsw i32 %132, %130
%134 = add nuw nsw i64 %129, 1
%135 = icmp eq i64 %134, %42
br i1 %135, label %136, label %128
136: ; preds = %128, %119, %37
%137 = phi i32 [ 0, %37 ], [ %123, %119 ], [ %133, %128 ]
%138 = load i32, i32* %3
%139 = sdiv i32 %27, 4
%140 = add i32 %27, -2
%141 = add i32 %140, %139
%142 = add i32 %141, %137
%143 = add i32 %142, %138
%144 = srem i32 %143, 7
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [7 x [15 x i8]], [7 x [15 x i8]]* %2, i64 0, i64 %145, i64 0
%147 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.10, i64 0, i64 0), i8* %146)
ret i32 0
}