#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*/ state;

/* Variables and functions */
int /*<<< orphan*/ changeState(int, int, int **);
int /*<<< orphan*/ gets(char *);
int /*<<< orphan*/ memset(int **, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, int, ...);
int main() {
  int state[4][4];
  char str[5];
  int i, j, sum;
  memset(state, 0, sizeof(state));
  for (i = 0; i < 4; i++) {
    gets(str);
    for (j = 0; j < 4; j++) {
      if (str[j] == '+')
        changeState(i, j, state);
    }
  }
  sum = 0;
  for (i = 0; i < 4; i++)
    for (j = 0; j < 4; j++)
      sum += state[i][j];
  printf("%d\n", sum);
  for (i = 0; i < 4; i++)
    for (j = 0; j < 4; j++)
      if (state[i][j])
        printf("%d %d\n", i + 1, j + 1);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x50(%rbp),%rdi
xor    %esi,%esi
mov    $0x40,%edx
call   1050 <memset@plt>
movl   $0x0,-0x5c(%rbp)
cmpl   $0x4,-0x5c(%rbp)
jge    11d1 <main+0x91>
lea    -0x55(%rbp),%rdi
call   1060 <gets@plt>
movl   $0x0,-0x60(%rbp)
cmpl   $0x4,-0x60(%rbp)
jge    11be <main+0x7e>
movslq -0x60(%rbp),%rax
movsbl -0x55(%rbp,%rax,1),%eax
cmp    $0x2b,%eax
jne    11ab <main+0x6b>
mov    -0x5c(%rbp),%edi
mov    -0x60(%rbp),%esi
lea    -0x50(%rbp),%rdx
call   1030 <changeState@plt>
jmp    11b0 <main+0x70>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1180 <main+0x40>
jmp    11c3 <main+0x83>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    1166 <main+0x26>
movl   $0x0,-0x64(%rbp)
movl   $0x0,-0x5c(%rbp)
cmpl   $0x4,-0x5c(%rbp)
jge    1237 <main+0xf7>
movl   $0x0,-0x60(%rbp)
cmpl   $0x4,-0x60(%rbp)
jge    1224 <main+0xe4>
movslq -0x5c(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x60(%rbp),%rcx
mov    (%rax,%rcx,4),%eax
add    -0x64(%rbp),%eax
mov    %eax,-0x64(%rbp)
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    11f0 <main+0xb0>
jmp    1229 <main+0xe9>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    11df <main+0x9f>
mov    -0x64(%rbp),%esi
lea    0xdc2(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x5c(%rbp)
cmpl   $0x4,-0x5c(%rbp)
jge    12c7 <main+0x187>
movl   $0x0,-0x60(%rbp)
cmpl   $0x4,-0x60(%rbp)
jge    12b4 <main+0x174>
movslq -0x5c(%rbp),%rcx
lea    -0x50(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x60(%rbp),%rcx
cmpl   $0x0,(%rax,%rcx,4)
je     12a1 <main+0x161>
mov    -0x5c(%rbp),%esi
add    $0x1,%esi
mov    -0x60(%rbp),%edx
add    $0x1,%edx
lea    0xd66(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
jmp    12a6 <main+0x166>
mov    -0x60(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x60(%rbp)
jmp    1260 <main+0x120>
jmp    12b9 <main+0x179>
mov    -0x5c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x5c(%rbp)
jmp    124f <main+0x10f>
xor    %eax,%eax
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
sub    $0x58,%rsp
lea    0x10(%rsp),%rdi
xor    %esi,%esi
mov    $0x40,%edx
call   1050 <memset@plt>
lea    0xb(%rsp),%rdi
call   1060 <gets@plt>
cmpb   $0x2b,0xb(%rsp)
je     14a1 <main+0x361>
cmpb   $0x2b,0xc(%rsp)
je     14ba <main+0x37a>
cmpb   $0x2b,0xd(%rsp)
je     14d6 <main+0x396>
cmpb   $0x2b,0xe(%rsp)
jne    1198 <main+0x58>
lea    0x10(%rsp),%rdx
xor    %edi,%edi
mov    $0x3,%esi
call   1030 <changeState@plt>
lea    0xb(%rsp),%rdi
call   1060 <gets@plt>
cmpb   $0x2b,0xb(%rsp)
je     14f7 <main+0x3b7>
cmpb   $0x2b,0xc(%rsp)
je     1513 <main+0x3d3>
cmpb   $0x2b,0xd(%rsp)
je     1532 <main+0x3f2>
cmpb   $0x2b,0xe(%rsp)
jne    11de <main+0x9e>
lea    0x10(%rsp),%rdx
mov    $0x1,%edi
mov    $0x3,%esi
call   1030 <changeState@plt>
lea    0xb(%rsp),%rdi
call   1060 <gets@plt>
cmpb   $0x2b,0xb(%rsp)
je     1556 <main+0x416>
cmpb   $0x2b,0xc(%rsp)
je     1572 <main+0x432>
cmpb   $0x2b,0xd(%rsp)
je     1591 <main+0x451>
cmpb   $0x2b,0xe(%rsp)
jne    1224 <main+0xe4>
lea    0x10(%rsp),%rdx
mov    $0x2,%edi
mov    $0x3,%esi
call   1030 <changeState@plt>
lea    0xb(%rsp),%rdi
call   1060 <gets@plt>
cmpb   $0x2b,0xb(%rsp)
je     15b5 <main+0x475>
cmpb   $0x2b,0xc(%rsp)
je     15d1 <main+0x491>
cmpb   $0x2b,0xd(%rsp)
je     15f0 <main+0x4b0>
cmpb   $0x2b,0xe(%rsp)
jne    126a <main+0x12a>
lea    0x10(%rsp),%rdx
mov    $0x3,%edi
mov    $0x3,%esi
call   1030 <changeState@plt>
movdqa 0x10(%rsp),%xmm0
movdqa 0x20(%rsp),%xmm1
paddd  0x40(%rsp),%xmm1
paddd  0x30(%rsp),%xmm0
paddd  %xmm1,%xmm0
pshufd $0xee,%xmm0,%xmm1
paddd  %xmm0,%xmm1
pshufd $0x55,%xmm1,%xmm0
paddd  %xmm1,%xmm0
movd   %xmm0,%esi
lea    0xd60(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x10(%rsp)
je     12c9 <main+0x189>
lea    0xd48(%rip),%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x14(%rsp)
je     12e8 <main+0x1a8>
lea    0xd29(%rip),%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x18(%rsp)
je     1307 <main+0x1c7>
lea    0xd0a(%rip),%rdi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x1c(%rsp)
je     1326 <main+0x1e6>
lea    0xceb(%rip),%rdi
mov    $0x1,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x20(%rsp)
je     1345 <main+0x205>
lea    0xccc(%rip),%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x24(%rsp)
je     1364 <main+0x224>
lea    0xcad(%rip),%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x28(%rsp)
je     1383 <main+0x243>
lea    0xc8e(%rip),%rdi
mov    $0x2,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x2c(%rsp)
je     13a2 <main+0x262>
lea    0xc6f(%rip),%rdi
mov    $0x2,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x30(%rsp)
je     13c1 <main+0x281>
lea    0xc50(%rip),%rdi
mov    $0x3,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x34(%rsp)
je     13e0 <main+0x2a0>
lea    0xc31(%rip),%rdi
mov    $0x3,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x38(%rsp)
je     13ff <main+0x2bf>
lea    0xc12(%rip),%rdi
mov    $0x3,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x3c(%rsp)
je     141e <main+0x2de>
lea    0xbf3(%rip),%rdi
mov    $0x3,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x40(%rsp)
je     143d <main+0x2fd>
lea    0xbd4(%rip),%rdi
mov    $0x4,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x44(%rsp)
je     145c <main+0x31c>
lea    0xbb5(%rip),%rdi
mov    $0x4,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x48(%rsp)
je     147b <main+0x33b>
lea    0xb96(%rip),%rdi
mov    $0x4,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1040 <printf@plt>
cmpl   $0x0,0x4c(%rsp)
je     149a <main+0x35a>
lea    0xb77(%rip),%rdi
mov    $0x4,%esi
mov    $0x4,%edx
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x58,%rsp
ret
lea    0x10(%rsp),%rdx
xor    %edi,%edi
xor    %esi,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xc(%rsp)
jne    1175 <main+0x35>
lea    0x10(%rsp),%rdx
xor    %edi,%edi
mov    $0x1,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xd(%rsp)
jne    1180 <main+0x40>
lea    0x10(%rsp),%rdx
xor    %edi,%edi
mov    $0x2,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xe(%rsp)
je     1187 <main+0x47>
jmp    1198 <main+0x58>
lea    0x10(%rsp),%rdx
mov    $0x1,%edi
xor    %esi,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xc(%rsp)
jne    11b8 <main+0x78>
lea    0x10(%rsp),%rdx
mov    $0x1,%edi
mov    $0x1,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xd(%rsp)
jne    11c3 <main+0x83>
lea    0x10(%rsp),%rdx
mov    $0x1,%edi
mov    $0x2,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xe(%rsp)
je     11ca <main+0x8a>
jmp    11de <main+0x9e>
lea    0x10(%rsp),%rdx
mov    $0x2,%edi
xor    %esi,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xc(%rsp)
jne    11fe <main+0xbe>
lea    0x10(%rsp),%rdx
mov    $0x2,%edi
mov    $0x1,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xd(%rsp)
jne    1209 <main+0xc9>
lea    0x10(%rsp),%rdx
mov    $0x2,%edi
mov    $0x2,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xe(%rsp)
je     1210 <main+0xd0>
jmp    1224 <main+0xe4>
lea    0x10(%rsp),%rdx
mov    $0x3,%edi
xor    %esi,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xc(%rsp)
jne    1244 <main+0x104>
lea    0x10(%rsp),%rdx
mov    $0x3,%edi
mov    $0x1,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xd(%rsp)
jne    124f <main+0x10f>
lea    0x10(%rsp),%rdx
mov    $0x3,%edi
mov    $0x2,%esi
call   1030 <changeState@plt>
cmpb   $0x2b,0xe(%rsp)
je     1256 <main+0x116>
jmp    126a <main+0x12a>

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

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