void rand_around(i, r, c) int i, *r, *c;
{
  static char pos[] = "\010\007\001\003\004\005\002\006\0";
  static int row, col;
  int j;
  if (i == 0) {
    int x, y, o, t;
    row = *r;
    col = *c;
    o = get_rand(1, 8);
    for (j = 0; j < 5; j++) {
      x = get_rand(0, 8);
      y = (x + o) % 9;
      t = pos[x];
      pos[x] = pos[y];
      pos[y] = t;
    }
  }
  switch ((int)pos[i]) {
  case 0:
    *r = row + 1;
    *c = col + 1;
    break;
  case 1:
    *r = row + 1;
    *c = col - 1;
    break;
  case 2:
    *r = row - 1;
    *c = col + 1;
    break;
  case 3:
    *r = row - 1;
    *c = col - 1;
    break;
  case 4:
    *r = row;
    *c = col + 1;
    break;
  case 5:
    *r = row + 1;
    *c = col;
    break;
  case 6:
    *r = row;
    *c = col;
    break;
  case 7:
    *r = row - 1;
    *c = col;
    break;
  case 8:
    *r = row;
    *c = col - 1;
    break;
  }
}


x86 assembly (clang, -O0):
<rand_around>:
push   %rbp
mov    %rsp,%rbp
sub    $0x40,%rsp
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
cmpl   $0x0,-0x4(%rbp)
jne    11e0 <rand_around+0xd0>
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,0x2eff(%rip)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,0x2ef7(%rip)
mov    $0x1,%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <get_rand@plt>
mov    %eax,-0x28(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x5,-0x1c(%rbp)
jge    11db <rand_around+0xcb>
xor    %edi,%edi
mov    $0x8,%esi
mov    $0x0,%al
call   1030 <get_rand@plt>
mov    %eax,-0x20(%rbp)
mov    -0x20(%rbp),%eax
add    -0x28(%rbp),%eax
mov    $0x9,%ecx
cltd
idiv   %ecx
mov    %edx,-0x24(%rbp)
movslq -0x20(%rbp),%rcx
lea    0x2e91(%rip),%rax
movsbl (%rax,%rcx,1),%eax
mov    %eax,-0x2c(%rbp)
movslq -0x24(%rbp),%rcx
lea    0x2e7f(%rip),%rax
mov    (%rax,%rcx,1),%dl
movslq -0x20(%rbp),%rcx
lea    0x2e71(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x2c(%rbp),%eax
mov    %al,%dl
movslq -0x24(%rbp),%rcx
lea    0x2e5e(%rip),%rax
mov    %dl,(%rax,%rcx,1)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1160 <rand_around+0x50>
jmp    11e0 <rand_around+0xd0>
movslq -0x4(%rbp),%rax
lea    0x2e3d(%rip),%rcx
movsbl (%rax,%rcx,1),%eax
mov    %eax,%ecx
mov    %rcx,-0x38(%rbp)
sub    $0x8,%eax
ja     1336 <rand_around+0x226>
mov    -0x38(%rbp),%rax
lea    0xdf7(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2e20(%rip),%ecx
add    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2e15(%rip),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2dfd(%rip),%ecx
add    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2df2(%rip),%ecx
sub    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2dda(%rip),%ecx
sub    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2dcf(%rip),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2db7(%rip),%ecx
sub    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2dac(%rip),%ecx
sub    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2d94(%rip),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2d8c(%rip),%ecx
add    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2d74(%rip),%ecx
add    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2d69(%rip),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2d54(%rip),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2d4c(%rip),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2d37(%rip),%ecx
sub    $0x1,%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2d2c(%rip),%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
jmp    1336 <rand_around+0x226>
mov    0x2d17(%rip),%ecx
mov    -0x10(%rbp),%rax
mov    %ecx,(%rax)
mov    0x2d0f(%rip),%ecx
sub    $0x1,%ecx
mov    -0x18(%rbp),%rax
mov    %ecx,(%rax)
add    $0x40,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rand_around>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
push   %rax
mov    %rdx,%r14
mov    %rsi,%r15
mov    %edi,%r12d
test   %edi,%edi
jne    1293 <rand_around+0x183>
mov    (%r15),%eax
mov    %eax,0x2f03(%rip)
mov    (%r14),%eax
mov    %eax,0x2efe(%rip)
mov    $0x1,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
mov    %eax,%r13d
xor    %edi,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
lea    (%rax,%r13,1),%ecx
movslq %ecx,%rcx
imul   $0x38e38e39,%rcx,%rdx
mov    %rdx,%rsi
shr    $0x3f,%rsi
sar    $0x21,%rdx
add    %esi,%edx
lea    (%rdx,%rdx,8),%edx
sub    %edx,%ecx
cltq
lea    0x2e9f(%rip),%rbp
mov    (%rax,%rbp,1),%dl
movslq %ecx,%rcx
mov    (%rcx,%rbp,1),%bl
mov    %bl,(%rax,%rbp,1)
mov    %dl,(%rcx,%rbp,1)
xor    %edi,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
lea    (%rax,%r13,1),%ecx
movslq %ecx,%rcx
imul   $0x38e38e39,%rcx,%rdx
mov    %rdx,%rsi
shr    $0x3f,%rsi
sar    $0x21,%rdx
add    %esi,%edx
lea    (%rdx,%rdx,8),%edx
sub    %edx,%ecx
cltq
mov    (%rax,%rbp,1),%dl
movslq %ecx,%rcx
mov    (%rcx,%rbp,1),%bl
mov    %bl,(%rax,%rbp,1)
mov    %dl,(%rcx,%rbp,1)
xor    %edi,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
lea    (%rax,%r13,1),%ecx
movslq %ecx,%rcx
imul   $0x38e38e39,%rcx,%rdx
mov    %rdx,%rsi
shr    $0x3f,%rsi
sar    $0x21,%rdx
add    %esi,%edx
lea    (%rdx,%rdx,8),%edx
sub    %edx,%ecx
cltq
mov    (%rax,%rbp,1),%dl
movslq %ecx,%rcx
mov    (%rcx,%rbp,1),%bl
mov    %bl,(%rax,%rbp,1)
mov    %dl,(%rcx,%rbp,1)
xor    %edi,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
lea    (%rax,%r13,1),%ecx
movslq %ecx,%rcx
imul   $0x38e38e39,%rcx,%rdx
mov    %rdx,%rsi
shr    $0x3f,%rsi
sar    $0x21,%rdx
add    %esi,%edx
lea    (%rdx,%rdx,8),%edx
sub    %edx,%ecx
cltq
mov    (%rax,%rbp,1),%dl
movslq %ecx,%rcx
mov    (%rcx,%rbp,1),%bl
mov    %bl,(%rax,%rbp,1)
mov    %dl,(%rcx,%rbp,1)
xor    %edi,%edi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <get_rand@plt>
add    %eax,%r13d
movslq %r13d,%rcx
imul   $0x38e38e39,%rcx,%rdx
mov    %rdx,%rsi
shr    $0x3f,%rsi
sar    $0x21,%rdx
add    %esi,%edx
lea    (%rdx,%rdx,8),%edx
sub    %edx,%ecx
cltq
mov    (%rax,%rbp,1),%dl
movslq %ecx,%rcx
mov    (%rcx,%rbp,1),%bl
mov    %bl,(%rax,%rbp,1)
mov    %dl,(%rcx,%rbp,1)
movslq %r12d,%rax
lea    0x2d8b(%rip),%rcx
movsbl (%rax,%rcx,1),%eax
cmp    $0x8,%eax
ja     1336 <rand_around+0x226>
lea    0xd4f(%rip),%rcx
movslq (%rcx,%rax,4),%rax
add    %rcx,%rax
jmp    *%rax
mov    0x2d78(%rip),%eax
add    $0x1,%eax
jmp    12ec <rand_around+0x1dc>
mov    0x2d6d(%rip),%eax
add    $0x1,%eax
jmp    1327 <rand_around+0x217>
mov    0x2d62(%rip),%eax
add    $0xffffffff,%eax
jmp    12ec <rand_around+0x1dc>
mov    0x2d57(%rip),%eax
add    $0xffffffff,%eax
jmp    1327 <rand_around+0x217>
mov    0x2d4c(%rip),%eax
mov    %eax,(%r15)
mov    0x2d47(%rip),%eax
add    $0x1,%eax
jmp    1333 <rand_around+0x223>
mov    0x2d38(%rip),%eax
add    $0x1,%eax
jmp    1316 <rand_around+0x206>
mov    0x2d2d(%rip),%eax
jmp    1316 <rand_around+0x206>
mov    0x2d25(%rip),%eax
add    $0xffffffff,%eax
mov    %eax,(%r15)
mov    0x2d1d(%rip),%eax
jmp    1333 <rand_around+0x223>
mov    0x2d11(%rip),%eax
mov    %eax,(%r15)
mov    0x2d0c(%rip),%eax
add    $0xffffffff,%eax
mov    %eax,(%r14)
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@rand_around.pos = internal global [10 x i8] c"\08\07\01\03\04\05\02\06\00\00"
@rand_around.row = internal global i32 0
@rand_around.col = internal global i32 0
define void @rand_around(i32 %0, i32* %1, i32* %2) {
%4 = alloca i32
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
store i32 %0, i32* %4
store i32* %1, i32** %5
store i32* %2, i32** %6
%12 = load i32, i32* %4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %50
14: ; preds = %3
%15 = load i32*, i32** %5
%16 = load i32, i32* %15
store i32 %16, i32* @rand_around.row
%17 = load i32*, i32** %6
%18 = load i32, i32* %17
store i32 %18, i32* @rand_around.col
%19 = call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 1, i32 8)
store i32 %19, i32* %10
store i32 0, i32* %7
br label %20
20: ; preds = %46, %14
%21 = load i32, i32* %7
%22 = icmp slt i32 %21, 5
br i1 %22, label %23, label %49
23: ; preds = %20
%24 = call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
store i32 %24, i32* %8
%25 = load i32, i32* %8
%26 = load i32, i32* %10
%27 = add nsw i32 %25, %26
%28 = srem i32 %27, 9
store i32 %28, i32* %9
%29 = load i32, i32* %8
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = sext i8 %32 to i32
store i32 %33, i32* %11
%34 = load i32, i32* %9
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %35
%37 = load i8, i8* %36
%38 = load i32, i32* %8
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %39
store i8 %37, i8* %40
%41 = load i32, i32* %11
%42 = trunc i32 %41 to i8
%43 = load i32, i32* %9
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %44
store i8 %42, i8* %45
br label %46
46: ; preds = %23
%47 = load i32, i32* %7
%48 = add nsw i32 %47, 1
store i32 %48, i32* %7
br label %20
49: ; preds = %20
br label %50
50: ; preds = %49, %3
%51 = load i32, i32* %4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %52
%54 = load i8, i8* %53
%55 = sext i8 %54 to i32
switch i32 %55, label %113 [
i32 0, label %56
i32 1, label %63
i32 2, label %70
i32 3, label %77
i32 4, label %84
i32 5, label %90
i32 6, label %96
i32 7, label %101
i32 8, label %107
]
56: ; preds = %50
%57 = load i32, i32* @rand_around.row
%58 = add nsw i32 %57, 1
%59 = load i32*, i32** %5
store i32 %58, i32* %59
%60 = load i32, i32* @rand_around.col
%61 = add nsw i32 %60, 1
%62 = load i32*, i32** %6
store i32 %61, i32* %62
br label %113
63: ; preds = %50
%64 = load i32, i32* @rand_around.row
%65 = add nsw i32 %64, 1
%66 = load i32*, i32** %5
store i32 %65, i32* %66
%67 = load i32, i32* @rand_around.col
%68 = sub nsw i32 %67, 1
%69 = load i32*, i32** %6
store i32 %68, i32* %69
br label %113
70: ; preds = %50
%71 = load i32, i32* @rand_around.row
%72 = sub nsw i32 %71, 1
%73 = load i32*, i32** %5
store i32 %72, i32* %73
%74 = load i32, i32* @rand_around.col
%75 = add nsw i32 %74, 1
%76 = load i32*, i32** %6
store i32 %75, i32* %76
br label %113
77: ; preds = %50
%78 = load i32, i32* @rand_around.row
%79 = sub nsw i32 %78, 1
%80 = load i32*, i32** %5
store i32 %79, i32* %80
%81 = load i32, i32* @rand_around.col
%82 = sub nsw i32 %81, 1
%83 = load i32*, i32** %6
store i32 %82, i32* %83
br label %113
84: ; preds = %50
%85 = load i32, i32* @rand_around.row
%86 = load i32*, i32** %5
store i32 %85, i32* %86
%87 = load i32, i32* @rand_around.col
%88 = add nsw i32 %87, 1
%89 = load i32*, i32** %6
store i32 %88, i32* %89
br label %113
90: ; preds = %50
%91 = load i32, i32* @rand_around.row
%92 = add nsw i32 %91, 1
%93 = load i32*, i32** %5
store i32 %92, i32* %93
%94 = load i32, i32* @rand_around.col
%95 = load i32*, i32** %6
store i32 %94, i32* %95
br label %113
96: ; preds = %50
%97 = load i32, i32* @rand_around.row
%98 = load i32*, i32** %5
store i32 %97, i32* %98
%99 = load i32, i32* @rand_around.col
%100 = load i32*, i32** %6
store i32 %99, i32* %100
br label %113
101: ; preds = %50
%102 = load i32, i32* @rand_around.row
%103 = sub nsw i32 %102, 1
%104 = load i32*, i32** %5
store i32 %103, i32* %104
%105 = load i32, i32* @rand_around.col
%106 = load i32*, i32** %6
store i32 %105, i32* %106
br label %113
107: ; preds = %50
%108 = load i32, i32* @rand_around.row
%109 = load i32*, i32** %5
store i32 %108, i32* %109
%110 = load i32, i32* @rand_around.col
%111 = sub nsw i32 %110, 1
%112 = load i32*, i32** %6
store i32 %111, i32* %112
br label %113
113: ; preds = %50, %107, %101, %96, %90, %84, %77, %70, %63, %56
ret void
}

LLVM IR (-O2):
@rand_around.pos = internal unnamed_addr global [10 x i8] c"\08\07\01\03\04\05\02\06\00\00"
@rand_around.row = internal unnamed_addr global i32 0
@rand_around.col = internal unnamed_addr global i32 0
define void @rand_around(i32 %0, i32* nocapture %1, i32* nocapture %2) {
%4 = icmp eq i32 %0, 0
br i1 %4, label %5, label %54
5: ; preds = %3
%6 = load i32, i32* %1
store i32 %6, i32* @rand_around.row
%7 = load i32, i32* %2
store i32 %7, i32* @rand_around.col
%8 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 1, i32 8)
%9 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
%10 = add nsw i32 %9, %8
%11 = srem i32 %10, 9
%12 = sext i32 %9 to i64
%13 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %12
%14 = load i8, i8* %13
%15 = sext i32 %11 to i64
%16 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %15
%17 = load i8, i8* %16
store i8 %17, i8* %13
store i8 %14, i8* %16
%18 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
%19 = add nsw i32 %18, %8
%20 = srem i32 %19, 9
%21 = sext i32 %18 to i64
%22 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %21
%23 = load i8, i8* %22
%24 = sext i32 %20 to i64
%25 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %24
%26 = load i8, i8* %25
store i8 %26, i8* %22
store i8 %23, i8* %25
%27 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
%28 = add nsw i32 %27, %8
%29 = srem i32 %28, 9
%30 = sext i32 %27 to i64
%31 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %30
%32 = load i8, i8* %31
%33 = sext i32 %29 to i64
%34 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %33
%35 = load i8, i8* %34
store i8 %35, i8* %31
store i8 %32, i8* %34
%36 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
%37 = add nsw i32 %36, %8
%38 = srem i32 %37, 9
%39 = sext i32 %36 to i64
%40 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %39
%41 = load i8, i8* %40
%42 = sext i32 %38 to i64
%43 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %42
%44 = load i8, i8* %43
store i8 %44, i8* %40
store i8 %41, i8* %43
%45 = tail call i32 (i32, i32, ...) bitcast (i32 (...)* @get_rand to i32 (i32, i32, ...)*)(i32 0, i32 8)
%46 = add nsw i32 %45, %8
%47 = srem i32 %46, 9
%48 = sext i32 %45 to i64
%49 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %48
%50 = load i8, i8* %49
%51 = sext i32 %47 to i64
%52 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %51
%53 = load i8, i8* %52
store i8 %53, i8* %49
store i8 %50, i8* %52
br label %54
54: ; preds = %5, %3
%55 = sext i32 %0 to i64
%56 = getelementptr inbounds [10 x i8], [10 x i8]* @rand_around.pos, i64 0, i64 %55
%57 = load i8, i8* %56
%58 = sext i8 %57 to i32
switch i32 %58, label %100 [
i32 0, label %59
i32 1, label %64
i32 2, label %69
i32 3, label %74
i32 4, label %79
i32 5, label %83
i32 6, label %87
i32 7, label %90
i32 8, label %94
]
59: ; preds = %54
%60 = load i32, i32* @rand_around.row
%61 = add nsw i32 %60, 1
store i32 %61, i32* %1
%62 = load i32, i32* @rand_around.col
%63 = add nsw i32 %62, 1
br label %98
64: ; preds = %54
%65 = load i32, i32* @rand_around.row
%66 = add nsw i32 %65, 1
store i32 %66, i32* %1
%67 = load i32, i32* @rand_around.col
%68 = add nsw i32 %67, -1
br label %98
69: ; preds = %54
%70 = load i32, i32* @rand_around.row
%71 = add nsw i32 %70, -1
store i32 %71, i32* %1
%72 = load i32, i32* @rand_around.col
%73 = add nsw i32 %72, 1
br label %98
74: ; preds = %54
%75 = load i32, i32* @rand_around.row
%76 = add nsw i32 %75, -1
store i32 %76, i32* %1
%77 = load i32, i32* @rand_around.col
%78 = add nsw i32 %77, -1
br label %98
79: ; preds = %54
%80 = load i32, i32* @rand_around.row
store i32 %80, i32* %1
%81 = load i32, i32* @rand_around.col
%82 = add nsw i32 %81, 1
br label %98
83: ; preds = %54
%84 = load i32, i32* @rand_around.row
%85 = add nsw i32 %84, 1
store i32 %85, i32* %1
%86 = load i32, i32* @rand_around.col
br label %98
87: ; preds = %54
%88 = load i32, i32* @rand_around.row
store i32 %88, i32* %1
%89 = load i32, i32* @rand_around.col
br label %98
90: ; preds = %54
%91 = load i32, i32* @rand_around.row
%92 = add nsw i32 %91, -1
store i32 %92, i32* %1
%93 = load i32, i32* @rand_around.col
br label %98
94: ; preds = %54
%95 = load i32, i32* @rand_around.row
store i32 %95, i32* %1
%96 = load i32, i32* @rand_around.col
%97 = add nsw i32 %96, -1
br label %98
98: ; preds = %59, %64, %69, %74, %79, %83, %87, %90, %94
%99 = phi i32 [ %97, %94 ], [ %93, %90 ], [ %89, %87 ], [ %86, %83 ], [ %82, %79 ], [ %78, %74 ], [ %73, %69 ], [ %68, %64 ], [ %63, %59 ]
store i32 %99, i32* %2
br label %100
100: ; preds = %98, %54
ret void
}