#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 double GLdouble;

/* Variables and functions */
int GL_FALSE;
int GL_TRUE;
int /*<<< orphan*/ __gluMakeIdentityd(double *);
scalar_t__ fabs(double);
int __gluInvertMatrixd(const GLdouble src[16], GLdouble inverse[16]) {
  int i, j, k, swap;
  double t;
  GLdouble temp[4][4];
  for (i = 0; i < 4; i++) {
    for (j = 0; j < 4; j++) {
      temp[i][j] = src[i * 4 + j];
    }
  }
  __gluMakeIdentityd(inverse);
  for (i = 0; i < 4; i++) {
    swap = i;
    for (j = i + 1; j < 4; j++) {
      if (fabs(temp[j][i]) > fabs(temp[i][i])) {
        swap = j;
      }
    }
    if (swap != i) {
      for (k = 0; k < 4; k++) {
        t = temp[i][k];
        temp[i][k] = temp[swap][k];
        temp[swap][k] = t;
        t = inverse[i * 4 + k];
        inverse[i * 4 + k] = inverse[swap * 4 + k];
        inverse[swap * 4 + k] = t;
      }
    }
    if (temp[i][i] == 0) {
      return GL_FALSE;
    }
    t = temp[i][i];
    for (k = 0; k < 4; k++) {
      temp[i][k] /= t;
      inverse[i * 4 + k] /= t;
    }
    for (j = 0; j < 4; j++) {
      if (j != i) {
        t = temp[j][i];
        for (k = 0; k < 4; k++) {
          temp[j][k] -= temp[i][k] * t;
          inverse[j * 4 + k] -= inverse[i * 4 + k] * t;
        }
      }
    }
  }
  return GL_TRUE;
}


x86 assembly (clang, -O0):
<__gluInvertMatrixd>:
push   %rbp
mov    %rsp,%rbp
sub    $0xc0,%rsp
mov    %rdi,-0x10(%rbp)
mov    %rsi,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
cmpl   $0x4,-0x1c(%rbp)
jge    11a6 <__gluInvertMatrixd+0x86>
movl   $0x0,-0x20(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    1193 <__gluInvertMatrixd+0x73>
mov    -0x10(%rbp),%rax
mov    -0x1c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x20(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x20(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    114b <__gluInvertMatrixd+0x2b>
jmp    1198 <__gluInvertMatrixd+0x78>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    113a <__gluInvertMatrixd+0x1a>
mov    -0x18(%rbp),%rdi
call   1040 <__gluMakeIdentityd@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x4,-0x1c(%rbp)
jge    1553 <__gluInvertMatrixd+0x433>
mov    -0x1c(%rbp),%eax
mov    %eax,-0x28(%rbp)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    124c <__gluInvertMatrixd+0x12c>
movslq -0x20(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <fabs@plt>
mov    %rax,-0xb8(%rbp)
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
call   1030 <fabs@plt>
mov    %rax,%rcx
mov    -0xb8(%rbp),%rax
cmp    %rcx,%rax
jle    1239 <__gluInvertMatrixd+0x119>
mov    -0x20(%rbp),%eax
mov    %eax,-0x28(%rbp)
jmp    123e <__gluInvertMatrixd+0x11e>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11cf <__gluInvertMatrixd+0xaf>
mov    -0x28(%rbp),%eax
cmp    -0x1c(%rbp),%eax
je     1350 <__gluInvertMatrixd+0x230>
movl   $0x0,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    134b <__gluInvertMatrixd+0x22b>
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
movslq -0x28(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x30(%rbp),%xmm0
movslq -0x28(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x30(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x28(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    125f <__gluInvertMatrixd+0x13f>
jmp    1350 <__gluInvertMatrixd+0x230>
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
xorps  %xmm1,%xmm1
ucomisd %xmm1,%xmm0
jne    138f <__gluInvertMatrixd+0x26f>
jp     138f <__gluInvertMatrixd+0x26f>
mov    0x2c63(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
jmp    155f <__gluInvertMatrixd+0x43f>
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    141a <__gluInvertMatrixd+0x2fa>
movsd  -0x30(%rbp),%xmm1
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x30(%rbp),%xmm1
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    13b6 <__gluInvertMatrixd+0x296>
movl   $0x0,-0x20(%rbp)
cmpl   $0x4,-0x20(%rbp)
jge    1540 <__gluInvertMatrixd+0x420>
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
je     152d <__gluInvertMatrixd+0x40d>
movslq -0x20(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x1c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x30(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    1528 <__gluInvertMatrixd+0x408>
movslq -0x1c(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x30(%rbp),%xmm2
movslq -0x20(%rbp),%rcx
lea    -0xb0(%rbp),%rax
shl    $0x5,%rcx
add    %rcx,%rax
movslq -0x24(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    -0x1c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x30(%rbp),%xmm2
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%ecx
shl    $0x2,%ecx
add    -0x24(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm0,%rdx
movabs $0x8000000000000000,%rsi
xor    %rsi,%rdx
movq   %rdx,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    145e <__gluInvertMatrixd+0x33e>
jmp    152d <__gluInvertMatrixd+0x40d>
jmp    1532 <__gluInvertMatrixd+0x412>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1421 <__gluInvertMatrixd+0x301>
jmp    1545 <__gluInvertMatrixd+0x425>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    11b6 <__gluInvertMatrixd+0x96>
mov    0x2a7e(%rip),%rax
mov    (%rax),%eax
mov    %eax,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0xc0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<__gluInvertMatrixd>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    %rsi,%r14
movups 0x70(%rdi),%xmm0
movaps %xmm0,0x70(%rsp)
movups 0x60(%rdi),%xmm0
movaps %xmm0,0x60(%rsp)
movups 0x50(%rdi),%xmm0
movaps %xmm0,0x50(%rsp)
movups 0x40(%rdi),%xmm0
movaps %xmm0,0x40(%rsp)
movupd (%rdi),%xmm0
movupd 0x10(%rdi),%xmm1
movupd 0x20(%rdi),%xmm2
movups 0x30(%rdi),%xmm3
movaps %xmm3,0x30(%rsp)
movapd %xmm2,0x20(%rsp)
movapd %xmm1,0x10(%rsp)
movapd %xmm0,(%rsp)
lea    0x20(%rsp),%rbp
mov    %rsi,%rdi
call   1040 <__gluMakeIdentityd@plt>
mov    $0xfffffffffffffffd,%r13
xor    %ecx,%ecx
jmp    1233 <__gluInvertMatrixd+0x113>
nopl   0x0(%rax,%rax,1)
movapd 0x60(%rsp),%xmm0
movsd  0x60(%rsp,%rbx,8),%xmm1
unpcklpd %xmm1,%xmm1
movapd (%rdx),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x60(%rsp)
movupd (%r14,%rsi,8),%xmm0
movupd 0x60(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x60(%r14)
movapd 0x70(%rsp),%xmm0
movapd (%rdi),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x70(%rsp)
movupd (%r14,%rcx,8),%xmm0
movupd 0x70(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x70(%r14)
mov    0x88(%rsp),%rbp
add    $0x28,%rbp
mov    0x80(%rsp),%r13
add    $0x1,%r13
mov    %rax,%rcx
cmp    $0x4,%rax
je     1504 <__gluInvertMatrixd+0x3e4>
cmp    $0x2,%rcx
mov    %rbp,0x88(%rsp)
mov    %r13,0x80(%rsp)
mov    %rcx,0x90(%rsp)
ja     12a0 <__gluInvertMatrixd+0x180>
mov    %rcx,%rax
shl    $0x5,%rax
add    %rsp,%rax
lea    (%rax,%rcx,8),%r15
mov    %ecx,%r12d
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  0x0(%rbp),%xmm0
call   1030 <fabs@plt>
mov    %rax,%rbx
movsd  (%r15),%xmm0
call   1030 <fabs@plt>
lea    0x4(%r13),%ecx
cmp    %rax,%rbx
cmovg  %ecx,%r12d
add    $0x20,%rbp
inc    %r13
jne    1270 <__gluInvertMatrixd+0x150>
jmp    12a3 <__gluInvertMatrixd+0x183>
nopl   (%rax)
mov    %ecx,%r12d
mov    %r12d,%eax
mov    0x90(%rsp),%rbx
cmp    %rax,%rbx
je     131e <__gluInvertMatrixd+0x1fe>
movslq %r12d,%rax
shl    $0x2,%r12d
movslq %r12d,%rcx
mov    %rbx,%rdx
shl    $0x5,%rdx
shl    $0x5,%rax
movaps (%rsp,%rdx,1),%xmm0
movups (%r14,%rdx,1),%xmm1
movaps (%rsp,%rax,1),%xmm2
movaps %xmm2,(%rsp,%rdx,1)
movaps %xmm0,(%rsp,%rax,1)
movups (%r14,%rcx,8),%xmm0
movups %xmm0,(%r14,%rdx,1)
movups %xmm1,(%r14,%rcx,8)
movaps 0x10(%rsp,%rdx,1),%xmm0
movupd 0x10(%r14,%rdx,1),%xmm1
movapd 0x10(%rsp,%rax,1),%xmm2
movapd %xmm2,0x10(%rsp,%rdx,1)
movaps %xmm0,0x10(%rsp,%rax,1)
movupd 0x10(%r14,%rcx,8),%xmm0
movupd %xmm0,0x10(%r14,%rdx,1)
movupd %xmm1,0x10(%r14,%rcx,8)
mov    %rbx,%rbp
shl    $0x5,%rbp
lea    (%rsp,%rbp,1),%rdx
movsd  (%rdx,%rbx,8),%xmm0
ucomisd 0xcca(%rip),%xmm0
jne    133e <__gluInvertMatrixd+0x21e>
jnp    150d <__gluInvertMatrixd+0x3ed>
lea    0x1(%rbx),%rax
lea    0x0(,%rbx,4),%rsi
movapd (%rsp,%rbp,1),%xmm1
unpcklpd %xmm0,%xmm0
divpd  %xmm0,%xmm1
movapd %xmm1,(%rsp,%rbp,1)
movupd (%r14,%rbp,1),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,(%r14,%rbp,1)
lea    0x10(%rsp,%rbp,1),%rdi
lea    0x2(,%rbx,4),%rcx
movapd 0x10(%rsp,%rbp,1),%xmm1
divpd  %xmm0,%xmm1
movapd %xmm1,0x10(%rsp,%rbp,1)
movupd 0x10(%r14,%rsi,8),%xmm1
divpd  %xmm0,%xmm1
movupd %xmm1,0x10(%r14,%rsi,8)
test   %rbx,%rbx
je     140f <__gluInvertMatrixd+0x2ef>
movapd (%rsp),%xmm0
movsd  (%rsp,%rbx,8),%xmm1
unpcklpd %xmm1,%xmm1
movapd (%rdx),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,(%rsp)
movupd (%r14,%rsi,8),%xmm0
movupd (%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,(%r14)
movapd 0x10(%rsp),%xmm0
movapd (%rdi),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x10(%rsp)
movupd (%r14,%rcx,8),%xmm0
movupd 0x10(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x10(%r14)
cmp    $0x1,%rbx
je     1487 <__gluInvertMatrixd+0x367>
movapd 0x20(%rsp),%xmm0
movsd  0x20(%rsp,%rbx,8),%xmm1
unpcklpd %xmm1,%xmm1
movapd (%rdx),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x20(%rsp)
movupd (%r14,%rsi,8),%xmm0
movupd 0x20(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x20(%r14)
movapd 0x30(%rsp),%xmm0
movapd (%rdi),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x30(%rsp)
movupd (%r14,%rcx,8),%xmm0
movupd 0x30(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x30(%r14)
cmp    $0x2,%rbx
je     11a0 <__gluInvertMatrixd+0x80>
movapd 0x40(%rsp),%xmm0
movsd  0x40(%rsp,%rbx,8),%xmm1
unpcklpd %xmm1,%xmm1
movapd (%rdx),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x40(%rsp)
movupd (%r14,%rsi,8),%xmm0
movupd 0x40(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x40(%r14)
movapd 0x50(%rsp),%xmm0
movapd (%rdi),%xmm2
mulpd  %xmm1,%xmm2
subpd  %xmm2,%xmm0
movapd %xmm0,0x50(%rsp)
movupd (%r14,%rcx,8),%xmm0
movupd 0x50(%r14),%xmm2
mulpd  %xmm1,%xmm0
subpd  %xmm0,%xmm2
movupd %xmm2,0x50(%r14)
cmp    $0x3,%rbx
jne    11a0 <__gluInvertMatrixd+0x80>
jmp    120e <__gluInvertMatrixd+0xee>
mov    0x2acd(%rip),%rax
jmp    1514 <__gluInvertMatrixd+0x3f4>
mov    0x2ad4(%rip),%rax
mov    (%rax),%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@GL_FALSE = global i32 0
@GL_TRUE = global i32 0
define i32 @__gluInvertMatrixd(double* %0, double* %1) {
%3 = alloca i32
%4 = alloca double*
%5 = alloca double*
%6 = alloca i32
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double
%11 = alloca [4 x [4 x double]]
store double* %0, double** %4
store double* %1, double** %5
store i32 0, i32* %6
br label %12
12: ; preds = %38, %2
%13 = load i32, i32* %6
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %41
15: ; preds = %12
store i32 0, i32* %7
br label %16
16: ; preds = %34, %15
%17 = load i32, i32* %7
%18 = icmp slt i32 %17, 4
br i1 %18, label %19, label %37
19: ; preds = %16
%20 = load double*, double** %4
%21 = load i32, i32* %6
%22 = mul nsw i32 %21, 4
%23 = load i32, i32* %7
%24 = add nsw i32 %22, %23
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, double* %20, i64 %25
%27 = load double, double* %26
%28 = load i32, i32* %6
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %29
%31 = load i32, i32* %7
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [4 x double], [4 x double]* %30, i64 0, i64 %32
store double %27, double* %33
br label %34
34: ; preds = %19
%35 = load i32, i32* %7
%36 = add nsw i32 %35, 1
store i32 %36, i32* %7
br label %16
37: ; preds = %16
br label %38
38: ; preds = %37
%39 = load i32, i32* %6
%40 = add nsw i32 %39, 1
store i32 %40, i32* %6
br label %12
41: ; preds = %12
%42 = load double*, double** %5
%43 = call i32 @__gluMakeIdentityd(double* %42)
store i32 0, i32* %6
br label %44
44: ; preds = %259, %41
%45 = load i32, i32* %6
%46 = icmp slt i32 %45, 4
br i1 %46, label %47, label %262
47: ; preds = %44
%48 = load i32, i32* %6
store i32 %48, i32* %9
%49 = load i32, i32* %6
%50 = add nsw i32 %49, 1
store i32 %50, i32* %7
br label %51
51: ; preds = %75, %47
%52 = load i32, i32* %7
%53 = icmp slt i32 %52, 4
br i1 %53, label %54, label %78
54: ; preds = %51
%55 = load i32, i32* %7
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %56
%58 = load i32, i32* %6
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4 x double], [4 x double]* %57, i64 0, i64 %59
%61 = load double, double* %60
%62 = call i64 @fabs(double %61)
%63 = load i32, i32* %6
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %64
%66 = load i32, i32* %6
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [4 x double], [4 x double]* %65, i64 0, i64 %67
%69 = load double, double* %68
%70 = call i64 @fabs(double %69)
%71 = icmp sgt i64 %62, %70
br i1 %71, label %72, label %74
72: ; preds = %54
%73 = load i32, i32* %7
store i32 %73, i32* %9
br label %74
74: ; preds = %72, %54
br label %75
75: ; preds = %74
%76 = load i32, i32* %7
%77 = add nsw i32 %76, 1
store i32 %77, i32* %7
br label %51
78: ; preds = %51
%79 = load i32, i32* %9
%80 = load i32, i32* %6
%81 = icmp ne i32 %79, %80
br i1 %81, label %82, label %149
82: ; preds = %78
store i32 0, i32* %8
br label %83
83: ; preds = %145, %82
%84 = load i32, i32* %8
%85 = icmp slt i32 %84, 4
br i1 %85, label %86, label %148
86: ; preds = %83
%87 = load i32, i32* %6
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %88
%90 = load i32, i32* %8
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [4 x double], [4 x double]* %89, i64 0, i64 %91
%93 = load double, double* %92
store double %93, double* %10
%94 = load i32, i32* %9
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %95
%97 = load i32, i32* %8
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [4 x double], [4 x double]* %96, i64 0, i64 %98
%100 = load double, double* %99
%101 = load i32, i32* %6
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %102
%104 = load i32, i32* %8
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [4 x double], [4 x double]* %103, i64 0, i64 %105
store double %100, double* %106
%107 = load double, double* %10
%108 = load i32, i32* %9
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %109
%111 = load i32, i32* %8
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [4 x double], [4 x double]* %110, i64 0, i64 %112
store double %107, double* %113
%114 = load double*, double** %5
%115 = load i32, i32* %6
%116 = mul nsw i32 %115, 4
%117 = load i32, i32* %8
%118 = add nsw i32 %116, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, double* %114, i64 %119
%121 = load double, double* %120
store double %121, double* %10
%122 = load double*, double** %5
%123 = load i32, i32* %9
%124 = mul nsw i32 %123, 4
%125 = load i32, i32* %8
%126 = add nsw i32 %124, %125
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, double* %122, i64 %127
%129 = load double, double* %128
%130 = load double*, double** %5
%131 = load i32, i32* %6
%132 = mul nsw i32 %131, 4
%133 = load i32, i32* %8
%134 = add nsw i32 %132, %133
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, double* %130, i64 %135
store double %129, double* %136
%137 = load double, double* %10
%138 = load double*, double** %5
%139 = load i32, i32* %9
%140 = mul nsw i32 %139, 4
%141 = load i32, i32* %8
%142 = add nsw i32 %140, %141
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds double, double* %138, i64 %143
store double %137, double* %144
br label %145
145: ; preds = %86
%146 = load i32, i32* %8
%147 = add nsw i32 %146, 1
store i32 %147, i32* %8
br label %83
148: ; preds = %83
br label %149
149: ; preds = %148, %78
%150 = load i32, i32* %6
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %151
%153 = load i32, i32* %6
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [4 x double], [4 x double]* %152, i64 0, i64 %154
%156 = load double, double* %155
%157 = fcmp oeq double %156, 0.000000e+00
br i1 %157, label %158, label %160
158: ; preds = %149
%159 = load i32, i32* @GL_FALSE
store i32 %159, i32* %3
br label %264
160: ; preds = %149
%161 = load i32, i32* %6
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %162
%164 = load i32, i32* %6
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [4 x double], [4 x double]* %163, i64 0, i64 %165
%167 = load double, double* %166
store double %167, double* %10
store i32 0, i32* %8
br label %168
168: ; preds = %191, %160
%169 = load i32, i32* %8
%170 = icmp slt i32 %169, 4
br i1 %170, label %171, label %194
171: ; preds = %168
%172 = load double, double* %10
%173 = load i32, i32* %6
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %174
%176 = load i32, i32* %8
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [4 x double], [4 x double]* %175, i64 0, i64 %177
%179 = load double, double* %178
%180 = fdiv double %179, %172
store double %180, double* %178
%181 = load double, double* %10
%182 = load double*, double** %5
%183 = load i32, i32* %6
%184 = mul nsw i32 %183, 4
%185 = load i32, i32* %8
%186 = add nsw i32 %184, %185
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds double, double* %182, i64 %187
%189 = load double, double* %188
%190 = fdiv double %189, %181
store double %190, double* %188
br label %191
191: ; preds = %171
%192 = load i32, i32* %8
%193 = add nsw i32 %192, 1
store i32 %193, i32* %8
br label %168
194: ; preds = %168
store i32 0, i32* %7
br label %195
195: ; preds = %255, %194
%196 = load i32, i32* %7
%197 = icmp slt i32 %196, 4
br i1 %197, label %198, label %258
198: ; preds = %195
%199 = load i32, i32* %7
%200 = load i32, i32* %6
%201 = icmp ne i32 %199, %200
br i1 %201, label %202, label %254
202: ; preds = %198
%203 = load i32, i32* %7
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %204
%206 = load i32, i32* %6
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [4 x double], [4 x double]* %205, i64 0, i64 %207
%209 = load double, double* %208
store double %209, double* %10
store i32 0, i32* %8
br label %210
210: ; preds = %250, %202
%211 = load i32, i32* %8
%212 = icmp slt i32 %211, 4
br i1 %212, label %213, label %253
213: ; preds = %210
%214 = load i32, i32* %6
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %215
%217 = load i32, i32* %8
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds [4 x double], [4 x double]* %216, i64 0, i64 %218
%220 = load double, double* %219
%221 = load double, double* %10
%222 = load i32, i32* %7
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %11, i64 0, i64 %223
%225 = load i32, i32* %8
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [4 x double], [4 x double]* %224, i64 0, i64 %226
%228 = load double, double* %227
%229 = fneg double %220
%230 = call double @llvm.fmuladd.f64(double %229, double %221, double %228)
store double %230, double* %227
%231 = load double*, double** %5
%232 = load i32, i32* %6
%233 = mul nsw i32 %232, 4
%234 = load i32, i32* %8
%235 = add nsw i32 %233, %234
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, double* %231, i64 %236
%238 = load double, double* %237
%239 = load double, double* %10
%240 = load double*, double** %5
%241 = load i32, i32* %7
%242 = mul nsw i32 %241, 4
%243 = load i32, i32* %8
%244 = add nsw i32 %242, %243
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds double, double* %240, i64 %245
%247 = load double, double* %246
%248 = fneg double %238
%249 = call double @llvm.fmuladd.f64(double %248, double %239, double %247)
store double %249, double* %246
br label %250
250: ; preds = %213
%251 = load i32, i32* %8
%252 = add nsw i32 %251, 1
store i32 %252, i32* %8
br label %210
253: ; preds = %210
br label %254
254: ; preds = %253, %198
br label %255
255: ; preds = %254
%256 = load i32, i32* %7
%257 = add nsw i32 %256, 1
store i32 %257, i32* %7
br label %195
258: ; preds = %195
br label %259
259: ; preds = %258
%260 = load i32, i32* %6
%261 = add nsw i32 %260, 1
store i32 %261, i32* %6
br label %44
262: ; preds = %44
%263 = load i32, i32* @GL_TRUE
store i32 %263, i32* %3
br label %264
264: ; preds = %262, %158
%265 = load i32, i32* %3
ret i32 %265
}

LLVM IR (-O2):
@GL_FALSE = global i32 0
@GL_TRUE = global i32 0
define i32 @__gluInvertMatrixd(double* nocapture %0, double* %1) {
%3 = bitcast double* %0 to i8*
%4 = alloca [4 x [4 x double]]
%5 = bitcast [4 x [4 x double]]* %4 to i8*
%6 = tail call i32 @__gluMakeIdentityd(double* %1)
%7 = bitcast [4 x [4 x double]]* %4 to <2 x double>*
%8 = bitcast [4 x [4 x double]]* %4 to <2 x double>*
%9 = bitcast double* %1 to <2 x double>*
%10 = bitcast double* %1 to <2 x double>*
%11 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 0, i64 2
%12 = getelementptr inbounds double, double* %1, i64 2
%13 = bitcast double* %11 to <2 x double>*
%14 = bitcast double* %11 to <2 x double>*
%15 = bitcast double* %12 to <2 x double>*
%16 = bitcast double* %12 to <2 x double>*
%17 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 1, i64 0
%18 = getelementptr inbounds double, double* %1, i64 4
%19 = bitcast double* %17 to <2 x double>*
%20 = bitcast double* %17 to <2 x double>*
%21 = bitcast double* %18 to <2 x double>*
%22 = bitcast double* %18 to <2 x double>*
%23 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 1, i64 2
%24 = getelementptr inbounds double, double* %1, i64 6
%25 = bitcast double* %23 to <2 x double>*
%26 = bitcast double* %23 to <2 x double>*
%27 = bitcast double* %24 to <2 x double>*
%28 = bitcast double* %24 to <2 x double>*
%29 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 2, i64 0
%30 = getelementptr inbounds double, double* %1, i64 8
%31 = bitcast double* %29 to <2 x double>*
%32 = bitcast double* %29 to <2 x double>*
%33 = bitcast double* %30 to <2 x double>*
%34 = bitcast double* %30 to <2 x double>*
%35 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 2, i64 2
%36 = getelementptr inbounds double, double* %1, i64 10
%37 = bitcast double* %35 to <2 x double>*
%38 = bitcast double* %35 to <2 x double>*
%39 = bitcast double* %36 to <2 x double>*
%40 = bitcast double* %36 to <2 x double>*
%41 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 3, i64 0
%42 = getelementptr inbounds double, double* %1, i64 12
%43 = bitcast double* %41 to <2 x double>*
%44 = bitcast double* %41 to <2 x double>*
%45 = bitcast double* %42 to <2 x double>*
%46 = bitcast double* %42 to <2 x double>*
%47 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 3, i64 2
%48 = getelementptr inbounds double, double* %1, i64 14
%49 = bitcast double* %47 to <2 x double>*
%50 = bitcast double* %47 to <2 x double>*
%51 = bitcast double* %48 to <2 x double>*
%52 = bitcast double* %48 to <2 x double>*
br label %53
53: ; preds = %2, %250
%54 = phi i64 [ 0, %2 ], [ %56, %250 ]
%55 = phi i64 [ 1, %2 ], [ %251, %250 ]
%56 = add nuw nsw i64 %54, 1
%57 = icmp ult i64 %54, 3
%58 = trunc i64 %54 to i32
br i1 %57, label %59, label %74
59: ; preds = %53
%60 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 %54
br label %61
61: ; preds = %59, %61
%62 = phi i64 [ %55, %59 ], [ %72, %61 ]
%63 = phi i32 [ %58, %59 ], [ %71, %61 ]
%64 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %62, i64 %54
%65 = load double, double* %64
%66 = tail call i64 @fabs(double %65)
%67 = load double, double* %60
%68 = tail call i64 @fabs(double %67)
%69 = icmp sgt i64 %66, %68
%70 = trunc i64 %62 to i32
%71 = select i1 %69, i32 %70, i32 %63
%72 = add nuw nsw i64 %62, 1
%73 = icmp eq i64 %72, 4
br i1 %73, label %74, label %61
74: ; preds = %61, %53
%75 = phi i32 [ %58, %53 ], [ %71, %61 ]
%76 = zext i32 %75 to i64
%77 = icmp eq i64 %54, %76
br i1 %77, label %117, label %78
78: ; preds = %74
%79 = sext i32 %75 to i64
%80 = shl nsw i64 %54, 2
%81 = shl nsw i32 %75, 2
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 0
%84 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %79, i64 0
%85 = bitcast double* %83 to <2 x double>*
%86 = load <2 x double>, <2 x double>* %85
%87 = getelementptr inbounds double, double* %1, i64 %80
%88 = getelementptr inbounds double, double* %1, i64 %82
%89 = bitcast double* %87 to <2 x double>*
%90 = load <2 x double>, <2 x double>* %89
%91 = bitcast double* %84 to <2 x double>*
%92 = load <2 x double>, <2 x double>* %91
%93 = bitcast double* %83 to <2 x double>*
store <2 x double> %92, <2 x double>* %93
%94 = bitcast double* %84 to <2 x double>*
store <2 x double> %86, <2 x double>* %94
%95 = bitcast double* %88 to <2 x double>*
%96 = load <2 x double>, <2 x double>* %95
%97 = bitcast double* %87 to <2 x double>*
store <2 x double> %96, <2 x double>* %97
%98 = bitcast double* %88 to <2 x double>*
store <2 x double> %90, <2 x double>* %98
%99 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 2
%100 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %79, i64 2
%101 = bitcast double* %99 to <2 x double>*
%102 = load <2 x double>, <2 x double>* %101
%103 = or i64 %80, 2
%104 = getelementptr inbounds double, double* %1, i64 %103
%105 = or i64 %82, 2
%106 = getelementptr inbounds double, double* %1, i64 %105
%107 = bitcast double* %104 to <2 x double>*
%108 = load <2 x double>, <2 x double>* %107
%109 = bitcast double* %100 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = bitcast double* %99 to <2 x double>*
store <2 x double> %110, <2 x double>* %111
%112 = bitcast double* %100 to <2 x double>*
store <2 x double> %102, <2 x double>* %112
%113 = bitcast double* %106 to <2 x double>*
%114 = load <2 x double>, <2 x double>* %113
%115 = bitcast double* %104 to <2 x double>*
store <2 x double> %114, <2 x double>* %115
%116 = bitcast double* %106 to <2 x double>*
store <2 x double> %108, <2 x double>* %116
br label %117
117: ; preds = %78, %74
%118 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 %54
%119 = load double, double* %118
%120 = fcmp oeq double %119, 0.000000e+00
br i1 %120, label %253, label %121
121: ; preds = %117
%122 = shl nsw i64 %54, 2
%123 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 0
%124 = getelementptr inbounds double, double* %1, i64 %122
%125 = bitcast double* %123 to <2 x double>*
%126 = load <2 x double>, <2 x double>* %125
%127 = insertelement <2 x double> poison, double %119, i64 0
%128 = shufflevector <2 x double> %127, <2 x double> poison, <2 x i32> zeroinitializer
%129 = fdiv <2 x double> %126, %128
%130 = bitcast double* %123 to <2 x double>*
store <2 x double> %129, <2 x double>* %130
%131 = bitcast double* %124 to <2 x double>*
%132 = load <2 x double>, <2 x double>* %131
%133 = fdiv <2 x double> %132, %128
%134 = bitcast double* %124 to <2 x double>*
store <2 x double> %133, <2 x double>* %134
%135 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 %54, i64 2
%136 = or i64 %122, 2
%137 = getelementptr inbounds double, double* %1, i64 %136
%138 = bitcast double* %135 to <2 x double>*
%139 = load <2 x double>, <2 x double>* %138
%140 = fdiv <2 x double> %139, %128
%141 = bitcast double* %135 to <2 x double>*
store <2 x double> %140, <2 x double>* %141
%142 = bitcast double* %137 to <2 x double>*
%143 = load <2 x double>, <2 x double>* %142
%144 = fdiv <2 x double> %143, %128
%145 = bitcast double* %137 to <2 x double>*
store <2 x double> %144, <2 x double>* %145
%146 = icmp eq i64 %54, 0
br i1 %146, label %173, label %147
147: ; preds = %121
%148 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 0, i64 %54
%149 = load double, double* %148
%150 = bitcast double* %123 to <2 x double>*
%151 = load <2 x double>, <2 x double>* %150
%152 = load <2 x double>, <2 x double>* %7
%153 = fneg <2 x double> %151
%154 = insertelement <2 x double> poison, double %149, i64 0
%155 = shufflevector <2 x double> %154, <2 x double> poison, <2 x i32> zeroinitializer
%156 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %153, <2 x double> %155, <2 x double> %152)
store <2 x double> %156, <2 x double>* %8
%157 = bitcast double* %124 to <2 x double>*
%158 = load <2 x double>, <2 x double>* %157
%159 = load <2 x double>, <2 x double>* %9
%160 = fneg <2 x double> %158
%161 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %160, <2 x double> %155, <2 x double> %159)
store <2 x double> %161, <2 x double>* %10
%162 = bitcast double* %135 to <2 x double>*
%163 = load <2 x double>, <2 x double>* %162
%164 = load <2 x double>, <2 x double>* %13
%165 = fneg <2 x double> %163
%166 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %165, <2 x double> %155, <2 x double> %164)
store <2 x double> %166, <2 x double>* %14
%167 = bitcast double* %137 to <2 x double>*
%168 = load <2 x double>, <2 x double>* %167
%169 = load <2 x double>, <2 x double>* %15
%170 = fneg <2 x double> %168
%171 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %170, <2 x double> %155, <2 x double> %169)
store <2 x double> %171, <2 x double>* %16
%172 = icmp eq i64 %54, 1
br i1 %172, label %199, label %173
173: ; preds = %147, %121
%174 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 1, i64 %54
%175 = load double, double* %174
%176 = bitcast double* %123 to <2 x double>*
%177 = load <2 x double>, <2 x double>* %176
%178 = load <2 x double>, <2 x double>* %19
%179 = fneg <2 x double> %177
%180 = insertelement <2 x double> poison, double %175, i64 0
%181 = shufflevector <2 x double> %180, <2 x double> poison, <2 x i32> zeroinitializer
%182 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %179, <2 x double> %181, <2 x double> %178)
store <2 x double> %182, <2 x double>* %20
%183 = bitcast double* %124 to <2 x double>*
%184 = load <2 x double>, <2 x double>* %183
%185 = load <2 x double>, <2 x double>* %21
%186 = fneg <2 x double> %184
%187 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %186, <2 x double> %181, <2 x double> %185)
store <2 x double> %187, <2 x double>* %22
%188 = bitcast double* %135 to <2 x double>*
%189 = load <2 x double>, <2 x double>* %188
%190 = load <2 x double>, <2 x double>* %25
%191 = fneg <2 x double> %189
%192 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %191, <2 x double> %181, <2 x double> %190)
store <2 x double> %192, <2 x double>* %26
%193 = bitcast double* %137 to <2 x double>*
%194 = load <2 x double>, <2 x double>* %193
%195 = load <2 x double>, <2 x double>* %27
%196 = fneg <2 x double> %194
%197 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %196, <2 x double> %181, <2 x double> %195)
store <2 x double> %197, <2 x double>* %28
%198 = icmp eq i64 %54, 2
br i1 %198, label %225, label %199
199: ; preds = %173, %147
%200 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 2, i64 %54
%201 = load double, double* %200
%202 = bitcast double* %123 to <2 x double>*
%203 = load <2 x double>, <2 x double>* %202
%204 = load <2 x double>, <2 x double>* %31
%205 = fneg <2 x double> %203
%206 = insertelement <2 x double> poison, double %201, i64 0
%207 = shufflevector <2 x double> %206, <2 x double> poison, <2 x i32> zeroinitializer
%208 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %205, <2 x double> %207, <2 x double> %204)
store <2 x double> %208, <2 x double>* %32
%209 = bitcast double* %124 to <2 x double>*
%210 = load <2 x double>, <2 x double>* %209
%211 = load <2 x double>, <2 x double>* %33
%212 = fneg <2 x double> %210
%213 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %212, <2 x double> %207, <2 x double> %211)
store <2 x double> %213, <2 x double>* %34
%214 = bitcast double* %135 to <2 x double>*
%215 = load <2 x double>, <2 x double>* %214
%216 = load <2 x double>, <2 x double>* %37
%217 = fneg <2 x double> %215
%218 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %217, <2 x double> %207, <2 x double> %216)
store <2 x double> %218, <2 x double>* %38
%219 = bitcast double* %137 to <2 x double>*
%220 = load <2 x double>, <2 x double>* %219
%221 = load <2 x double>, <2 x double>* %39
%222 = fneg <2 x double> %220
%223 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %222, <2 x double> %207, <2 x double> %221)
store <2 x double> %223, <2 x double>* %40
%224 = icmp eq i64 %54, 3
br i1 %224, label %250, label %225
225: ; preds = %173, %199
%226 = getelementptr inbounds [4 x [4 x double]], [4 x [4 x double]]* %4, i64 0, i64 3, i64 %54
%227 = load double, double* %226
%228 = bitcast double* %123 to <2 x double>*
%229 = load <2 x double>, <2 x double>* %228
%230 = load <2 x double>, <2 x double>* %43
%231 = fneg <2 x double> %229
%232 = insertelement <2 x double> poison, double %227, i64 0
%233 = shufflevector <2 x double> %232, <2 x double> poison, <2 x i32> zeroinitializer
%234 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %231, <2 x double> %233, <2 x double> %230)
store <2 x double> %234, <2 x double>* %44
%235 = bitcast double* %124 to <2 x double>*
%236 = load <2 x double>, <2 x double>* %235
%237 = load <2 x double>, <2 x double>* %45
%238 = fneg <2 x double> %236
%239 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %238, <2 x double> %233, <2 x double> %237)
store <2 x double> %239, <2 x double>* %46
%240 = bitcast double* %135 to <2 x double>*
%241 = load <2 x double>, <2 x double>* %240
%242 = load <2 x double>, <2 x double>* %49
%243 = fneg <2 x double> %241
%244 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %243, <2 x double> %233, <2 x double> %242)
store <2 x double> %244, <2 x double>* %50
%245 = bitcast double* %137 to <2 x double>*
%246 = load <2 x double>, <2 x double>* %245
%247 = load <2 x double>, <2 x double>* %51
%248 = fneg <2 x double> %246
%249 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %248, <2 x double> %233, <2 x double> %247)
store <2 x double> %249, <2 x double>* %52
br label %250
250: ; preds = %225, %199
%251 = add nuw nsw i64 %55, 1
%252 = icmp eq i64 %56, 4
br i1 %252, label %253, label %53
253: ; preds = %250, %117
%254 = phi i32* [ @GL_FALSE, %117 ], [ @GL_TRUE, %250 ]
%255 = load i32, i32* %254
ret i32 %255
}