#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 */
scalar_t__ calloc(int, int);
int /*<<< orphan*/ free(double **);
scalar_t__ pow(int, int);
scalar_t__ sqrt(double);
void inCircle(int *x1, int *x2, int *y1, int *y2, double *image, int *nrow,
              int *ncol, double *region, int *regionLength) {
  int x_1, x_2, y_1, y_2, row, col, i, j, count = 0, enter = 0, radius;
  double **img;
  x_1 = *x1;
  x_2 = *x2;
  y_1 = *y1;
  y_2 = *y2;
  row = *nrow;
  col = *ncol;
  radius = (int)sqrt((double)(pow((x_1 - x_2), 2) + pow((y_1 - y_2), 2)));
  img = (double **)calloc(row, sizeof(double *));
  for (i = 0; i < row; i++) {
    img[i] = (double *)calloc(col, sizeof(double));
  }
  for (i = 0; i < row; i++) {
    for (j = 0; j < col; j++) {
      img[i][j] = image[count];
      count++;
    }
  }
  count = 0;
  for (i = 0; i < row; i++) {
    for (j = 0; j < col; j++) {
      if (pow((j - x_1), 2) + pow((i - y_1), 2) > pow(radius, 2)) {
        img[i][j] = 1;
        enter = 1;
      }
      if (enter == 0) {
        region[count] = img[i][j];
        count++;
      }
      enter = 0;
    }
  }
  *regionLength = count;
  count = 0;
  for (i = 0; i < row; i++) {
    for (j = 0; j < col; j++) {
      image[count] = img[i][j];
      count++;
    }
  }
  free(img);
}


x86 assembly (clang, -O0):
<inCircle>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x34(%rbp)
mov    -0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x38(%rbp)
mov    -0x18(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x40(%rbp)
mov    -0x30(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x44(%rbp)
mov    0x10(%rbp),%rax
mov    (%rax),%eax
mov    %eax,-0x48(%rbp)
mov    -0x34(%rbp),%edi
sub    -0x38(%rbp),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,-0x70(%rbp)
mov    -0x3c(%rbp),%edi
sub    -0x40(%rbp),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%rcx
mov    -0x70(%rbp),%rax
add    %rcx,%rax
cvtsi2sd %rax,%xmm0
call   1060 <sqrt@plt>
mov    %eax,-0x5c(%rbp)
mov    -0x44(%rbp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,-0x68(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    123c <inCircle+0xfc>
mov    -0x48(%rbp),%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,%rdx
mov    -0x68(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1206 <inCircle+0xc6>
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    12ae <inCircle+0x16e>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x48(%rbp),%eax
jge    129b <inCircle+0x15b>
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x68(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    1256 <inCircle+0x116>
jmp    12a0 <inCircle+0x160>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    1243 <inCircle+0x103>
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    13ab <inCircle+0x26b>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x48(%rbp),%eax
jge    1398 <inCircle+0x258>
mov    -0x50(%rbp),%edi
sub    -0x34(%rbp),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,-0x80(%rbp)
mov    -0x4c(%rbp),%edi
sub    -0x3c(%rbp),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%rcx
mov    -0x80(%rbp),%rax
add    %rcx,%rax
mov    %rax,-0x78(%rbp)
mov    -0x5c(%rbp),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%rcx
mov    -0x78(%rbp),%rax
cmp    %rcx,%rax
jle    134e <inCircle+0x20e>
mov    -0x68(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  0xcbe(%rip),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movl   $0x1,-0x58(%rbp)
cmpl   $0x0,-0x58(%rbp)
jne    1383 <inCircle+0x243>
mov    -0x68(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
movl   $0x0,-0x58(%rbp)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    12cf <inCircle+0x18f>
jmp    139d <inCircle+0x25d>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12bc <inCircle+0x17c>
mov    -0x54(%rbp),%ecx
mov    0x20(%rbp),%rax
mov    %ecx,(%rax)
movl   $0x0,-0x54(%rbp)
movl   $0x0,-0x4c(%rbp)
mov    -0x4c(%rbp),%eax
cmp    -0x44(%rbp),%eax
jge    142d <inCircle+0x2ed>
movl   $0x0,-0x50(%rbp)
mov    -0x50(%rbp),%eax
cmp    -0x48(%rbp),%eax
jge    141a <inCircle+0x2da>
mov    -0x68(%rbp),%rax
movslq -0x4c(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x50(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x54(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x54(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x54(%rbp)
mov    -0x50(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x50(%rbp)
jmp    13d5 <inCircle+0x295>
jmp    141f <inCircle+0x2df>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    13c2 <inCircle+0x282>
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<inCircle>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
mov    %r8,%rbp
mov    0xc0(%rsp),%rax
mov    %rax,0x20(%rsp)
mov    0xb8(%rsp),%rax
mov    %rax,0x68(%rsp)
mov    0xb0(%rsp),%rax
mov    (%rdi),%edi
mov    (%rdx),%ebx
mov    (%r9),%r15d
mov    (%rax),%r12d
mov    %rdi,(%rsp)
sub    (%rsi),%edi
mov    %ebx,0x14(%rsp)
sub    (%rcx),%ebx
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%r14
mov    %ebx,%edi
mov    $0x2,%esi
call   1050 <pow@plt>
add    %r14,%rax
cvtsi2sd %rax,%xmm0
call   1060 <sqrt@plt>
mov    %rax,0x70(%rsp)
mov    %r15d,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,%r13
test   %r15d,%r15d
jle    14e5 <inCircle+0x3a5>
xor    %ebx,%ebx
nop
mov    %r12d,%edi
mov    $0x8,%esi
call   1040 <calloc@plt>
mov    %rax,0x0(%r13,%rbx,8)
add    $0x1,%rbx
cmp    %rbx,%r15
jne    11d0 <inCircle+0x90>
test   %r15d,%r15d
jle    14e5 <inCircle+0x3a5>
lea    0x0(,%r12,8),%rax
add    %rbp,%rax
mov    %rax,0x40(%rsp)
mov    %r12d,%r10d
and    $0xfffffffc,%r10d
lea    -0x4(%r10),%rax
mov    %rax,0x30(%rsp)
mov    %rax,%r8
shr    $0x2,%r8
add    $0x1,%r8
mov    %r8d,%r9d
and    $0x3,%r9d
mov    %r8,0x60(%rsp)
and    $0xfffffffffffffffc,%r8
mov    %r12d,%r11d
and    $0x3,%r11d
lea    0x70(%rbp),%rax
mov    %rax,0x18(%rsp)
lea    0x10(%rbp),%rax
mov    %rax,0x28(%rsp)
mov    %r9,%r14
shl    $0x5,%r14
lea    0x18(%rbp),%rax
mov    %rax,0x38(%rsp)
xor    %edi,%edi
xor    %edx,%edx
jmp    126d <inCircle+0x12d>
xchg   %ax,%ax
add    $0x1,%rdi
cmp    %r15,%rdi
je     1411 <inCircle+0x2d1>
test   %r12d,%r12d
jle    1260 <inCircle+0x120>
mov    0x0(%r13,%rdi,8),%rcx
movslq %edx,%rdx
cmp    $0x4,%r12d
jb     12aa <inCircle+0x16a>
mov    0x40(%rsp),%rax
lea    (%rax,%rdx,8),%rax
cmp    %rax,%rcx
jae    133f <inCircle+0x1ff>
lea    (%rcx,%r12,8),%rax
lea    0x0(,%rdx,8),%rsi
add    %rbp,%rsi
cmp    %rax,%rsi
jae    133f <inCircle+0x1ff>
xor    %eax,%eax
mov    %rax,%rbx
not    %rbx
add    %r12,%rbx
test   %r11,%r11
je     12d9 <inCircle+0x199>
mov    %r11,%rsi
nopl   (%rax)
movsd  0x0(%rbp,%rdx,8),%xmm0
movsd  %xmm0,(%rcx,%rax,8)
add    $0x1,%rdx
add    $0x1,%rax
add    $0xffffffffffffffff,%rsi
jne    12c0 <inCircle+0x180>
cmp    $0x3,%rbx
jb     1260 <inCircle+0x120>
mov    0x38(%rsp),%rsi
lea    (%rsi,%rdx,8),%rsi
mov    %r12,%rbx
sub    %rax,%rbx
lea    (%rcx,%rax,8),%rcx
add    $0x18,%rcx
xor    %eax,%eax
nopl   0x0(%rax,%rax,1)
movsd  -0x18(%rsi,%rax,8),%xmm0
movsd  %xmm0,-0x18(%rcx,%rax,8)
movsd  -0x10(%rsi,%rax,8),%xmm0
movsd  %xmm0,-0x10(%rcx,%rax,8)
movsd  -0x8(%rsi,%rax,8),%xmm0
movsd  %xmm0,-0x8(%rcx,%rax,8)
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,(%rcx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rbx
jne    1300 <inCircle+0x1c0>
add    %rax,%rdx
jmp    1260 <inCircle+0x120>
cmpq   $0xc,0x30(%rsp)
jae    134b <inCircle+0x20b>
xor    %eax,%eax
jmp    13ba <inCircle+0x27a>
mov    0x18(%rsp),%rax
lea    (%rax,%rdx,8),%rbx
mov    %r8,%rsi
xor    %eax,%eax
nopl   0x0(%rax)
movups -0x70(%rbx,%rax,8),%xmm0
movups -0x60(%rbx,%rax,8),%xmm1
movups %xmm0,(%rcx,%rax,8)
movups %xmm1,0x10(%rcx,%rax,8)
movups -0x50(%rbx,%rax,8),%xmm0
movups -0x40(%rbx,%rax,8),%xmm1
movups %xmm0,0x20(%rcx,%rax,8)
movups %xmm1,0x30(%rcx,%rax,8)
movups -0x30(%rbx,%rax,8),%xmm0
movups -0x20(%rbx,%rax,8),%xmm1
movups %xmm0,0x40(%rcx,%rax,8)
movups %xmm1,0x50(%rcx,%rax,8)
movupd -0x10(%rbx,%rax,8),%xmm0
movups (%rbx,%rax,8),%xmm1
movupd %xmm0,0x60(%rcx,%rax,8)
movups %xmm1,0x70(%rcx,%rax,8)
add    $0x10,%rax
add    $0xfffffffffffffffc,%rsi
jne    1360 <inCircle+0x220>
test   %r9,%r9
je     13fd <inCircle+0x2bd>
lea    (%rcx,%rax,8),%rsi
add    $0x10,%rsi
add    %rdx,%rax
mov    0x28(%rsp),%rbx
lea    (%rbx,%rax,8),%rax
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nop
movupd -0x10(%rax,%rbx,1),%xmm0
movups (%rax,%rbx,1),%xmm1
movupd %xmm0,-0x10(%rsi,%rbx,1)
movups %xmm1,(%rsi,%rbx,1)
add    $0x20,%rbx
cmp    %rbx,%r14
jne    13e0 <inCircle+0x2a0>
add    %r10,%rdx
mov    %r10,%rax
cmp    %r12,%r10
je     1260 <inCircle+0x120>
jmp    12ac <inCircle+0x16c>
test   %r15d,%r15d
jle    14e5 <inCircle+0x3a5>
mov    %r13,0x50(%rsp)
mov    %r12,0x8(%rsp)
mov    %r15,0x48(%rsp)
mov    %rbp,0x58(%rsp)
mov    (%rsp),%rax
neg    %eax
mov    %rax,(%rsp)
xor    %r13d,%r13d
xor    %r12d,%r12d
jmp    144f <inCircle+0x30f>
add    $0x1,%r13
cmp    0x48(%rsp),%r13
je     1506 <inCircle+0x3c6>
cmpl   $0x0,0x8(%rsp)
jle    1440 <inCircle+0x300>
mov    %r13d,%ebp
sub    0x14(%rsp),%ebp
xor    %ebx,%ebx
jmp    1492 <inCircle+0x352>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%rcx,%rbx,8),%xmm0
movslq %r12d,%r12
mov    0x68(%rsp),%rax
movsd  %xmm0,(%rax,%r12,8)
add    $0x1,%r12d
add    $0x1,%rbx
cmp    %rbx,0x8(%rsp)
je     1440 <inCircle+0x300>
mov    (%rsp),%rax
lea    (%rax,%rbx,1),%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%r14
mov    %ebp,%edi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    %rax,%r15
add    %r14,%r15
mov    0x70(%rsp),%rdi
mov    $0x2,%esi
call   1050 <pow@plt>
mov    0x50(%rsp),%rcx
mov    (%rcx,%r13,8),%rcx
cmp    %rax,%r15
jle    1470 <inCircle+0x330>
movabs $0x3ff0000000000000,%rax
mov    %rax,(%rcx,%rbx,8)
jmp    1487 <inCircle+0x347>
mov    0x20(%rsp),%rax
movl   $0x0,(%rax)
mov    %r13,%rdi
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
jmp    1030 <free@plt>
mov    0x20(%rsp),%rax
mov    %r12d,(%rax)
mov    0x48(%rsp),%r14
test   %r14d,%r14d
mov    0x58(%rsp),%rsi
mov    0x8(%rsp),%r15
mov    0x50(%rsp),%r13
movabs $0x7ffffffffffffffc,%r12
ff ff 7f
jle    14f0 <inCircle+0x3b0>
mov    %r15d,%r9d
and    $0xfffffffc,%r9d
mov    0x60(%rsp),%rax
mov    %eax,%r8d
and    $0x3,%r8d
and    %rax,%r12
mov    %r15d,%r10d
and    $0x3,%r10d
mov    %r8,%r11
shl    $0x5,%r11
xor    %edi,%edi
xor    %ebp,%ebp
jmp    1569 <inCircle+0x429>
nopl   0x0(%rax,%rax,1)
add    $0x1,%rdi
cmp    %r14,%rdi
je     14f0 <inCircle+0x3b0>
test   %r15d,%r15d
jle    1560 <inCircle+0x420>
mov    0x0(%r13,%rdi,8),%rbx
movslq %ebp,%rbp
cmp    $0x4,%r15d
jb     159f <inCircle+0x45f>
lea    (%rsi,%rbp,8),%rax
lea    (%rbx,%r15,8),%rcx
cmp    %rcx,%rax
jae    163f <inCircle+0x4ff>
mov    0x40(%rsp),%rax
lea    (%rax,%rbp,8),%rax
cmp    %rax,%rbx
jae    163f <inCircle+0x4ff>
xor    %eax,%eax
mov    %rax,%rcx
not    %rcx
add    %r15,%rcx
test   %r10,%r10
je     15d8 <inCircle+0x498>
mov    %r10,%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%rsi,%rbp,8)
add    $0x1,%rbp
add    $0x1,%rax
add    $0xffffffffffffffff,%rdx
jne    15c0 <inCircle+0x480>
cmp    $0x3,%rcx
jb     1560 <inCircle+0x420>
mov    0x38(%rsp),%rcx
lea    (%rcx,%rbp,8),%rcx
mov    %r15,%rdx
sub    %rax,%rdx
lea    (%rbx,%rax,8),%rbx
add    $0x18,%rbx
xor    %eax,%eax
nopw   0x0(%rax,%rax,1)
movsd  -0x18(%rbx,%rax,8),%xmm0
movsd  %xmm0,-0x18(%rcx,%rax,8)
movsd  -0x10(%rbx,%rax,8),%xmm0
movsd  %xmm0,-0x10(%rcx,%rax,8)
movsd  -0x8(%rbx,%rax,8),%xmm0
movsd  %xmm0,-0x8(%rcx,%rax,8)
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,(%rcx,%rax,8)
add    $0x4,%rax
cmp    %rax,%rdx
jne    1600 <inCircle+0x4c0>
add    %rax,%rbp
jmp    1560 <inCircle+0x420>
cmpq   $0xc,0x30(%rsp)
jae    164b <inCircle+0x50b>
xor    %eax,%eax
jmp    16ba <inCircle+0x57a>
mov    0x18(%rsp),%rax
lea    (%rax,%rbp,8),%rcx
mov    %r12,%rdx
xor    %eax,%eax
nopl   0x0(%rax)
movups (%rbx,%rax,8),%xmm0
movups 0x10(%rbx,%rax,8),%xmm1
movups %xmm0,-0x70(%rcx,%rax,8)
movups %xmm1,-0x60(%rcx,%rax,8)
movups 0x20(%rbx,%rax,8),%xmm0
movups 0x30(%rbx,%rax,8),%xmm1
movups %xmm0,-0x50(%rcx,%rax,8)
movups %xmm1,-0x40(%rcx,%rax,8)
movups 0x40(%rbx,%rax,8),%xmm0
movups 0x50(%rbx,%rax,8),%xmm1
movups %xmm0,-0x30(%rcx,%rax,8)
movups %xmm1,-0x20(%rcx,%rax,8)
movupd 0x60(%rbx,%rax,8),%xmm0
movups 0x70(%rbx,%rax,8),%xmm1
movupd %xmm0,-0x10(%rcx,%rax,8)
movups %xmm1,(%rcx,%rax,8)
add    $0x10,%rax
add    $0xfffffffffffffffc,%rdx
jne    1660 <inCircle+0x520>
test   %r8,%r8
je     16fd <inCircle+0x5bd>
lea    (%rbx,%rax,8),%rcx
add    $0x10,%rcx
add    %rbp,%rax
mov    0x28(%rsp),%rdx
lea    (%rdx,%rax,8),%rax
xor    %edx,%edx
cs nopw 0x0(%rax,%rax,1)
nop
movupd -0x10(%rcx,%rdx,1),%xmm0
movups (%rcx,%rdx,1),%xmm1
movupd %xmm0,-0x10(%rax,%rdx,1)
movups %xmm1,(%rax,%rdx,1)
add    $0x20,%rdx
cmp    %rdx,%r11
jne    16e0 <inCircle+0x5a0>
add    %r9,%rbp
mov    %r9,%rax
cmp    %r15,%r9
je     1560 <inCircle+0x420>
jmp    15a1 <inCircle+0x461>

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

LLVM IR (-O2):
define void @inCircle(i32* nocapture %0, i32* nocapture %1, i32* nocapture %2, i32* nocapture %3, double* nocapture %4, i32* nocapture %5, i32* nocapture %6, double* nocapture writeonly %7, i32* nocapture writeonly %8) {
%10 = load i32, i32* %0
%11 = load i32, i32* %1
%12 = load i32, i32* %2
%13 = load i32, i32* %3
%14 = load i32, i32* %5
%15 = load i32, i32* %6
%16 = sub nsw i32 %10, %11
%17 = tail call i64 @pow(i32 %16, i32 2)
%18 = sub nsw i32 %12, %13
%19 = tail call i64 @pow(i32 %18, i32 2)
%20 = add nsw i64 %19, %17
%21 = sitofp i64 %20 to double
%22 = tail call i64 @sqrt(double %21)
%23 = trunc i64 %22 to i32
%24 = tail call i64 @calloc(i32 %14, i32 8)
%25 = inttoptr i64 %24 to double**
%26 = icmp sgt i32 %14, 0
br i1 %26, label %27, label %234
27: ; preds = %9
%28 = zext i32 %14 to i64
br label %48
29: ; preds = %48
br i1 %26, label %30, label %234
30: ; preds = %29
%31 = icmp sgt i32 %15, 0
%32 = zext i32 %14 to i64
%33 = zext i32 %15 to i64
%34 = getelementptr double, double* %4, i64 %33
%35 = and i64 %33, 4294967292
%36 = add nsw i64 %35, -4
%37 = lshr exact i64 %36, 2
%38 = add nuw nsw i64 %37, 1
%39 = icmp ult i32 %15, 4
%40 = and i64 %33, 4294967292
%41 = and i64 %38, 3
%42 = icmp ult i64 %36, 12
%43 = and i64 %38, 9223372036854775804
%44 = icmp eq i64 %41, 0
%45 = icmp eq i64 %40, %33
%46 = and i64 %33, 3
%47 = icmp eq i64 %46, 0
br label %55
48: ; preds = %27, %48
%49 = phi i64 [ 0, %27 ], [ %53, %48 ]
%50 = tail call i64 @calloc(i32 %15, i32 8)
%51 = inttoptr i64 %50 to double*
%52 = getelementptr inbounds double*, double** %25, i64 %49
store double* %51, double** %52
%53 = add nuw nsw i64 %49, 1
%54 = icmp eq i64 %53, %28
br i1 %54, label %29, label %48
55: ; preds = %30, %197
%56 = phi i64 [ 0, %30 ], [ %199, %197 ]
%57 = phi i32 [ 0, %30 ], [ %198, %197 ]
br i1 %31, label %58, label %197
58: ; preds = %55
%59 = getelementptr inbounds double*, double** %25, i64 %56
%60 = load double*, double** %59
%61 = sext i32 %57 to i64
br i1 %39, label %144, label %62
62: ; preds = %58
%63 = getelementptr double, double* %60, i64 %33
%64 = getelementptr double, double* %4, i64 %61
%65 = getelementptr double, double* %34, i64 %61
%66 = icmp ult double* %60, %65
%67 = icmp ult double* %64, %63
%68 = and i1 %66, %67
br i1 %68, label %144, label %69
69: ; preds = %62
%70 = add nsw i64 %40, %61
br i1 %42, label %124, label %71
71: ; preds = %69, %71
%72 = phi i64 [ %121, %71 ], [ 0, %69 ]
%73 = phi i64 [ %122, %71 ], [ 0, %69 ]
%74 = add i64 %72, %61
%75 = getelementptr inbounds double, double* %4, i64 %74
%76 = bitcast double* %75 to <2 x double>*
%77 = load <2 x double>, <2 x double>* %76
%78 = getelementptr inbounds double, double* %75, i64 2
%79 = bitcast double* %78 to <2 x double>*
%80 = load <2 x double>, <2 x double>* %79
%81 = getelementptr inbounds double, double* %60, i64 %72
%82 = bitcast double* %81 to <2 x double>*
store <2 x double> %77, <2 x double>* %82
%83 = getelementptr inbounds double, double* %81, i64 2
%84 = bitcast double* %83 to <2 x double>*
store <2 x double> %80, <2 x double>* %84
%85 = or i64 %72, 4
%86 = add i64 %85, %61
%87 = getelementptr inbounds double, double* %4, i64 %86
%88 = bitcast double* %87 to <2 x double>*
%89 = load <2 x double>, <2 x double>* %88
%90 = getelementptr inbounds double, double* %87, i64 2
%91 = bitcast double* %90 to <2 x double>*
%92 = load <2 x double>, <2 x double>* %91
%93 = getelementptr inbounds double, double* %60, i64 %85
%94 = bitcast double* %93 to <2 x double>*
store <2 x double> %89, <2 x double>* %94
%95 = getelementptr inbounds double, double* %93, i64 2
%96 = bitcast double* %95 to <2 x double>*
store <2 x double> %92, <2 x double>* %96
%97 = or i64 %72, 8
%98 = add i64 %97, %61
%99 = getelementptr inbounds double, double* %4, i64 %98
%100 = bitcast double* %99 to <2 x double>*
%101 = load <2 x double>, <2 x double>* %100
%102 = getelementptr inbounds double, double* %99, i64 2
%103 = bitcast double* %102 to <2 x double>*
%104 = load <2 x double>, <2 x double>* %103
%105 = getelementptr inbounds double, double* %60, i64 %97
%106 = bitcast double* %105 to <2 x double>*
store <2 x double> %101, <2 x double>* %106
%107 = getelementptr inbounds double, double* %105, i64 2
%108 = bitcast double* %107 to <2 x double>*
store <2 x double> %104, <2 x double>* %108
%109 = or i64 %72, 12
%110 = add i64 %109, %61
%111 = getelementptr inbounds double, double* %4, i64 %110
%112 = bitcast double* %111 to <2 x double>*
%113 = load <2 x double>, <2 x double>* %112
%114 = getelementptr inbounds double, double* %111, i64 2
%115 = bitcast double* %114 to <2 x double>*
%116 = load <2 x double>, <2 x double>* %115
%117 = getelementptr inbounds double, double* %60, i64 %109
%118 = bitcast double* %117 to <2 x double>*
store <2 x double> %113, <2 x double>* %118
%119 = getelementptr inbounds double, double* %117, i64 2
%120 = bitcast double* %119 to <2 x double>*
store <2 x double> %116, <2 x double>* %120
%121 = add nuw i64 %72, 16
%122 = add nuw i64 %73, 4
%123 = icmp eq i64 %122, %43
br i1 %123, label %124, label %71
124: ; preds = %71, %69
%125 = phi i64 [ 0, %69 ], [ %121, %71 ]
br i1 %44, label %143, label %126
126: ; preds = %124, %126
%127 = phi i64 [ %140, %126 ], [ %125, %124 ]
%128 = phi i64 [ %141, %126 ], [ 0, %124 ]
%129 = add i64 %127, %61
%130 = getelementptr inbounds double, double* %4, i64 %129
%131 = bitcast double* %130 to <2 x double>*
%132 = load <2 x double>, <2 x double>* %131
%133 = getelementptr inbounds double, double* %130, i64 2
%134 = bitcast double* %133 to <2 x double>*
%135 = load <2 x double>, <2 x double>* %134
%136 = getelementptr inbounds double, double* %60, i64 %127
%137 = bitcast double* %136 to <2 x double>*
store <2 x double> %132, <2 x double>* %137
%138 = getelementptr inbounds double, double* %136, i64 2
%139 = bitcast double* %138 to <2 x double>*
store <2 x double> %135, <2 x double>* %139
%140 = add nuw i64 %127, 4
%141 = add i64 %128, 1
%142 = icmp eq i64 %141, %41
br i1 %142, label %143, label %126
143: ; preds = %126, %124
br i1 %45, label %194, label %144
144: ; preds = %62, %58, %143
%145 = phi i64 [ %61, %62 ], [ %61, %58 ], [ %70, %143 ]
%146 = phi i64 [ 0, %62 ], [ 0, %58 ], [ %40, %143 ]
%147 = xor i64 %146, -1
%148 = add nsw i64 %147, %33
br i1 %47, label %160, label %149
149: ; preds = %144, %149
%150 = phi i64 [ %156, %149 ], [ %145, %144 ]
%151 = phi i64 [ %157, %149 ], [ %146, %144 ]
%152 = phi i64 [ %158, %149 ], [ 0, %144 ]
%153 = getelementptr inbounds double, double* %4, i64 %150
%154 = load double, double* %153
%155 = getelementptr inbounds double, double* %60, i64 %151
store double %154, double* %155
%156 = add nsw i64 %150, 1
%157 = add nuw nsw i64 %151, 1
%158 = add i64 %152, 1
%159 = icmp eq i64 %158, %46
br i1 %159, label %160, label %149
160: ; preds = %149, %144
%161 = phi i64 [ undef, %144 ], [ %156, %149 ]
%162 = phi i64 [ %145, %144 ], [ %156, %149 ]
%163 = phi i64 [ %146, %144 ], [ %157, %149 ]
%164 = icmp ult i64 %148, 3
br i1 %164, label %194, label %170
165: ; preds = %197
br i1 %26, label %166, label %234
166: ; preds = %165
%167 = icmp sgt i32 %15, 0
%168 = zext i32 %14 to i64
%169 = zext i32 %15 to i64
br label %201
170: ; preds = %160, %170
%171 = phi i64 [ %191, %170 ], [ %162, %160 ]
%172 = phi i64 [ %192, %170 ], [ %163, %160 ]
%173 = getelementptr inbounds double, double* %4, i64 %171
%174 = load double, double* %173
%175 = getelementptr inbounds double, double* %60, i64 %172
store double %174, double* %175
%176 = add nsw i64 %171, 1
%177 = add nuw nsw i64 %172, 1
%178 = getelementptr inbounds double, double* %4, i64 %176
%179 = load double, double* %178
%180 = getelementptr inbounds double, double* %60, i64 %177
store double %179, double* %180
%181 = add nsw i64 %171, 2
%182 = add nuw nsw i64 %172, 2
%183 = getelementptr inbounds double, double* %4, i64 %181
%184 = load double, double* %183
%185 = getelementptr inbounds double, double* %60, i64 %182
store double %184, double* %185
%186 = add nsw i64 %171, 3
%187 = add nuw nsw i64 %172, 3
%188 = getelementptr inbounds double, double* %4, i64 %186
%189 = load double, double* %188
%190 = getelementptr inbounds double, double* %60, i64 %187
store double %189, double* %190
%191 = add nsw i64 %171, 4
%192 = add nuw nsw i64 %172, 4
%193 = icmp eq i64 %192, %33
br i1 %193, label %194, label %170
194: ; preds = %160, %170, %143
%195 = phi i64 [ %70, %143 ], [ %161, %160 ], [ %191, %170 ]
%196 = trunc i64 %195 to i32
br label %197
197: ; preds = %194, %55
%198 = phi i32 [ %57, %55 ], [ %196, %194 ]
%199 = add nuw nsw i64 %56, 1
%200 = icmp eq i64 %199, %32
br i1 %200, label %165, label %55
201: ; preds = %166, %230
%202 = phi i64 [ 0, %166 ], [ %232, %230 ]
%203 = phi i32 [ 0, %166 ], [ %231, %230 ]
br i1 %167, label %204, label %230
204: ; preds = %201
%205 = trunc i64 %202 to i32
%206 = sub nsw i32 %205, %12
%207 = getelementptr inbounds double*, double** %25, i64 %202
br label %208
208: ; preds = %204, %226
%209 = phi i64 [ 0, %204 ], [ %228, %226 ]
%210 = phi i32 [ %203, %204 ], [ %227, %226 ]
%211 = trunc i64 %209 to i32
%212 = sub nsw i32 %211, %10
%213 = tail call i64 @pow(i32 %212, i32 2)
%214 = tail call i64 @pow(i32 %206, i32 2)
%215 = add nsw i64 %214, %213
%216 = tail call i64 @pow(i32 %23, i32 2)
%217 = icmp sgt i64 %215, %216
%218 = load double*, double** %207
%219 = getelementptr inbounds double, double* %218, i64 %209
br i1 %217, label %220, label %221
220: ; preds = %208
store double 1.000000e+00, double* %219
br label %226
221: ; preds = %208
%222 = load double, double* %219
%223 = sext i32 %210 to i64
%224 = getelementptr inbounds double, double* %7, i64 %223
store double %222, double* %224
%225 = add nsw i32 %210, 1
br label %226
226: ; preds = %220, %221
%227 = phi i32 [ %225, %221 ], [ %210, %220 ]
%228 = add nuw nsw i64 %209, 1
%229 = icmp eq i64 %228, %169
br i1 %229, label %230, label %208
230: ; preds = %226, %201
%231 = phi i32 [ %203, %201 ], [ %227, %226 ]
%232 = add nuw nsw i64 %202, 1
%233 = icmp eq i64 %232, %168
br i1 %233, label %235, label %201
234: ; preds = %165, %29, %9
store i32 0, i32* %8
br label %391
235: ; preds = %230
store i32 %231, i32* %8
br i1 %26, label %236, label %391
236: ; preds = %235
%237 = icmp sgt i32 %15, 0
%238 = zext i32 %14 to i64
%239 = zext i32 %15 to i64
%240 = getelementptr double, double* %4, i64 %33
%241 = icmp ult i32 %15, 4
%242 = and i64 %33, 4294967292
%243 = and i64 %38, 3
%244 = icmp ult i64 %36, 12
%245 = and i64 %38, 9223372036854775804
%246 = icmp eq i64 %243, 0
%247 = icmp eq i64 %242, %33
%248 = and i64 %33, 3
%249 = icmp eq i64 %248, 0
br label %250
250: ; preds = %236, %387
%251 = phi i64 [ 0, %236 ], [ %389, %387 ]
%252 = phi i32 [ 0, %236 ], [ %388, %387 ]
br i1 %237, label %253, label %387
253: ; preds = %250
%254 = getelementptr inbounds double*, double** %25, i64 %251
%255 = load double*, double** %254
%256 = sext i32 %252 to i64
br i1 %241, label %339, label %257
257: ; preds = %253
%258 = getelementptr double, double* %4, i64 %256
%259 = getelementptr double, double* %240, i64 %256
%260 = getelementptr double, double* %255, i64 %33
%261 = icmp ult double* %258, %260
%262 = icmp ult double* %255, %259
%263 = and i1 %261, %262
br i1 %263, label %339, label %264
264: ; preds = %257
%265 = add nsw i64 %242, %256
br i1 %244, label %319, label %266
266: ; preds = %264, %266
%267 = phi i64 [ %316, %266 ], [ 0, %264 ]
%268 = phi i64 [ %317, %266 ], [ 0, %264 ]
%269 = add i64 %267, %256
%270 = getelementptr inbounds double, double* %255, i64 %267
%271 = bitcast double* %270 to <2 x double>*
%272 = load <2 x double>, <2 x double>* %271
%273 = getelementptr inbounds double, double* %270, i64 2
%274 = bitcast double* %273 to <2 x double>*
%275 = load <2 x double>, <2 x double>* %274
%276 = getelementptr inbounds double, double* %4, i64 %269
%277 = bitcast double* %276 to <2 x double>*
store <2 x double> %272, <2 x double>* %277
%278 = getelementptr inbounds double, double* %276, i64 2
%279 = bitcast double* %278 to <2 x double>*
store <2 x double> %275, <2 x double>* %279
%280 = or i64 %267, 4
%281 = add i64 %280, %256
%282 = getelementptr inbounds double, double* %255, i64 %280
%283 = bitcast double* %282 to <2 x double>*
%284 = load <2 x double>, <2 x double>* %283
%285 = getelementptr inbounds double, double* %282, i64 2
%286 = bitcast double* %285 to <2 x double>*
%287 = load <2 x double>, <2 x double>* %286
%288 = getelementptr inbounds double, double* %4, i64 %281
%289 = bitcast double* %288 to <2 x double>*
store <2 x double> %284, <2 x double>* %289
%290 = getelementptr inbounds double, double* %288, i64 2
%291 = bitcast double* %290 to <2 x double>*
store <2 x double> %287, <2 x double>* %291
%292 = or i64 %267, 8
%293 = add i64 %292, %256
%294 = getelementptr inbounds double, double* %255, i64 %292
%295 = bitcast double* %294 to <2 x double>*
%296 = load <2 x double>, <2 x double>* %295
%297 = getelementptr inbounds double, double* %294, i64 2
%298 = bitcast double* %297 to <2 x double>*
%299 = load <2 x double>, <2 x double>* %298
%300 = getelementptr inbounds double, double* %4, i64 %293
%301 = bitcast double* %300 to <2 x double>*
store <2 x double> %296, <2 x double>* %301
%302 = getelementptr inbounds double, double* %300, i64 2
%303 = bitcast double* %302 to <2 x double>*
store <2 x double> %299, <2 x double>* %303
%304 = or i64 %267, 12
%305 = add i64 %304, %256
%306 = getelementptr inbounds double, double* %255, i64 %304
%307 = bitcast double* %306 to <2 x double>*
%308 = load <2 x double>, <2 x double>* %307
%309 = getelementptr inbounds double, double* %306, i64 2
%310 = bitcast double* %309 to <2 x double>*
%311 = load <2 x double>, <2 x double>* %310
%312 = getelementptr inbounds double, double* %4, i64 %305
%313 = bitcast double* %312 to <2 x double>*
store <2 x double> %308, <2 x double>* %313
%314 = getelementptr inbounds double, double* %312, i64 2
%315 = bitcast double* %314 to <2 x double>*
store <2 x double> %311, <2 x double>* %315
%316 = add nuw i64 %267, 16
%317 = add nuw i64 %268, 4
%318 = icmp eq i64 %317, %245
br i1 %318, label %319, label %266
319: ; preds = %266, %264
%320 = phi i64 [ 0, %264 ], [ %316, %266 ]
br i1 %246, label %338, label %321
321: ; preds = %319, %321
%322 = phi i64 [ %335, %321 ], [ %320, %319 ]
%323 = phi i64 [ %336, %321 ], [ 0, %319 ]
%324 = add i64 %322, %256
%325 = getelementptr inbounds double, double* %255, i64 %322
%326 = bitcast double* %325 to <2 x double>*
%327 = load <2 x double>, <2 x double>* %326
%328 = getelementptr inbounds double, double* %325, i64 2
%329 = bitcast double* %328 to <2 x double>*
%330 = load <2 x double>, <2 x double>* %329
%331 = getelementptr inbounds double, double* %4, i64 %324
%332 = bitcast double* %331 to <2 x double>*
store <2 x double> %327, <2 x double>* %332
%333 = getelementptr inbounds double, double* %331, i64 2
%334 = bitcast double* %333 to <2 x double>*
store <2 x double> %330, <2 x double>* %334
%335 = add nuw i64 %322, 4
%336 = add i64 %323, 1
%337 = icmp eq i64 %336, %243
br i1 %337, label %338, label %321
338: ; preds = %321, %319
br i1 %247, label %384, label %339
339: ; preds = %257, %253, %338
%340 = phi i64 [ %256, %257 ], [ %256, %253 ], [ %265, %338 ]
%341 = phi i64 [ 0, %257 ], [ 0, %253 ], [ %242, %338 ]
%342 = xor i64 %341, -1
%343 = add nsw i64 %342, %33
br i1 %249, label %355, label %344
344: ; preds = %339, %344
%345 = phi i64 [ %351, %344 ], [ %340, %339 ]
%346 = phi i64 [ %352, %344 ], [ %341, %339 ]
%347 = phi i64 [ %353, %344 ], [ 0, %339 ]
%348 = getelementptr inbounds double, double* %255, i64 %346
%349 = load double, double* %348
%350 = getelementptr inbounds double, double* %4, i64 %345
store double %349, double* %350
%351 = add nsw i64 %345, 1
%352 = add nuw nsw i64 %346, 1
%353 = add i64 %347, 1
%354 = icmp eq i64 %353, %248
br i1 %354, label %355, label %344
355: ; preds = %344, %339
%356 = phi i64 [ undef, %339 ], [ %351, %344 ]
%357 = phi i64 [ %340, %339 ], [ %351, %344 ]
%358 = phi i64 [ %341, %339 ], [ %352, %344 ]
%359 = icmp ult i64 %343, 3
br i1 %359, label %384, label %360
360: ; preds = %355, %360
%361 = phi i64 [ %381, %360 ], [ %357, %355 ]
%362 = phi i64 [ %382, %360 ], [ %358, %355 ]
%363 = getelementptr inbounds double, double* %255, i64 %362
%364 = load double, double* %363
%365 = getelementptr inbounds double, double* %4, i64 %361
store double %364, double* %365
%366 = add nsw i64 %361, 1
%367 = add nuw nsw i64 %362, 1
%368 = getelementptr inbounds double, double* %255, i64 %367
%369 = load double, double* %368
%370 = getelementptr inbounds double, double* %4, i64 %366
store double %369, double* %370
%371 = add nsw i64 %361, 2
%372 = add nuw nsw i64 %362, 2
%373 = getelementptr inbounds double, double* %255, i64 %372
%374 = load double, double* %373
%375 = getelementptr inbounds double, double* %4, i64 %371
store double %374, double* %375
%376 = add nsw i64 %361, 3
%377 = add nuw nsw i64 %362, 3
%378 = getelementptr inbounds double, double* %255, i64 %377
%379 = load double, double* %378
%380 = getelementptr inbounds double, double* %4, i64 %376
store double %379, double* %380
%381 = add nsw i64 %361, 4
%382 = add nuw nsw i64 %362, 4
%383 = icmp eq i64 %382, %239
br i1 %383, label %384, label %360
384: ; preds = %355, %360, %338
%385 = phi i64 [ %265, %338 ], [ %356, %355 ], [ %381, %360 ]
%386 = trunc i64 %385 to i32
br label %387
387: ; preds = %384, %250
%388 = phi i32 [ %252, %250 ], [ %386, %384 ]
%389 = add nuw nsw i64 %251, 1
%390 = icmp eq i64 %389, %238
br i1 %390, label %391, label %250
391: ; preds = %387, %234, %235
%392 = tail call i32 @free(double** %25)
ret void
}